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
mit
cd8c5e4f3622b62afe000d20b05fb740f00f9425
0
seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core
package edu.psu.compbio.seqcode.projects.akshay.Utils; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import edu.psu.compbio.seqcode.gse.datasets.general.Point; import e...
src/edu/psu/compbio/seqcode/projects/akshay/Utils/KmerPosConstraintsFinder.java
package edu.psu.compbio.seqcode.projects.akshay.Utils; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import edu.psu.compbio.seqcode.gse.datasets.general.Point; import e...
more debug
src/edu/psu/compbio/seqcode/projects/akshay/Utils/KmerPosConstraintsFinder.java
more debug
<ide><path>rc/edu/psu/compbio/seqcode/projects/akshay/Utils/KmerPosConstraintsFinder.java <ide> int kmerYind = Xind < Yind ? Yind : Xind; <ide> List<Integer> posCon = new ArrayList<Integer>(); <ide> for(int d=0; d< this.winSize; d++){ <del> if(this.pvalues[kmerXind][kmerXind][d] == 0.005){ <add> if...
Java
unlicense
6772d55443e9aaceb5a5d285144f631feba92646
0
wraziens/Trickle
package cornell.eickleapp; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.parse.FindCallback; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseException; import com.parse.ParseObject; import com.parse.ParseQuery; import com.parse.ParseUser; import cornell...
DrinkingApp/src/cornell/eickleapp/MainMenu.java
package cornell.eickleapp; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.parse.FindCallback; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseException; import com.parse.ParseObject; import com.parse.ParseQuery; import com.parse.ParseUser; import cornell...
remove parse invisibility
DrinkingApp/src/cornell/eickleapp/MainMenu.java
remove parse invisibility
<ide><path>rinkingApp/src/cornell/eickleapp/MainMenu.java <ide> startActivity(openHint); <ide> } <ide> <del> Boolean checkSendData = getPrefs.getBoolean("data", true); <del> if (!checkSendData) { <del> sendData.setVisibility(4); <del> } <del> if (checkSendData){ <del> sendData.setVisibility(0); <del> }...
Java
apache-2.0
7a4033da2eddb838b9f0b6e74725ffba232b62e1
0
asankasanjaya/stratos,asankasanjaya/stratos,asankasanjaya/stratos,asankasanjaya/stratos,asankasanjaya/stratos,asankasanjaya/stratos,asankasanjaya/stratos
package org.apache.stratos.gce.extension; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpTransport; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.jacks...
extensions/load-balancer/gce-extension/src/main/java/org/apache/stratos/gce/extension/GCEOperations.java
package org.apache.stratos.gce.extension; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpTransport; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.jacks...
changes in gce operations class
extensions/load-balancer/gce-extension/src/main/java/org/apache/stratos/gce/extension/GCEOperations.java
changes in gce operations class
<ide><path>xtensions/load-balancer/gce-extension/src/main/java/org/apache/stratos/gce/extension/GCEOperations.java <ide> <ide> targetPool.setInstances(instanceList); <ide> <add> try { <add> compute.targetPools().insert(PROJECT_ID, REGION_NAME, targetPool).execute(); <add> } catch (IOE...
Java
bsd-3-clause
error: pathspec 'src/test/java/com/salesforce/phoenix/end2end/OrderByTest.java' did not match any file(s) known to git
9dc5842f635530b66f79b391b742b1162b2e2203
1
forcedotcom/phoenix,forcedotcom/phoenix
package com.salesforce.phoenix.end2end; import static com.salesforce.phoenix.util.TestUtil.*; import static org.junit.Assert.*; import java.sql.*; import java.util.Properties; import org.apache.hadoop.conf.Configuration; import org.junit.Test; import com.salesforce.phoenix.query.QueryServices; import com.salesforce...
src/test/java/com/salesforce/phoenix/end2end/OrderByTest.java
Make spool threshold configurable; add OrderByTest
src/test/java/com/salesforce/phoenix/end2end/OrderByTest.java
Make spool threshold configurable; add OrderByTest
<ide><path>rc/test/java/com/salesforce/phoenix/end2end/OrderByTest.java <add>package com.salesforce.phoenix.end2end; <add> <add>import static com.salesforce.phoenix.util.TestUtil.*; <add>import static org.junit.Assert.*; <add> <add>import java.sql.*; <add>import java.util.Properties; <add> <add>import org.apache.hadoop...
JavaScript
mit
4849e040f8b63b7d2ef6564f7d89d3af37108382
0
projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP
"use strict"; const fs = require('fs'); const q = require('q'); const rimraf = require('rimraf'); const extract = require('extract-zip') const targz = require('targz'); const ncp = require('ncp').ncp; ncp.limit = 16; let readFile = (path) => { let defer = q.defer(); fs.readFile(path, 'utf8', function (err, co...
filesdk/index.js
"use strict"; const fs = require('fs'); const q = require('q'); const rimraf = require('rimraf'); const extract = require('extract-zip') const targz = require('targz'); const ncp = require('ncp').ncp; ncp.limit = 16; /* working */ let readFile = (path) => { let defer = q.defer(); fs.readFile(path, 'utf8', fun...
make suggested changes
filesdk/index.js
make suggested changes
<ide><path>ilesdk/index.js <ide> const ncp = require('ncp').ncp; <ide> ncp.limit = 16; <ide> <del>/* working */ <ide> let readFile = (path) => { <ide> let defer = q.defer(); <ide> fs.readFile(path, 'utf8', function (err, contents) { <ide> }); <ide> return defer.promise; <ide> } <del>/* working, overwri...
Java
bsd-3-clause
cd62bbfcd8305b280ecc6bd2513e54eabc147706
0
NCIP/cadsr-semantic-tools,NCIP/cadsr-semantic-tools
package gov.nih.nci.ncicb.cadsr.semconn; import gov.nih.nci.common.net.*; import gov.nih.nci.evs.domain.*; import gov.nih.nci.evs.query.*; //import gov.nih.nci.semantic.util.Configuration; import gov.nih.nci.ncicb.cadsr.loader.event.ProgressEvent; import gov.nih.nci.system.applicationservice.*; import gov.nih.nci.syst...
src/gov/nih/nci/ncicb/cadsr/semconn/EVSImpl.java
package gov.nih.nci.ncicb.cadsr.semconn; import gov.nih.nci.common.net.*; import gov.nih.nci.evs.domain.*; import gov.nih.nci.evs.query.*; //import gov.nih.nci.semantic.util.Configuration; import gov.nih.nci.ncicb.cadsr.loader.event.ProgressEvent; import gov.nih.nci.system.applicationservice.*; import gov.nih.nci.syst...
remove commented code SVN-Revision: 1070
src/gov/nih/nci/ncicb/cadsr/semconn/EVSImpl.java
remove commented code
<ide><path>rc/gov/nih/nci/ncicb/cadsr/semconn/EVSImpl.java <ide> } <ide> <ide> <del>/* private void getEVSValues(HashMap entitiesMap) throws Exception { <del> //System.out.print("."); <del> //System.out.println("getEVSValues...."); <del> //get uml class and uml entity <del> String umlClass = (Str...
Java
apache-2.0
1e7beafaa3316fd2e007a746bc60502582a454fa
0
sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM,sirkkalap/DependencyCheck,sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM,sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM,sirkkalap/DependencyCheck
/* * This file is part of dependency-check-core. * * 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 ...
dependency-check-core/src/main/java/org/owasp/dependencycheck/reporting/ReportGenerator.java
/* * This file is part of dependency-check-core. * * 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 ...
removed deprecated constructor
dependency-check-core/src/main/java/org/owasp/dependencycheck/reporting/ReportGenerator.java
removed deprecated constructor
<ide><path>ependency-check-core/src/main/java/org/owasp/dependencycheck/reporting/ReportGenerator.java <ide> } <ide> <ide> /** <del> * Constructs a new ReportGenerator. This implementation has been left in so tat backward compatability is not <del> * broken. However, this constructor should no longer b...
Java
apache-2.0
5c164c1aacffd185ab7dd32b08486f3745aaf886
0
TremoloSecurity/MyVirtualDirectory,TremoloSecurity/MyVirtualDirectory,TremoloSecurity/MyVirtualDirectory
/* * Copyright 2008 Marc Boorshtein * * 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 ...
src/main/java/net/sourceforge/myvd/inserts/AccessLog.java
/* * Copyright 2008 Marc Boorshtein * * 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 ...
fixed accesslog
src/main/java/net/sourceforge/myvd/inserts/AccessLog.java
fixed accesslog
<ide><path>rc/main/java/net/sourceforge/myvd/inserts/AccessLog.java <ide> <ide> public class AccessLog implements Insert { <ide> <add> static Logger logger = org.apache.logging.log4j.LogManager.getLogger(AccessLog.class.getName()); <add> <ide> public static final String ACCESS_LOG_OPNUM = "ACCESS_LOG_OPNUM_"; <ide>...
Java
lgpl-2.1
f0a3a557fa5ed68eff7eeffc0c09960e04f40850
0
alkacon/opencms-core,gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by th...
src/org/opencms/file/types/CmsResourceTypeXmlContent.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by th...
Removed unnecessary debugging output.
src/org/opencms/file/types/CmsResourceTypeXmlContent.java
Removed unnecessary debugging output.
<ide><path>rc/org/opencms/file/types/CmsResourceTypeXmlContent.java <ide> if (cms.existsResource(m_schema)) { <ide> CmsXmlContentDefinition.unmarshal(cms, m_schema); <ide> } else { <del> System.out.println("Schema not found"); <ide> ...
Java
apache-2.0
f661051c8669b1040586109b1c08bb5192cf0437
0
wso2/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,chamilaadhi/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,ruks/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,chamilaadhi/carbon-apimgt,ruks/carbon-apimgt,wso2/carbon-apimgt,chamilaadhi/carbon-apimgt,wso2/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,chamilaadhi/car...
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/recommendationmgt/RecommenderDetailsExtractor.java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
Fix minor regressions in recommendations feature
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/recommendationmgt/RecommenderDetailsExtractor.java
Fix minor regressions in recommendations feature
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/recommendationmgt/RecommenderDetailsExtractor.java <ide> <ide> public RecommenderDetailsExtractor(API api, String tenantDomain, String eventType) { <ide> <del> if (APIConstants.ADD_API.equals(eventType)) { <de...
Java
mit
5b83c4d1664bb2168abdb9f244c8564c79d39daa
0
thest1/Android-VKontakte-SDK,romanbrandhall/MyApp
package com.perm.kate.api; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.zip.GZIPInputStream; ...
AndroidVkSdk/src/com/perm/kate/api/Api.java
package com.perm.kate.api; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.zip.GZIPInputStream; ...
fix searchUserExtended users.get instead getProfiles
AndroidVkSdk/src/com/perm/kate/api/Api.java
fix searchUserExtended users.get instead getProfiles
<ide><path>ndroidVkSdk/src/com/perm/kate/api/Api.java <ide> if (uids != null && uids.length() > 0 && (offset == null || offset == 0)) { <ide> Log.i(TAG, "Search with uid = " + uids); <ide> String code = "var a=API.users.search({\"q\":\"" + q + "\",\"count\":" + count + ",\"count\":" + of...
Java
lgpl-2.1
7c11b844c871fb91964a364dba7a4f73d9509ca0
0
justincc/intermine,JoeCarlson/intermine,justincc/intermine,elsiklab/intermine,kimrutherford/intermine,elsiklab/intermine,drhee/toxoMine,joshkh/intermine,Arabidopsis-Information-Portal/intermine,tomck/intermine,Arabidopsis-Information-Portal/intermine,drhee/toxoMine,Arabidopsis-Information-Portal/intermine,drhee/toxoMin...
package org.intermine.dataconversion; /* * Copyright (C) 2002-2004 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/less...
intermine/src/java/org/intermine/dataconversion/ItemToObjectTranslator.java
package org.intermine.dataconversion; /* * Copyright (C) 2002-2004 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/less...
decapitalising field names
intermine/src/java/org/intermine/dataconversion/ItemToObjectTranslator.java
decapitalising field names
<ide><path>ntermine/src/java/org/intermine/dataconversion/ItemToObjectTranslator.java <ide> for (Iterator i = item.getReferences().iterator(); i.hasNext();) { <ide> Reference ref = (Reference) i.next(); <ide> Integer identifier = identifierToId(ref.getRefId()); <del> ...
Java
apache-2.0
ac1070332bc85dcdf937c3486c7ee0e4dbbf013b
0
shapesecurity/salvation
package com.shapesecurity.csp; import com.shapesecurity.csp.Parser.ParseException; import com.shapesecurity.csp.Tokeniser.TokeniserException; import com.shapesecurity.csp.directives.*; import org.junit.Test; import javax.annotation.Nonnull; import java.io.FileNotFoundException; import java.util.Scanner; import stati...
src/test/java/com/shapesecurity/csp/ParserTest.java
package com.shapesecurity.csp; import com.shapesecurity.csp.Parser.ParseException; import com.shapesecurity.csp.Tokeniser.TokeniserException; import com.shapesecurity.csp.directives.*; import com.shapesecurity.csp.sources.SourceExpression; import org.junit.Test; import sun.jvm.hotspot.runtime.solaris_x86.SolarisX86Jav...
removed unused dependecies
src/test/java/com/shapesecurity/csp/ParserTest.java
removed unused dependecies
<ide><path>rc/test/java/com/shapesecurity/csp/ParserTest.java <ide> import com.shapesecurity.csp.Parser.ParseException; <ide> import com.shapesecurity.csp.Tokeniser.TokeniserException; <ide> import com.shapesecurity.csp.directives.*; <del>import com.shapesecurity.csp.sources.SourceExpression; <ide> import org.junit.Tes...
Java
apache-2.0
be77330f9170eec0524986c50d7b82291f474bf3
0
minwoo-jung/pinpoint,chenguoxi1985/pinpoint,dawidmalina/pinpoint,Allive1/pinpoint,sjmittal/pinpoint,lioolli/pinpoint,breadval/pinpoint,naver/pinpoint,87439247/pinpoint,koo-taejin/pinpoint,majinkai/pinpoint,jiaqifeng/pinpoint,naver/pinpoint,dawidmalina/pinpoint,tsyma/pinpoint,lioolli/pinpoint,emeroad/pinpoint,denzelsN/p...
/* * Copyright 2014 NAVER Corp. * * 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 ...
web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseHostApplicationMapDao.java
/* * Copyright 2014 NAVER Corp. * * 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 ...
#1362 Apply parallel scan when finding accept applications
web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseHostApplicationMapDao.java
#1362 Apply parallel scan when finding accept applications
<ide><path>eb/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseHostApplicationMapDao.java <ide> */ <ide> @Repository <ide> public class HbaseHostApplicationMapDao implements HostApplicationMapDao { <add> <add> private static final int HOST_APPLICATION_MAP_VER2_NUM_PARTITIONS = 4; <ide> <ide> private fin...
Java
mit
76d89ab3e1162577022ded7cf895e7bf66ca66de
0
tterrag1098/FFS
package com.lordmau5.ffs.util; import com.lordmau5.ffs.tile.TileEntityTankFrame; import com.lordmau5.ffs.tile.TileEntityValve; import net.minecraft.block.Block; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.ini...
src/main/java/com/lordmau5/ffs/util/GenericUtil.java
package com.lordmau5.ffs.util; import com.lordmau5.ffs.tile.TileEntityTankFrame; import com.lordmau5.ffs.tile.TileEntityValve; import net.minecraft.block.Block; import net.minecraft.block.BlockGlass; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.ini...
Remove isBlockNormalCube call It's client only, so it causes crashes on dedi servers
src/main/java/com/lordmau5/ffs/util/GenericUtil.java
Remove isBlockNormalCube call
<ide><path>rc/main/java/com/lordmau5/ffs/util/GenericUtil.java <ide> if(blacklistedBlocks.contains(block)) <ide> return false; <ide> <del> if(!block.isOpaqueCube() || !block.isBlockNormalCube()) <add> if(!block.isOpaqueCube()) <ide> return false; <ide> <ide> if(!b...
Java
lgpl-2.1
1387c9f08b57896e2beaf43a056497b6eedb508a
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id: DirectionUtil.java,v 1.10 2003/05/07 19:47:02 ray Exp $ package com.threerings.util; import java.awt.Point; /** * Direction related utility functions. */ public class DirectionUtil implements DirectionCodes { /** * Returns an array of names corresponding to each direction constant. */ ...
src/java/com/threerings/util/DirectionUtil.java
// // $Id: DirectionUtil.java,v 1.9 2003/05/07 19:41:57 ray Exp $ package com.threerings.util; import java.awt.Point; /** * Direction related utility functions. */ public class DirectionUtil implements DirectionCodes { /** * Returns an array of names corresponding to each direction constant. */ p...
Clarified documentation somewhat. It's too hot today. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2552 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/util/DirectionUtil.java
Clarified documentation somewhat. It's too hot today.
<ide><path>rc/java/com/threerings/util/DirectionUtil.java <ide> // <del>// $Id: DirectionUtil.java,v 1.9 2003/05/07 19:41:57 ray Exp $ <add>// $Id: DirectionUtil.java,v 1.10 2003/05/07 19:47:02 ray Exp $ <ide> <ide> package com.threerings.util; <ide> <ide> } <ide> <ide> /** <del> * Move the specified poi...
Java
apache-2.0
604859e4db76d9192eccee3847d7a28a8e3b6106
0
stevenliuit/browsermob-proxy,netproteus/browsermob-proxy,iandeveseleer/browsermob-proxy,browserup/browserup-proxy,tommywo/browsermob-proxy,fhernandez173/browsermob-proxy,fhernandez173/browsermob-proxy,fhernandez173/browsermob-proxy,iandeveseleer/browsermob-proxy,lightbody/browsermob-proxy,jekh/browsermob-proxy,browseru...
package net.lightbody.bmp.proxy.http; import net.lightbody.bmp.core.har.*; import net.lightbody.bmp.proxy.BlacklistEntry; import net.lightbody.bmp.proxy.WhitelistEntry; import net.lightbody.bmp.proxy.util.*; import net.sf.uadetector.ReadableUserAgent; import net.sf.uadetector.UserAgentStringParser; import net.sf.uadet...
src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpClient.java
package net.lightbody.bmp.proxy.http; import net.lightbody.bmp.core.har.*; import net.lightbody.bmp.proxy.BlacklistEntry; import net.lightbody.bmp.proxy.WhitelistEntry; import net.lightbody.bmp.proxy.util.*; import net.sf.uadetector.ReadableUserAgent; import net.sf.uadetector.UserAgentStringParser; import net.sf.uadet...
Fixed HTTP version logging
src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpClient.java
Fixed HTTP version logging
<ide><path>rc/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpClient.java <ide> // clear out any connection-related information so that it's not stale from previous use of this thread. <ide> RequestInfo.clear(url, entry); <ide> <del> entry.setRequest(new HarRequest(method.getMethod(), url, ...
Java
epl-1.0
d095ba735e22bcfe655fb269d291cc3b8356c4c0
0
kevintvh/capsule,puniverse/capsule,lookfirst/capsule,isdom/capsule,lookfirst/capsule,leolujuyi/capsule,lookfirst/capsule,lookfirst/capsule,angrilove/capsule,tal-m/capsule,guiquanz/capsule,danthegoodman/capsule,lookfirst/capsule,victorbriz/capsule,isdom/capsule,leolujuyi/capsule,kevintvh/capsule,puniverse/capsule,trance...
/* * Capsule * Copyright (c) 2014, Parallel Universe Software Co. and Contributors. All rights reserved. * * This program and the accompanying materials are licensed under the terms * of the Eclipse Public License v1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ import capsule.DependencyManage...
capsule/src/main/java/Capsule.java
/* * Capsule * Copyright (c) 2014, Parallel Universe Software Co. and Contributors. All rights reserved. * * This program and the accompanying materials are licensed under the terms * of the Eclipse Public License v1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ import capsule.DependencyManage...
getenv and systemProperty for null name
capsule/src/main/java/Capsule.java
getenv and systemProperty for null name
<ide><path>apsule/src/main/java/Capsule.java <ide> * Same as {@link System#getProperty(java.lang.String) System.getProperty(propName)} but sets context for error reporting. <ide> */ <ide> protected static final String systemProperty(String propName) { <del> final String val = System.getProperty(pro...
JavaScript
mit
2eaf6f721dc8d15c9a39cdb23decb93d3ef1bb0a
0
shrunyan/mc-core,andyfleming/mc-core,andyfleming/mc-core,shrunyan/mc-core
exports.up = function(knex, Promise) { return knex.schema.createTable('users', function (table) { table.increments() table.string('email') table.string('password') table.string('first_name') table.string('last_name') table.timestamp('created_at').nullable() t...
src/db/migrations/20151129171720_create-users-table.js
exports.up = function(knex, Promise) { return knex.schema.createTable('users', function (table) { table.increments() table.string('email') table.string('first_name') table.string('last_name') table.timestamp('created_at').nullable() table.timestamp('updated_at').null...
Adding password field
src/db/migrations/20151129171720_create-users-table.js
Adding password field
<ide><path>rc/db/migrations/20151129171720_create-users-table.js <ide> return knex.schema.createTable('users', function (table) { <ide> table.increments() <ide> table.string('email') <add> table.string('password') <ide> table.string('first_name') <ide> table.string('last_name'...
Java
apache-2.0
1bc8930c5ada36aa87089a64a040acda3e421c80
0
IBMStreams/streamsx.topology,ibmkendrick/streamsx.topology,IBMStreams/streamsx.topology,ibmkendrick/streamsx.topology,ibmkendrick/streamsx.topology,wmarshall484/streamsx.topology,IBMStreams/streamsx.topology,wmarshall484/streamsx.topology,wmarshall484/streamsx.topology,ddebrunner/streamsx.topology,ibmkendrick/streamsx....
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.generator.spl; import static com.ibm.streamsx.topology.internal.functional.ops.FunctionFunctor.FUNCTIONAL_LOGIC_PARAM; import static com.ibm.streamsx.topology.internal.core.SubmissionParameter.TYPE_SUBMISSION_P...
java/src/com/ibm/streamsx/topology/generator/spl/SubmissionTimeValue.java
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.generator.spl; import static com.ibm.streamsx.topology.internal.functional.ops.FunctionFunctor.FUNCTIONAL_LOGIC_PARAM; import static com.ibm.streamsx.topology.internal.core.SubmissionParameter.TYPE_SUBMISSION_P...
skip analysis when no SPs present in the graph
java/src/com/ibm/streamsx/topology/generator/spl/SubmissionTimeValue.java
skip analysis when no SPs present in the graph
<ide><path>ava/src/com/ibm/streamsx/topology/generator/spl/SubmissionTimeValue.java <ide> <ide> /** <ide> * Create a {@link TYPE_SPL_SUBMISSION_PARAMS} operator parameter <del> * @return the parameter. <add> * @return the parameter. null if no submission parameters. <ide> */ <ide> private...
JavaScript
mit
error: pathspec 'CNN/Conv/Pointwise.js' did not match any file(s) known to git
7214b8a84f36dfedbb9998746a02f5dfca2bb748
1
ColorfulCakeChen/query-submit-canvas,ColorfulCakeChen/query-submit-canvas
export { PassThrough, AllZeros, ValueBounds } from "./Pointwise/Pointwise_PassThrough.js"; export { Base } from "./Pointwise/Pointwise_Base.js";
CNN/Conv/Pointwise.js
Create Pointwise.js
CNN/Conv/Pointwise.js
Create Pointwise.js
<ide><path>NN/Conv/Pointwise.js <add>export { PassThrough, AllZeros, ValueBounds } from "./Pointwise/Pointwise_PassThrough.js"; <add>export { Base } from "./Pointwise/Pointwise_Base.js";
JavaScript
bsd-3-clause
d7f1cffce5a05402ce656deda5bb9e30df371149
0
vanadium/browser,vanadium/browser,vanadium/browser,vanadium/browser
var veyron = require('veyron'); var mercury = require('mercury'); var LRU = require('lru-cache'); var EventEmitter = require('events').EventEmitter; var jsonStableStringify = require('json-stable-stringify'); var namespaceUtil = veyron.namespaceUtil; var veyronConfig = require('../../veyron-config'); var itemFactory = ...
src/services/namespace/service.js
var veyron = require('veyron'); var mercury = require('mercury'); var LRU = require('lru-cache'); var EventEmitter = require('events').EventEmitter; var jsonStableStringify = require('json-stable-stringify'); var namespaceUtil = veyron.namespaceUtil; var veyronConfig = require('../../veyron-config'); var itemFactory = ...
veyron-browser: context on bindTo is now required. Change-Id: I971395b961b274ba2d47114f39af563f63a7c4f8 MultiPart: 2/2
src/services/namespace/service.js
veyron-browser: context on bindTo is now required.
<ide><path>rc/services/namespace/service.js <ide> return Promise.resolve(cacheHit); <ide> } <ide> return getRuntime().then(function bindToName(rt) { <del> return rt.bindTo(objectName); <add> var ctx = veyron.context.Context(); <add> return rt.bindTo(ctx, objectName); <ide> }).then(function invokeSign...
Java
lgpl-2.1
8a886b6295abb9a896ad5ad2f1a81ff016317f92
0
geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2001-2006 Vivid Solutions * (C) 2001-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
modules/unsupported/geometry/src/main/java/org/geotools/geometry/iso/util/algorithm2D/RobustDeterminant.java
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2001-2006 Vivid Solutions * (C) 2001-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
Clarify RobustDeterminant use of LGPL Comment updated from JTS project.
modules/unsupported/geometry/src/main/java/org/geotools/geometry/iso/util/algorithm2D/RobustDeterminant.java
Clarify RobustDeterminant use of LGPL
<ide><path>odules/unsupported/geometry/src/main/java/org/geotools/geometry/iso/util/algorithm2D/RobustDeterminant.java <ide> * The original code carries the following copyright notice: <ide> * <ide> * <pre> <del> * ************************************************************************ <del> * Author : Olivier De...
Java
apache-2.0
e4a197c93fa48f1e938c52ed4108e6e09b5d00e3
0
leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * Copyright 2016-2018 shardingsphere.io. * <p> * 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...
sharding-jdbc/src/main/java/io/shardingsphere/core/executor/StatementExecutor.java
/* * Copyright 2016-2018 shardingsphere.io. * <p> * 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...
getResultSetConcurrency()
sharding-jdbc/src/main/java/io/shardingsphere/core/executor/StatementExecutor.java
getResultSetConcurrency()
<ide><path>harding-jdbc/src/main/java/io/shardingsphere/core/executor/StatementExecutor.java <ide> */ <ide> public void init(final SQLRouteResult routeResult) throws SQLException { <ide> sqlType = routeResult.getSqlStatement().getType(); <del> executeGroups.addAll(obtainExecuteGroups(routeResult...
JavaScript
mit
e4f40eacd004803cc411db666b66e77c329dad95
0
rslnk/reimagine-belonging,rslnk/reimagine-belonging,rslnk/reimagine-belonging
// ## Globals var argv = require('minimist')(process.argv.slice(2)); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var flatten = require('gulp-flatten'); var gulp = require('gulp'); var gulpif = requ...
web/app/themes/theme/gulpfile.js
// ## Globals var argv = require('minimist')(process.argv.slice(2)); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var flatten = require('gulp-flatten'); var gulp = require('gulp'); var gulpif = requ...
Fix gulp stylus task - Fix stylus task pipe - Add iconify task to BrowserSync watch
web/app/themes/theme/gulpfile.js
Fix gulp stylus task
<ide><path>eb/app/themes/theme/gulpfile.js <ide> return gulpif(enabled.maps, sourcemaps.init()); <ide> }) <ide> .pipe(function() { <del> return gulpif('*.styl', stylus()); <add> return gulpif('*.styl', stylus({ <add> precision: 10, <add> includePaths: ['.'], <add> errLogToCo...
Java
apache-2.0
21bf9c977692f6cc335ca53e632f8d3b3f9065c7
0
fritaly/dual-commander
/* * 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/com/github/fritaly/dualcommander/DualCommander.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 ...
Removed hard-coded configuration of Log4J. Instead, rely on the configuration from file log4j.properties
src/main/java/com/github/fritaly/dualcommander/DualCommander.java
Removed hard-coded configuration of Log4J. Instead, rely on the configuration from file log4j.properties
<ide><path>rc/main/java/com/github/fritaly/dualcommander/DualCommander.java <ide> <ide> import org.apache.commons.lang.StringUtils; <ide> import org.apache.commons.lang.Validate; <del>import org.apache.log4j.Level; <ide> import org.apache.log4j.Logger; <ide> <ide> import com.jgoodies.looks.windows.WindowsLookAndFeel;...
Java
mit
5e0dd958ecbc5c4769db81e1831494df118e72ab
0
ascensionproject/ascension,ascensionproject/ascension
import heronarts.lx.*; import heronarts.lx.color.*; import heronarts.lx.modulator.*; import heronarts.lx.parameter.*; import toxi.math.noise.SimplexNoise; // Change this to the name of your pattern, e.g. FirePattern, LightsaberPattern class BoilerplatePattern extends Pattern { // Parameters are values you can chan...
Ascension/KyleFleming.java
import heronarts.lx.*; import heronarts.lx.color.*; import heronarts.lx.modulator.*; import heronarts.lx.parameter.*; import toxi.math.noise.SimplexNoise; // Change this to the name of your pattern, e.g. FirePattern, LightsaberPattern class BoilerplatePattern extends Pattern { // Parameters are values you can chan...
Remove debug output
Ascension/KyleFleming.java
Remove debug output
<ide><path>scension/KyleFleming.java <ide> if (broadOnOff.getValue() < 0) return; <ide> <ide> float intensity = min(2*(noise.getValuef() - 0.2f), 1) * min(broadOnOff.getValuef(), 1); <del> println("intensity: "+intensity); <ide> if (intensity <= 0) return; <ide> <ide> for (int i = 0; i < colors.len...
JavaScript
mit
c24c78c1b76194ef652317caeb9fca2d4d9d49a6
0
Lexicality/esolang,Lexicality/esolang
(function(global) { 'use strict'; HTMLElement.prototype.on = function() { this.addEventListener.apply(this, arguments); }; HTMLElement.prototype.empty = function() { while (this.firstChild) { // FIXME: Does this .remove() on the child? We don't want orphan nodes ...
brainfuck.js
(function(global) { 'use strict'; HTMLElement.prototype.on = function() { this.addEventListener.apply(this, arguments); }; HTMLElement.prototype.empty = function() { while (this.firstChild) { // FIXME: Does this .remove() on the child? We don't want orphan nodes ...
Fix cells not updating
brainfuck.js
Fix cells not updating
<ide><path>rainfuck.js <ide> ramPointer = 0, <ide> ramStack = new global.HighlightStack(); <ide> <del> function touchCell(cell) { // cell is optional <del> ramStack.promote(cell || $('#cell-' + ramPointer)); <add> function touchCell(cell) { <add> ramStack.promote(cell); <ide> } ...
Java
apache-2.0
c18caf60aa03838a6af51ef5be429a1b93af6610
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2021, TeamDev. 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 * * Redistribution and use in source...
testutil-server/src/main/java/io/spine/testing/server/blackbox/BlackBox.java
/* * Copyright 2021, TeamDev. 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 * * Redistribution and use in source...
Mark more methods with `@CanIgnoreReturnValue`.
testutil-server/src/main/java/io/spine/testing/server/blackbox/BlackBox.java
Mark more methods with `@CanIgnoreReturnValue`.
<ide><path>estutil-server/src/main/java/io/spine/testing/server/blackbox/BlackBox.java <ide> /** <ide> * Sets the given {@link UserId} as the actor ID for the requests produced by this context. <ide> */ <add> @CanIgnoreReturnValue <ide> public final BlackBox withActor(UserId user) { <ide> c...
Java
mit
f54fd84de319825274ed4994ad58cd1e801112d1
0
JetBrains/ideavim,JetBrains/ideavim
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2022 The IdeaVim authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
src/main/java/com/maddyhome/idea/vim/group/FileGroup.java
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2022 The IdeaVim authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
Fix(VIM-2776): Use filename index for file search
src/main/java/com/maddyhome/idea/vim/group/FileGroup.java
Fix(VIM-2776): Use filename index for file search
<ide><path>rc/main/java/com/maddyhome/idea/vim/group/FileGroup.java <ide> import com.intellij.openapi.fileTypes.FileTypeManager; <ide> import com.intellij.openapi.project.Project; <ide> import com.intellij.openapi.roots.ProjectRootManager; <del>import com.intellij.openapi.util.Ref; <ide> import com.intellij.openapi.vfs...
Java
mit
3e3aa2a1b9b5d176fddf350e0cd61d4fbd4dcdca
0
v1v/git-plugin,MarkEWaite/git-plugin,ldtkms/git-plugin,ydubreuil/git-plugin,jacob-keller/git-plugin,recena/git-plugin,mlgiroux/git-plugin,jenkinsci/git-plugin,martinda/git-plugin,Nonymus/git-plugin,ialbors/git-plugin,pauxus/git-plugin,abaditsegay/git-plugin,Nonymus/git-plugin,avdv/git-plugin,v1v/git-plugin,nordstrand/g...
package hudson.plugins.git.util; import hudson.EnvVars; import hudson.model.TaskListener; import hudson.plugins.git.AbstractGitTestCase; import hudson.plugins.git.Branch; import hudson.plugins.git.GitException; import hudson.plugins.git.GitSCM; import hudson.plugins.git.Revision; import hudson.plugins.git.extensions.i...
src/test/java/hudson/plugins/git/util/AncestryBuildChooserTest.java
package hudson.plugins.git.util; import hudson.EnvVars; import hudson.model.TaskListener; import hudson.plugins.git.AbstractGitTestCase; import hudson.plugins.git.Branch; import hudson.plugins.git.GitException; import hudson.plugins.git.GitSCM; import hudson.plugins.git.Revision; import hudson.plugins.git.extensions.i...
Improve test coverage slightly
src/test/java/hudson/plugins/git/util/AncestryBuildChooserTest.java
Improve test coverage slightly
<ide><path>rc/test/java/hudson/plugins/git/util/AncestryBuildChooserTest.java <ide> <ide> // Git Client implementation throws away committer date info so we have to do this manually.. <ide> // Copied from JGitAPIImpl.commit(String message) <del> // XXX Is there a better way to do this? <ide> private...
Java
apache-2.0
9ee9a92449992e966b6e0da01ccb2ba280f78dd1
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.newui; import com.intellij.ide.IdeBundle; import com.intellij.ide.impl.ProjectUtil; import com.intellij.ide.plugins.*; import com.intellij.openap...
platform/platform-impl/src/com/intellij/ide/plugins/newui/MyPluginModel.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.newui; import com.intellij.ide.IdeBundle; import com.intellij.ide.impl.ProjectUtil; import com.intellij.ide.plugins.*; import com.intellij.openap...
Diagnostics to catch IDEA-224195 GitOrigin-RevId: 216ee47faeafdcd9da2c35feac5b581f44536053
platform/platform-impl/src/com/intellij/ide/plugins/newui/MyPluginModel.java
Diagnostics to catch IDEA-224195
<ide><path>latform/platform-impl/src/com/intellij/ide/plugins/newui/MyPluginModel.java <ide> if (enabled != descriptor.isEnabled()) { <ide> // PluginDescriptor fields are cleaned after the plugin is loaded, so we need to reload the descriptor to check if it's dynamic <ide> IdeaPluginDescriptorImpl...
Java
apache-2.0
31eaec20788611ab62e85e96997e2295346bf92c
0
francelabs/datafari,francelabs/datafari,francelabs/datafari,francelabs/datafari,francelabs/datafari
/******************************************************************************* * * Copyright 2020 France Labs * * * * 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 * * * * ...
datafari-webapp/src/main/java/com/francelabs/datafari/rest/v1_0/alerts/Alerts.java
/******************************************************************************* * * Copyright 2020 France Labs * * * * 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 * * * * ...
Added users alerts endpoint to rest api
datafari-webapp/src/main/java/com/francelabs/datafari/rest/v1_0/alerts/Alerts.java
Added users alerts endpoint to rest api
<ide><path>atafari-webapp/src/main/java/com/francelabs/datafari/rest/v1_0/alerts/Alerts.java <ide> package com.francelabs.datafari.rest.v1_0.alerts; <ide> <ide> import java.io.IOException; <del>import java.io.PrintWriter; <del> <del>import javax.servlet.annotation.WebServlet; <del>import javax.servlet.http.HttpServlet...
Java
apache-2.0
ca81ef27c5ae1d2e3c2faa436c25ea84a641e485
0
esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,millmanorama/autopsy,APriestman/autopsy,esaunders/autopsy,narfindustries/autopsy,APriestman/autopsy,wschaeferB/autopsy,dgrove727/autopsy,rcordovano/autopsy,APriestman/autopsy,rcordovano/autopsy,millmanorama/a...
/* * Autopsy Forensic Browser * * Copyright 2014-16 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
Core/src/org/sleuthkit/autopsy/timeline/actions/SaveSnapshotAsReport.java
/* * Autopsy Forensic Browser * * Copyright 2014-16 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
fix typo
Core/src/org/sleuthkit/autopsy/timeline/actions/SaveSnapshotAsReport.java
fix typo
<ide><path>ore/src/org/sleuthkit/autopsy/timeline/actions/SaveSnapshotAsReport.java <ide> "# {0} - generated default report name", <ide> "SaveSnapShotAsReport.reportName.prompt=leave empty for default report name: {0}.", <ide> "SaveSnapShotAsReport.reportName.header=Enter a report name for the T...
JavaScript
mit
2cb53c8cb38f0abb03a3dedb040b666c89d4249a
0
FEichinger/turing.js
var de = de || {}; de.vad_systems = de.vad_systems || {}; de.vad_systems.turing = {}; /* Variables */ de.vad_systems.turing.interval = -1; de.vad_systems.turing.semaphor = 0; /* Machine Controls */ de.vad_systems.turing.controls = {}; /* Read */ de.vad_systems.turing.controls.read = function () { return document....
files/js/turing.js
var de = de || {}; de.vad_systems = de.vad_systems || {}; de.vad_systems.turing = {}; /* Variables */ de.vad_systems.turing.interval = -1; de.vad_systems.turing.semaphor = 0; /* Machine Controls */ de.vad_systems.turing.controls = {}; /* Read */ de.vad_systems.turing.controls.read = function () { return document....
Timeout change
files/js/turing.js
Timeout change
<ide><path>iles/js/turing.js <ide> }; <ide> <ide> window.setTimeout(write, 100); <del> window.setTimeout(move, 150); <add> window.setTimeout(move, 200); <ide> }; <ide> <ide> /* Overflow Check */
Java
mit
3adf3c7b6710cadc4858bc8816e309b6a1d9f60b
0
davidfialho14/bgp-simulator
package simulators; import core.Destination; import core.Link; import core.Router; import io.reporters.BasicReporter; import org.apache.commons.io.FilenameUtils; import simulators.basic.BasicDataCollector; import simulators.basic.BasicDataset; import java.io.IOException; public class SequentialSimulation { priv...
src/simulators/SequentialSimulation.java
package simulators; import core.Destination; import core.Link; import core.Router; import io.reporters.BasicReporter; import org.apache.commons.io.FilenameUtils; import simulators.basic.BasicDataCollector; import simulators.basic.BasicDataset; import java.io.IOException; public class SequentialSimulation { priv...
Fix: data collector is now clean for each simulation with each destination
src/simulators/SequentialSimulation.java
Fix: data collector is now clean for each simulation with each destination
<ide><path>rc/simulators/SequentialSimulation.java <ide> } <ide> <ide> public void setup(SequentialExperiment experiment, SimulatorNew simulator) { <del> // clear all data from last simulation - ensure collector is clean <del> dataCollector.clear(); <add> <ide> } <ide> <ide> public void ...
Java
lgpl-2.1
1770f7062001e6a21bc4907b22f54a0aeec1b584
0
serrapos/opencms-core,victos/opencms-core,sbonoc/opencms-core,alkacon/opencms-core,victos/opencms-core,alkacon/opencms-core,serrapos/opencms-core,MenZil/opencms-core,it-tavis/opencms-core,ggiudetti/opencms-core,victos/opencms-core,mediaworx/opencms-core,it-tavis/opencms-core,it-tavis/opencms-core,sbonoc/opencms-core,se...
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/synchronize/CmsSynchronize.java,v $ * Date : $Date: 2003/07/31 16:09:10 $ * Version: $Revision: 1.4 $ * Date : $Date: 2003/07/31 16:09:10 $ * Version: $Revision: 1.4 $ * * This library is part of OpenCms - * the Open Source Content Mananagement Sys...
src/org/opencms/synchronize/CmsSynchronize.java
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/synchronize/CmsSynchronize.java,v $ * Date : $Date: 2003/07/31 13:19:37 $ * Version: $Revision: 1.3 $ * Date : $Date: 2003/07/31 13:19:37 $ * Version: $Revision: 1.3 $ * * This library is part of OpenCms - * the Open Source Content Mananagement Sys...
Modification: Synchronized resources are now locked
src/org/opencms/synchronize/CmsSynchronize.java
Modification: Synchronized resources are now locked
<ide><path>rc/org/opencms/synchronize/CmsSynchronize.java <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/synchronize/CmsSynchronize.java,v $ <del> * Date : $Date: 2003/07/31 13:19:37 $ <del> * Version: $Revision: 1.3 $ <del> * Date : $Date: 2003/07/31 13:19:37 $ <del> * Version: $Revision:...
JavaScript
bsd-3-clause
e923f3bf90e32dfac54bd0f120e2596ffe42c380
0
glensc/toggl-button,glensc/toggl-button,glensc/toggl-button
import bugsnagClient from './lib/bugsnag'; import { escapeHtml, isTogglURL, report, secToHHMM } from './lib/utils'; import Db from './lib/db'; import Ga from './lib/ga'; const browser = require('webextension-polyfill'); const FIVE_MINUTES = 5 * 60; let openWindowsCount = 0; const FF = navigator.userAgent.indexOf('C...
src/scripts/background.js
import bugsnagClient from './lib/bugsnag'; import { escapeHtml, isTogglURL, report, secToHHMM } from './lib/utils'; import Db from './lib/db'; import Ga from './lib/ga'; const browser = require('webextension-polyfill'); const FIVE_MINUTES = 5 * 60; let openWindowsCount = 0; const FF = navigator.userAgent.indexOf('C...
fix(tags): Don't override tags with same names - Tags with same name were overriden in the previous architecture - This corrects that by using the tags array as the source of truth Closes #1535
src/scripts/background.js
fix(tags): Don't override tags with same names
<ide><path>rc/scripts/background.js <ide> }, <ide> <ide> fillTags: function () { <del> let html = '<ul class="tag-list">'; <del> const tags = TogglButton.$user.tagMap; <del> let i; <del> let key = null; <del> const keys = []; <del> <del> for (key in tags) { <del> if (tags.hasOwnProperty(key)...
Java
mit
e0a8f06f41c844caebeeab0b9d36aa1e034587f6
0
infoeducatie/infoeducatie-android
package com.infoeducatie.app.activities; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import com.infoeducatie.app.R; import com.infoeducatie.app.client.entities.News; import com.infoeducatie.app.fragme...
app/src/main/java/com/infoeducatie/app/activities/HomeActivity.java
package com.infoeducatie.app.activities; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import com.infoeducatie.app.R; import com.infoeducatie.app.client.entities.News; import com.infoeducatie.app.fragme...
implemented new method
app/src/main/java/com/infoeducatie/app/activities/HomeActivity.java
implemented new method
<ide><path>pp/src/main/java/com/infoeducatie/app/activities/HomeActivity.java <ide> Intent intent = new Intent(this, ProjectsActivity.class); <ide> startActivity(intent); <ide> } <add> <add> @Override <add> public void onStartTalks() { <add> <add> } <ide> }
Java
mit
487d51572aa897633561925f02f9cbb9c12ac07a
0
stevenpost/beaform
package beaform; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.trans...
src/main/java/beaform/GraphDbHandlerForJTA.java
package beaform; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.trans...
Remove unused code
src/main/java/beaform/GraphDbHandlerForJTA.java
Remove unused code
<ide><path>rc/main/java/beaform/GraphDbHandlerForJTA.java <ide> /** The {@link TransactionManager} */ <ide> private final transient TransactionManager transactionMgr; <ide> <del> /** The session factory */ <del> private final SessionFactoryImplementor sessionFactory; <del> <ide> public static GraphDbHandlerForJTA g...
JavaScript
mit
bcf7fc78e0e7ae42fee9ffce86529413c929a2d1
0
mapbender/mapbender-digitizer,mapbender/mapbender-digitizer
(function ($) { "use strict"; $.fn.dataTable.ext.errMode = 'throw'; $.widget("mapbender.mbDigitizer", $.mapbender.mbDataManager, { options: { classes: {}, create: null, debug: false, fileURI: "uploads/featureTypes", schemes: {}, ...
Resources/public/mapbender.element.digitizer.js
(function ($) { "use strict"; $.fn.dataTable.ext.errMode = 'throw'; $.widget("mapbender.mbDigitizer", $.mapbender.mbDataManager, { options: { classes: {}, create: null, debug: false, fileURI: "uploads/featureTypes", schemes: {}, ...
Remove redundant tr unhover when mousing into attribute dialog
Resources/public/mapbender.element.digitizer.js
Remove redundant tr unhover when mousing into attribute dialog
<ide><path>esources/public/mapbender.element.digitizer.js <ide> _openEditDialog: function(schema, feature) { <ide> var $dialog = this._super(schema, feature); <ide> $dialog.data('feature', feature); <del> $dialog.parent().on("mouseenter",function(){ <del> featur...
JavaScript
apache-2.0
ce880ed2b465faac8bdae9607ef2e96239e6ae31
0
hackerkid/zulip,eeshangarg/zulip,andersk/zulip,zulip/zulip,andersk/zulip,kou/zulip,zulip/zulip,punchagan/zulip,eeshangarg/zulip,rht/zulip,kou/zulip,hackerkid/zulip,rht/zulip,punchagan/zulip,showell/zulip,showell/zulip,hackerkid/zulip,rht/zulip,eeshangarg/zulip,kou/zulip,brainwane/zulip,punchagan/zulip,zulip/zulip,ander...
set_global("page_params", { search_pills_enabled: true, }); zrequire("search"); zrequire("search_pill"); zrequire("Filter", "js/filter"); zrequire("tab_bar"); const noop = () => {}; const return_true = () => true; const return_false = () => false; set_global("$", global.make_zjquery()); set_global("narrow_state",...
frontend_tests/node_tests/search.js
set_global("page_params", { search_pills_enabled: true, }); zrequire("search"); zrequire("search_pill"); zrequire("Filter", "js/filter"); zrequire("tab_bar"); const noop = () => {}; const return_true = () => true; const return_false = () => false; set_global("$", global.make_zjquery()); set_global("narrow_state",...
node_tests: search: Remove dead stub. Signed-off-by: Anders Kaseorg <dfdb7392591db597bc41cf266a9c3bc12a2706e5@zulip.com>
frontend_tests/node_tests/search.js
node_tests: search: Remove dead stub.
<ide><path>rontend_tests/node_tests/search.js <ide> }; <ide> <ide> searchbox.on = (event, callback) => { <del> if (event === "focusin") { <del> searchbox.css({"box-shadow": "unset"}); <del> callback(); <del> assert.deepEqual(searchbox.css(), { <del> "box-s...
Java
lgpl-2.1
c85c7bff195f0d9b3d32f8984862711bb3da4321
0
jimregan/languagetool,jimregan/languagetool,lopescan/languagetool,janissl/languagetool,lopescan/languagetool,janissl/languagetool,languagetool-org/languagetool,janissl/languagetool,languagetool-org/languagetool,jimregan/languagetool,lopescan/languagetool,janissl/languagetool,janissl/languagetool,lopescan/languagetool,j...
/* LanguageTool, a natural language style checker * Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2...
languagetool-core/src/main/java/org/languagetool/rules/patterns/XMLRuleHandler.java
/* LanguageTool, a natural language style checker * Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2...
remove dead code
languagetool-core/src/main/java/org/languagetool/rules/patterns/XMLRuleHandler.java
remove dead code
<ide><path>anguagetool-core/src/main/java/org/languagetool/rules/patterns/XMLRuleHandler.java <ide> message.append("\u0001\\"); <ide> message.append(attrs.getValue("no")); <ide> checkNumber(attrs); <del> } else if (inSuggestion && !inMessage) { <add> } else if (inSuggestion) { <ide> if (su...
Java
apache-2.0
17c1fdb753684b17aeee8967d2e1e7d31ec81698
0
opengeospatial/teamengine,opengeospatial/teamengine,opengeospatial/teamengine,opengeospatial/teamengine
/** * ************************************************************************** * * The Original Code is TEAM Engine. * * The Initial Developer of the Original Code is Northrop Grumman Corporation * jointly with The National Technology Alliance. Portions created by Northrop * Grumman Corporation are Copy...
teamengine-core/src/main/java/com/occamlab/te/TECore.java
/** * ************************************************************************** * * The Original Code is TEAM Engine. * * The Initial Developer of the Original Code is Northrop Grumman Corporation * jointly with The National Technology Alliance. Portions created by Northrop * Grumman Corporation are Copy...
Removed static declaration of userInputs variable in TECore class.
teamengine-core/src/main/java/com/occamlab/te/TECore.java
Removed static declaration of userInputs variable in TECore class.
<ide><path>eamengine-core/src/main/java/com/occamlab/te/TECore.java <ide> public static String Clause = ""; <ide> public static String Purpose = ""; <ide> public static ArrayList<String> rootTestName = new ArrayList<String>(); <del> public static Document userInputs = null; <add> public Document userInputs = nu...
Java
apache-2.0
a3e6772ea46f3abcc247b5102a36f090b6246a5a
0
rmansoor/big-data-plugin,pentaho/big-data-plugin,kurtwalker/big-data-plugin,kurtwalker/big-data-plugin,e-cuellar/big-data-plugin,pedrofvteixeira/big-data-plugin,tkafalas/big-data-plugin,rmansoor/big-data-plugin,smaring/big-data-plugin,smaring/big-data-plugin,smaring/big-data-plugin,rmansoor/big-data-plugin,pentaho/big-...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 ...
kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/avro/input/AvroInputDialog.java
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 ...
[BACKLOG-26370] - Fixed issue where Avro Input wouldn't correctly replace indexes for maps.
kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/avro/input/AvroInputDialog.java
[BACKLOG-26370] - Fixed issue where Avro Input wouldn't correctly replace indexes for maps.
<ide><path>ettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/avro/input/AvroInputDialog.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.List; <add>import java.util.regex.Pattern; <add>import java.util.regex.Matcher; <ide> <ide> public class AvroInputDialog extend...
Java
apache-2.0
6c6b33ff526c038ad80082fee830a7f9b0c158af
0
EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse
/* * Copyright 2016 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
systemtests/src/main/java/io/enmasse/systemtest/TestUtils.java
/* * Copyright 2016 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
UPD TestUtils - added docs for all methods
systemtests/src/main/java/io/enmasse/systemtest/TestUtils.java
UPD TestUtils - added docs for all methods
<ide><path>ystemtests/src/main/java/io/enmasse/systemtest/TestUtils.java <ide> waitForNReplicas(kubernetes, tenantNamespace, expectedReplicas, labelSelector, Collections.emptyMap(), budget); <ide> } <ide> <add> /** <add> * Wait for expected count of replicas <add> * <add> * @param kubernetes...
Java
bsd-3-clause
ced9c3aa3180ea061749fee76a7bab138dd77044
0
sebastiangraf/treetank,sebastiangraf/treetank,sebastiangraf/treetank
package org.treetank.io; import static com.google.common.base.Preconditions.checkState; import java.io.File; import java.util.Arrays; import java.util.Iterator; import java.util.Stack; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java...
coremodules/core/src/main/java/org/treetank/io/BackendWriterProxy.java
package org.treetank.io; import static com.google.common.base.Preconditions.checkState; import java.io.File; import java.util.Arrays; import java.util.Iterator; import java.util.Stack; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java...
[MOD] preorder-traversal finished but not working...yet git-svn-id: a5379eb5ca3beb2b6e029be3b1b7f6aa53f2352b@7485 e3ddb328-5bfe-0310-b762-aafcbcbd2528
coremodules/core/src/main/java/org/treetank/io/BackendWriterProxy.java
[MOD] preorder-traversal finished but not working...yet
<ide><path>oremodules/core/src/main/java/org/treetank/io/BackendWriterProxy.java <ide> import org.treetank.bucket.interfaces.IReferenceBucket; <ide> import org.treetank.exception.TTException; <ide> import org.treetank.exception.TTIOException; <del> <del>import com.sleepycat.je.tree.ChildReference; <ide> <ide> /** <ide...
Java
apache-2.0
454786c5a559d2f9373d18920cb93f31b09c0480
0
jsibbold/timber,ab271994/timber,zhuxiaohao/timber,msdgwzhy6/timber,msdgwzhy6/timber,robertschmid/timber,jianlei/timber,donnfelker/timber,MaTriXy/timber,vipulshah2010/timber,hejunbinlan/timber,JakeWharton/timber,robertschmid/timber,MaTriXy/timber,zhuxiaohao/timber,angcyo/timber,MaTriXy/timber,angcyo/timber,JakeWharton/t...
package timber.log; import android.util.Log; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.CountDownLatch; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; imp...
timber/src/test/java/timber/log/TimberTest.java
package timber.log; import android.util.Log; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.CountDownLatch; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; imp...
Move line-number-referencing test to the top of the file.
timber/src/test/java/timber/log/TimberTest.java
Move line-number-referencing test to the top of the file.
<ide><path>imber/src/test/java/timber/log/TimberTest.java <ide> Timber.uprootAll(); <ide> } <ide> <add> // NOTE: This class references the line number. Keep it at the top so it does not change. <add> @Test public void debugTreeCanAlterCreatedTag() { <add> Timber.plant(new Timber.DebugTree() { <add> @Ov...
JavaScript
mit
a69d19cf883d79c619ab95d83826f62cc2b7d742
0
satiruf/qcmffvl,sativouf/qcmffvl,satiruf/qcmffvl,satiruf/qcmffvl,sativouf/qcmffvl,jruffet/qcmffvl,sativouf/qcmffvl,jruffet/qcmffvl,sativouf/qcmffvl,sativouf/qcmffvl,jruffet/qcmffvl,jruffet/qcmffvl,jruffet/qcmffvl,satiruf/qcmffvl,satiruf/qcmffvl
'use strict'; /* Services */ angular.module('qcmffvl.services', []) .factory('API', function($http){ return { // newCatDistrib() returns an array with the categories to be displayed, // using the wanted percentage distribution per category, as expressed by // baseCatDistrib like : [["L",...
web/js/services.js
'use strict'; /* Services */ angular.module('qcmffvl.services', []) .factory('API', function($http){ return { // newCatDistrib() returns an array with the categories to be displayed, // using the wanted percentage distribution per category, as expressed by // baseCatDistrib like : [["L",...
fix load with compat mode
web/js/services.js
fix load with compat mode
<ide><path>eb/js/services.js <ide> var num = parseInt(ID.substr(3,10),10); <ide> var qcmVer = parseInt(ID.substr(13,2),10); <ide> var optnum; <del> var optnum_compat; <ide> // 3.0 <= Version < 3.2 <ide> if (ID.length == 17) { <del> op...
Java
apache-2.0
b9dd2d44fc99007caeb176b3f20f658494270ec5
0
jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
java/client/test/org/openqa/selenium/CorrectEventFiringTest.java
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
DanielWagnerHall: Ignoring newly added failing test. Issue 2644 filed. git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@14095 07704840-8298-11de-bf8c-fd130f914ac9
java/client/test/org/openqa/selenium/CorrectEventFiringTest.java
DanielWagnerHall: Ignoring newly added failing test. Issue 2644 filed.
<ide><path>ava/client/test/org/openqa/selenium/CorrectEventFiringTest.java <ide> assertThat(clicker.getAttribute("value"), equalTo("Clicked")); <ide> } <ide> <del> @Ignore(ANDROID) <add> @Ignore({ANDROID, IE}) <ide> @JavascriptEnabled <ide> public void testShouldFireTwoClickEventsWhenClickingOnALabel() { <...
Java
mit
8993baadaf4222a1ea14040bbca2bc36242deb2e
0
rrbrambley/MessageBeast-Android
package com.alwaysallthetime.adnlibutils.db; import android.content.Context; import android.database.Cursor; import android.database.DatabaseUtils; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import android.util.Log; import com.alwaysallthetime.adnlib.data.Entities; ...
src/main/java/com/alwaysallthetime/adnlibutils/db/ADNDatabase.java
package com.alwaysallthetime.adnlibutils.db; import android.content.Context; import android.database.Cursor; import android.database.DatabaseUtils; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import android.util.Log; import com.alwaysallthetime.adnlib.data.Entities; ...
add method for inserting pending files
src/main/java/com/alwaysallthetime/adnlibutils/db/ADNDatabase.java
add method for inserting pending files
<ide><path>rc/main/java/com/alwaysallthetime/adnlibutils/db/ADNDatabase.java <ide> ") " + <ide> "VALUES(?, ?, ?, ?, ?)"; <ide> <add> private static final String INSERT_OR_REPLACE_PENDING_FILE = "INSERT OR REPLACE INTO " + TABLE_PENDING_FILES + <add> " (" + <add> COL_PEN...
Java
apache-2.0
dd94a02419a8e93ee729233b7b7f1ff0680dbfe7
0
grzesuav/gjpf-core,grzesuav/gjpf-core
// // Copyright (C) 2006 United States Government as represented by the // Administrator of the National Aeronautics and Space Administration // (NASA). All Rights Reserved. // // This software is distributed under the NASA Open Source Agreement // (NOSA), version 1.3. The NOSA has been approved by the Open Source /...
src/peers/gov/nasa/jpf/jvm/JPF_java_lang_reflect_Method.java
// // Copyright (C) 2006 United States Government as represented by the // Administrator of the National Aeronautics and Space Administration // (NASA). All Rights Reserved. // // This software is distributed under the NASA Open Source Agreement // (NOSA), version 1.3. The NOSA has been approved by the Open Source /...
Used Modifier.toString() to print modifiers
src/peers/gov/nasa/jpf/jvm/JPF_java_lang_reflect_Method.java
Used Modifier.toString() to print modifiers
<ide><path>rc/peers/gov/nasa/jpf/jvm/JPF_java_lang_reflect_Method.java <ide> <ide> MethodInfo mi = getMethodInfo(env, objRef); <ide> <del> if (mi.isPublic()){ <del> sb.append("public "); <del> } else if (mi.isProtected()){ <del> sb.append("protected "); <del> } else if (mi.isPrivate()){ <de...
Java
apache-2.0
b22a935a6caee14eab17c2715ad4c3a15f2c9644
0
awhitford/DependencyCheck,dwvisser/DependencyCheck,stefanneuhaus/DependencyCheck,awhitford/DependencyCheck,hansjoachim/DependencyCheck,hansjoachim/DependencyCheck,wmaintw/DependencyCheck,stevespringett/DependencyCheck,recena/DependencyCheck,recena/DependencyCheck,stevespringett/DependencyCheck,recena/DependencyCheck,co...
/** * Includes the main entry point for dependency-check. */ package org.owasp.dependencycheck;
dependency-check-core/src/main/java/org/owasp/dependencycheck/package-info.java
/** * Includes the main entry point (i.e. the engine) for dependency-check. */ package org.owasp.dependencycheck;
updated package info Former-commit-id: 4050b01bfc1c92862fc71f23239c1d5202a5126e
dependency-check-core/src/main/java/org/owasp/dependencycheck/package-info.java
updated package info
<ide><path>ependency-check-core/src/main/java/org/owasp/dependencycheck/package-info.java <ide> /** <del> * Includes the main entry point (i.e. the engine) for dependency-check. <add> * Includes the main entry point for dependency-check. <ide> */ <ide> package org.owasp.dependencycheck;
JavaScript
apache-2.0
089f97477e860dfeb12e4150b460791faa74c785
0
rfcx/rfcx.org,rfcx/rfcx.org,rfcx/rfcx.org
exports.productionVersionId = "8e27a2602f0e";
config/version.js
exports.productionVersionId = "15c7076d2be6";
Incrementing Production Version.
config/version.js
Incrementing Production Version.
<ide><path>onfig/version.js <del>exports.productionVersionId = "15c7076d2be6"; <add>exports.productionVersionId = "8e27a2602f0e";
Java
lgpl-2.1
e7a6f1418b18c1391b59cf5d7da0d257eefe4f92
0
ethaneldridge/vassal,ethaneldridge/vassal,ethaneldridge/vassal
/* * * Copyright (c) 2000-2007 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * bu...
src/main/java/VASSAL/build/module/WizardSupport.java
/* * * Copyright (c) 2000-2007 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * bu...
Corrects and refactors hard-coded "newbie" name check WizardSupport.java prompts the user for a "real name" and password if the user has not yet supplied them for the current game module. The user is also prompted if his name is "newbie" This check occurs inconsistently in the WizardSupport class. - One of the check...
src/main/java/VASSAL/build/module/WizardSupport.java
Corrects and refactors hard-coded "newbie" name check
<ide><path>rc/main/java/VASSAL/build/module/WizardSupport.java <ide> // prompt for username and password if wizard is off <ide> // but no username is set <ide> // FIXME: this belongs outside of the wizard, not here <del> final String name = (String) g.getPrefs().getValue(GameModule.REAL_NAME); <d...
JavaScript
mit
23cd7b5b89776f53231e04871ea2c056dbee3643
0
Krinto/ChipIn-Api
var env = process.env.NODE_ENV || 'development'; var config = require('../config/main')[env]; var chai = require('chai'); var should = chai.should(); var expect = chai.expect(); var chaiHttp = require('chai-http'); var server = require('../index'); var mockgoose = require('mockgoose'); var db = require('./test_helpers'...
test/auth_test.js
var env = process.env.NODE_ENV || 'development'; var config = require('../config/main')[env]; var chai = require('chai'); var should = chai.should(); var expect = chai.expect(); var chaiHttp = require('chai-http'); var server = require('../index'); var mockgoose = require('mockgoose'); var db = require('./test_helpers'...
Add login tests
test/auth_test.js
Add login tests
<ide><path>est/auth_test.js <ide> }); <ide> }); <ide> }); <add> <add> describe('Login', function() { <add> <add> before(function(done) { <add> var newUser = new User({ <add> email: 'test@test.com', <add> displayName: 'testing', <add> ...
Java
bsd-3-clause
8ee4723c738d49c5d598a737487472adac9f332f
0
rnathanday/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,r...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.curate; import java.util.Date; import java.text.DateFormat; import java.util.Locale...
dspace/modules/api/src/main/java/org/dspace/curate/ItemsInReviewPlosMonth.java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.curate; import java.util.Date; import java.text.DateFormat; import java.util.Locale...
Overhaul of report to remove import of Manuscript and incorporate code
dspace/modules/api/src/main/java/org/dspace/curate/ItemsInReviewPlosMonth.java
Overhaul of report to remove import of Manuscript and incorporate code
<ide><path>space/modules/api/src/main/java/org/dspace/curate/ItemsInReviewPlosMonth.java <ide> import org.apache.log4j.Logger; <ide> <ide> /** <del> * ItemsInReview reports on the status of items in the review workflow. <add> * PlosItemsReviewMonth reports on items from PLOS publications that have been in the review w...
Java
mit
ea81ccd9c878c12dec659b7f2c06a4cefc97adc2
0
Rhisereld/HorizonShips
package com.gmail.Rhisereld.HorizonShips; import java.util.HashMap; import java.util.Set; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; impor...
src/main/java/com/gmail/Rhisereld/HorizonShips/ShipRegionNotifier.java
package com.gmail.Rhisereld.HorizonShips; import java.util.HashMap; import java.util.Set; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; impor...
Detection for entering/leaving docks will now be triggered if the player is on ground level.
src/main/java/com/gmail/Rhisereld/HorizonShips/ShipRegionNotifier.java
Detection for entering/leaving docks will now be triggered if the player is on ground level.
<ide><path>rc/main/java/com/gmail/Rhisereld/HorizonShips/ShipRegionNotifier.java <ide> //Check if the player has left the dock region. <ide> if (!min.getWorld().equals(player.getLocation().getWorld()) <ide> || min.getBlockX() > x || max.getBlockX() < x <del> || min.getBlockY() >= y || max.getBlockY() < ...
JavaScript
mit
77291f68f5603b424e1fbb43bea1ce70795e42f4
0
JasonEtco/flintcms,JasonEtco/flintcms
import React, { Component, PropTypes } from 'react'; import { newEntry } from '../../actions/entryActions'; import Button from '../../components/Button'; import renderOption from '../../utils/renderOption'; export default class NewEntry extends Component { static propTypes = { dispatch: PropTypes.func, secti...
app/views/NewEntry/index.js
import React, { Component, PropTypes } from 'react'; import { newEntry } from '../../actions/entryActions'; import Button from '../../components/Button'; import renderOption from '../../utils/renderOption'; export default class NewEntry extends Component { static propTypes = { dispatch: PropTypes.func, } co...
:wrench: Fix eslint errors
app/views/NewEntry/index.js
:wrench: Fix eslint errors
<ide><path>pp/views/NewEntry/index.js <ide> export default class NewEntry extends Component { <ide> static propTypes = { <ide> dispatch: PropTypes.func, <add> sections: PropTypes.object, <add> fields: PropTypes.object, <add> params: PropTypes.object.isRequired, <add> } <add> <add> static defaultProps =...
JavaScript
bsd-2-clause
e46820452c3b0ea8a3e5a8f753a39a890e6c5d40
0
jhliberty/droppy,silverwind/droppy,jhliberty/droppy,silverwind/droppy,silverwind/droppy
"use strict"; var pkg = require("./../package.json"), resources = require("./lib/resources.js"), cfg = require("./lib/cfg.js"), cookies = require("./lib/cookies.js"), db = require("./lib/db.js"), log = require("./lib/log.js"), manifest = require("./lib/manifes...
server/server.js
"use strict"; var pkg = require("./../package.json"), resources = require("./lib/resources.js"), cfg = require("./lib/cfg.js"), cookies = require("./lib/cookies.js"), db = require("./lib/db.js"), log = require("./lib/log.js"), manifest = require("./lib/manifes...
Better error handling for cpr
server/server.js
Better error handling for cpr
<ide><path>erver/server.js <ide> if (stats.isFile()) { <ide> utils.copyFile(src, dst, logError); <ide> } else { <del> cpr(src, dst, {deleteFirst: false, overwrite: true, confirm: true}, function (errs) { <del> if (errs) errs.f...
Java
mit
d251c4ca680a561281a55b8fa7e5d1f3dbaaf120
0
jtlalka/fiszki
package net.tlalka.android.fiszki.domain.controllers; import net.tlalka.android.fiszki.core.annotations.ActivityScope; import net.tlalka.android.fiszki.domain.services.CacheService; import net.tlalka.android.fiszki.domain.services.LessonService; import net.tlalka.android.fiszki.domain.services.StorageService; import n...
app/src/main/java/net/tlalka/android/fiszki/domain/controllers/TestController.java
package net.tlalka.android.fiszki.domain.controllers; import net.tlalka.android.fiszki.core.annotations.ActivityScope; import net.tlalka.android.fiszki.domain.services.CacheService; import net.tlalka.android.fiszki.domain.services.LessonService; import net.tlalka.android.fiszki.domain.services.StorageService; import n...
Solved problem with unlimited word generations.
app/src/main/java/net/tlalka/android/fiszki/domain/controllers/TestController.java
Solved problem with unlimited word generations.
<ide><path>pp/src/main/java/net/tlalka/android/fiszki/domain/controllers/TestController.java <ide> } <ide> <ide> private void generateAnswers(List<String> answers, int size) { <del> if (size > 0 && this.generateAnswer(answers)) { <add> if (size > 0 && this.generateAnswer(answers, 100)) { <ide> ...
Java
lgpl-2.1
7195d397bcdfbe254f00581630294d70ae24ff30
0
ebollens/ccnmp,cawka/ndnx,svartika/ccnx,svartika/ccnx,svartika/ccnx,ebollens/ccnmp,svartika/ccnx,ebollens/ccnmp,cawka/ndnx,svartika/ccnx,ebollens/ccnmp,cawka/ndnx,svartika/ccnx,cawka/ndnx,svartika/ccnx,cawka/ndnx
package com.parc.ccn.library.profiles; import java.io.IOException; import java.sql.Timestamp; import com.parc.ccn.Library; import com.parc.ccn.data.ContentName; import com.parc.ccn.data.util.DataUtils; import com.sun.tools.javac.util.Pair; public class AccessControlProfile implements CCNProfile { /** * We need ...
Java_CCN/com/parc/ccn/library/profiles/AccessControlProfile.java
package com.parc.ccn.library.profiles; import java.io.IOException; import java.sql.Timestamp; import com.parc.ccn.Library; import com.parc.ccn.data.ContentName; import com.parc.ccn.data.util.DataUtils; import com.sun.tools.javac.util.Pair; public class AccessControlProfile implements CCNProfile { /** * We need ...
Utility function.
Java_CCN/com/parc/ccn/library/profiles/AccessControlProfile.java
Utility function.
<ide><path>ava_CCN/com/parc/ccn/library/profiles/AccessControlProfile.java <ide> */ <ide> public static ContentName userNamespaceName(ContentName namespace) { <ide> return new ContentName(accessRoot(namespace), ACCESS_CONTROL_MARKER_BYTES, USER_PREFIX_BYTES); <add> } <add> <add> public static ContentName userNames...
Java
apache-2.0
cfbc185ce3692a8031e98d049d930052789db86f
0
satrapu/iquest-keyboards-and-mice-brasov-2016
package ro.satrapu.iqkm.demo.persons; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.wildfly.swarm.Swarm; import org.wildfly.swarm.datasources.DatasourceArchive; import java.net.URI; import java.net.URISyntaxException; /** * Bootstraps WildFly Swarm on <a href="https://www.heroku.com/home">Heroku</a> cloud ...
src/main/java/ro/satrapu/iqkm/demo/persons/HerokuRunner.java
package ro.satrapu.iqkm.demo.persons; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.wildfly.swarm.Swarm; import org.wildfly.swarm.datasources.DatasourceArchive; import java.net.URI; import java.net.URISyntaxException; /** * Bootstraps WildFly Swarm on <a href="https://www.heroku.com/home">Heroku</a> cloud ...
Removed method call causing the application to be deployed twice.
src/main/java/ro/satrapu/iqkm/demo/persons/HerokuRunner.java
Removed method call causing the application to be deployed twice.
<ide><path>rc/main/java/ro/satrapu/iqkm/demo/persons/HerokuRunner.java <ide> <ide> //ensure the Heroku datasource is deployed before the JEE application, so that the latter's persistence unit <ide> // will be able to find a suitable datasource <del> swarm.deploy(buildDatasourceArchive(System.get...
Java
apache-2.0
3d70d9572e6ae6f500a8cc690b79be75b4caacca
0
jamesnetherton/wildfly-swarm,bobmcwhirter/wildfly-swarm,gastaldi/wildfly-swarm,juangon/wildfly-swarm,wildfly-swarm/wildfly-swarm-core,gastaldi/wildfly-swarm,jamezp/wildfly-swarm,juangon/wildfly-swarm,christian-posta/wildfly-swarm,jamesnetherton/wildfly-swarm,christian-posta/wildfly-swarm,gastaldi/wildfly-swarm,jamezp/w...
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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 require...
plugin/src/main/java/org/wildfly/swarm/plugin/maven/MavenArtifactResolvingHelper.java
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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 require...
SWARM-770: Removal of redundant jboss repository Motivation ---------- Jboss repository inclusion is redundant as it is already included in user settings for this plugin to be fetched. Maven plugins should not add repositories by themselves. Modifications ------------- jboss repository removed from MavenArtifactResol...
plugin/src/main/java/org/wildfly/swarm/plugin/maven/MavenArtifactResolvingHelper.java
SWARM-770: Removal of redundant jboss repository
<ide><path>lugin/src/main/java/org/wildfly/swarm/plugin/maven/MavenArtifactResolvingHelper.java <ide> this.resolver = resolver; <ide> this.system = system; <ide> this.session = session; <del> this.remoteRepositories.add(buildRemoteRepository("jboss-public-repository-group", <del> ...
Java
apache-2.0
b47d226858ebcd6e4f6368a3c7132897456dfdb0
0
yury-vashchyla/camel,ekprayas/camel,gyc567/camel,kevinearls/camel,maschmid/camel,snurmine/camel,gilfernandes/camel,neoramon/camel,edigrid/camel,veithen/camel,NetNow/camel,jarst/camel,lasombra/camel,grgrzybek/camel,ssharma/camel,jmandawg/camel,jonmcewen/camel,jameszkw/camel,scranton/camel,askannon/camel,jollygeorge/came...
/** * 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...
camel-core/src/main/java/org/apache/camel/builder/PredicateBuilder.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...
CAMEL-150: Fix >= predicate git-svn-id: e3ccc80b644512be24afa6caf639b2d1f1969354@576744 13f79535-47bb-0310-9956-ffa450edef68
camel-core/src/main/java/org/apache/camel/builder/PredicateBuilder.java
CAMEL-150: Fix >= predicate
<ide><path>amel-core/src/main/java/org/apache/camel/builder/PredicateBuilder.java <ide> return new BinaryPredicateSupport<E>(left, right) { <ide> <ide> protected boolean matches(E exchange, Object leftValue, Object rightValue) { <del> return compare(leftValue, rightValue) < 0; <add> ...
Java
apache-2.0
0fcffa3d23a5427d5cbcebea866770d84e2b7898
0
febit/febit-common
// Copyright (c) 2013-present, febit.org. All Rights Reserved. package org.febit.util; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Array;...
src/main/java/org/febit/util/Petite.java
// Copyright (c) 2013-present, febit.org. All Rights Reserved. package org.febit.util; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Array;...
Petite
src/main/java/org/febit/util/Petite.java
Petite
<ide><path>rc/main/java/org/febit/util/Petite.java <ide> return Convert.convert(string, cls, defaultConverter); <ide> } <ide> <del> protected void addProps(Props props, Map<String, Object> parameters) { <add> protected void addProps(Props props, Map<String, ?> parameters) { <ide> this.propsMg...
JavaScript
mit
186d0b38af7352f4653b12d53dd9364fb3fca750
0
25th-floor/revalidation,25th-floor/revalidation
import { equal, deepEqual } from 'assert' import createValidation from '../src/' import { compose, curry, partial, prop, } from '../src/utils/' const identity = r => r // configure a transformation that simply returns the original value const transform = r => r.fold(identity, () => true) const Validate = cre...
test/index.test.js
import { equal, deepEqual } from 'assert' import createValidation from '../src/' import { compose, curry, partial, prop, } from '../src/utils/' const identity = r => r // configure a transformation that simply returns the original value const transform = r => r.fold(identity, () => true) const Validate = cre...
Minor changes
test/index.test.js
Minor changes
<ide><path>est/index.test.js <ide> deepEqual({name: notEmptyMsg('Name')}, result) <ide> }) <ide> <del> it('should return the values when valid', () => { <add> it('should return true for field when valid', () => { <ide> const validationRules = { <ide> name: nameValidationRule, <ide> } <ide> de...
Java
apache-2.0
0c95d6f4366397b7ae9bcdcca92b2d06a58f4279
0
EtaliaSA/sdk-java
package net.etalia.client.json; import java.util.HashMap; import java.util.Map; import net.etalia.client.domain.AdvertisedPaginationList; import net.etalia.client.domain.Article; import net.etalia.client.domain.Banner; import net.etalia.client.domain.Entity; import net.etalia.client.domain.Journalia; import net.etali...
src/main/java/net/etalia/client/json/JaliaDomainFactory.java
package net.etalia.client.json; import java.util.HashMap; import java.util.Map; import net.etalia.client.domain.AdvertisedPaginationList; import net.etalia.client.domain.Article; import net.etalia.client.domain.Banner; import net.etalia.client.domain.Entity; import net.etalia.client.domain.Journalia; import net.etali...
Use TypeUtil to create new instances, to access protected and private constructors
src/main/java/net/etalia/client/json/JaliaDomainFactory.java
Use TypeUtil to create new instances, to access protected and private constructors
<ide><path>rc/main/java/net/etalia/client/json/JaliaDomainFactory.java <ide> import net.etalia.jalia.JsonClassDataFactory; <ide> import net.etalia.jalia.JsonClassDataFactoryImpl; <ide> import net.etalia.jalia.JsonContext; <add>import net.etalia.jalia.TypeUtil; <ide> <ide> /** <ide> * Implements Etalia names, entity f...
Java
apache-2.0
cf73fea3fcf5df877ea5c74680a5eccdf743429c
0
jitsi/jitsi-meet-torture,jitsi/jitsi-meet-torture,jitsi/jitsi-meet-torture,jitsi/jitsi-meet-torture,jitsi/jitsi-meet-torture
/* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
src/test/java/org/jitsi/meet/test/mobile/base/MobileParticipantOptions.java
/* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
feat(MobileParticipantOptions): add CAPS_AUTOMATION_NAME
src/test/java/org/jitsi/meet/test/mobile/base/MobileParticipantOptions.java
feat(MobileParticipantOptions): add CAPS_AUTOMATION_NAME
<ide><path>rc/test/java/org/jitsi/meet/test/mobile/base/MobileParticipantOptions.java <ide> static final String CAPS_APP = _CAPS_PROP_PREFIX + "app"; <ide> <ide> /** <add> * The property key for Appium's "automationName" capability. <add> */ <add> private static final String CAPS_AUTOMATION_NAME <ad...
Java
apache-2.0
554ad734f134d08bd38647f2c01abcd3d6b0f0f0
0
majorseitan/dataverse,JayanthyChengan/dataverse,bmckinney/dataverse-canonical,JayanthyChengan/dataverse,bmckinney/dataverse-canonical,majorseitan/dataverse,majorseitan/dataverse,ekoi/DANS-DVN-4.6.1,JayanthyChengan/dataverse,quarian/dataverse,bmckinney/dataverse-canonical,jacksonokuhn/dataverse,leeper/dataverse-1,ekoi/D...
package edu.harvard.iq.dataverse.api; import edu.harvard.iq.dataverse.DataFile; import edu.harvard.iq.dataverse.Dataset; import edu.harvard.iq.dataverse.DatasetVersion; import edu.harvard.iq.dataverse.Dataverse; import edu.harvard.iq.dataverse.authorization.DataverseRole; import edu.harvard.iq.dataverse.DvObject; impo...
src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java
package edu.harvard.iq.dataverse.api; import edu.harvard.iq.dataverse.DataFile; import edu.harvard.iq.dataverse.Dataset; import edu.harvard.iq.dataverse.DatasetVersion; import edu.harvard.iq.dataverse.Dataverse; import edu.harvard.iq.dataverse.authorization.DataverseRole; import edu.harvard.iq.dataverse.DvObject; impo...
use new, simplified permissions
src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java
use new, simplified permissions
<ide><path>rc/main/java/edu/harvard/iq/dataverse/api/Dataverses.java <ide> if ( dataverse == null ) <ide> return notFound( "Can't find dataverse with identifier='" + dvIdtf + "'"); <ide> <del> if ( permissionSvc.on(dataverse).user(u).has(Permission.EditMetadata) ) { <add> if ( permissionSvc.on(da...
JavaScript
mit
076dacfa722cb4818cdebd88502d474ccab520b6
0
mattdesl/tween-base
var noop = function(){} var linear = require('eases/linear') var EventEmitter = require('events').EventEmitter var inherits = require('inherits') function BaseTween(opt) { EventEmitter.call(this) this.target = null //users generally don't need to change these this.duration = (opt && opt.duration)||0 ...
index.js
var noop = function(){} var linear = require('eases/linear') var EventEmitter = require('events').EventEmitter var inherits = require('inherits') function BaseTween(opt) { EventEmitter.call(this) this.target = null //users generally don't need to change these this.duration = (opt && opt.duration)||0 ...
removing onComplete etc
index.js
removing onComplete etc
<ide><path>ndex.js <ide> this.active = true <ide> this.cancelling = false <ide> this._started = false <del> <del> if (opt && opt.onStart) <del> this.on('start', opt.onStart) <del> if (opt && opt.onComplete) <del> this.on('complete', opt.onComplete) <del> if (opt && opt.onUpdate) <...
Java
mit
0746702492963993c827287d7c001cbb5fcb3eb5
0
Betta-Testers/Imbrius-Kabasuji
package model; import junit.framework.TestCase; import java.awt.Color; /** * * @author ejbosia * */ public class TestPiece extends TestCase{ Piece piece; @Override protected void setUp(){ piece = new Piece(1); } @Override protected void tearDown(){ } public void testOrigin(){ assertEqua...
tests/model/TestPiece.java
package model; import junit.framework.TestCase; import java.awt.Color; /** * * @author ejbosia * */ public class TestPiece extends TestCase{ Piece piece, piece2; @Override protected void setUp(){ piece = new Piece(0); piece2 = new Piece(2); } @Override protected void tearDown(){ } publi...
fixed piece test case errors caused by change in piece IDs from 0 - 34 to 1 - 35
tests/model/TestPiece.java
fixed piece test case
<ide><path>ests/model/TestPiece.java <ide> */ <ide> <ide> public class TestPiece extends TestCase{ <del> Piece piece, piece2; <add> Piece piece; <ide> <ide> @Override <ide> protected void setUp(){ <del> piece = new Piece(0); <del> piece2 = new Piece(2); <add> piece = new Piece(1); <ide> } <ide> <ide> @Over...
Java
apache-2.0
f0cac59bac35f02f0bbd4df47392ac556717f03c
0
HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j
/** * Licensed to Neo Technology under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Neo Technology licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this...
community/embedded-examples/src/test/java/org/neo4j/examples/AbstractJavaDocTestbase.java
/** * Licensed to Neo Technology under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Neo Technology licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this...
making windows tests happy
community/embedded-examples/src/test/java/org/neo4j/examples/AbstractJavaDocTestbase.java
making windows tests happy
<ide><path>ommunity/embedded-examples/src/test/java/org/neo4j/examples/AbstractJavaDocTestbase.java <ide> @BeforeClass <ide> public static void init() <ide> { <del> db = new ImpermanentGraphDatabase("target/descendants"); <add> db = new ImpermanentGraphDatabase("target/"+ System.currentTimeMillis()); <ide> } <ide...
Java
apache-2.0
a7c0cf9b09925c709a51937d9c9cf38852a4dc36
0
PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr
package org.apache.lucene.index; /** * 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, Versi...
lucene/src/java/org/apache/lucene/index/SegmentReader.java
package org.apache.lucene.index; /** * 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, Versi...
LUCENE-3661: remove bitvector from string git-svn-id: ebfc530bb5240cbc0dd9b435d634faf3eb56d4bb@1233531 13f79535-47bb-0310-9956-ffa450edef68
lucene/src/java/org/apache/lucene/index/SegmentReader.java
LUCENE-3661: remove bitvector from string
<ide><path>ucene/src/java/org/apache/lucene/index/SegmentReader.java <ide> <ide> // Verify our docCount matches: <ide> assert numDocs == count : <del> "delete count mismatch: numDocs=" + numDocs + " vs BitVector=" + (si.docCount-count); <add> "delete count mismatch: numDocs=" + numDocs + " vs Mut...
Java
lgpl-2.1
86ffa8c7d16e3e375a43feac3310a58f187e4b90
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002 David Pavlis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * ...
cloveretl.engine/src/org/jetel/database/DBConnection.java
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002 David Pavlis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * ...
added Javadoc comments. changed to use new way of handling XML attributes git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@116 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/database/DBConnection.java
added Javadoc comments. changed to use new way of handling XML attributes
<ide><path>loveretl.engine/src/org/jetel/database/DBConnection.java <ide> import java.io.*; <ide> import java.sql.*; <ide> import java.util.Properties; <del>import org.w3c.dom.NamedNodeMap; <add>import org.jetel.util.ComponentXMLAttributes; <ide> <ide> /** <ide> * CloverETL's class for connecting to databases.<br> <...
Java
apache-2.0
4680e0448fceacfaa02b75d4a9b6f44c21e3d197
0
OpenHFT/Chronicle-Network
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
src/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Fix network
src/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java
Fix network
<ide><path>rc/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java <ide> private final Condition condition = outBytesLock.newCondition(); <ide> @NotNull <ide> private final AtomicLong transactionID = new AtomicLong(0); <del> @NotNull <add> @Nullable <ide> private final SessionProv...
Java
apache-2.0
44326df3241e99dbb4b0e746e6e321c23ec793f3
0
idea4bsd/idea4bsd,mglukhikh/intellij-community,signed/intellij-community,ThiagoGarciaAlves/intellij-community,signed/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,apixandru/intellij-community,ibinti/intellij-community,da1z/intellij-community,FHannes/intellij-community,idea4bsd/idea4bsd,vv...
/* * Copyright 2000-2013 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...
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/CCProjectService.java
/* * Copyright 2000-2013 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...
Fix NPE on Add Task File action update, when trying to show item in files
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/CCProjectService.java
Fix NPE on Add Task File action update, when trying to show item in files
<ide><path>ython/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/CCProjectService.java <ide> } <ide> String lessonDirName = lessonDir.getName(); <ide> if (!lessonDirName.contains(EduNames.LESSON)) { <add> return null; <add> } <add> if (myCourse == null) { <ide> return nu...
Java
mit
f572151e16c6b4863e461988387ea2daa17e78a2
0
sormuras/bach,sormuras/bach
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
.bach/src/Bach.java
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Update generated Bach.java
.bach/src/Bach.java
Update generated Bach.java
<ide><path>bach/src/Bach.java <ide> return builder; <ide> } <ide> public static String modulePatternForm(Path info, String module) { <del> var pattern = info.normalize().getParent().toString().replace(module, "*"); <add> var deque = new ArrayDeque<String>(); <add> for (var element : info.no...
Java
agpl-3.0
95eda7210780f883e95364f5bddc88c039a09239
0
battlecode/battlecode-server,battlecode/battlecode-server
package battlecode.common; import org.apache.commons.lang3.StringUtils; import java.io.Serializable; /** * This class is an immutable representation of two-dimensional coordinates * in the battlecode world. */ public final class MapLocation implements Serializable, Comparable<MapLocation> { private static fi...
src/main/battlecode/common/MapLocation.java
package battlecode.common; import org.apache.commons.lang3.StringUtils; import java.io.Serializable; /** * This class is an immutable representation of two-dimensional coordinates * in the battlecode world. */ public final class MapLocation implements Serializable, Comparable<MapLocation> { private static fi...
Checked for NaN case in MapLocation constructor
src/main/battlecode/common/MapLocation.java
Checked for NaN case in MapLocation constructor
<ide><path>rc/main/battlecode/common/MapLocation.java <ide> * @battlecode.doc.costlymethod <ide> */ <ide> public MapLocation(float x, float y) { <del> this.x = x; <del> this.y = y; <add> this.x = x == Float.NaN ? 0 : x; <add> this.y = y == Float.NaN ? 0 : y; <ide> } <ide> ...
Java
agpl-3.0
40b2ee13fee0c2ce5ea601c865bb0593492f3512
0
Kunagi/kunagi,JavierPeris/kunagi,JavierPeris/kunagi,Kunagi/kunagi,Kunagi/kunagi,JavierPeris/kunagi,Kunagi/kunagi,Kunagi/kunagi,JavierPeris/kunagi,JavierPeris/kunagi
package scrum.server; import ilarkesto.base.Url; import ilarkesto.base.Utl; import ilarkesto.concurrent.TaskManager; import ilarkesto.io.IO; import ilarkesto.logging.Logger; import ilarkesto.persistence.ADao; import ilarkesto.persistence.AEntity; import ilarkesto.persistence.EntityUtils; import java.util.ArrayList; i...
src/main/java/scrum/server/ScrumWebApplication.java
package scrum.server; import ilarkesto.base.Url; import ilarkesto.base.Utl; import ilarkesto.concurrent.TaskManager; import ilarkesto.io.IO; import ilarkesto.logging.Logger; import ilarkesto.persistence.ADao; import ilarkesto.persistence.AEntity; import ilarkesto.persistence.EntityUtils; import java.util.ArrayList; i...
bugfix git-svn-id: 5d16f60e415856c0d9146e9340794746a8f5c347@1928 15bc23fa-3125-0410-a1f3-bdc40dbf1900
src/main/java/scrum/server/ScrumWebApplication.java
bugfix
<ide><path>rc/main/java/scrum/server/ScrumWebApplication.java <ide> public void onGetBacklogItems(SessionData session) { <ide> Project project = session.getProject(); <ide> if (project == null) throw new RuntimeException("No project selected."); <del> session.getNextData().addEntities(toPropertyMap(project.getBac...
Java
epl-1.0
cad5910f60d970ca31c35a5d09af50313dcd9902
0
alastrina123/debrief,debrief/debrief,theanuradha/debrief,alastrina123/debrief,theanuradha/debrief,theanuradha/debrief,pecko/debrief,pecko/debrief,alastrina123/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,alastrina123/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,debrief/debrief,pecko/de...
/** * */ package org.mwc.debrief.core.editors; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException;...
trunk/org.mwc.debrief.core/src/org/mwc/debrief/core/editors/PlotEditor.java
/** * */ package org.mwc.debrief.core.editors; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException;...
better handling of missing files
trunk/org.mwc.debrief.core/src/org/mwc/debrief/core/editors/PlotEditor.java
better handling of missing files
<ide><path>runk/org.mwc.debrief.core/src/org/mwc/debrief/core/editors/PlotEditor.java <ide> private void loadThisFile(IEditorInput input) <ide> { <ide> InputStream is = null; <add> if (!input.exists()) <add> { <add> CorePlugin.logError(Status.ERROR, <add> "File cannot be found:" + input.getName(), null); <a...
JavaScript
mit
7189282e29126d9c2b72478ffda3b2addb4936c3
0
brenolf/dash,brenolf/dash
/* Dash v 0.3 | (c) 2015 Breno Lima de Freitas - breno.io | Licensed under CC-NC-ND The Dash object handles the game logic, assigning the proper listeners and taking care of calling the correct interface-related objects, as well as handling life points and how the player press the correct key. ...
js/dash.js
/* Dash v 0.3 | (c) 2015 Breno Lima de Freitas - breno.io | Licensed under CC-NC-ND The Dash object handles the game logic, assigning the proper listeners and taking care of calling the correct interface-related objects, as well as handling life points and how the player press the correct key. ...
Changed explanation in Dash
js/dash.js
Changed explanation in Dash
<ide><path>s/dash.js <ide> (default 40 ms) <ide> <ide> @overlaid_challenges: The number of allowed <del> overlays in a challenge (default 1) <add> overlays in a challenge (default 1). <add> <add> The function prepare takes three arguments: <add> @n_lives: The number of lives for this run. (...
Java
apache-2.0
ca1ca098e31f3b53b60a4b70311fe86678b988f2
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 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.plugin.mojo; import com.google.common.collect.Sets; import com.yahoo.container.plugin.bundle.AnalyzeBundle; import com.yahoo.container.plugin.classanalysis.Analyze; import ...
bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.plugin.mojo; import com.google.common.collect.Sets; import com.yahoo.container.plugin.bundle.AnalyzeBundle; import com.yahoo.container.plugin.classanalysis.Analyze; import ...
Rename vars and a function for clarity, and simplify.
bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java
Rename vars and a function for clarity, and simplify.
<ide><path>undle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java <ide> import org.apache.maven.artifact.Artifact; <ide> import org.apache.maven.plugin.AbstractMojo; <ide> import org.apache.maven.plugin.MojoExecutionException; <del>import org.apache.maven.plugin.MojoFailureException; <...
Java
mit
3bc93caab83f95a41ae46ce48e3e5c08468f3c17
0
noogotte/DiamondRush
package fr.aumgn.tobenamed.stage; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.Listener; import fr.aumgn.tobenamed.TBN; i...
src/main/java/fr/aumgn/tobenamed/stage/JoinStage.java
package fr.aumgn.tobenamed.stage; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.Listener; import fr.aumgn.tobenamed.TBN; i...
Format teams display
src/main/java/fr/aumgn/tobenamed/stage/JoinStage.java
Format teams display
<ide><path>rc/main/java/fr/aumgn/tobenamed/stage/JoinStage.java <ide> @Override <ide> public void start() { <ide> TBNUtil.broadcast(ChatColor.GREEN + "Une nouvelle partie de TBN va commencer !"); <del> TBNUtil.broadcast(ChatColor.GREEN + "Equipe : " + teams.keySet()); <add> TBNUtil.broadca...
Java
apache-2.0
f2b5331c3384cc3a979c78608cbe0439b03026e6
0
mpouttuclarke/cdap,hsaputra/cdap,chtyim/cdap,anthcp/cdap,chtyim/cdap,caskdata/cdap,anthcp/cdap,chtyim/cdap,anthcp/cdap,chtyim/cdap,mpouttuclarke/cdap,hsaputra/cdap,anthcp/cdap,hsaputra/cdap,caskdata/cdap,mpouttuclarke/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,caskdata/cdap,chtyim/cdap,hsaputra/cdap,mpouttuclarke/cda...
package com.continuuity.api.stream; import java.util.Map; /* * Specification for {@code Stream} */ public class StreamSpecification { private long ttl; private long maxSize; private Map<String,String> metaData; private void setTTL(long ttl) { this.ttl = ttl; } private void setMaxSize (long maxS...
src/api/java/com/continuuity/api/stream/StreamSpecification.java
package com.continuuity.api.stream; // Specification for Stream public class StreamSpecification { private long ttl; private long maxSize; private String metaData; private void setTTL(long ttl) { this.ttl = ttl; } private void setMaxSize (long maxSize) { this.maxSize = maxSize; } privat...
Code review comments to change the meta data
src/api/java/com/continuuity/api/stream/StreamSpecification.java
Code review comments to change the meta data
<ide><path>rc/api/java/com/continuuity/api/stream/StreamSpecification.java <ide> package com.continuuity.api.stream; <ide> <add>import java.util.Map; <ide> <del> <del>// Specification for Stream <add>/* <add> * Specification for {@code Stream} <add> */ <ide> public class StreamSpecification { <ide> <ide> private ...
Java
mit
8ee7bed326f654196435a9bfaa833c59fee95702
0
calliem/SLogo,calliem/SLogo
package model; import java.lang.reflect.InvocationTargetException; import java.util.AbstractMap.SimpleEntry; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.ResourceBundle; import java.util.reg...
src/model/Parser.java
package model; import java.lang.reflect.InvocationTargetException; import java.util.AbstractMap.SimpleEntry; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.ResourceBundle; import java.util.reg...
little print changes
src/model/Parser.java
little print changes
<ide><path>rc/model/Parser.java <ide> } <ide> } <ide> private void printTree(Node root){ <del> System.out.println("start line"); <del> <del> if(root==null){ <add> System.out.println(); <add> System.out.print("start line "); <add> if(root.getChildren().size()==0){ <ide> return; <ide> } <del> System.out....
Java
apache-2.0
25388e0f99196768db5ae7b04a1eb074c4f075a7
0
diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless
/* * 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 ...
testlib/src/main/java/com/diffplug/spotless/TestProvisioner.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 ...
Fix a rare no-parent-directory bug in TestProvisioner (only triggered if you run tests in IDE without having run the gradle build at all).
testlib/src/main/java/com/diffplug/spotless/TestProvisioner.java
Fix a rare no-parent-directory bug in TestProvisioner (only triggered if you run tests in IDE without having run the gradle build at all).
<ide><path>estlib/src/main/java/com/diffplug/spotless/TestProvisioner.java <ide> } <ide> } else { <ide> cached = new HashMap<>(); <add> try { <add> Files.createParentDirs(cacheFile); <add> } catch (IOException e) { <add> throw Errors.asRuntime(e); <add> } <ide> } <ide> return (withTransitives, m...
JavaScript
mit
35ce127a979058152c1e4ac557d7e2eaf8d09aae
0
m4l1c3/gulp-bundle-files
var bundle = require('../'), Bundle = require('../Bundle.js').Bundle, bundleChecker = require('../BundleCheck.js').BundleCheck, should = require('should'), gutil = require('gulp-util'), PluginError = gutil.PluginError, config = require('../package.json'), fixtures = require('./fixtures').fixtures, gulpTaskFacto...
tests/main.js
var bundle = require('../'), Bundle = require('../Bundle.js').Bundle, bundleChecker = require('../BundleCheck.js').BundleCheck, should = require('should'), gutil = require('gulp-util'), PluginError = gutil.PluginError, config = require('../package.json'), fixtures = require('./fixtures').fixtures, gulpTaskFacto...
Adding more tests around minification.
tests/main.js
Adding more tests around minification.
<ide><path>ests/main.js <ide> }); <ide> }); <ide> <add> it('should throw, gulp should run with sample config and result in 2 built JS files, they shouldn not match the preminified files' , function(done) { <add> cp.exec('gulp bundle', function(error, stdout, stderror) { <add> ...
Java
lgpl-2.1
47f1b89eb761b8ab39bef2db6221d43e489fb6d9
0
4ment/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,adamallo/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,4ment/beas...
package test.dr.evomodel.treedatalikelihood.continuous; import dr.evolution.datatype.Nucleotides; import dr.evolution.tree.TreeTrait; import dr.evomodel.branchratemodel.ArbitraryBranchRates; import dr.evomodel.branchratemodel.BranchRateModel; import dr.evomodel.branchratemodel.DefaultBranchRateModel; import dr.evomode...
src/test/dr/evomodel/treedatalikelihood/continuous/ContinuousDataLikelihoodDelegateTest.java
package test.dr.evomodel.treedatalikelihood.continuous; import dr.evolution.datatype.Nucleotides; import dr.evolution.tree.TreeTrait; import dr.evomodel.branchratemodel.ArbitraryBranchRates; import dr.evomodel.branchratemodel.BranchRateModel; import dr.evomodel.branchratemodel.DefaultBranchRateModel; import dr.evomode...
Add test for OUBM simulations.
src/test/dr/evomodel/treedatalikelihood/continuous/ContinuousDataLikelihoodDelegateTest.java
Add test for OUBM simulations.
<ide><path>rc/test/dr/evomodel/treedatalikelihood/continuous/ContinuousDataLikelihoodDelegateTest.java <ide> private IntegratedFactorAnalysisLikelihood dataModelFactor; <ide> private ConjugateRootTraitPrior rootPriorFactor; <ide> <add> private ContinuousRateTransformation rateTransformation; <add> privat...
Java
isc
c4c9595cb42bf76917774fd5392653f40e134145
0
TealCube/loot
/* * This file is part of Loot, licensed under the ISC License. * * Copyright (c) 2014 Richard Harrah * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission notice appear in all copi...
src/main/java/info/faceland/loot/items/LootItemBuilder.java
/* * This file is part of Loot, licensed under the ISC License. * * Copyright (c) 2014 Richard Harrah * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission notice appear in all copi...
fixing some lore bugs
src/main/java/info/faceland/loot/items/LootItemBuilder.java
fixing some lore bugs
<ide><path>rc/main/java/info/faceland/loot/items/LootItemBuilder.java <ide> List<String> lore = new ArrayList<>(tier.getBaseLore()); <ide> lore.addAll(plugin.getSettings().getStringList("corestats." + material.name(), <ide> new ArrayList<String>()))...
Java
mit
9ed80b6bb68bf8dd38f239fc9ab1db763d3478af
0
cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm
package cucumber.runtime; import cucumber.api.Plugin; import cucumber.api.StepDefinitionReporter; import cucumber.api.event.TestRunFinished; import cucumber.api.event.TestRunStarted; import cucumber.runner.EventBus; import cucumber.runner.TimeService; import cucumber.runner.TimeServiceEventBus; import cucumber.runner....
core/src/main/java/cucumber/runtime/Runtime.java
package cucumber.runtime; import cucumber.api.Plugin; import cucumber.api.StepDefinitionReporter; import cucumber.api.event.TestRunFinished; import cucumber.api.event.TestRunStarted; import cucumber.runner.EventBus; import cucumber.runner.TimeService; import cucumber.runner.TimeServiceEventBus; import cucumber.runner....
[Core] Use meaningful thread names (#1623) Before it was using the standard threadfactory, which was naming threads like `pool-x-thread-y`. Now it is `cucumber-runner-y-thread-x`. This better for logging to see which threads belong to cucumber and which are unrelated background
core/src/main/java/cucumber/runtime/Runtime.java
[Core] Use meaningful thread names (#1623)
<ide><path>ore/src/main/java/cucumber/runtime/Runtime.java <ide> import java.util.concurrent.AbstractExecutorService; <ide> import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.Executors; <add>import java.util.concurrent.ThreadFactory; <ide> import java.util.concurrent.TimeUnit; <add>import ja...
JavaScript
mit
086c12fb654fb1a71eb6df9a047f1f2cace8a979
0
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
(function (GOVUK) { 'use strict' GOVUK.Analytics.load() GOVUK.analyticsVars = { primaryLinkedDomains: [document.domain] } GOVUK.analytics = new GOVUK.Analytics({ universalId: 'UA-26179049-6', // GOVUK Apps GA ID cookieDomain: document.domain }) GOVUK.analytics.trackPageview() GOVUK.analyticsPlug...
app/assets/javascripts/admin/modules/analytics.js
(function (GOVUK) { 'use strict' GOVUK.Analytics.load() GOVUK.analyticsVars = { primaryLinkedDomains: [document.domain] } GOVUK.analytics = new GOVUK.Analytics({ universalId: 'UA-26179049-6', // GOVUK Apps GA ID cookieDomain: document.domain }) GOVUK.analytics.trackPageview() })(window.GOVUK)
Enable external link tracking plugin This is needed to track external links on whitehall. Previously, we had external link tracking but this was lost during the transition. It was assumed that external links were automatically tracked but the implementation requires the plugin to be called.
app/assets/javascripts/admin/modules/analytics.js
Enable external link tracking plugin
<ide><path>pp/assets/javascripts/admin/modules/analytics.js <ide> }) <ide> <ide> GOVUK.analytics.trackPageview() <add> GOVUK.analyticsPlugins.externalLinkTracker() <ide> })(window.GOVUK)
Java
agpl-3.0
ba7ad29c1a275732bf2780708949aa7d8e0dcf28
0
mbenguig/scheduling,fviale/scheduling,fviale/scheduling,fviale/scheduling,ow2-proactive/scheduling,mbenguig/scheduling,ow2-proactive/scheduling,mbenguig/scheduling,mbenguig/scheduling,mbenguig/scheduling,ow2-proactive/scheduling,fviale/scheduling,ow2-proactive/scheduling,mbenguig/scheduling,fviale/scheduling,fviale/sch...
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
rm/rm-server/src/main/java/org/ow2/proactive/resourcemanager/nodesource/infrastructure/SSHInfrastructureV2.java
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
Update sshinfrav2 (#4024) * changing the description of SSHInfraV2 deploymentMode
rm/rm-server/src/main/java/org/ow2/proactive/resourcemanager/nodesource/infrastructure/SSHInfrastructureV2.java
Update sshinfrav2 (#4024)
<ide><path>m/rm-server/src/main/java/org/ow2/proactive/resourcemanager/nodesource/infrastructure/SSHInfrastructureV2.java <ide> @Configurable(description = "Options for the java command launching the node on the remote hosts", sectionSelector = 3) <ide> protected String javaOptions; <ide> <del> @Configurabl...
JavaScript
mit
4662013ecd9c20c8f2c43ccceb656fcb0d9d8505
0
Ajnasz/ajn-session
/*jslint node: true, es5: true */ var cookie = require('ajncookie'); var sessions = {}; function generateSession() { var sessionId = new Date().getTime(), id = '', max = 10, min = 1, chars; chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',...
index.js
/*jslint node: true, es5: true */ var cookie = require('ajncookie'); var sessions = {}; function generateSession() { var sessionId = new Date().getTime(), id = '', max = 10, min = 1, chars; chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',...
support for object in sessions
index.js
support for object in sessions
<ide><path>ndex.js <ide> size += Buffer.byteLength(sess.data[name]); <ide> } <ide> }); <del> return true <del> // return (size + Buffer.byteLength(value)) <= this.maxSize; <add> <add> if (typeof value !== 'string') { <add> value = JSON.stringify(value); <add> } <add> <add> ...
Java
epl-1.0
55124b84c2d16d0367da0a248c39424c647d3b4a
0
kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display....
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * 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 distributi...
org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/ScaledSliderRepresentation.java
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * 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 distributi...
scaled slider: clean up limits_from_pv to allow for NaN limits
org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/ScaledSliderRepresentation.java
scaled slider: clean up limits_from_pv to allow for NaN limits
<ide><path>rg.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/ScaledSliderRepresentation.java <ide> import javafx.geometry.Orientation; <ide> import javafx.geometry.Pos; <ide> import javafx.geometry.VPos; <del>import javafx.scene.Node; <ide> import javafx.sc...
Java
apache-2.0
b4660b0e4764383d16aac593826340788330c891
0
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
/* Copyright 2013 Nationale-Nederlanden 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...
core/src/main/java/nl/nn/adapterframework/util/XmlUtils.java
/* Copyright 2013 Nationale-Nederlanden 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...
Added note to encodeChars() methods about replaceNonValidXmlCharacters() and stripNonValidXmlCharacters() methods
core/src/main/java/nl/nn/adapterframework/util/XmlUtils.java
Added note to encodeChars() methods about replaceNonValidXmlCharacters() and stripNonValidXmlCharacters() methods
<ide><path>ore/src/main/java/nl/nn/adapterframework/util/XmlUtils.java <ide> } <ide> <ide> /** <del> * translates special characters to xml equivalents <del> * like <b>&gt;</b> and <b>&amp;</b> <add> * Translates special characters to xml equivalents <add> * like <b>&gt;</b> and <b>&amp;</b>. Please note that no...
Java
apache-2.0
error: pathspec 'vnfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/ConfigureTask.java' did not match any file(s) known to git
386c6a46e6f69f948f248420a0ab1ba84d6b51cf
1
openbaton/NFVO,openbaton/NFVO
package org.project.openbaton.nfvo.vnfm_reg.tasks; import org.project.openbaton.catalogue.mano.record.Status; import org.project.openbaton.catalogue.nfvo.Action; import org.project.openbaton.catalogue.nfvo.CoreMessage; import org.project.openbaton.nfvo.vnfm_reg.VnfmRegister; import org.project.openbaton.nfvo.vnfm_reg....
vnfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/ConfigureTask.java
added ConfigureTask
vnfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/ConfigureTask.java
added ConfigureTask
<ide><path>nfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/ConfigureTask.java <add>package org.project.openbaton.nfvo.vnfm_reg.tasks; <add> <add>import org.project.openbaton.catalogue.mano.record.Status; <add>import org.project.openbaton.catalogue.nfvo.Action; <add>import org.project.openbaton.cat...
Java
apache-2.0
a3a41dae3711f01e13110ed266e9e825b710e986
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * 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...
activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.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...
https://issues.apache.org/jira/browse/AMQ-5087 - fix up test use of initial delay
activemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java
https://issues.apache.org/jira/browse/AMQ-5087 - fix up test use of initial delay
<ide><path>ctivemq-unit-tests/src/test/java/org/apache/activemq/broker/BrokerRedeliveryTest.java <ide> final ActiveMQQueue destination = new ActiveMQQueue("Redelivery"); <ide> final String data = "hi"; <ide> final long redeliveryDelayMillis = 2000; <del> final long initialRedeliveryDelayMillis = 4000; <a...
Java
mit
c8050a06c031b9d2871002f86f4f11ed64ef5a1f
0
qrsforever/workspace,qrsforever/workspace,qrsforever/workspace,qrsforever/workspace,qrsforever/workspace,qrsforever/workspace,qrsforever/workspace,qrsforever/workspace
package com.leeco.lock; import java.io.InputStreamReader; import java.io.Reader; import java.io.IOException; public class LockMain { // private Object o = new Object(); private void doInThread(String name) { synchronized(this) { try { System.out.println("wait [" + name + ...
java/test/lock/synchronized/src/com/leeco/lock/LockMain.java
package com.leeco.lock; import java.io.InputStreamReader; import java.io.Reader; import java.io.IOException; public class LockMain { // private Object o = new Object(); private void doInThread(String name) { synchronized(this) { try { System.out.println("wait [" + name + ...
noise
java/test/lock/synchronized/src/com/leeco/lock/LockMain.java
noise
<ide><path>ava/test/lock/synchronized/src/com/leeco/lock/LockMain.java <ide> synchronized(this) { <ide> try { <ide> System.out.println("wait [" + name + "]"); <del> this.wait(); // 释放对象锁 <add> this.wait(); // 释放对象锁 (首先必须握有对象锁,即synchronized(x) then x.wa...
Java
mit
error: pathspec 'src/test/java/guitests/FindTagCommandTest.java' did not match any file(s) known to git
ae43565eec885a4deaad6abbfa67446a22b8fbbb
1
CS2103AUG2016-T14-C4/main,CS2103AUG2016-T14-C4/main
package guitests; import org.junit.Test; import seedu.task.commons.core.Messages; import seedu.task.testutil.TestTask; import static org.junit.Assert.assertTrue; public class FindTagCommandTest extends TaskManagerGuiTest { @Test public void findTagNonEmptyList() { assertFindTagResult("find-tag noti...
src/test/java/guitests/FindTagCommandTest.java
Add test for find command
src/test/java/guitests/FindTagCommandTest.java
Add test for find command
<ide><path>rc/test/java/guitests/FindTagCommandTest.java <add>package guitests; <add> <add>import org.junit.Test; <add> <add>import seedu.task.commons.core.Messages; <add>import seedu.task.testutil.TestTask; <add> <add>import static org.junit.Assert.assertTrue; <add> <add>public class FindTagCommandTest extends TaskMan...