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
lgpl-2.1
46aae24abdae4b0eea0dd0246d47190376df55f4
0
RemiKoutcherawy/exist,RemiKoutcherawy/exist,MjAbuz/exist,adamretter/exist,wshager/exist,jensopetersen/exist,eXist-db/exist,adamretter/exist,kohsah/exist,lcahlander/exist,jessealama/exist,lcahlander/exist,patczar/exist,jessealama/exist,jessealama/exist,windauer/exist,olvidalo/exist,olvidalo/exist,jessealama/exist,ljo/ex...
/* * eXist Open Source Native XML Database * Copyright (C) 2001-04 The eXist Project * http://exist-db.org * * 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 ...
src/org/exist/StandaloneServer.java
/* * eXist Open Source Native XML Database * Copyright (C) 2001-04 The eXist Project * http://exist-db.org * * 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 ...
[ignore] shutdown process do not reaching jetty shutdown (fixing) svn path=/trunk/eXist/; revision=10462
src/org/exist/StandaloneServer.java
[ignore] shutdown process do not reaching jetty shutdown (fixing)
<ide><path>rc/org/exist/StandaloneServer.java <ide> <ide> public void shutdown() { <ide> BrokerPool.stopAll(false); <del> <del> try { <del> server.stop(); <del> } catch (Exception e) { <del> } <ide> } <ide> <ide> private List configure(Properties properties) throws ...
Java
lgpl-2.1
7402aedfff1e4e0529268926eb3c1f3330f3ac13
0
adamretter/exist,RemiKoutcherawy/exist,zwobit/exist,lcahlander/exist,ambs/exist,eXist-db/exist,ambs/exist,olvidalo/exist,ambs/exist,joewiz/exist,lcahlander/exist,joewiz/exist,lcahlander/exist,wshager/exist,wolfgangmm/exist,dizzzz/exist,kohsah/exist,opax/exist,wolfgangmm/exist,zwobit/exist,opax/exist,dizzzz/exist,MjAbuz...
/* * eXist Open Source Native XML Database * Copyright (C) 2001-06 Wolfgang M. Meier * wolfgang@exist-db.org * http://exist.sourceforge.net * * 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 S...
src/org/exist/xquery/ForExpr.java
/* * eXist Open Source Native XML Database * Copyright (C) 2001-06 Wolfgang M. Meier * wolfgang@exist-db.org * http://exist.sourceforge.net * * 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 S...
[ignore] moving back popLocalVariables at ForExpr svn path=/trunk/eXist/; revision=9918
src/org/exist/xquery/ForExpr.java
[ignore] moving back popLocalVariables at ForExpr
<ide><path>rc/org/exist/xquery/ForExpr.java <ide> } <ide> } <ide> <del> // Save the local variable stack <add> // Check if we can speed up the processing of the "order by" clause. <add> boolean fastOrderBy = false; // checkOrderSpecs(in); <add> <add> LocalVariable var; <add>...
Java
apache-2.0
ff0ce76e058b25d1509003d59b7e4097f7d4a09e
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.application.pkg; import com.yahoo.component.Version; import com.yahoo.config.application.api.DeploymentInstanceSpec; import com.yahoo.config.application.api.DeploymentSpec;...
controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/ApplicationPackageValidator.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.application.pkg; import com.yahoo.component.Version; import com.yahoo.config.application.api.DeploymentInstanceSpec; import com.yahoo.config.application.api.DeploymentSpec;...
Unit-test-compatible too ...
controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/ApplicationPackageValidator.java
Unit-test-compatible too ...
<ide><path>ontroller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/ApplicationPackageValidator.java <ide> String endpointString = instance == null ? "Application endpoint '" + endpoint.endpointId() + "'" <ide> : "Endpoint '" + end...
Java
apache-2.0
27c763a53ee94f2905db1d5fb8870bdcb2a3fff9
0
apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox
/* * 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 ...
tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.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 ...
PDFBOX-2602: use picocli for command line parsing git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1884154 13f79535-47bb-0310-9956-ffa450edef68
tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java
PDFBOX-2602: use picocli for command line parsing
<ide><path>ools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java <ide> import java.io.FileOutputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <add>import java.io.PrintStream; <ide> import java.util.Arrays; <ide> import java.util.HashSet; <ide> import java.util.List; <ide> import ja...
Java
apache-2.0
9f48a4675d3090c5bc9260a13081492d53a1a381
0
apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4
/* * 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 ...
test/org/apache/jasper/TestJspCompilationContext.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 ...
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1636340 13f79535-47bb-0310-9956-ffa450edef68
test/org/apache/jasper/TestJspCompilationContext.java
<ide><path>est/org/apache/jasper/TestJspCompilationContext.java <ide> */ <ide> package org.apache.jasper; <ide> <del>import java.io.File; <del> <ide> import javax.servlet.http.HttpServletResponse; <ide> <ide> import org.junit.Assert; <ide> import org.junit.Test; <ide> <del>import org.apache.catalina.startup.Tomcat;...
Java
mit
abc29dbec286cb527b1c17a2403a5d8080b454b3
0
AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL
/* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (almaslvl@gmail.com). * See LICENSE for details. */ package com.almasb.fxgl.entity.component; import com.almasb.fxgl.entity.Entity; import com.almasb.fxgl.entity.components.BoundingBoxComponent; import com.almasb.fxgl.core.serializatio...
fxgl-entity/src/test/java/com/almasb/fxgl/entity/component/BoundingBoxComponentTest.java
/* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (almaslvl@gmail.com). * See LICENSE for details. */ package com.almasb.fxgl.entity.component; import com.almasb.fxgl.entity.Entity; import com.almasb.fxgl.entity.components.BoundingBoxComponent; import com.almasb.fxgl.core.serializatio...
added missing test case
fxgl-entity/src/test/java/com/almasb/fxgl/entity/component/BoundingBoxComponentTest.java
added missing test case
<ide><path>xgl-entity/src/test/java/com/almasb/fxgl/entity/component/BoundingBoxComponentTest.java <ide> } <ide> <ide> @Test <add> public void testIsCollidingWithAngles() throws Exception { <add> bbox.addHitBox(new HitBox("ARM", BoundingShape.box(40, 60))); <add> <add> Entity entity2 = new Ent...
JavaScript
mit
e89968daf44b218559dd85143b34119d6e570b1c
0
angleman/json-expected-stream
var util = require('util') , stream = require('stream').Transform || require('readable-stream').Transform // stream 2 compatible ; // json string in and out function JsonExpectedStream(expected) { var self = this; self.expected = expected; stream.call(self, { objectMode: true }); self._transform = fu...
index.js
var util = require('util') , stream = require('stream').Transform || require('readable-stream').Transform // stream 2 compatible , jsonMask = require('json-mask'); ; // json string in and out function JsonMaskStream(mask) { var self = this; self.mask = mask; stream.call(self, { objectMode: true }); s...
initial code
index.js
initial code
<ide><path>ndex.js <ide> var util = require('util') <ide> , stream = require('stream').Transform || require('readable-stream').Transform // stream 2 compatible <del>, jsonMask = require('json-mask'); <ide> ; <ide> <ide> <ide> // json string in and out <del>function JsonMaskStream(mask) { <add>function JsonExpec...
JavaScript
mit
54c8370c81b95e6fcedcdd4f0462f320ba6e7608
0
welefen/firekylin,welefen/firekylin,welefen/firekylin,welefen/firekylin
'use strict'; import fs from 'fs'; import path from 'path'; import Base from './base'; const stats = think.promisify(fs.stat); export default class extends Base { /** * index action * @return {[type]} [description] */ indexAction() { return this.listAction(); } /** * post list * @return {...
src/home/controller/post.js
'use strict'; import fs from 'fs'; import path from 'path'; import Base from './base'; const stats = think.promisify(fs.stat); export default class extends Base { /** * index action * @return {[type]} [description] */ indexAction() { return this.listAction(); } /** * post list * @return {...
Featured Images Handle post.options being null (#414)
src/home/controller/post.js
Featured Images Handle post.options being null (#414)
<ide><path>rc/home/controller/post.js <ide> list.data.forEach(post => { <ide> post.pathname = encodeURIComponent(post.pathname); <ide> try { <del> post.options = JSON.parse(post.options); <add> post.options = JSON.parse(post.options) || {}; <ide> post.featuredImage = post.options.f...
Java
apache-2.0
600606e8bf9782006cca7138776772a9feafc6c9
0
crate/crate,sunny256/crate,adrpar/crate,EvilMcJerkface/crate,aslanbekirov/crate,aslanbekirov/crate,adrpar/crate,puneetjaiswal/crate,EvilMcJerkface/crate,sunny256/crate,puneetjaiswal/crate,EvilMcJerkface/crate,gmrodrigues/crate,puneetjaiswal/crate,sunny256/crate,adrpar/crate,gmrodrigues/crate,crate/crate,gmrodrigues/cra...
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
sql/src/test/java/io/crate/analyze/SelectAnalyzerTest.java
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
add unit test for querying a timestamp string on a partitioned timestamp column
sql/src/test/java/io/crate/analyze/SelectAnalyzerTest.java
add unit test for querying a timestamp string on a partitioned timestamp column
<ide><path>ql/src/test/java/io/crate/analyze/SelectAnalyzerTest.java <ide> assertThat(analysis.whereClause().partitions(), containsInAnyOrder(partition1, partition2)); <ide> assertFalse(analysis.whereClause().hasQuery()); <ide> assertFalse(analysis.noMatch()); <add> <add> analysis = analy...
Java
apache-2.0
d65d239550812b0dd5bc2897b3fe9576b59bb578
0
lovely3x/Smack,Flowdalic/Smack,igniterealtime/Smack,qingsong-xu/Smack,vanitasvitae/Smack,chuangWu/Smack,annovanvliet/Smack,kkroid/OnechatSmack,opg7371/Smack,deeringc/Smack,TTalkIM/Smack,ayne/Smack,mar-v-in/Smack,Flowdalic/Smack,andrey42/Smack,esl/Smack,magnetsystems/message-smack,esl/Smack,TTalkIM/Smack,xuIcream/Smack,...
/** * * Copyright 2003-2007 Jive Software. * * 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 o...
smack-extensions/src/main/java/org/jivesoftware/smackx/offline/OfflineMessageManager.java
/** * * Copyright 2003-2007 Jive Software. * * 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 o...
Make getMessages() set up collector *before* sending the request Similar flaw was also fixed in 2c7f1efe80b988. Also ensure that OfflineMessagesManager doesn't leak collector by using a try/finally block. Fixes SMACK-592
smack-extensions/src/main/java/org/jivesoftware/smackx/offline/OfflineMessageManager.java
Make getMessages() set up collector *before* sending the request
<ide><path>mack-extensions/src/main/java/org/jivesoftware/smackx/offline/OfflineMessageManager.java <ide> } <ide> }); <ide> PacketCollector messageCollector = connection.createPacketCollector(messageFilter); <del> connection.createPacketCollectorAndSend(request).nextResultOrThrow(); <...
Java
mit
b094d39abb79adb1ddd5b31a6b4d9845f1756cff
0
ineiros/jbake,haumacher/jbake,haumacher/jbake,HuguesH/jbake,jonbullock/jbake,leonac/jbake,uli-heller/jbake,jbake-org/jbake,jbake-org/jbake,Vad1mo/JBake,haumacher/jbake,xuyanxiang/jbake,leonac/jbake,kaulkie/jbake,uli-heller/jbake,mtolk/jbake,danielgrycman/jbake,uli-heller/jbake,HuguesH/jbake,kaulkie/jbake,rajmahendra/jb...
package org.jbake.app; import org.junit.Assert; import org.junit.Test; public class RendererTest { @Test public void renderFile() { Assert.assertTrue(true); } }
src/test/java/org/jbake/app/RendererTest.java
package org.jbake.app; import org.junit.Assert; import org.junit.Test; public class RendererTest { @Test public void renderFile() { Assert.assertTrue(false); } }
Added default pass for test for time being.
src/test/java/org/jbake/app/RendererTest.java
Added default pass for test for time being.
<ide><path>rc/test/java/org/jbake/app/RendererTest.java <ide> <ide> @Test <ide> public void renderFile() { <del> Assert.assertTrue(false); <add> Assert.assertTrue(true); <ide> } <ide> }
Java
apache-2.0
fa356b197312c8b7286dd5a9f5216df78b70c238
0
apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj
/* * 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 ...
uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.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 ...
[UIMA-5225] backwards compatibility - reinit calls. Delete getExistingJCas - not reliable. git-svn-id: 2a54995f166126d351a7f865b2a601044a84628f@1775458 13f79535-47bb-0310-9956-ffa450edef68
uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java
[UIMA-5225] backwards compatibility - reinit calls. Delete getExistingJCas - not reliable.
<ide><path>imaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java <ide> import org.apache.uima.cas.IntArrayFS; <ide> import org.apache.uima.cas.LongArrayFS; <ide> import org.apache.uima.cas.Marker; <add>import org.apache.uima.cas.SerialFormat; <ide> import org.apache.uima.cas.ShortArrayFS; <ide> import org.apach...
JavaScript
mit
fb4bc5d235903322de629abdb9f7ff91c3e87ddb
0
resource-watch/resource-watch,resource-watch/resource-watch,resource-watch/resource-watch,resource-watch/resource-watch
import React, { PureComponent, Fragment } from 'react'; import PropTypes from 'prop-types'; import { toastr } from 'react-redux-toastr'; import { Link } from 'routes'; import ReCAPTCHA from 'react-google-recaptcha'; // components import Layout from 'layout/layout/layout-app'; import Field from 'components/form/Field';...
layout/sign-in/component.js
import React, { PureComponent, Fragment } from 'react'; import PropTypes from 'prop-types'; import { toastr } from 'react-redux-toastr'; import { Link } from 'routes'; import ReCAPTCHA from 'react-google-recaptcha'; // components import Layout from 'layout/layout/layout-app'; import Field from 'components/form/Field';...
Adds loader during register process
layout/sign-in/component.js
Adds loader during register process
<ide><path>ayout/sign-in/component.js <ide> import Layout from 'layout/layout/layout-app'; <ide> import Field from 'components/form/Field'; <ide> import Input from 'components/form/Input'; <add>import Spinner from 'components/ui/Spinner'; <ide> <ide> // services <ide> import UserService from 'services/UserService'; <i...
Java
epl-1.0
cfcdd5643b74a03500258d8a9082de3eb6da85f7
0
smeup/asup,smeup/asup,smeup/asup
/** * Copyright (c) 2012, 2016 Sme.UP 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 distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * * Contribut...
org.smeup.sys.il.data.nio/src/org/smeup/sys/il/data/nio/NIODataContainerImpl.java
/** * Copyright (c) 2012, 2016 Sme.UP 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 distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * * Contribut...
Patch dataStruct con overlay
org.smeup.sys.il.data.nio/src/org/smeup/sys/il/data/nio/NIODataContainerImpl.java
Patch dataStruct con overlay
<ide><path>rg.smeup.sys.il.data.nio/src/org/smeup/sys/il/data/nio/NIODataContainerImpl.java <ide> } <ide> <ide> if (allocate) <del> writeDefault(dataTerm, data); <add> writeDefault(dataTerm, data); <ide> } <ide> <ide> return data; <ide> <ide> if (dataTerm.getDefault() == null && compoundDataDef...
Java
epl-1.0
c3269c4e10d391ba831b3970e77126885f86b7b6
0
alastrina123/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debrief,alastrina123/debrief,theanuradha/debrief,pecko/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,pecko/debrief,theanuradha/debrief,alastrina123/debrief,alastrina123/debrief,debrief/debrief,pecko/debrief,debrief/debri...
package org.mwc.cmap.TimeController.views; import java.awt.event.ActionEvent; import java.beans.*; import java.text.*; import java.util.*; import junit.framework.TestCase; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.jface.action.*; import org.eclipse.jface.dialogs.Input...
trunk/org.mwc.cmap.TimeController/src/org/mwc/cmap/TimeController/views/TimeController.java
package org.mwc.cmap.TimeController.views; import java.awt.event.ActionEvent; import java.beans.*; import java.text.*; import java.util.*; import junit.framework.TestCase; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.jface.action.*; import org.eclipse.jface.dialogs.Input...
Experiment with context sensitive help git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@1450 cb33b658-6c9e-41a7-9690-cba343611204
trunk/org.mwc.cmap.TimeController/src/org/mwc/cmap/TimeController/views/TimeController.java
Experiment with context sensitive help
<ide><path>runk/org.mwc.cmap.TimeController/src/org/mwc/cmap/TimeController/views/TimeController.java <ide> * enable/disable the controls <ide> */ <ide> private Composite _wholePanel; <add> <add> /** the holder for the VCR controls <add> * <add> */ <add> private Composite _btnPanel; <ide> <ide> /** <ide> *...
Java
mit
6d03036e2b17e092f94d80777de8011f91b7b725
0
mariskamartin/mtgInventory,mariskamartin/mtgInventory,mariskamartin/mtgInventory
package com.gmail.mariska.martin.mtginventory.db.model; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import javax.jdo.annotations.Unique; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.EnumT...
src/main/java/com/gmail/mariska/martin/mtginventory/db/model/DailyCardInfo.java
package com.gmail.mariska.martin.mtginventory.db.model; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import javax.jdo.annotations.Index; import javax.jdo.annotations.Unique; import javax.persistence.Entity; import javax.persistence.EntityListe...
odstranen index
src/main/java/com/gmail/mariska/martin/mtginventory/db/model/DailyCardInfo.java
odstranen index
<ide><path>rc/main/java/com/gmail/mariska/martin/mtginventory/db/model/DailyCardInfo.java <ide> import java.util.Date; <ide> import java.util.UUID; <ide> <del>import javax.jdo.annotations.Index; <ide> import javax.jdo.annotations.Unique; <ide> import javax.persistence.Entity; <ide> import javax.persistence.EntityListe...
Java
apache-2.0
error: pathspec 'java/banana/src/main/java/github/banana/view/PaxosTest.java' did not match any file(s) known to git
8251d26c49d58215b6bf9842559b4abcc7d146f3
1
zhgxun/cNotes,zhgxun/cNotes
package github.banana.view; /** * Paxos 是用于解决分布式系统中一致性的共识算法, 最基本的功能是为了在多个进程之间对某个值达成一致, 通过这个最基本的功能就可以在多个进程之间 * 进行数据库, 状态机等对象的同步 * <p> * 基本概念 * ID 相互不冲突的提案编号, 用于区分不同轮次的提案 * Value 提案的值, 即最后试图达成共识的候选结果 * Proposer 提案发起者, 用于提出议案, 提案的内容为 x=value 对同一轮提案, 最多提议一个 value * Acceptor 提案投票者, 有多个, Proposer 提出的 x=value 提案必须获得超...
java/banana/src/main/java/github/banana/view/PaxosTest.java
paxos
java/banana/src/main/java/github/banana/view/PaxosTest.java
paxos
<ide><path>ava/banana/src/main/java/github/banana/view/PaxosTest.java <add>package github.banana.view; <add> <add>/** <add> * Paxos 是用于解决分布式系统中一致性的共识算法, 最基本的功能是为了在多个进程之间对某个值达成一致, 通过这个最基本的功能就可以在多个进程之间 <add> * 进行数据库, 状态机等对象的同步 <add> * <p> <add> * 基本概念 <add> * ID 相互不冲突的提案编号, 用于区分不同轮次的提案 <add> * Value 提案的值, 即最后试图达成共识的候选结果 ...
Java
mit
d65e70c408fd33389ca48d4e68b705b79695bb48
0
tjqadri101/oogasalad,dchouzer/OOGASalad
package util; import java.util.List; import saladConstants.SaladConstants; /** * Called to make an attribute for saving the Game * * @author Main Justin (Zihao) Zhang */ public class AttributeMaker { /** * Add attribute of the format as: key, type, int parameter, type, parameters * @param String key *...
src/util/AttributeMaker.java
package util; import java.util.ArrayList; import java.util.List; import saladConstants.SaladConstants; /** * Called to make an attribute for saving the Game * * @author Main Justin (Zihao) Zhang */ public class AttributeMaker { /** * Add attribute of the format as: key, type, parameters * @param String...
much better refactoring in AttributeMakergit add src/git add src/git add src/git add src/
src/util/AttributeMaker.java
much better refactoring in AttributeMakergit add src/git add src/git add src/git add src/
<ide><path>rc/util/AttributeMaker.java <ide> package util; <ide> <del>import java.util.ArrayList; <ide> import java.util.List; <ide> <ide> import saladConstants.SaladConstants; <ide> * @author Main Justin (Zihao) Zhang <ide> */ <ide> public class AttributeMaker { <del> <del> <del> /** <del> * Add attribute of the...
Java
apache-2.0
55f4386f3b83e2bbdebc3008160048ebaf428843
0
SynBioDex/libSBOLj
/** * */ package org.sbolstandard.core2; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; /** * @author Meher Samineni * */ public class ValidationTest { /** * @throws java.lang.Exception *...
core2/src/test/java/org/sbolstandard/core2/ValidationTest.java
/** * */ package org.sbolstandard.core2; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; /** * @author Meher Samineni * */ public class ValidationTest { /** * @throws java.lang.Exception *...
Removed fail.
core2/src/test/java/org/sbolstandard/core2/ValidationTest.java
Removed fail.
<ide><path>ore2/src/test/java/org/sbolstandard/core2/ValidationTest.java <ide> <ide> @Test <ide> public void test() { <del> fail("Not yet implemented"); <add> //fail("Not yet implemented"); <ide> } <ide> <ide> }
JavaScript
agpl-3.0
b5735f5189bf4ef6676f07f27dddd26f69905407
0
sendecomp/zotero,egh/zotero,fbennett/zotero,sendecomp/zotero,egh/zotero,retorquere/zotero,sendecomp/zotero,aurimasv/zotero,egh/zotero,robamler/zotero,rmzelle/zotero,retorquere/zotero,gracile-fr/zotero,rmzelle/zotero,adunning/zotero,adunning/zotero,LinuxMercedes/zotero,LinuxMercedes/zotero,LinuxMercedes/zotero,hoehnp/zo...
/* ***** BEGIN LICENSE BLOCK ***** Copyright © 2011 Center for History and New Media George Mason University, Fairfax, Virginia, USA http://zotero.org This file is part of Zotero. Zotero is free software: you can redistribute it and/or modify it under the terms of th...
chrome/content/zotero/integration/quickFormat.js
/* ***** BEGIN LICENSE BLOCK ***** Copyright © 2011 Center for History and New Media George Mason University, Fairfax, Virginia, USA http://zotero.org This file is part of Zotero. Zotero is free software: you can redistribute it and/or modify it under the terms of th...
Don't show attachments in QuickFormat
chrome/content/zotero/integration/quickFormat.js
Don't show attachments in QuickFormat
<ide><path>hrome/content/zotero/integration/quickFormat.js <ide> if(charRe.test(str)) { <ide> Zotero.debug("QuickFormat: QuickSearch: "+str); <ide> s.addCondition("quicksearch-titlesAndCreators", "contains", str); <add> s.addCondition("itemType", "isNot", "attachment"); <ide> haveConditions = true; <i...
Java
apache-2.0
6cb79190cdb8883b6330a621a2befbca05f43d75
0
rogerchina/maven,lbndev/maven,vedmishr/demo1,stephenc/maven,josephw/maven,wangyuesong0/maven,changbai1980/maven,wangyuesong/maven,trajano/maven,runepeter/maven-deploy-plugin-2.8.1,rogerchina/maven,aheritier/maven,cstamas/maven,cstamas/maven,atanasenko/maven,pkozelka/maven,pkozelka/maven,aheritier/maven,xasx/maven,Tibor...
package org.apache.maven.project.injection; /* * 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 ...
maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java
package org.apache.maven.project.injection; /* * 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 ...
MNG-2813: Fix OutOfMemoryError when using profiles and pom inheritance Submitted by: Jochen Kuhnle git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@543373 13f79535-47bb-0310-9956-ffa450edef68
maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java
MNG-2813: Fix OutOfMemoryError when using profiles and pom inheritance Submitted by: Jochen Kuhnle
<ide><path>aven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java <ide> } <ide> <ide> } <add> <add> /** <add> * Merge two DOMs. Copy the dominant DOM so the original one is left unchanged. <add> * <p> <add> * Use this method instead of a direct call to ...
Java
apache-2.0
d5277aecb88cd0a133e56b009bbf57551d5b4fea
0
gstevey/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gste...
/* * Copyright 2010 the original author or 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 applica...
subprojects/plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java
/* * Copyright 2010 the original author or 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 applica...
Added @Incubating
subprojects/plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java
Added @Incubating
<ide><path>ubprojects/plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java <ide> return this; <ide> } <ide> <del> @Option(option = "tests", description = "Sets test class or method name to be included, '*' is supported.") <ide> /** <ide> * Sets the test name patterns to be included in...
Java
apache-2.0
fa9a56103414922d989019f02eb25ede6b6bb89a
0
jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP
package com.jsh.erp.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.jsh.erp.constants.BusinessConstants; import com.jsh.erp.constants.ExceptionConstants; import com.jsh.erp.datasource.entities.*; import com.jsh.erp.exception.Busine...
jshERP-boot/src/main/java/com/jsh/erp/controller/MaterialController.java
package com.jsh.erp.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.jsh.erp.constants.BusinessConstants; import com.jsh.erp.constants.ExceptionConstants; import com.jsh.erp.datasource.entities.*; import com.jsh.erp.exception.Busine...
优化选择商品的时候的库存展示
jshERP-boot/src/main/java/com/jsh/erp/controller/MaterialController.java
优化选择商品的时候的库存展示
<ide><path>shERP-boot/src/main/java/com/jsh/erp/controller/MaterialController.java <ide> item.put("model", material.getModel()); <ide> item.put("unit", material.getCommodityUnit() + ratio); <ide> item.put("sku", material.getSku()); <add> Big...
Java
apache-2.0
10d3de08d398f86c65a6af9e65c8b52024641a23
0
MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab
package org.myrobotlab.swing.widget; import java.awt.Component; import javax.swing.JTable; import javax.swing.SwingConstants; import javax.swing.table.DefaultTableCellRenderer; import org.myrobotlab.framework.ServiceType; import org.myrobotlab.framework.interfaces.ServiceInterface; import org.myrobotlab.fr...
src/org/myrobotlab/swing/widget/PossibleServicesRenderer.java
package org.myrobotlab.swing.widget; import java.awt.Component; import javax.swing.JTable; import javax.swing.SwingConstants; import javax.swing.table.DefaultTableCellRenderer; import org.myrobotlab.framework.ServiceType; import org.myrobotlab.framework.interfaces.ServiceInterface; import org.myrobotlab.fr...
npe protection
src/org/myrobotlab/swing/widget/PossibleServicesRenderer.java
npe protection
<ide><path>rc/org/myrobotlab/swing/widget/PossibleServicesRenderer.java <ide> boolean upgradeAvailable = false; <ide> <ide> String upgradeString = "<html><h6>upgrade<br>"; <add> <add> if (value == null) { <add> return this; <add> } <ide> <ide> // select by class being published by JTable on...
Java
apache-2.0
94abd8c61bc018e09edc2270b9482911ab78c579
0
QualiMaster/QM-IConf,QualiMaster/QM-IConf
package de.uni_hildesheim.sse.qmApp.treeView; import java.util.ArrayList; import java.util.List; import de.uni_hildesheim.sse.model.confModel.CompoundVariable; import de.uni_hildesheim.sse.model.confModel.Configuration; import de.uni_hildesheim.sse.model.confModel.ContainerVariable; import de.uni_hildesheim.s...
QualiMasterApplication/src/de/uni_hildesheim/sse/qmApp/treeView/ConfigurableElements.java
package de.uni_hildesheim.sse.qmApp.treeView; import java.util.ArrayList; import java.util.List; import de.uni_hildesheim.sse.model.confModel.CompoundVariable; import de.uni_hildesheim.sse.model.confModel.Configuration; import de.uni_hildesheim.sse.model.confModel.ContainerVariable; import de.uni_hildesheim.s...
Avoid nullpointer while working with an empty model.
QualiMasterApplication/src/de/uni_hildesheim/sse/qmApp/treeView/ConfigurableElements.java
Avoid nullpointer while working with an empty model.
<ide><path>ualiMasterApplication/src/de/uni_hildesheim/sse/qmApp/treeView/ConfigurableElements.java <ide> <ide> // ensure that there is an element <ide> if (null == element) { <del> element = new ConfigurableElement(displayName, modelEditorId, null, modelPart); <add> eleme...
JavaScript
bsd-3-clause
faf231206da9676cc97f4ea55149b49ba7f32e21
0
pipeviz/webapp,pipeviz/webapp
var Viz = React.createClass({ displayName: "pipeviz-graph", render: function() { return React.DOM.svg({ className: "pipeviz", width: "100%", children: [React.DOM.g({ id: 'commit-pipeline', children: [React.DOM.g({ id...
src/app/main.js
var Viz = React.createClass({ displayName: "pipeviz-graph", render: function() { return React.DOM.svg({ className: "pipeviz", width: "100%", children: [React.DOM.g({ id: 'commit-pipeline', children: [React.DOM.g({ id...
Sorta adapt the control bar
src/app/main.js
Sorta adapt the control bar
<ide><path>rc/app/main.js <ide> return nextProps.graph.mid !== this.props.graph.mid; <ide> }, <ide> render: function() { <del> //var vizdata = this.extractVizGraph(this.props.focalRepo); <del> //return React.createElement(Viz, {width: this.props.width, height: this.props.height, graph: thi...
JavaScript
agpl-3.0
2802ccafebd4d8ea43fedb0c10010ae69b15a7a5
0
inspireteam/geogw,jdesboeufs/geogw
var _ = require('lodash'); var _s = require('underscore.string'); var types = { dataset: 'dataset', map: 'map', nonGeographicDataset: 'dataset', series: 'dataset', service: 'service' }; var representationTypes = { grid: 'grid', vector: 'vector' }; var markedAsOpenKeywords = [ 'donnee-...
src/helpers/facets.js
var _ = require('lodash'); var _s = require('underscore.string'); var types = { dataset: 'dataset', map: 'map', nonGeographicDataset: 'dataset', series: 'dataset', service: 'service' }; var representationTypes = { grid: 'grid', vector: 'vector' }; var markedAsOpenKeywords = [ 'donnee-...
[open] Update catalog specific openess
src/helpers/facets.js
[open] Update catalog specific openess
<ide><path>rc/helpers/facets.js <ide> markedAsOpen = markedAsOpen || _.find(kcKeywords, function (keyword) { <ide> return markedAsOpenKeywords.indexOf(keyword) >= 0; <ide> }); <del> //var parentCatalogId = record.parentCatalog.toString(); <del> // Specific detection for Data EauFrance catalog (TO ...
Java
apache-2.0
e1aa123578bb41cbb2f01dadd18f50f9d7bd3c08
0
wfuedu/sakai,duke-compsci290-spring2016/sakai,ktakacs/sakai,surya-janani/sakai,kwedoff1/sakai,duke-compsci290-spring2016/sakai,liubo404/sakai,kwedoff1/sakai,surya-janani/sakai,tl-its-umich-edu/sakai,lorenamgUMU/sakai,ktakacs/sakai,hackbuteer59/sakai,zqian/sakai,puramshetty/sakai,lorenamgUMU/sakai,hackbuteer59/sakai,pur...
/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * Copyright (c) 2003, 2004 The Regents of the University of Michigan, Trustees of Indiana University, * ...
msgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java
/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * Copyright (c) 2003, 2004 The Regents of the University of Michigan, Trustees of Indiana University, * ...
sak-3321 git-svn-id: c7b2716e7381eb8d90b7fc9f797026a6a3c5b5ba@5019 66ffb92e-73f9-0310-93c1-f5514f145a0a
msgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java
sak-3321
<ide><path>sgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java <ide> <ide> //reset contents <ide> resetComposeContents(); <del> if(getMsgNavMode().equals("")) <del> { <del> return "main" ; // if navigation is from main page <del> } <del> else <del> ...
Java
apache-2.0
error: pathspec 'core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/association/ElementCollectionListMergeTest.java' did not match any file(s) known to git
a922840e25672c02613e31d366bffb30eabf1856
1
vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence
package com.vladmihalcea.book.hpjp.hibernate.association; import com.vladmihalcea.book.hpjp.util.AbstractTest; import org.junit.Test; import org.springframework.beans.BeanUtils; import javax.persistence.*; import java.io.Serializable; import java.util.*; import static org.junit.Assert.assertEquals; /** * @author V...
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/association/ElementCollectionListMergeTest.java
Add merge collection replication for List
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/association/ElementCollectionListMergeTest.java
Add merge collection replication for List
<ide><path>ore/src/test/java/com/vladmihalcea/book/hpjp/hibernate/association/ElementCollectionListMergeTest.java <add>package com.vladmihalcea.book.hpjp.hibernate.association; <add> <add>import com.vladmihalcea.book.hpjp.util.AbstractTest; <add>import org.junit.Test; <add>import org.springframework.beans.BeanUtils; <a...
JavaScript
mit
933bff414ceb7ff55d599e4462112aed51542deb
0
hashobject/quizzy,hashobject/quizzy
'use strict'; var express = require('express'), app = express(), fs = require('fs'), http = require('http').Server(app), io = require('socket.io')(http); var question, questionsList = JSON.parse(fs.readFileSync('./generatedCountries.json', 'utf8')); var users = []; var leaders = [{name: 'Anton', p...
app.js
'use strict'; var express = require('express'), app = express(), fs = require('fs'), http = require('http').Server(app), io = require('socket.io')(http); var question, questionsList = JSON.parse(fs.readFileSync('./generatedCountries.json', 'utf8')); var users = []; var leaders = [{name: 'Anton', p...
move question to sendQuestion
app.js
move question to sendQuestion
<ide><path>pp.js <ide> var users = []; <ide> var leaders = [{name: 'Anton', points: 50}, {name: 'Pasha', points: 60}, {name: 'Maryna', points: 70}]; <ide> <del> <del>question = getRandomQuestion(); <del> <ide> sendLeaders(leaders); <ide> <del>sendQuestion(question) <add>sendQuestion(); <ide> <ide> io.on('connection'...
Java
apache-2.0
0b7992ce9768f67dc8e14a89d19ae86ba235a16a
0
Nadahar/metadata-extractor,rcketscientist/metadata-extractor,Nadahar/metadata-extractor,PaytonGarland/metadata-extractor,drewnoakes/metadata-extractor,Widen/metadata-extractor
/* * Copyright 2002-2015 Drew Noakes * * 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 applicab...
Source/com/drew/metadata/Directory.java
/* * Copyright 2002-2015 Drew Noakes * * 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 applicab...
Added code that parses the time zone from a date string
Source/com/drew/metadata/Directory.java
Added code that parses the time zone from a date string
<ide><path>ource/com/drew/metadata/Directory.java <ide> "yyyy-MM-dd HH:mm", <ide> "yyyy.MM.dd HH:mm:ss", <ide> "yyyy.MM.dd HH:mm", <del> "yyyy-MM-dd'T'HH:mm:ssX", <ide> "yyyy-MM-dd'T'HH:mm:ss", <del> "y...
Java
mit
d037f0cdb0794952ad3aacf51df1d77d8f63a364
0
gwtquery/gwtquery,nifkuza/gwtquery,Timtech4u/gwtquery,google-code-export/gwtquery,dodotis/gwtquery,0x3333/gwtquery,ArcBees/gwtquery,0x3333/gwtquery,jijopaulose/gwtquery,dodotis/gwtquery,dodotis/gwtquery,Timtech4u/gwtquery,jijopaulose/gwtquery,tel8618217223380/gwtquery,tel8618217223380/gwtquery,0x3333/gwtquery,ArcBees/g...
package com.google.gwt.query.client.plugins.ajax; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.http.client.RequestBuilder.Method; import com.google.gwt.http.client.Requ...
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
package com.google.gwt.query.client.plugins.ajax; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.http.client.RequestBuilder.Method; import com.google.gwt.http.client.Requ...
Fix regular expression which only work in jvm (dev mode)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
Fix regular expression which only work in jvm (dev mode)
<ide><path>wtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java <ide> public void f() { <ide> try { <ide> // We clean up the returned string to smoothly append it to our document <add> // Note: using '\s\S' instead of '.' because gwt String emulation does <add...
Java
mit
28d06fd540afa96ac00f4c124a725bf926d0ba83
0
Samernieve/OpenBlocks,PrinceOfAmber/OpenBlocks,TheSilkMiner/OpenBlocks,gecgooden/OpenBlocks,emmertf/OpenBlocks
package openblocks.common.tileentity; import java.io.DataOutputStream; import java.io.IOException; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.BlockCrops; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemS...
src/openblocks/common/tileentity/TileEntitySprinkler.java
package openblocks.common.tileentity; import java.io.DataOutputStream; import java.io.IOException; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.BlockCrops; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemS...
just trying something
src/openblocks/common/tileentity/TileEntitySprinkler.java
just trying something
<ide><path>rc/openblocks/common/tileentity/TileEntitySprinkler.java <ide> import net.minecraftforge.common.ForgeDirection; <ide> import net.minecraftforge.liquids.ILiquidTank; <ide> import net.minecraftforge.liquids.ITankContainer; <add>import net.minecraftforge.liquids.LiquidContainerRegistry; <ide> import net.minecra...
Java
apache-2.0
44180fb41e1630345a392b5f36f625a6b5a0894b
0
Dempsy/dempsy-commons
/* * Copyright 2012 the original author or 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 l...
dempsy-utils/src/main/java/net/dempsy/util/executor/AutoDisposeSingleThreadScheduler.java
/* * Copyright 2012 the original author or 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 l...
Allow the AutoDisposeSingleThreadScheduler to run it's thread as a daemon.
dempsy-utils/src/main/java/net/dempsy/util/executor/AutoDisposeSingleThreadScheduler.java
Allow the AutoDisposeSingleThreadScheduler to run it's thread as a daemon.
<ide><path>empsy-utils/src/main/java/net/dempsy/util/executor/AutoDisposeSingleThreadScheduler.java <ide> * a daemon task scheduler. <ide> */ <ide> public final class AutoDisposeSingleThreadScheduler { <add> /** <add> * The daemon status of the scheduled thread is defaulted to this value. <add> */ <add> ...
JavaScript
mit
1c59ba6fafc7c6c20fad3bf771908a6e1c5281cd
0
ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, AuthenticationError, DDoSProtection } = require ('./base/errors'); // --------------------------------------------------------------------------- module...
js/bibox.js
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, AuthenticationError, DDoSProtection } = require ('./base/errors'); // --------------------------------------------------------------------------- module...
fixed privatePostOrderpending function call
js/bibox.js
fixed privatePostOrderpending function call
<ide><path>s/bibox.js <ide> await this.loadMarkets (); <ide> let market = this.market (symbol); <ide> let orderType = (type === 'limit') ? 2 : 1; <del> let response = await this.privatePostOrder ({ <add> let response = await this.privatePostOrderpending ({ <ide> 'cmd': ...
Java
apache-2.0
cdcba52620247999391eaf44f3c75112336b2b35
0
speedment/speedment,speedment/speedment
/** * * Copyright (c) 2006-2016, Speedment, 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 requ...
runtime/src/main/java/com/speedment/runtime/internal/AbstractApplicationBuilder.java
/** * * Copyright (c) 2006-2016, Speedment, 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 requ...
Runtime: Move production mode text upwards
runtime/src/main/java/com/speedment/runtime/internal/AbstractApplicationBuilder.java
Runtime: Move production mode text upwards
<ide><path>untime/src/main/java/com/speedment/runtime/internal/AbstractApplicationBuilder.java <ide> <ide> LOGGER.info(speedmentMsg); <ide> <add> if (!SpeedmentVersion.isProductionMode()) { <add> LOGGER.warn("This version is NOT INTENDED FOR PRODUCTION USE!"); <add> } <add> <i...
Java
apache-2.0
4549ff90471674b9c63060dfa64f7540a147a891
0
diffplug/goomph
/* * Copyright 2016 DiffPlug * * 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 ...
src/test/java/com/diffplug/gradle/swt/NativeDepsPluginTest.java
/* * Copyright 2016 DiffPlug * * 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 ...
Minor fixup.
src/test/java/com/diffplug/gradle/swt/NativeDepsPluginTest.java
Minor fixup.
<ide><path>rc/test/java/com/diffplug/gradle/swt/NativeDepsPluginTest.java <ide> public class NativeDepsPluginTest extends GradleIntegrationTest { <ide> @Test <ide> public void assertPluginWorks() throws IOException { <del> testCase(""); <del> } <del> <del> private void testCase(String buildscriptAppend) throws IOExc...
Java
apache-2.0
c7c88595943549102ee53c70cc2030370809e399
0
Schwittleymani/ECO,Schwittleymani/ECO,mrzl/ECO,Schwittleymani/ECO,Schwittleymani/ECO,mrzl/ECO,mrzl/ECO,Schwittleymani/ECO,mrzl/ECO,mrzl/ECO
package oracle; import oracle.markov.MarkovChain; import oracle.markov.MarkovQueue; import java.io.*; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.stream.Collectors; import java.util.stream.Strea...
src/main/java/oracle/MarkovManager.java
package oracle; import oracle.markov.MarkovChain; import oracle.markov.MarkovQueue; import java.io.*; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.stream.Collectors; import java.util.stream.Strea...
removes some weird characters from the answers. fixes #52
src/main/java/oracle/MarkovManager.java
removes some weird characters from the answers. fixes #52
<ide><path>rc/main/java/oracle/MarkovManager.java <ide> public String getAnswer( String input ) throws Exception { <ide> String answer = ""; <ide> <del> input.replace( "?", "" ) <add> input = input.replace( "?", "" ) <ide> .replace( "!", "" ) <ide> .replace( "....
Java
bsd-2-clause
496df527638ac007330aba05a53785e85b167009
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
/* * Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding 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, t...
src/com/jme/terrain/TerrainPage.java
/* * Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding 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, t...
replaced sys.err by logger.log git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@1074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
src/com/jme/terrain/TerrainPage.java
replaced sys.err by logger.log
<ide><path>rc/com/jme/terrain/TerrainPage.java <ide> */ <ide> package com.jme.terrain; <ide> <add>import java.util.logging.Level; <add> <ide> import com.jme.bounding.BoundingBox; <ide> import com.jme.bounding.BoundingVolume; <ide> import com.jme.math.FastMath; <ide> import com.jme.scene.Node; <ide> import com.jme.sys...
Java
mit
702feb7de0d903e4d17ba6d64add2ba4bd790f25
0
Countly/countly-sdk-android,Countly/countly-sdk-android,Countly/countly-sdk-android,Countly/countly-sdk-android,Countly/countly-sdk-android
/* Copyright (c) 2012, 2013, 2014 Countly 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, copy, modify, merge, publish, distrib...
sdk/src/main/java/ly/count/android/sdk/CrashDetails.java
/* Copyright (c) 2012, 2013, 2014 Countly 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, copy, modify, merge, publish, distrib...
Fix typo while logging read battery level error (#109)
sdk/src/main/java/ly/count/android/sdk/CrashDetails.java
Fix typo while logging read battery level error (#109)
<ide><path>dk/src/main/java/ly/count/android/sdk/CrashDetails.java <ide> } <ide> catch(Exception e){ <ide> if (Countly.sharedInstance().isLoggingEnabled()) { <del> Log.i(Countly.TAG, "Can't get batter level"); <add> Log.i(Countly.TAG, "Can't get battery level");...
Java
apache-2.0
d35e75b623176b0616eff78801f65e71a04beac4
0
Modestas0/java-ftp-client,Modestas0/java-ftp-client
src/urbonas/modestas/FtpTransferResponse.java
package urbonas.modestas; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.util.List; public class FtpTransferResponse extends FtpResponse { private final byte[] data; public FtpTransferResponse(FtpResponse response, byte[] data) { this(response.getStatus(), r...
remove no longer needed class
src/urbonas/modestas/FtpTransferResponse.java
remove no longer needed class
<ide><path>rc/urbonas/modestas/FtpTransferResponse.java <del>package urbonas.modestas; <del> <del>import java.io.UnsupportedEncodingException; <del>import java.nio.charset.Charset; <del>import java.util.List; <del> <del>public class FtpTransferResponse extends FtpResponse { <del> private final byte[] data; <del> <de...
Java
apache-2.0
e3df30bea7128b666ed4110c9ac5fd80731c5da3
0
RedRoma/banana-authentication-service,AromaTech/banana-authentication-service,AromaTech/banana-authentication-service,RedRoma/banana-authentication-service
package tech.aroma.banana.authentication.service.server; /* * Copyright 2015 Aroma Tech. * * 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/LICEN...
src/main/java/tech/aroma/banana/authentication/service/server/TcpServer.java
package tech.aroma.banana.authentication.service.server; /* * Copyright 2015 Aroma Tech. * * 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/LICEN...
Server: Switching from Memory to Cassandra Repos
src/main/java/tech/aroma/banana/authentication/service/server/TcpServer.java
Server: Switching from Memory to Cassandra Repos
<ide><path>rc/main/java/tech/aroma/banana/authentication/service/server/TcpServer.java <ide> import org.slf4j.LoggerFactory; <ide> import tech.aroma.banana.authentication.service.ModuleAuthenticationService; <ide> import tech.aroma.banana.authentication.service.operations.ModuleAuthenticationOperations; <del>import tec...
Java
apache-2.0
9bc1febc89700e859ee2fcd3a9881fd8cce172da
0
mwanji/uncommons-dbutils
package com.moandjiezana.uncommons.dbutils; import static com.moandjiezana.uncommons.dbutils.MapRowProcessor.table; import static com.moandjiezana.uncommons.dbutils.ResultSetHandler.VOID; import static com.moandjiezana.uncommons.dbutils.ResultSetHandler.list; import static com.moandjiezana.uncommons.dbutils.ResultSetH...
src/test/java/com/moandjiezana/uncommons/dbutils/QueryRunnerTest.java
package com.moandjiezana.uncommons.dbutils; import static com.moandjiezana.uncommons.dbutils.MapRowProcessor.table; import static com.moandjiezana.uncommons.dbutils.ResultSetHandler.VOID; import static com.moandjiezana.uncommons.dbutils.ResultSetHandler.list; import static com.moandjiezana.uncommons.dbutils.ResultSetH...
Cleaned up tests
src/test/java/com/moandjiezana/uncommons/dbutils/QueryRunnerTest.java
Cleaned up tests
<ide><path>rc/test/java/com/moandjiezana/uncommons/dbutils/QueryRunnerTest.java <ide> } <ide> <ide> @Test <del> public void should_convert_boolean() throws Exception { <del> Long id = queryRunner.insert("INSERT INTO tbl(active) VALUES(?)", single(firstColumn()), true); <del> <del> Tbl tbl = queryRunne...
Java
apache-2.0
c86f5a980bdaf0d99104918703321d50173383c3
0
consulo/consulo-csharp,consulo/consulo-csharp,consulo/consulo-csharp
/* * Copyright 2013-2014 must-be.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
csharp-impl/src/org/mustbe/consulo/csharp/ide/completion/expected/ExpectedTypeRefProvider.java
/* * Copyright 2013-2014 must-be.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
if expected bool
csharp-impl/src/org/mustbe/consulo/csharp/ide/completion/expected/ExpectedTypeRefProvider.java
if expected bool
<ide><path>sharp-impl/src/org/mustbe/consulo/csharp/ide/completion/expected/ExpectedTypeRefProvider.java <ide> import org.mustbe.consulo.csharp.lang.psi.impl.DotNetTypes2; <ide> import org.mustbe.consulo.csharp.lang.psi.impl.source.CSharpAssignmentExpressionImpl; <ide> import org.mustbe.consulo.csharp.lang.psi.impl.sou...
Java
agpl-3.0
5c026eddf9634781f2b104056723638d27e70155
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
c0337c96-2e61-11e5-9284-b827eb9e62be
hello.java
c02e034c-2e61-11e5-9284-b827eb9e62be
c0337c96-2e61-11e5-9284-b827eb9e62be
hello.java
c0337c96-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>c02e034c-2e61-11e5-9284-b827eb9e62be <add>c0337c96-2e61-11e5-9284-b827eb9e62be
JavaScript
mit
f3c22ff4591cd66b05cf817dab8953c983891d9f
0
kreta/kreta,kreta/kreta,kreta-io/kreta,kreta-io/kreta,kreta/kreta,kreta-io/kreta,kreta/kreta,kreta-io/kreta
/* * This file is part of the Kreta package. * * (c) Beñat Espiña <benatespina@gmail.com> * (c) Gorka Laucirica <gorka.lauzirika@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import './../../../scss/views/page/task/_...
CompositeUi/src/views/page/task/Show.js
/* * This file is part of the Kreta package. * * (c) Beñat Espiña <benatespina@gmail.com> * (c) Gorka Laucirica <gorka.lauzirika@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import './../../../scss/views/page/task/_...
Fixed bug related with the initial task loading
CompositeUi/src/views/page/task/Show.js
Fixed bug related with the initial task loading
<ide><path>ompositeUi/src/views/page/task/Show.js <ide> <ide> import {routes} from './../../../Routes'; <ide> <add>import CurrentProjectActions from './../../../actions/CurrentProject'; <add> <ide> import Button from './../../component/Button'; <ide> import LoadingSpinner from './../../component/LoadingSpinner'; <ide...
Java
apache-2.0
error: pathspec 'seaglass/trunk/seaglass/src/main/java/com/seaglass/SeaGlassDesktopPaneUI.java' did not match any file(s) known to git
5fb05b0698e9d341ccddbe31b46564c8ef507e02
1
archit47/seaglass,khuxtable/seaglass
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
seaglass/trunk/seaglass/src/main/java/com/seaglass/SeaGlassDesktopPaneUI.java
Added a desktop pane UI.
seaglass/trunk/seaglass/src/main/java/com/seaglass/SeaGlassDesktopPaneUI.java
Added a desktop pane UI.
<ide><path>eaglass/trunk/seaglass/src/main/java/com/seaglass/SeaGlassDesktopPaneUI.java <add>/* <add> * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. <add> * <add> * This file is part of the SeaGlass Pluggable Look and Feel. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * ...
Java
agpl-3.0
error: pathspec 'jpos6/modules/jpos/src/org/jpos/util/BufferedLogListener.java' did not match any file(s) known to git
adacf74d90c4679b3d8091d4ce2619cff94a8413
1
jpos/jPOS,fayezasar/jPOS,imam-san/jPOS-1,atancasis/jPOS,chhil/jPOS,poynt/jPOS,c0deh4xor/jPOS,sebastianpacheco/jPOS,chhil/jPOS,c0deh4xor/jPOS,juanibdn/jPOS,atancasis/jPOS,alcarraz/jPOS,poynt/jPOS,bharavi/jPOS,poynt/jPOS,yinheli/jPOS,barspi/jPOS,juanibdn/jPOS,bharavi/jPOS,juanibdn/jPOS,sebastianpacheco/jPOS,c0deh4xor/jPO...
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2010 Alejandro P. Revilla * * This program 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 (at your ...
jpos6/modules/jpos/src/org/jpos/util/BufferedLogListener.java
BufferedLogEvent combines a LogListener with a LogProducer that can be used to buffer and multiplex LogEvents.
jpos6/modules/jpos/src/org/jpos/util/BufferedLogListener.java
BufferedLogEvent combines a LogListener with a LogProducer that can be used to buffer and multiplex LogEvents.
<ide><path>pos6/modules/jpos/src/org/jpos/util/BufferedLogListener.java <add>/* <add> * jPOS Project [http://jpos.org] <add> * Copyright (C) 2000-2010 Alejandro P. Revilla <add> * <add> * This program is free software: you can redistribute it and/or modify <add> * it under the terms of the GNU Affero General Public Lic...
Java
apache-2.0
c6cc80dd8aa0c8acf65b02d8c0161d292bf65588
0
lwriemen/bridgepoint,lwriemen/bridgepoint,lwriemen/bridgepoint,lwriemen/bridgepoint,xtuml/bridgepoint,cortlandstarrett/bridgepoint,rmulvey/bridgepoint,travislondon/bridgepoint,rmulvey/bridgepoint,travislondon/bridgepoint,cortlandstarrett/bridgepoint,keithbrown/bridgepoint,keithbrown/bridgepoint,rmulvey/bridgepoint,keit...
package lib; import java.util.ArrayList; import java.time.Clock; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoField; impo...
src/org.xtuml.bp.core/src/lib/TIM.java
package lib; import java.util.ArrayList; import java.time.Clock; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoField; impo...
job: #11937 Replaced tabs with blanks.
src/org.xtuml.bp.core/src/lib/TIM.java
job: #11937 Replaced tabs with blanks.
<ide><path>rc/org.xtuml.bp.core/src/lib/TIM.java <ide> * @param simTime <ide> */ <ide> public static void init(boolean simTime, boolean deterministic) { <del> systemEpoch = Instant.EPOCH; <del> Instant now = Instant.now(); <del> simulatedTime = TimeUnit.SECONDS.toMicros(now.getEpochSecond()) + TimeUnit.NANOSECO...
Java
apache-2.0
cb1492dc2eeefd26d406dd98f0494aa9ff452de3
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
package com.orientechnologies.orient.core.sql.parser; import java.util.Map; import java.util.Set; /** * Created by luigidellaquila on 18/02/15. */ public class OJsonItem { protected OIdentifier leftIdentifier; protected String leftString; protected OExpression right; public void toString(Map<Object, O...
core/src/main/java/com/orientechnologies/orient/core/sql/parser/OJsonItem.java
package com.orientechnologies.orient.core.sql.parser; import java.util.Map; import java.util.Set; /** * Created by luigidellaquila on 18/02/15. */ public class OJsonItem { protected OIdentifier leftIdentifier; protected String leftString; protected OExpression right; public void toString(Map<Object, O...
Implement equals() and hashCode() for OJsonItem
core/src/main/java/com/orientechnologies/orient/core/sql/parser/OJsonItem.java
Implement equals() and hashCode() for OJsonItem
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/sql/parser/OJsonItem.java <ide> public boolean refersToParent() { <ide> return right != null && right.refersToParent(); <ide> } <add> <add> @Override <add> public boolean equals(Object o) { <add> if (this == o) <add> return true; <add> ...
Java
apache-2.0
6d769c5bf721cfb5b5efe5bd515770208ea5010e
0
jomof/cmakeify,jomof/cmakeify,jomof/cmakeify
package com.jomofisher.cmakeify; import com.jomofisher.cmakeify.CMakeify.OSType; import com.jomofisher.cmakeify.model.*; import java.io.*; import java.util.*; public class BashScriptBuilder extends ScriptBuilder { final private static String ABORT_LAST_FAILED = "rc=$?; if [[ $rc != 0 ]]; then exit -$rc; fi"; fi...
src/main/java/com/jomofisher/cmakeify/BashScriptBuilder.java
package com.jomofisher.cmakeify; import com.jomofisher.cmakeify.CMakeify.OSType; import com.jomofisher.cmakeify.model.*; import java.io.*; import java.util.*; public class BashScriptBuilder extends ScriptBuilder { final private static String ABORT_LAST_FAILED = "rc=$?; if [[ $rc != 0 ]]; then exit -$rc; fi"; fi...
Support --install
src/main/java/com/jomofisher/cmakeify/BashScriptBuilder.java
Support --install
<ide><path>rc/main/java/com/jomofisher/cmakeify/BashScriptBuilder.java <ide> final private OSType hostOS; <ide> final private File workingFolder; <ide> final private File rootBuildFolder; <add> final private File rootInstallFolder; <ide> final private File zipsFolder; <ide> final private File cdepFile; <del>...
Java
apache-2.0
335b9bb3a53ec3098383fe992ed638bc93dc7f2c
0
evanchooly/morphia,evanchooly/morphia
package com.google.code.morphia.mapping.lazy; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import org.bson.types.ObjectId; import org.junit.Test; import com.google.code.morphia.annotations.Id; import com.google.code.morphia.annotations.Reference; import com.google.code.morphia.testuti...
morphia/src/test/java/com/google/code/morphia/mapping/lazy/TestReferenceMap.java
package com.google.code.morphia.mapping.lazy; import java.util.HashMap; import java.util.Map; import org.bson.types.ObjectId; import org.junit.Test; import com.google.code.morphia.annotations.Id; import com.google.code.morphia.annotations.Reference; import com.google.code.morphia.testutil.TestEntity; import junit.fr...
make B serializable
morphia/src/test/java/com/google/code/morphia/mapping/lazy/TestReferenceMap.java
make B serializable
<ide><path>orphia/src/test/java/com/google/code/morphia/mapping/lazy/TestReferenceMap.java <ide> package com.google.code.morphia.mapping.lazy; <ide> <ide> <add>import java.io.Serializable; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <ide> final Map<String, B> bs = new HashMap<String, B>(); ...
Java
apache-2.0
0f9aab25b3b567901a1fb04fed1d0a5905efba6d
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.autoscale; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Capacity; import com.yahoo.config.provision.Cloud; import com.yahoo.con...
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.autoscale; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Capacity; import com.yahoo.config.provision.Cloud; import com.yahoo.con...
Add missing asserts
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java
Add missing asserts
<ide><path>ode-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java <ide> <ide> // deploy with slow <ide> tester.deploy(application1, cluster1, 5, 1, hostResources); <del> tester.nodeRepository().nodes().list().owner(application1).stream() <del> ....
Java
mpl-2.0
56d8b473e01537167d38a178c8698f22217c0b46
0
dumptruckman/PluginBase,dumptruckman/PluginBase
package pluginbase.config.properties; import org.jetbrains.annotations.NotNull; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.Locale; import java...
serializable-config/src/main/java/pluginbase/config/properties/DefaultStringifier.java
package pluginbase.config.properties; import org.jetbrains.annotations.NotNull; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Collections; import java.util.HashMap; import java.util.Map; public class DefaultStringifier impleme...
Added a special case to DefaultStringifier for enums.
serializable-config/src/main/java/pluginbase/config/properties/DefaultStringifier.java
Added a special case to DefaultStringifier for enums.
<ide><path>erializable-config/src/main/java/pluginbase/config/properties/DefaultStringifier.java <ide> import java.lang.reflect.Method; <ide> import java.lang.reflect.Modifier; <ide> import java.util.Collections; <add>import java.util.EnumSet; <ide> import java.util.HashMap; <add>import java.util.Locale; <ide> import j...
JavaScript
apache-2.0
ee47bac7b0a82cdb0c668e67c5d195cf4e40dd98
0
joequant/etherpad-lite,joequant/etherpad-lite,aptivate/etherpad-lite,aptivate/etherpad-lite,storytouch/etherpad-lite,aptivate/etherpad-lite,joequant/etherpad-lite,aptivate/etherpad-lite,joequant/etherpad-lite,ether/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite,ether/etherpad-lite,storytouch/etherpad-lite
describe('scroll when focus line is out of viewport', function () { before(function (done) { helper.newPad(function(){ cleanPad(function(){ forceUseMonospacedFont(); scrollWhenPlaceCaretInTheLastLineOfViewport(); createPadWithSeveralLines(function(){ resizeEditorHeight(); ...
tests/frontend/specs/scroll.js
describe('scroll when focus line is out of viewport', function () { before(function (done) { helper.newPad(function(){ cleanPad(function(){ forceUseMonospacedFont(); scrollWhenPlaceCaretInTheLastLineOfViewport(); createPadWithSeveralLines(function(){ resizeEditorHeight(); ...
tests: increase timeout
tests/frontend/specs/scroll.js
tests: increase timeout
<ide><path>ests/frontend/specs/scroll.js <ide> // warning: even pressing up arrow, the caret does not change of position <ide> pressAndReleaseUpArrow(); <ide> done(); <del> }, 1000); <add> }, 2000); <ide> }); <ide> <ide> it('keeps the focus line scrolled 30% of t...
Java
apache-2.0
8eee24a8ee3d7e47a7ba05610d76d984aa66d7ae
0
apache/camel,cunningt/camel,apache/camel,cunningt/camel,apache/camel,cunningt/camel,cunningt/camel,apache/camel,christophd/camel,apache/camel,apache/camel,christophd/camel,christophd/camel,cunningt/camel,christophd/camel,cunningt/camel,christophd/camel,tadayosi/camel,christophd/camel,tadayosi/camel,tadayosi/camel,taday...
/* * 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 ...
core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.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 ...
Regen for commit ee5416f94ebece00814f6a71570224b5c6c9f674 Signed-off-by: GitHub <1505422b2465e9a84f6fdfaa161078890c593f06@github.com>
core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java
Regen for commit ee5416f94ebece00814f6a71570224b5c6c9f674
<ide><path>ore/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java <ide> package org.apache.camel.component.properties; <ide> <ide> import java.util.ArrayList; <del>import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.List; <ide> import java.util.M...
Java
apache-2.0
3590d32bdb198480d052cf0b8240a1c4f988307c
0
MoneyBeets/Narvaro,SnakeDoc/Narvaro,SnakeDoc/Narvaro,MoneyBeets/Narvaro,MoneyBeets/Narvaro,SnakeDoc/Narvaro
/** * Narvaro: @VERSION@ * Build Date: @DATE@ * Commit Head: @HEAD@ * JDK: @JDK@ * ANT: @ANT@ * */ package edu.csus.ecs.moneybeets.narvaro.ui; import java.io.File; import java.math.BigDecimal; import java.sql.SQLException; import java.time.YearMonth; import edu.csus.ecs.moneybeets.narvaro.model.DataManager; i...
src/java/edu/csus/ecs/moneybeets/narvaro/ui/Controller.java
/** * Narvaro: @VERSION@ * Build Date: @DATE@ * Commit Head: @HEAD@ * JDK: @JDK@ * ANT: @ANT@ * */ package edu.csus.ecs.moneybeets.narvaro.ui; import java.io.File; import java.math.BigDecimal; import java.time.YearMonth; import edu.csus.ecs.moneybeets.narvaro.model.ParkMonth; import javafx.event.ActionEvent; ...
Store parkmonth in DB, clear fields to show OK
src/java/edu/csus/ecs/moneybeets/narvaro/ui/Controller.java
Store parkmonth in DB, clear fields to show OK
<ide><path>rc/java/edu/csus/ecs/moneybeets/narvaro/ui/Controller.java <ide> <ide> import java.io.File; <ide> import java.math.BigDecimal; <add>import java.sql.SQLException; <ide> import java.time.YearMonth; <ide> <add>import edu.csus.ecs.moneybeets.narvaro.model.DataManager; <ide> import edu.csus.ecs.moneybeets.narva...
Java
apache-2.0
61541859ec7281adf0d3b28eb3fc3bcbb75697e3
0
UltimaPhoenix/luceneappengine
package com.googlecode.luceneappengine; import org.apache.commons.lang3.RandomStringUtils; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.core.LowerCaseFilter; import org.apache.lucene.analysis.core.SimpleAnalyzer; import org.apache.lucene.a...
src/test/java/com/googlecode/luceneappengine/GaeDirectoryTest.java
package com.googlecode.luceneappengine; import org.apache.commons.lang3.RandomStringUtils; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.core.LowerCaseFilter; import org.apache.lucene.analysis.core.SimpleAnalyzer; import org.apache.lucene.a...
Updated test with latest lucene versions
src/test/java/com/googlecode/luceneappengine/GaeDirectoryTest.java
Updated test with latest lucene versions
<ide><path>rc/test/java/com/googlecode/luceneappengine/GaeDirectoryTest.java <ide> Version.LUCENE_5_0_0, <ide> Version.LUCENE_5_1_0, <ide> Version.LUCENE_5_2_0, Version.LUCENE_5_2_1, <del> Version.LUCENE_5_3_0, Version.LUCENE_5_3_1, <del> Version.LUCENE_5_4_0, <add> Version.LUCENE_5_3_0, Version.LUCENE_5_3_...
JavaScript
mit
9d2962d9b6031d83f120103d8367da5915820634
0
phetsims/sun,phetsims/sun,phetsims/sun
// Copyright 2016, University of Colorado Boulder /** * * @author Sam Reid (PhET Interactive Simulations) * @author Andrew Adare (PhET Interactive Simulations) */ define( function( require ) { 'use strict'; // modules var assertInstanceOfTypes = require( 'PHET_IO/assertions/assertInstanceOfTypes' ); var p...
js/types/sun/buttons/TPushButton.js
// Copyright 2016, University of Colorado Boulder /** * * @author Sam Reid (PhET Interactive Simulations) * @author Andrew Adare (PhET Interactive Simulations) */ define( function( require ) { 'use strict'; // modules var assertInstanceOfTypes = require( 'PHET_IO/assertions/assertInstanceOfTypes' ); var p...
Re-apply customization expressions when the simulation is reset, see https://github.com/phetsims/phet-io/issues/584
js/types/sun/buttons/TPushButton.js
Re-apply customization expressions when the simulation is reset, see https://github.com/phetsims/phet-io/issues/584
<ide><path>s/types/sun/buttons/TPushButton.js <ide> var TNode = require( 'PHET_IO/types/scenery/nodes/TNode' ); <ide> var toEventOnEmit = require( 'PHET_IO/events/toEventOnEmit' ); <ide> var TVoid = require( 'PHET_IO/types/TVoid' ); <add> var TFunctionWrapper = require( 'PHET_IO/types/TFunctionWrapper' ); <ide> ...
Java
apache-2.0
4a51c3305e644353647e96663781c9a18e3fcdab
0
mendix/IBM-Watson-Connector-Suite,simo101/IBM-Watson-Connector-Kit,mendix/IBM-Watson-Connector-Suite,mendix/IBM-Watson-Connector-Suite,simo101/IBM-Watson-Connector-Kit
package watsonservices.utils; import org.apache.commons.lang3.StringUtils; import com.ibm.watson.developer_cloud.tone_analyzer.v3.ToneAnalyzer; import com.ibm.watson.developer_cloud.tone_analyzer.v3.model.ElementTone; import com.ibm.watson.developer_cloud.tone_analyzer.v3.model.SentenceTone; import com.ibm.wat...
javasource/watsonservices/utils/ToneAnalyzerService.java
package watsonservices.utils; import org.apache.commons.lang3.StringUtils; import com.ibm.watson.developer_cloud.tone_analyzer.v3.ToneAnalyzer; import com.ibm.watson.developer_cloud.tone_analyzer.v3.model.ElementTone; import com.ibm.watson.developer_cloud.tone_analyzer.v3.model.SentenceTone; import com.ibm.wat...
#951982 - Fix bug when there is only one sentence as input
javasource/watsonservices/utils/ToneAnalyzerService.java
#951982 - Fix bug when there is only one sentence as input
<ide><path>avasource/watsonservices/utils/ToneAnalyzerService.java <ide> <ide> // Call the service and get the tone <ide> ToneAnalysis response; <del> try { <add> try <add> { <ide> response = service.getTone(text, null).execute(); <ide> } catch (Exception e) { <ide> LOGGER.error("Watson Service connecti...
JavaScript
mit
4005633c5f5cd4cf2c57f5ad5593bd2c76c7cb11
0
atom/node-minidump,atom/node-minidump
const fs = require('fs') const path = require('path') const childProcess = require('child_process') const exe = process.platform === 'win32' ? '.exe' : '' const binDir = path.join(__dirname, 'bin', `${process.platform}-${process.arch}`) const minidumpStackwalkDest = path.join(binDir, 'minidump_stackwalk') + exe const...
build.js
const fs = require('fs') const path = require('path') const childProcess = require('child_process') const exe = process.platform === 'win32' ? '.exe' : '' const binDir = path.join(__dirname, 'bin', `${process.platform}-${process.arch}`) const minidumpStackwalkDest = path.join(binDir, 'minidump_stackwalk') + exe const...
fix: strip binaries
build.js
fix: strip binaries
<ide><path>uild.js <ide> } <ide> })() <ide> fs.copyFileSync(dumpSyms, dumpSymsDest) <add> <add>fs.readdirSync(binDir).forEach(file => stripBin(path.join(binDir, file))) <add> <add>function stripBin (file) { <add> return childProcess.execFileSync(process.env.STRIP || 'strip', [file, process.platform === 'darwin' ? '-...
JavaScript
mit
a5bba932cab59a75efdfdffc93eb7043543009d0
0
stephenegriffin/MHA,stephenegriffin/MHA,stephenegriffin/MHA
/* global $ */ /* exported telemetryInitializer */ /* exported getDiagnosticsMap */ /* exported setItemDiagnostics */ /* exported clearItemDiagnostics */ /* exported getDiagnostics */ // diagnostic functions function telemetryInitializer(envelope) { envelope.data.ti = "ti functioning"; envelope.data.baseType ...
Scripts/diag.js
/* global $ */ /* exported telemetryInitializer */ /* exported getDiagnosticsMap */ /* exported setItemDiagnostics */ /* exported clearItemDiagnostics */ /* exported getDiagnostics */ // diagnostic functions function telemetryInitializer(envelope) { envelope.data.ti = "ti functioning"; envelope.data.baseType ...
remove debug tracking call
Scripts/diag.js
remove debug tracking call
<ide><path>cripts/diag.js <ide> } <ide> <ide> function getDiagnostics() { <del> window.appInsights.trackEvent("Getting diagnostics"); <del> <ide> var diagnostics = ""; <ide> try { <ide> var diagnosticMap = getDiagnosticsMap();
JavaScript
apache-2.0
dafb8e3ba0b50f5304bc27aca6044777c41b1c30
0
BubacarrC/cd_demo,BubacarrC/cd_demo
// Load the http module to create an http server. var http = require('http'); // Configure our HTTP server to respond with Hello World to all requests. var server = http.createServer(function (request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.end("Hello World\n"); }); // Liste...
nodejs_app/app.js
// Load the http module to create an http server. var http = require('http'); // Configure our HTTP server to respond with Hello World to all requests. var server = http.createServer(function (request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.end("Hello World\n"); }); // Liste...
Update app.js
nodejs_app/app.js
Update app.js
<ide><path>odejs_app/app.js <ide> server.listen(8000); <ide> <ide> // Put a friendly message on the terminal <del>console.log("Server running at http://127.0.0.1:8000/"); <add>console.log("Server is running at http://127.0.0.1:8000/");
Java
mit
58020789dbe84902483ab5fc5592b3f0b85b522a
0
sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper
package com.laytonsmith.abstraction.enums.bukkit; import com.laytonsmith.abstraction.enums.MCVersion; import com.laytonsmith.core.Static; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.block.data.BlockData; import java.util.HashMap; @SuppressWarnings("deprecation") public class BukkitMCLegac...
src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCLegacyMaterial.java
package com.laytonsmith.abstraction.enums.bukkit; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.block.data.BlockData; import java.util.HashMap; @SuppressWarnings("deprecation") public class BukkitMCLegacyMaterial { public enum LegacyMaterialId { AIR(0), STONE(1), GRASS(2), DIRT(3),...
Fix enabling plugin on 1.13.2 servers
src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCLegacyMaterial.java
Fix enabling plugin on 1.13.2 servers
<ide><path>rc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCLegacyMaterial.java <ide> package com.laytonsmith.abstraction.enums.bukkit; <ide> <add>import com.laytonsmith.abstraction.enums.MCVersion; <add>import com.laytonsmith.core.Static; <ide> import org.bukkit.Bukkit; <ide> import org.bukkit.Material; ...
Java
apache-2.0
bf1b44a259e93092017b32a0d366e086ae018672
0
jbrisbin/reactor-extensions,reactor/reactor-incubator
package reactor.pipe; import org.reactivestreams.Publisher; import org.reactivestreams.Subscriber; import org.reactivestreams.Subscription; import reactor.pipe.concurrent.AVar; import reactor.pipe.key.Key; import org.junit.Test; import reactor.core.Dispatcher; import reactor.core.dispatch.ThreadPoolExecutorDispatcher;...
reactor-pipe/src/test/java/reactor/pipe/FirehoseTest.java
package reactor.pipe; import reactor.pipe.concurrent.AVar; import reactor.pipe.key.Key; import org.junit.Test; import reactor.core.Dispatcher; import reactor.core.dispatch.ThreadPoolExecutorDispatcher; import reactor.fn.tuple.Tuple; import reactor.fn.tuple.Tuple2; import java.util.Collections; import java.util.concur...
Cover publisher/subscriber creators with tests
reactor-pipe/src/test/java/reactor/pipe/FirehoseTest.java
Cover publisher/subscriber creators with tests
<ide><path>eactor-pipe/src/test/java/reactor/pipe/FirehoseTest.java <ide> package reactor.pipe; <ide> <add>import org.reactivestreams.Publisher; <add>import org.reactivestreams.Subscriber; <add>import org.reactivestreams.Subscription; <ide> import reactor.pipe.concurrent.AVar; <ide> import reactor.pipe.key.Key; <ide> ...
Java
mpl-2.0
0c1f2e39551aa01ef41fe17cd02c13546856c54d
0
langurmonkey/gaiasky,vga101/gaiasky,langurmonkey/gaiasky,vga101/gaiasky,vga101/gaiasky,vga101/gaiasky,langurmonkey/gaiasky,langurmonkey/gaiasky
package gaia.cu9.ari.gaiaorbit.scenegraph; import gaia.cu9.ari.gaiaorbit.render.ComponentType; import gaia.cu9.ari.gaiaorbit.render.IRenderable; import gaia.cu9.ari.gaiaorbit.render.SceneGraphRenderer; import gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper; import gaia.cu9.ari.gaiaorbit.util.MyPo...
core/src/gaia/cu9/ari/gaiaorbit/scenegraph/SceneGraphNode.java
package gaia.cu9.ari.gaiaorbit.scenegraph; import gaia.cu9.ari.gaiaorbit.render.ComponentType; import gaia.cu9.ari.gaiaorbit.render.IRenderable; import gaia.cu9.ari.gaiaorbit.render.SceneGraphRenderer; import gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper; import gaia.cu9.ari.gaiaorbit.util.MyPo...
Synced scene graph node with thread indexer
core/src/gaia/cu9/ari/gaiaorbit/scenegraph/SceneGraphNode.java
Synced scene graph node with thread indexer
<ide><path>ore/src/gaia/cu9/ari/gaiaorbit/scenegraph/SceneGraphNode.java <ide> import gaia.cu9.ari.gaiaorbit.render.SceneGraphRenderer; <ide> import gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper; <ide> import gaia.cu9.ari.gaiaorbit.util.MyPools; <add>import gaia.cu9.ari.gaiaorbit.util.concurrent...
Java
apache-2.0
33f212940f775772a876838ce0cfc2fd2ede7e01
0
vector-im/vector-android,riot-spanish/riot-android,vector-im/riot-android,vector-im/vector-android,vector-im/riot-android,vector-im/riot-android,vector-im/riot-android,vector-im/riot-android,riot-spanish/riot-android,vector-im/vector-android,riot-spanish/riot-android,riot-spanish/riot-android,vector-im/vector-android
/* * Copyright 2017 Vector Creations 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 a...
vector/src/main/java/im/vector/activity/PhoneNumberVerificationActivity.java
/* * Copyright 2017 Vector Creations 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 a...
Edit comment
vector/src/main/java/im/vector/activity/PhoneNumberVerificationActivity.java
Edit comment
<ide><path>ector/src/main/java/im/vector/activity/PhoneNumberVerificationActivity.java <ide> private MXSession mSession; <ide> private ThreePid mThreePid; <ide> <del> // True when a phone number is submitted <add> // True when a phone number token is submitted <ide> // Used to prevent user to submit ...
Java
apache-2.0
41b2bb21cfb110c5d68e001c016301b38861f523
0
apache/rampart,apache/rampart
/* * Copyright 2004,2005 The Apache Software 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 required by ap...
modules/rampart-trust/src/main/java/org/apache/rahas/RahasData.java
/* * Copyright 2004,2005 The Apache Software 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 required by ap...
Corrected an error in key size git-svn-id: 826b4206cfd113e788b1201c7dc26b81d52deb30@631093 13f79535-47bb-0310-9956-ffa450edef68
modules/rampart-trust/src/main/java/org/apache/rahas/RahasData.java
Corrected an error in key size
<ide><path>odules/rampart-trust/src/main/java/org/apache/rahas/RahasData.java <ide> this.keysize = Integer.parseInt(text.trim()); <ide> <ide> //Create an empty array to hold the key <del> this.ephmeralKey = new byte[this.keysize]; <add> this...
Java
mit
ed078788a72976cf0d919dcd962d71be8ecd0e20
0
CS2103AUG2016-W15-C3/main
package seedu.taskell.ui; import com.google.common.eventbus.Subscribe; import javafx.application.Platform; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.image.Image; import javafx.stage.Stage; import seedu.taskell.MainApp; import seedu.taskell.commons.core.Componen...
src/main/java/seedu/taskell/ui/UiManager.java
package seedu.taskell.ui; import com.google.common.eventbus.Subscribe; import javafx.application.Platform; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.image.Image; import javafx.stage.Stage; import seedu.taskell.MainApp; import seedu.taskell.commons.core.Componen...
edit logging
src/main/java/seedu/taskell/ui/UiManager.java
edit logging
<ide><path>rc/main/java/seedu/taskell/ui/UiManager.java <ide> @Subscribe <ide> private void handleDisplayList(DisplayListChangedEvent event) { <ide> logger.info(LogsCenter.getEventHandlingLogMessage(event)); <del> logger.info("Displaying"); <add> logger.info("Displaying list..."); <ide> ...
Java
epl-1.0
6c77955735e23720cf8dda2a5397188f99dfed88
0
collaborative-modeling/egit,collaborative-modeling/egit
/******************************************************************************* * Copyright (c) 2010, 2015 SAP AG 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 distribution, and is avai...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java
/******************************************************************************* * Copyright (c) 2010, 2015 SAP AG 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 distribution, and is avai...
Fix repository search dialog to detect .git files under selected root. The search did not detect working tree with .git file in selected root folder. It always looked in sub-folders only and in case of .git folders it worked fine. Now it also checks the selected root folder additionally to its children. The Git privat...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java
Fix repository search dialog to detect .git files under selected root.
<ide><path>rg.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java <ide> import org.eclipse.jface.viewers.LabelProvider; <ide> import org.eclipse.jface.viewers.Viewer; <ide> import org.eclipse.jface.wizard.WizardPage; <add>import org.eclipse.jgit.lib.Constants; <ide> import org.eclips...
Java
apache-2.0
1ca3a263e142bfe5876edb8f1d0d076a9c10d51b
0
jankill/commons-lang,MuShiiii/commons-lang,lovecindy/commons-lang,britter/commons-lang,lovecindy/commons-lang,jacktan1991/commons-lang,apache/commons-lang,jankill/commons-lang,byMan/naya279,byMan/naya279,xiwc/commons-lang,vanta/commons-lang,apache/commons-lang,Ajeet-Ganga/commons-lang,lovecindy/commons-lang,chaoyi66/co...
/* * 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 ...
src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.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 ...
Unnecessary array creation git-svn-id: bab3daebc4e66440cbcc4aded890e63215874748@1573807 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
Unnecessary array creation
<ide><path>rc/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java <ide> * @return array of Token[] <ide> */ <ide> static Token[] lexx(final String format) { <del> final char[] array = format.toCharArray(); <del> final ArrayList<Token> list = new ArrayList<Token>(array.length); <...
Java
agpl-3.0
d868f65dede1984f77f51dd7a07a66506b44fee3
0
roskens/opennms-pre-github,tdefilip/opennms,roskens/opennms-pre-github,tdefilip/opennms,rdkgit/opennms,aihua/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,aihua/opennms,rdkgit/opennm...
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2010-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
protocols/xml/src/main/java/org/opennms/protocols/xml/collector/AbstractXmlCollectionHandler.java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2010-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Adding support for the usage of asset records as placeholders on xml-source URLs.
protocols/xml/src/main/java/org/opennms/protocols/xml/collector/AbstractXmlCollectionHandler.java
Adding support for the usage of asset records as placeholders on xml-source URLs.
<ide><path>rotocols/xml/src/main/java/org/opennms/protocols/xml/collector/AbstractXmlCollectionHandler.java <ide> <ide> package org.opennms.protocols.xml.collector; <ide> <add>import java.beans.PropertyDescriptor; <ide> import java.io.InputStream; <ide> import java.net.URL; <ide> import java.net.URLConnection; <ide> ...
Java
apache-2.0
93a88384583401fd5a44bb8da98f65cbb1238366
0
nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader
/** * MicroEmulator * Copyright (C) 2008 Bartek Teodorczyk <barteo@barteo.net> * Copyright (C) 2017-2018 Nikita Shakarun * <p> * It is licensed under the following two licenses as alternatives: * 1. GNU Lesser General Public License (the "LGPL") version 2.1 or any newer version * 2. Apache License (the "AL") Ver...
app/src/main/java/org/microemu/android/asm/AndroidProducer.java
/** * MicroEmulator * Copyright (C) 2008 Bartek Teodorczyk <barteo@barteo.net> * Copyright (C) 2017-2018 Nikita Shakarun * <p> * It is licensed under the following two licenses as alternatives: * 1. GNU Lesser General Public License (the "LGPL") version 2.1 or any newer version * 2. Apache License (the "AL") Ver...
Add class name validation
app/src/main/java/org/microemu/android/asm/AndroidProducer.java
Add class name validation
<ide><path>pp/src/main/java/org/microemu/android/asm/AndroidProducer.java <ide> <ide> private static final int BUFFER_SIZE = 2048; <ide> <del> private static byte[] instrument(final byte[] classFile) { <add> private static byte[] instrument(final byte[] classFile, String classFileName) <add> throws IllegalArgument...
Java
bsd-2-clause
19517856c5c29892b03493ac7b81e2818e52ae6d
0
runelite/runelite,l2-/runelite,devinfrench/runelite,KronosDesign/runelite,KronosDesign/runelite,runelite/runelite,runelite/runelite,Noremac201/runelite,l2-/runelite,abelbriggs1/runelite,Sethtroll/runelite,devinfrench/runelite,Noremac201/runelite,abelbriggs1/runelite,abelbriggs1/runelite,Sethtroll/runelite
/* * Copyright (c) 2016-2017, Cameron Moberg <Moberg@tuta.io> * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
runelite-client/src/main/java/net/runelite/client/plugins/bosstimer/BossTimersPlugin.java
/* * Copyright (c) 2016-2017, Cameron Moberg <Moberg@tuta.io> * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
Add shutDown to BossTimersPlugin Remove all RespawnTimers on BossTimersPlugin shutdown Signed-off-by: Tomas Slusny <71c4488fd0941e24cd13e3ad13ef1eb0a5fe5168@gmail.com>
runelite-client/src/main/java/net/runelite/client/plugins/bosstimer/BossTimersPlugin.java
Add shutDown to BossTimersPlugin
<ide><path>unelite-client/src/main/java/net/runelite/client/plugins/bosstimer/BossTimersPlugin.java <ide> @Inject <ide> InfoBoxManager infoBoxManager; <ide> <add> @Override <add> protected void shutDown() throws Exception <add> { <add> infoBoxManager.removeIf(t -> t instanceof RespawnTimer); <add> } <add> <ide> @S...
JavaScript
cc0-1.0
f67c372c9c74064c5de3344ee115d5055e83523d
0
cbarrac/jokes
var child_process = require('child_process') var fs = require('fs'); var max_sleep = 300 var step = 10 //Added a comment that achieves no real goal. //Non-blocking loop //Adjustable step //Status line //Add a rough time indicator //First cut at libfaketime support var commit_messages = [ "Fixing an important issue w...
commit.js
var child_process = require('child_process') var fs = require('fs'); var max_sleep = 300 var step = 10 //Added a comment that achieves no real goal. //Non-blocking loop //Adjustable step //Status line //Add a rough time indicator //First cut at libfaketime support var commit_messages = [ "Fixing an important issue w...
AAAAAAAAAAARGH!
commit.js
AAAAAAAAAAARGH!
<ide><path>ommit.js <ide> { <ide> if (counter < length) <ide> { <del> var messag <add> var message
Java
apache-2.0
7b3008c1a03fb973dd803ce024d6b4ef19da850a
0
davidegiannella/jackrabbit-oak,davidegiannella/jackrabbit-oak,davidegiannella/jackrabbit-oak,davidegiannella/jackrabbit-oak,davidegiannella/jackrabbit-oak
/* * 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 ...
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/basic/DefaultSyncContextTest.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 ...
OAK-4302 : DefaultSyncContextTest contains duplicate test git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1740774 13f79535-47bb-0310-9956-ffa450edef68
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/basic/DefaultSyncContextTest.java
OAK-4302 : DefaultSyncContextTest contains duplicate test
<ide><path>ak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/basic/DefaultSyncContextTest.java <ide> <ide> @Test <ide> public void testGetIdentityRefSyncUser() throws Exception { <del> ExternalIdentity externalGroupUser = idp.listGroups().next(); <del> ...
JavaScript
apache-2.0
7f0c432203a0ff961672dcb560953f1e4efd4260
0
ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic
//= require miq_global //= require es6-shim //= require array-includes //= require fetch //= require jquery //= require jquery_overrides //= require i18n //= require patternfly //= require jquery-ujs //= require angular //= require angular-patternfly-sass/dist/angular-patternfly //= require angular-ui-bootstrap //= req...
app/assets/javascripts/application.js
//= require miq_global //= require es6-shim //= require array-includes //= require fetch //= require jquery //= require jquery_overrides //= require i18n //= require patternfly //= require jquery-ujs //= require angular //= require angular-patternfly-sass/dist/angular-patternfly //= require angular-ui-bootstrap //= req...
Removed require of miq_qe to fix issue with drop downs in UI Issue was introduced in https://github.com/ManageIQ/manageiq/pull/11390 (transferred from ManageIQ/manageiq@cceaa3c08651d4e50372dcca41379eb6a7a64340)
app/assets/javascripts/application.js
Removed require of miq_qe to fix issue with drop downs in UI
<ide><path>pp/assets/javascripts/application.js <ide> //= require miq_browser_detect <ide> //= require miq_application <ide> //= require miq_change_stored_password <del>//= require miq_qe <ide> //= require automate_import_export <ide> //= require dialog_field_refresh <ide> //= require excanvas
Java
bsd-3-clause
a03d0c9ea4c9d2541dd5eb94a18a52b5cd45654c
0
Nelspike/BusTicketer,Nelspike/BusTicketer
PassengerMode/src/bus/ticketer/connection/ConnectionHandler.java
package bus.ticketer.connection; import java.io.*; import java.net.*; import java.util.*; import org.apache.http.*; import org.apache.http.message.*; import org.json.*; public class ConnectionHandler implements Runnable { private String link, resultString, method; private ArrayList<NameValuePair> payload; privat...
Removing a file.
PassengerMode/src/bus/ticketer/connection/ConnectionHandler.java
Removing a file.
<ide><path>assengerMode/src/bus/ticketer/connection/ConnectionHandler.java <del>package bus.ticketer.connection; <del> <del>import java.io.*; <del>import java.net.*; <del>import java.util.*; <del> <del>import org.apache.http.*; <del>import org.apache.http.message.*; <del>import org.json.*; <del> <del>public class Conne...
Java
apache-2.0
d56c90fef56d24551b460de61213bac4085042e2
0
afds/netty,yipen9/netty,sunbeansoft/netty,JungMinu/netty,ijuma/netty,ejona86/netty,liuciuse/netty,andsel/netty,fengshao0907/netty,xiexingguang/netty,gerdriesselmann/netty,wangyikai/netty,liyang1025/netty,blademainer/netty,huuthang1993/netty,zxhfirefox/netty,liuciuse/netty,jovezhougang/netty,gigold/netty,nayato/netty,hg...
/* * JBoss, Home of Professional Open Source * * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @author tags. See the COPYRIGHT.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
src/main/java/org/jboss/netty/channel/group/ChannelGroup.java
/* * JBoss, Home of Professional Open Source * * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @author tags. See the COPYRIGHT.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
Wrong tag
src/main/java/org/jboss/netty/channel/group/ChannelGroup.java
Wrong tag
<ide><path>rc/main/java/org/jboss/netty/channel/group/ChannelGroup.java <ide> * // Start the server <ide> * b.getPipeline().addLast("handler", new MyHandler()); <ide> * Channel serverChannel = b.bind(..); <del> * <strong>allChannels.add(serverChannel);<strong> <add> * <strong>allChannels.add(serv...
Java
apache-2.0
8052e99e84f0cf3d0b4f3ac9e924e6f68a20bba1
0
freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM
/* * 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...
enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BcBands.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...
Pack200 - quick fix for failing test svn path=/harmony/; revision=775090
enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BcBands.java
Pack200 - quick fix for failing test
<ide><path>nhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BcBands.java <ide> opcode += 24; // change to invokevirtual_this, <ide> // invokespecial_this etc. <ide> <del> if(name.equals("<init>") && opcode == 207) { <del> ...
JavaScript
mit
07c33a834214fdecba162b7aa5c7967d409401c8
0
raquelxmoss/word-wars,raquelxmoss/word-wars,raquelxmoss/word-wars
import validateWord from './word-validation'; function validateRow (row) { const wordsInRow = extractWords(row); return row.map((square, index) => { if(square.letter !== '') { const wordToValidate = findWordToValidate(wordsInRow, index); return Object.assign({}, square, {active: validateWord(word...
src/validate-board.js
import validateWord from './word-validation'; function validateRow (row) { const wordsInRow = extractWords(row) console.log(wordsInRow) return row.map((square, index) => { if(square.letter !== '') { const wordToValidate = findWordToValidate(wordsInRow, index) console.log(wordToValidate) //...
Tidy up
src/validate-board.js
Tidy up
<ide><path>rc/validate-board.js <ide> import validateWord from './word-validation'; <ide> <ide> function validateRow (row) { <del> const wordsInRow = extractWords(row) <del> console.log(wordsInRow) <add> const wordsInRow = extractWords(row); <ide> <ide> return row.map((square, index) => { <ide> if(square.let...
Java
bsd-2-clause
cc89eb1d3168894d4ac359aeeb46fa906138dfd0
0
clementval/claw-compiler,clementval/claw-compiler
package cx2x.translator.xcode; import cx2x.translator.language.ClawDirective; import cx2x.translator.language.ClawLanguage; import cx2x.translator.language.helper.accelerator.AcceleratorGenerator; import cx2x.translator.language.helper.target.Target; import cx2x.xcodeml.exception.IllegalDirectiveException; import exc....
omni-cx2x/src/cx2x/translator/xcode/ClawTranslate.java
package cx2x.translator.xcode; import cx2x.translator.language.ClawDirective; import cx2x.translator.language.ClawLanguage; import cx2x.translator.language.helper.accelerator.AcceleratorGenerator; import cx2x.translator.language.helper.target.Target; import cx2x.xcodeml.exception.IllegalDirectiveException; import exc....
Try XobjList
omni-cx2x/src/cx2x/translator/xcode/ClawTranslate.java
Try XobjList
<ide><path>mni-cx2x/src/cx2x/translator/xcode/ClawTranslate.java <ide> import exc.object.*; <ide> <ide> import java.util.ArrayList; <del>import java.util.Iterator; <ide> import java.util.List; <ide> <ide> /** <ide> Xobject obj = it.getXobject(); <ide> if(obj != null && obj.Opcode() == Xcode.F_DO_STATEMENT...
JavaScript
mit
3fe260fb1188922accedde43882d1b8a86f75dcf
0
servicosgoval/editor-de-servicos,servicosgovbr/editor-de-servicos,servicosgoval/editor-de-servicos,servicosgovbr/editor-de-servicos,servicosgovbr/editor-de-servicos,servicosgoval/editor-de-servicos,servicosgoval/editor-de-servicos,servicosgovbr/editor-de-servicos
'use strict'; var modelos = require('modelos'); var isBlank = _.flow(_.trim, _.isEmpty); var allBlank = function () { return _.every(arguments, isBlank); }; var allEmpty = function () { return _.every(arguments, _.isEmpty); }; var limparSolicitante = function (solicitante) { if (allBlank(solicitante.tipo(), ...
src/main/javascript/limpar-modelo.js
'use strict'; var modelos = require('modelos'); var isBlank = _.compose(_.isEmpty, _.trim); var dontContains = _.negate(_.contains); var allBlank = function () { return dontContains(_.map(arguments, isBlank), false); }; var allEmpty = function () { return dontContains(_.map(arguments, _.isEmpty), false); }; va...
Evita nulls e outros pequenos ajustes
src/main/javascript/limpar-modelo.js
Evita nulls e outros pequenos ajustes
<ide><path>rc/main/javascript/limpar-modelo.js <ide> <ide> var modelos = require('modelos'); <ide> <del>var isBlank = _.compose(_.isEmpty, _.trim); <del>var dontContains = _.negate(_.contains); <add>var isBlank = _.flow(_.trim, _.isEmpty); <ide> <ide> var allBlank = function () { <del> return dontContains(_.map(arg...
JavaScript
mit
b9a5c21f4cdf5c37ad3bb9911227d8339ce955ff
0
Flexberry/ember-flexberry,Flexberry/ember-flexberry,Flexberry/ember-flexberry,Flexberry/ember-flexberry
/** @module ember-flexberry */ import Ember from 'ember'; import FlexberryBaseComponent from './flexberry-base-component'; /** Component for displayed one record in {{#crossLink "ObjectListViewComponent"}}{{/crossLink}}. @class ObjectListViewRowComponent @extends FlexberryBaseComponent */ export default Flex...
addon/components/object-list-view-row.js
/** @module ember-flexberry */ import Ember from 'ember'; import FlexberryBaseComponent from './flexberry-base-component'; /** Component for displayed one record in {{#crossLink "ObjectListViewComponent"}}{{/crossLink}}. @class ObjectListViewRowComponent @extends FlexberryBaseComponent */ export default Flex...
Deleted click action
addon/components/object-list-view-row.js
Deleted click action
<ide><path>ddon/components/object-list-view-row.js <ide> onRowClick(record, params) { <ide> Ember.set(params, 'originalEvent', Ember.$.event.fix(event)); <ide> this.sendAction('rowClick', record, params); <del> }, <del> <del> click(event) { <del> return true; <ide> } <ide> }, <ide>
Java
apache-2.0
5af0c9d4d828a95b7e6d21e8543f2c962d7d879f
0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
/* * Copyright 2017 Crown Copyright * * 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...
stroom-core-client/src/main/java/stroom/index/client/presenter/IndexVolumeGroupEditPresenter.java
/* * Copyright 2017 Crown Copyright * * 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...
gh-3034 Fix sorting on index vols list
stroom-core-client/src/main/java/stroom/index/client/presenter/IndexVolumeGroupEditPresenter.java
gh-3034 Fix sorting on index vols list
<ide><path>troom-core-client/src/main/java/stroom/index/client/presenter/IndexVolumeGroupEditPresenter.java <ide> opening = true; <ide> final ExpressionOperator expression = ExpressionUtil.equals(IndexVolumeFields.GROUP_ID, <ide> volumeGroup.getId()); <del> volumeS...
JavaScript
mit
f96478778cc00da8c11da17f9591dbdf928e7437
0
facebook/react-native,janicduplessis/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,facebook/react-native,arthuralee/react-native,arthuralee/react-native,janicduplessis/react-native,arthuralee/react-native,janicduplessis/react-native,myntra/react-native,javache/react-native,facebook/reac...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ 'use strict'; const NativeModules = require('../BatchedBridge/NativeModules'); const Platform = require('....
Libraries/ReactNative/PaperUIManager.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ 'use strict'; const NativeModules = require('../BatchedBridge/NativeModules'); const Platform = require('....
Ensure iOS Native components are initialized when using JS View configs Summary: As part of the initialization of Native View configs, the PaperUIManager.getViewManagerConfig() method calls the native side to lazy initialize iOS Native components. This is necessaary to make ensure that native classes are loaded and in...
Libraries/ReactNative/PaperUIManager.js
Ensure iOS Native components are initialized when using JS View configs
<ide><path>ibraries/ReactNative/PaperUIManager.js <ide> return NativeUIManagerConstants; <ide> } <ide> <add>function getViewManagerConfig(viewManagerName: string): any { <add> if ( <add> viewManagerConfigs[viewManagerName] === undefined && <add> NativeUIManager.getConstantsForViewManager <add> ) { <add> t...
JavaScript
mit
55dcfd46b34a8b0877a7b776a64a4613265f91cf
0
rscnt/material-ui,callemall/material-ui,mui-org/material-ui,oliviertassinari/material-ui,rscnt/material-ui,mbrookes/material-ui,mbrookes/material-ui,rscnt/material-ui,mbrookes/material-ui,mui-org/material-ui,callemall/material-ui,oliviertassinari/material-ui,mui-org/material-ui,callemall/material-ui,callemall/material-...
import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import { getClasses } from '@material-ui/core/test-utils'; import { createClientRender, fireEvent, screen } from 'test/utils/createClientRender'; import createMount from 'test/utils/createMount'; import describeConformance from ...
packages/material-ui/src/MenuItem/MenuItem.test.js
import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import { createShallow, getClasses } from '@material-ui/core/test-utils'; import createMount from 'test/utils/createMount'; import describeConformance from '../test-utils/describeConformance'; import ListItem from '../ListItem';...
[test] Use testing-library in MenuItem (#21391)
packages/material-ui/src/MenuItem/MenuItem.test.js
[test] Use testing-library in MenuItem (#21391)
<ide><path>ackages/material-ui/src/MenuItem/MenuItem.test.js <ide> import * as React from 'react'; <ide> import { expect } from 'chai'; <ide> import { spy } from 'sinon'; <del>import { createShallow, getClasses } from '@material-ui/core/test-utils'; <add>import { getClasses } from '@material-ui/core/test-utils'; <add>i...
Java
bsd-3-clause
06bb86e8afac654383f715169c36688e30214377
0
motech/UITestFramework,motech/UITestFramework
package org.motechproject.uitest.page; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.util.Objects; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; /** * A class that represents data services page. Has methods which check functionality of * data br...
framework/src/main/java/org/motechproject/uitest/page/DataServicesPage.java
package org.motechproject.uitest.page; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import java.util.Objects; /** * A class that represents data services page. Has methods which check functionality of * data browser, schema editor and data services settings. */ public class DataServicesPa...
MOTECH-2034 Wait after adding new field
framework/src/main/java/org/motechproject/uitest/page/DataServicesPage.java
MOTECH-2034 Wait after adding new field
<ide><path>ramework/src/main/java/org/motechproject/uitest/page/DataServicesPage.java <ide> import org.openqa.selenium.WebDriver; <ide> <ide> import java.util.Objects; <add>import java.util.concurrent.ThreadFactory; <add>import java.util.concurrent.TimeUnit; <ide> <ide> /** <ide> * A class that represents data servi...
Java
lgpl-2.1
749b28a070a1e3405e2b47bd695f172a5fd4445e
0
ontometrics/ontokettle,ontometrics/ontokettle,cwarden/kettle,cwarden/kettle,juanmjacobs/kettle,ontometrics/ontokettle,cwarden/kettle,juanmjacobs/kettle,juanmjacobs/kettle
/********************************************************************** ** ** ** This code belongs to the KETTLE project. ** ** ** ** Kettle, from version 2.2...
src/be/ibridge/kettle/trans/step/xmloutput/XMLOutputDialog.java
/********************************************************************** ** ** ** This code belongs to the KETTLE project. ** ** ** ** Kettle, from version 2.2...
Removed debugging code and made Element field empty if the element is the same as the name of the field. git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@233 5fb7f6ec-07c1-534a-b4ca-9155e429e800
src/be/ibridge/kettle/trans/step/xmloutput/XMLOutputDialog.java
Removed debugging code and made Element field empty if the element is the same as the name of the field.
<ide><path>rc/be/ibridge/kettle/trans/step/xmloutput/XMLOutputDialog.java <ide> public void widgetSelected(SelectionEvent e) <ide> { <ide> input.setChanged(); <del> // System.out.println("wAddDate.getSelection()="+wAddDate.getSelection()); <ide> } <ide> } <ide> ); <ide> for (int i=0;i<input...
Java
mit
36cc682ffcf276e9ce634b2bff088245d564b658
0
jvasileff/aos-xp
package org.anodyneos.xpImpl.translater; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.List; import org.anodyneos.commons.net.ClassLoaderURIHandler; import org.anodyneos.commons.xml.UnifiedResolver; import org.anodyneos.commons.xml.sax.BaseParser; import org.anody...
src.java/org/anodyneos/xpImpl/translater/Translater.java
package org.anodyneos.xpImpl.translater; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.util.List; import org.anodyneos.commons.net.ClassLoaderURIHandler; import org.anodyneos.commons.xml.UnifiedResolver; import org.anodyneos.commons.xml.sax.BaseParser; import org.anody...
Removed system.out statements
src.java/org/anodyneos/xpImpl/translater/Translater.java
Removed system.out statements
<ide><path>rc.java/org/anodyneos/xpImpl/translater/Translater.java <ide> <ide> private static boolean createDir(String javaFile){ <ide> boolean created = false; <del> System.out.println("javaFile = " + javaFile); <ide> String filePath = javaFile.replaceFirst("[/\\\\]\\w*\\.java",""); <ide> ...
Java
apache-2.0
00c258e42906f1803d7e3e4ca5075101aae7532b
0
clumsy/intellij-community,ivan-fedorov/intellij-community,Lekanich/intellij-community,blademainer/intellij-community,ol-loginov/intellij-community,amith01994/intellij-community,da1z/intellij-community,idea4bsd/idea4bsd,idea4bsd/idea4bsd,akosyakov/intellij-community,dslomov/intellij-community,fengbaicanhe/intellij-commu...
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
exception
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java
exception
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java <ide> @Override <ide> public boolean process(Trinity<LocalInspectionTool, ProblemsHolder, PsiElementVisitor> i) { <ide> LocalInspectionTool tool = i.first; <del> final ProgressManager progressManag...
Java
apache-2.0
e420512a5a8f09f4e84912c3c652e5066df1ac70
0
AlexMofer/ProjectX,AlexMofer/ProjectX,AlexMofer/AMWidget
package am.util.recyclerview.adapter; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.List; /** * 带载入的RecyclerView.Adapter * Created by Alex on 2016/12/27. */ @SuppressWarnings("all") public abstract cla...
recyclerview/src/main/java/am/util/recyclerview/adapter/LoadingRecyclerAdapter.java
package am.util.recyclerview.adapter; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.List; /** * 带载入的RecyclerView.Adapter * Created by Alex on 2016/12/27. */ @SuppressWarnings("all") public abstract cla...
增加 notifyItemChanged(T item)
recyclerview/src/main/java/am/util/recyclerview/adapter/LoadingRecyclerAdapter.java
增加 notifyItemChanged(T item)
<ide><path>ecyclerview/src/main/java/am/util/recyclerview/adapter/LoadingRecyclerAdapter.java <ide> return; <ide> holder.bindLoading(error); <ide> } <add> <add> public final void notifyItemChanged(T item) { <add> int position = mData.indexOf(item); <add> if (position != -1) <add...
Java
mit
82e6316510b876f9db488ef9d8baefcc4721ce7a
0
keshavbashyal/playground-notes,afronski/playground-notes,keshavbashyal/playground-notes,M4573R/playground-notes,keshavbashyal/playground-notes,keshavbashyal/playground-notes,afronski/playground-notes,keshavbashyal/playground-notes,afronski/playground-notes,afronski/playground-notes,afronski/playground-notes,keshavbashy...
public class KruskalMST { private final Queue<Edge> spanningTree = new Queue<Edge>(); public KruskalMST(EdgeWeightedGraph G) { MinPQ<Edge> queue = new MinPQ<Edge>(); for (Edge e : G.edges()) { queue.insert(e); } UF unionFind = new UF(G.V()); while(!queue.isEmpty() && spanningTree.size(...
algorithms/part-II/edge-weighted-graphs/KruskalMST.java
public class KruskalMST { private final Queue<Edge> spanningTree = new Queue<Edge>(); public KruskalMST(EdgeWeightedGraph G) { MinPQ<Edge> queue = new MinPQ<Edge>(); for (Edge e : G.edges()) { queue.insert(e); } UF unionFind = new UF(G.V()); while(!queue.isEmpty() && spanningTree.size(...
[Algorithms] Small coding standards fix
algorithms/part-II/edge-weighted-graphs/KruskalMST.java
[Algorithms] Small coding standards fix
<ide><path>lgorithms/part-II/edge-weighted-graphs/KruskalMST.java <ide> <ide> while(!queue.isEmpty() && spanningTree.size() < G.V() - 1) { <ide> Edge edge = queue.delMin(); <add> <ide> int v = edge.either(), <ide> w = edge.other(v); <ide>
Java
lgpl-2.1
c98071d581eea3a6bd5c55fb0a74fd843e9fb91a
0
aaronc/jfreechart,aaronc/jfreechart,aaronc/jfreechart
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2011, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
source/org/jfree/chart/renderer/xy/XYAreaRenderer2.java
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2011, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
Fixed line endings (from Windows to Unix) git-svn-id: ca96c60061366ac92493e2142a352bb838ea8caa@2281 4df5dd95-b682-48b0-b31b-748e37b65e73
source/org/jfree/chart/renderer/xy/XYAreaRenderer2.java
Fixed line endings (from Windows to Unix)
Java
apache-2.0
f84cff0ed3b11b5734fe0c8f4fdaac3fe22f3860
0
arangodb/arangodb-java-driver-async,arangodb/arangodb-java-driver-async
/* * DISCLAIMER * * Copyright 2018 ArangoDB GmbH, Cologne, Germany * * 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 req...
src/test/java/com/arangodb/ArangoSearchTest.java
/* * DISCLAIMER * * Copyright 2018 ArangoDB GmbH, Cologne, Germany * * 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 req...
do not execute rename test in cluster
src/test/java/com/arangodb/ArangoSearchTest.java
do not execute rename test in cluster
<ide><path>rc/test/java/com/arangodb/ArangoSearchTest.java <ide> import org.junit.BeforeClass; <ide> import org.junit.Test; <ide> <add>import com.arangodb.entity.ServerRole; <ide> import com.arangodb.entity.ViewEntity; <ide> import com.arangodb.entity.ViewType; <ide> import com.arangodb.entity.arangosearch.ArangoSearc...
JavaScript
agpl-3.0
5e1257e630debf241a0001f96b5f1fee7646c7e5
0
xwiki-labs/cryptpad,xwiki-labs/cryptpad,xwiki-labs/cryptpad
define([ 'jquery', '/common/toolbar3.js', 'json.sortify', '/common/common-util.js', '/common/common-hash.js', '/common/common-ui-elements.js', '/common/common-interface.js', '/common/common-constants.js', '/common/common-feedback.js', '/bower_components/nthen/index.js', '/com...
www/drive/inner.js
define([ 'jquery', '/common/toolbar3.js', 'json.sortify', '/common/common-util.js', '/common/common-hash.js', '/common/common-ui-elements.js', '/common/common-interface.js', '/common/common-constants.js', '/common/common-feedback.js', '/bower_components/nthen/index.js', '/com...
Make contextmenu separators hide for submenus too
www/drive/inner.js
Make contextmenu separators hide for submenus too
<ide><path>ww/drive/inner.js <ide> 'tabindex': '-1', <ide> 'data-icon': faColor, <ide> }, Messages.fc_color)), <del>// h('li.dropdown-submenu', [ <del>// h('a.cp-app-drive-context-test.dropdown-item', { <del>// ...
Java
mit
5c8e98860bd6f020dc046c0433d1864ef862f7c3
0
lachlan-eagling/Bookbase
package com.bookbase.app.model.api; import android.support.annotation.NonNull; import com.bookbase.app.BuildConfig; import com.bookbase.app.model.entity.Book; import com.crashlytics.android.Crashlytics; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import com.squareup.moshi.Types; import or...
app/src/main/java/com/bookbase/app/model/api/GoogleBooksApi.java
package com.bookbase.app.model.api; import android.support.annotation.NonNull; import com.bookbase.app.BuildConfig; import com.bookbase.app.model.entity.Book; import com.crashlytics.android.Crashlytics; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import com.squareup.moshi.Types; import or...
Fix redundant declerations in GoogleBooksApi class
app/src/main/java/com/bookbase/app/model/api/GoogleBooksApi.java
Fix redundant declerations in GoogleBooksApi class
<ide><path>pp/src/main/java/com/bookbase/app/model/api/GoogleBooksApi.java <ide> private GoogleBooksApi(){} <ide> <ide> private enum SearchType { <del> ISBN ("isbn:"); <add> ISBN (); <ide> <ide> private final String queryParam; <ide> <del> SearchType(String type){ <del> ...
JavaScript
agpl-3.0
aa6793c46b3216743f5178caf4dd000b7d564e6d
0
johnnorris/api,maximilianhp/api,1self/api,1self/api,johnnorris/api,1self/api,maximilianhp/api,maximilianhp/api,1self/api
$(function() { var updateLocalStorage = function() { window.localStorage.theirUsername = $('#friendList').val(); }; $('#auth-save-compare').click(function() { updateLocalStorage(); window.qd.plotComparisonGraphs(window.localStorage.theirUsername); }); $('#compare-btn').click(function() { $(...
website/public/js/compare.js
$(function() { var updateLocalStorage = function() { window.localStorage.theirUsername = $('#friendList').val(); }; $('#auth-save-compare').click(function() { updateLocalStorage(); window.qd.plotComparisonGraphs(window.localStorage.theirUsername); }); $('#compare-btn').click(function() { $(...
-- Replotting the graphs on compare where window is resized
website/public/js/compare.js
-- Replotting the graphs on compare where window is resized
<ide><path>ebsite/public/js/compare.js <ide> var fullName = $(".user-name").attr('data-fullname'); <ide> $("#your-name1").val(fullName); <ide> }); <del> <add> $(window).resize(function() { <add> window.qd.plotComparisonGraphs(window.localStorage.theirUsername); <add> }); <ide> $(document).ready(functio...
Java
apache-2.0
fa3cdcbb26f3accd086d44b1b92fd6d0d93069f2
0
ksteuern/optm
/* * (C) Copyright 2014 Kai Steuernagel. * * 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 a...
src/net/optm/Messages.java
/* * (C) Copyright 2014 Kai Steuernagel. * * 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 a...
removed unused String from Messages
src/net/optm/Messages.java
removed unused String from Messages
<ide><path>rc/net/optm/Messages.java <ide> <ide> public static String BettingSchedules_0; <ide> <del> public static String BettingSchedules_1; <del> <ide> public static String BettingScheduleView_1; <ide> <ide> public static String BettingScheduleView_2;
Java
agpl-3.0
512086e2db07382e24401db30d5f2d84ce37e800
0
TheLanguageArchive/YAMS,TheLanguageArchive/YAMS,TheLanguageArchive/YAMS
package nl.mpi.kinnate.plugins.metadatasearch.db; import java.io.File; import java.io.StringReader; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import nl.mpi.arbil.plugin.PluginBugCatcher; import nl.mpi.arbi...
src/main/java/nl/mpi/kinnate/plugins/metadatasearch/db/ArbilDatabase.java
package nl.mpi.kinnate.plugins.metadatasearch.db; import java.io.File; import java.io.StringReader; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import nl.mpi.arbil.plugin.PluginBugCatcher; import nl.mpi.arbi...
Added a prototype search module providing similar features as the search in Arbil. refs #2233
src/main/java/nl/mpi/kinnate/plugins/metadatasearch/db/ArbilDatabase.java
Added a prototype search module providing similar features as the search in Arbil. refs #2233
<ide><path>rc/main/java/nl/mpi/kinnate/plugins/metadatasearch/db/ArbilDatabase.java <ide> + "<MetadataFileType><displayString>All Fields</displayString></MetadataFileType>\n" <ide> + "{\n" <ide> + "for $nameString in distinct-values(\n" <del> + "for $entity...