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
epl-1.0
690f39ed068538adbe93f579a28998ae34b3a546
0
codeurjc/optsicom-framework,codeurjc/optsicom-framework,samuelmartingc/optsicom-framework,samuelmartingc/optsicom-framework,codeurjc/optsicom-framework,codeurjc/optsicom-framework,samuelmartingc/optsicom-framework,codeurjc/optsicom-framework
/******************************************************************************* * Copyright (c) Gavab Research Group. Universidad Rey Juan Carlos. * http://www.gavab.es * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * ...
es.optsicom.lib.util/src/main/java/es/optsicom/lib/util/TabuList.java
/******************************************************************************* * Copyright (c) Gavab Research Group. Universidad Rey Juan Carlos. * http://www.gavab.es * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * ...
dynamic tabuTenure support
es.optsicom.lib.util/src/main/java/es/optsicom/lib/util/TabuList.java
dynamic tabuTenure support
<ide><path>s.optsicom.lib.util/src/main/java/es/optsicom/lib/util/TabuList.java <ide> this.tabuTenure = tabuTenure; <ide> } <ide> <add> public void setTabuTenure(int tabuTenure) { <add> this.tabuTenure = tabuTenure; <add> } <add> <ide> /* <ide> * (non-Javadoc) <ide> * <ide> return; <ide> } <ide> tabuE...
Java
apache-2.0
54f21ba13234e398b1f0919f20a054af5767d994
0
madmax983/aura,badlogicmanpreet/aura,badlogicmanpreet/aura,madmax983/aura,forcedotcom/aura,badlogicmanpreet/aura,forcedotcom/aura,badlogicmanpreet/aura,badlogicmanpreet/aura,madmax983/aura,madmax983/aura,badlogicmanpreet/aura,forcedotcom/aura,forcedotcom/aura,madmax983/aura,madmax983/aura,forcedotcom/aura
/* * Copyright (C) 2013 salesforce.com, 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 ...
aura/src/main/java/org/auraframework/Aura.java
/* * Copyright (C) 2013 salesforce.com, 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 ...
cleanup
aura/src/main/java/org/auraframework/Aura.java
cleanup
<ide><path>ura/src/main/java/org/auraframework/Aura.java <ide> */ <ide> @ServiceComponent <ide> public class Aura { <add> <ide> private static ClientLibraryService clientLibraryService; <ide> <ide> @Inject <ide> public static LoggingService getLoggingService() { <ide> return Aura.get(LoggingServic...
JavaScript
apache-2.0
22851eeb53550b9dcf8690b487ac7ced7c989833
0
wmarques/generator-jhipster,mosoft521/generator-jhipster,rkohel/generator-jhipster,ruddell/generator-jhipster,erikkemperman/generator-jhipster,JulienMrgrd/generator-jhipster,stevehouel/generator-jhipster,robertmilowski/generator-jhipster,Tcharl/generator-jhipster,duderoot/generator-jhipster,PierreBesson/generator-jhips...
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %> 'use strict'; var proxySnippet = require('grunt-connect-proxy/lib/utils').proxyRequest; // usemin custom step var path = require('path'); var useminAutoprefixer = { name: 'autoprefixer', createConfig: functi...
app/templates/Gruntfile.js
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %> 'use strict'; var proxySnippet = require('grunt-connect-proxy/lib/utils').proxyRequest; // usemin custom step var path = require('path'); var useminAutoprefixer = { name: 'autoprefixer', createConfig: functi...
Fixes #960, renamed 'grunt server' task to 'grunt serve'
app/templates/Gruntfile.js
Fixes #960, renamed 'grunt server' task to 'grunt serve'
<ide><path>pp/templates/Gruntfile.js <ide> } <ide> }); <ide> <del> grunt.registerTask('server', function (target) { <add> grunt.registerTask('serve', function (target) { <ide> if (target === 'dist') { <ide> return grunt.task.run(['build', 'connect:dist:keepalive']); <ide> ...
Java
apache-2.0
ce7948d6e72f2399caeeb279e1702225c89cdad3
0
alibaba/canal,alibaba/canal,alibaba/canal,alibaba/canal,alibaba/canal
package com.alibaba.otter.canal.client.adapter.support; import java.util.*; import com.alibaba.otter.canal.protocol.CanalEntry; import com.alibaba.otter.canal.protocol.FlatMessage; import com.alibaba.otter.canal.protocol.Message; /** * Message对象解析工具类 * * @author rewerma 2018-8-19 下午06:14:23 * @version 1.0.0 */ ...
client-adapter/common/src/main/java/com/alibaba/otter/canal/client/adapter/support/MessageUtil.java
package com.alibaba.otter.canal.client.adapter.support; import java.util.*; import com.alibaba.otter.canal.protocol.CanalEntry; import com.alibaba.otter.canal.protocol.FlatMessage; import com.alibaba.otter.canal.protocol.Message; /** * Message对象解析工具类 * * @author rewerma 2018-8-19 下午06:14:23 * @version 1.0.0 */ ...
fix Message转Dml对null值的bug (#1808) * Message转Dml对null值的判断 * Message转Dml对null值的判断 * Message转Dml对null值的判断
client-adapter/common/src/main/java/com/alibaba/otter/canal/client/adapter/support/MessageUtil.java
fix Message转Dml对null值的bug (#1808)
<ide><path>lient-adapter/common/src/main/java/com/alibaba/otter/canal/client/adapter/support/MessageUtil.java <ide> dml.getPkNames().add(column.getName()); <ide> } <ide> } <del> row.put(column.getName(), <del> ...
Java
agpl-3.0
5455ddc6b8d3a75f81e45885c278eed1cc80bc08
0
elki-project/elki,elki-project/elki,elki-project/elki
package de.lmu.ifi.dbs.elki.visualization.css; import java.util.Collection; import java.util.HashMap; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Text; import de.lmu.ifi.dbs.elki.visualization.svg.SVGUtil; /** * Manager class to track CSS classes used in a particular SVG document. ...
src/de/lmu/ifi/dbs/elki/visualization/css/CSSClassManager.java
package de.lmu.ifi.dbs.elki.visualization.css; import java.util.Collection; import java.util.HashMap; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Text; import de.lmu.ifi.dbs.elki.visualization.svg.SVGUtil; /** * Manager class to track CSS classes used in a particular SVG document. ...
Add CSS class accessor methods.
src/de/lmu/ifi/dbs/elki/visualization/css/CSSClassManager.java
Add CSS class accessor methods.
<ide><path>rc/de/lmu/ifi/dbs/elki/visualization/css/CSSClassManager.java <ide> throw new CSSNamingConflict("CSS class naming conflict between "+clss.getOwner().toString()+" and "+existing.getOwner().toString()); <ide> } <ide> return store.put(clss.getName(), clss); <add> } <add> <add> /** <add> * Re...
Java
bsd-3-clause
f490642f3d73bc1b77d02f3aab9fc27ff2721224
0
threerings/ooo-util
// // ooo-util - a place for OOO utilities // Copyright (C) 2011 Three Rings Design, Inc., All Rights Reserved // http://github.com/threerings/ooo-util/blob/master/LICENSE package com.threerings.servlet.util; import com.samskivert.util.LogBuilder; /** * Indicates that a converter couldn't handle a parameter value i...
src/main/java/com/threerings/servlet/util/ConversionFailedException.java
// // ooo-util - a place for OOO utilities // Copyright (C) 2011 Three Rings Design, Inc., All Rights Reserved // http://github.com/threerings/ooo-util/blob/master/LICENSE package com.threerings.servlet.util; import com.samskivert.util.LogBuilder; /** * Indicates that a converter couldn't handle a parameter value i...
Fix javadoc.
src/main/java/com/threerings/servlet/util/ConversionFailedException.java
Fix javadoc.
<ide><path>rc/main/java/com/threerings/servlet/util/ConversionFailedException.java <ide> import com.samskivert.util.LogBuilder; <ide> <ide> /** <del> * Indicates that a converter couldn't handle a parameter value in {@Parameters}. <add> * Indicates that a converter couldn't handle a parameter value in {@link Parameter...
Java
lgpl-2.1
c03af8628952917f3f477361df2b7e8af6b25c40
0
xwiki-contrib/oidc
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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.1 of * th...
oidc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/internal/OIDCUserManager.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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.1 of * th...
replace tabs with whitespaces
oidc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/internal/OIDCUserManager.java
replace tabs with whitespaces
<ide><path>idc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/internal/OIDCUserManager.java <ide> <ide> private void checkAllowedGroups(UserInfo userInfo) throws OIDCException <ide> { <del> List<String> providerGroups = null; <add> List<String> providerGroups = null; <ide> Object pr...
Java
apache-2.0
cbed084873ab6d55c9f3f26cf1750489aedfac50
0
eayun/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,halober/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,ea...
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.action.VmOperationParameterBase; import org.ovirt.engine.core.common.businessentities.VM; import org.ovirt.engine.core.common.businessentities.VMStatus; import org.ovirt.engine.core.compat.Guid; import org.ovirt.engine.core.utils.log.Log; import or...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmOperationCommandBase.java
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.action.VmOperationParameterBase; import org.ovirt.engine.core.common.businessentities.VM; import org.ovirt.engine.core.common.businessentities.VMStatus; import org.ovirt.engine.core.compat.Guid; import org.ovirt.engine.core.utils.log.Log; import or...
core: rename method to lowercase in VmOperationCommandBase Change-Id: I87b7f3377bf8f754a7c227f63d4088b5a53b56e1 Signed-off-by: Alissa Bonas <fb6f204bea4868e5fad08a7576b6b090e7fa2b20@redhat.com>
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmOperationCommandBase.java
core: rename method to lowercase in VmOperationCommandBase
<ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmOperationCommandBase.java <ide> <ide> @Override <ide> protected void executeVmCommand() { <del> if (GetRunningOnVds()) { <add> if (getRunningOnVds()) { <ide> perform(); <ide> return; <ide> ...
JavaScript
mit
96e0e92fe771fc7dbac646e056dfc05509d3d2cc
0
mikeymicrophone/blue-ridge,wycats/blue-ridge,wycats/blue-ridge,wycats/blue-ridge,relevance/blue-ridge,relevance/blue-ridge,infopark/vendor_blue-ridge,mikeymicrophone/blue-ridge,wycats/blue-ridge,infopark/vendor_blue-ridge
/* * env.rhino.js */ var __env__ = {}; (function($env){ //You can emulate different user agents by overriding these after loading env $env.appCodeName = "EnvJS";//eg "Mozilla" $env.appName = "Resig/20070309 BirdDog/0.0.0.1";//eg "Gecko/20070309 Firefox/2.0.0.3" //set this to true and see profil...
lib/env.rhino.js
/* * env.rhino.js */ var __env__ = {}; (function($env){ $env.debug = function(){}; $env.log = function(){}; //uncomment this if you want to get some internal log statementes //$env.log = print; $env.log("Initializing Rhino Platform Env"); $env.error = function(msg, e){ print("ERROR! : " + msg); ...
Updated env.rhino.js to Chris Thatcher's latest branch.
lib/env.rhino.js
Updated env.rhino.js to Chris Thatcher's latest branch.
<ide><path>ib/env.rhino.js <ide> */ <ide> var __env__ = {}; <ide> (function($env){ <del> <del> $env.debug = function(){}; <del> <del> $env.log = function(){}; <del> //uncomment this if you want to get some internal log statementes <del> //$env.log = print; <del> $env.log("Initializing Rhino Platform Env"); <del...
Java
apache-2.0
c77ec6c5e48c89ae2b641aa58e50b207d3edeaf0
0
fusesource/jansi,fusesource/jansi,fusesource/jansi
/*-------------------------------------------------------------------------- * Copyright 2007 Taro L. Saito * * 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.apach...
src/main/java/org/fusesource/jansi/internal/JansiLoader.java
/*-------------------------------------------------------------------------- * Copyright 2007 Taro L. Saito * * 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.apach...
Just use a plain random to avoid a dependency on SecureRandom
src/main/java/org/fusesource/jansi/internal/JansiLoader.java
Just use a plain random to avoid a dependency on SecureRandom
<ide><path>rc/main/java/org/fusesource/jansi/internal/JansiLoader.java <ide> *--------------------------------------------------------------------------*/ <ide> package org.fusesource.jansi.internal; <ide> <del>import java.io.BufferedOutputStream; <ide> import java.io.File; <ide> import java.io.FileInputStream; <ide>...
Java
agpl-3.0
4d1b7189300e0be5b3694df8a980241b1fe7595f
0
m-sc/yamcs,dhosa/yamcs,dhosa/yamcs,bitblit11/yamcs,fqqb/yamcs,bitblit11/yamcs,bitblit11/yamcs,dhosa/yamcs,bitblit11/yamcs,m-sc/yamcs,m-sc/yamcs,fqqb/yamcs,m-sc/yamcs,yamcs/yamcs,yamcs/yamcs,dhosa/yamcs,m-sc/yamcs,dhosa/yamcs,fqqb/yamcs,m-sc/yamcs,yamcs/yamcs,fqqb/yamcs,yamcs/yamcs,fqqb/yamcs,bitblit11/yamcs,yamcs/yamcs...
package org.yamcs; import org.yamcs.api.AbstractEventProducer; import org.yamcs.archive.EventRecorder; import org.yamcs.protobuf.Yamcs.Event; import org.yamcs.time.TimeService; import org.yamcs.utils.TimeEncoding; import org.yamcs.yarch.Stream; import org.yamcs.yarch.Tuple; import org.yamcs.yarch.TupleDefinition; impo...
yamcs-core/src/main/java/org/yamcs/StreamEventProducer.java
package org.yamcs; import org.hornetq.api.core.HornetQException; import org.yamcs.api.AbstractEventProducer; import org.yamcs.archive.EventRecorder; import org.yamcs.protobuf.Yamcs.Event; import org.yamcs.time.TimeService; import org.yamcs.utils.TimeEncoding; import org.yamcs.yarch.Stream; import org.yamcs.yarch.Tuple...
cleanup
yamcs-core/src/main/java/org/yamcs/StreamEventProducer.java
cleanup
<ide><path>amcs-core/src/main/java/org/yamcs/StreamEventProducer.java <ide> package org.yamcs; <ide> <del>import org.hornetq.api.core.HornetQException; <ide> import org.yamcs.api.AbstractEventProducer; <ide> import org.yamcs.archive.EventRecorder; <ide> import org.yamcs.protobuf.Yamcs.Event;
Java
mit
34060b1357a867eeb990e77195dba0330dfb1ab9
0
ruuvi/Android_RuuvitagScanner,ruuvi/Android_RuuvitagScanner,io53/Android_RuuvitagScanner,io53/Android_RuuvitagScanner
package com.ruuvi.tag.feature.main; import android.Manifest; import android.app.AlarmManager; import android.app.Fragment; import android.app.PendingIntent; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import ...
app/src/main/java/com/ruuvi/tag/feature/main/MainActivity.java
package com.ruuvi.tag.feature.main; import android.Manifest; import android.app.AlarmManager; import android.app.Fragment; import android.app.PendingIntent; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import ...
another nullcheck for actionbar things
app/src/main/java/com/ruuvi/tag/feature/main/MainActivity.java
another nullcheck for actionbar things
<ide><path>pp/src/main/java/com/ruuvi/tag/feature/main/MainActivity.java <ide> ); <ide> <ide> drawerLayout.addDrawerListener(drawerToggle); <del> getSupportActionBar().setDisplayHomeAsUpEnabled(true); <del> getSupportActionBar().setHomeButtonEnabled(true); <add> if (getSupportActio...
Java
apache-2.0
error: pathspec 'java/episim-model/src/test/java/nl/rivm/cib/episim/model/EcosystemScenarioTest.java' did not match any file(s) known to git
f8ab4d0a4838f71426f3d30f06cdf502635aefed
1
krevelen/rivm-episim,krevelen/epidemes,krevelen/rivm-episim,krevelen/epidemes,krevelen/epidemes,krevelen/rivm-episim,krevelen/rivm-episim
/* $Id$ * * Part of ZonMW project no. 50-53000-98-156 * * @license * 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 requi...
java/episim-model/src/test/java/nl/rivm/cib/episim/model/EcosystemScenarioTest.java
Added EcosystemTest stub, to experiment with Enterprise Ontology
java/episim-model/src/test/java/nl/rivm/cib/episim/model/EcosystemScenarioTest.java
Added EcosystemTest stub, to experiment with Enterprise Ontology
<ide><path>ava/episim-model/src/test/java/nl/rivm/cib/episim/model/EcosystemScenarioTest.java <add>/* $Id$ <add> * <add> * Part of ZonMW project no. 50-53000-98-156 <add> * <add> * @license <add> * Licensed under the Apache License, Version 2.0 (the "License"); you may not <add> * use this file except in compliance w...
Java
apache-2.0
4c73227b1b3975989427adf13e186042569a7fb2
0
whumph/sakai,noondaysun/sakai,frasese/sakai,duke-compsci290-spring2016/sakai,introp-software/sakai,bzhouduke123/sakai,ouit0408/sakai,hackbuteer59/sakai,bkirschn/sakai,Fudan-University/sakai,frasese/sakai,puramshetty/sakai,puramshetty/sakai,Fudan-University/sakai,frasese/sakai,OpenCollabZA/sakai,clhedrick/sakai,bkirschn...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/services/GradingService.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
SAM-2337 fix for no answer in calculated scoring git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@309468 66ffb92e-73f9-0310-93c1-f5514f145a0a
samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/services/GradingService.java
SAM-2337 fix for no answer in calculated scoring
<ide><path>amigo/samigo-services/src/java/org/sakaiproject/tool/assessment/services/GradingService.java <ide> <ide> if (data.getAnswerText() == null) return totalScore; // zero for blank <ide> <add> if (!calculatedAnswersMap.containsKey(calcQuestionAnswerSequence)) { <add> return totalScore; <add> } <...
Java
mit
572a86313fd24be653734eeb6e045d347f0343a7
0
selig/qea
package creation; import static structure.impl.other.Quantification.EXISTS; import static structure.impl.other.Quantification.FORALL; import static structure.impl.other.Quantification.NONE; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.u...
code/qea/src/creation/QEABuilder.java
package creation; import static structure.impl.other.Quantification.EXISTS; import static structure.impl.other.Quantification.FORALL; import static structure.impl.other.Quantification.NONE; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.u...
*Comment added
code/qea/src/creation/QEABuilder.java
*Comment added
<ide><path>ode/qea/src/creation/QEABuilder.java <ide> return max; <ide> } <ide> <add> // TODO Free variables in guards/assignments not present in transitions are <add> // not being considered <ide> private int countFreeVars() { <ide> Set<Integer> qvars = new HashSet<Integer>(); <ide> int max = 0;
Java
apache-2.0
a648205bff464f9f59c0af726d20e9c81401c494
0
tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki
/* * (C) Janne Jalkanen 2005 * */ package com.ecyrd.jspwiki.dav.items; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import org.apache.commons.lang.time.DateFormatUtils; import org.jdom.Element; import org.jdom.Namespace; import com.ecyrd.jspwiki.dav....
src/com/ecyrd/jspwiki/dav/items/DirectoryItem.java
/* * (C) Janne Jalkanen 2005 * */ package com.ecyrd.jspwiki.dav.items; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import org.apache.commons.lang.time.DateFormatUtils; import org.jdom.Element; import org.jdom.Namespace; import com.ecyrd.jspwiki.dav....
Added two-layer pages. git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@624350 13f79535-47bb-0310-9956-ffa450edef68
src/com/ecyrd/jspwiki/dav/items/DirectoryItem.java
Added two-layer pages.
<ide><path>rc/com/ecyrd/jspwiki/dav/items/DirectoryItem.java <ide> <ide> public String getHref() <ide> { <del> String davurl = m_path.getName(); //FIXME: Fixed, should determine from elsewhere <del> <del> if( !davurl.endsWith("/") ) davurl+="/"; <del> <del> return m_provide...
Java
mit
209116ec5c36c5eea1d0485f70922ce649b87948
0
solinor/paymenthighway-java-lib
package io.paymenthighway.model.response; import com.fasterxml.jackson.annotation.JsonProperty; public class MobilePayStatusResponse extends Response { @JsonProperty("status") private String status; @JsonProperty("transaction_id") private String transactionId; @JsonProperty("valid_until") private String validUn...
src/main/java/io/paymenthighway/model/response/MobilePayStatusResponse.java
package io.paymenthighway.model.response; import com.fasterxml.jackson.annotation.JsonProperty; public class MobilePayStatusResponse extends Response { @JsonProperty("status") private String status; @JsonProperty("transaction-id") private String transactionId; @JsonProperty("valid-until") private String validUn...
Use snake_case for json keys.
src/main/java/io/paymenthighway/model/response/MobilePayStatusResponse.java
Use snake_case for json keys.
<ide><path>rc/main/java/io/paymenthighway/model/response/MobilePayStatusResponse.java <ide> <ide> public class MobilePayStatusResponse extends Response { <ide> @JsonProperty("status") private String status; <del> @JsonProperty("transaction-id") private String transactionId; <del> @JsonProperty("valid-until") priva...
Java
apache-2.0
0ec66973f88dc76081ee02bcf79f4a7e2dc02cc4
0
hbs/oss,hbs/oss,hbs/oss
/* * Copyright 2012-2013 Mathias Herberts * * 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 appli...
src/main/java/com/geoxp/oss/CryptoHelper.java
/* * Copyright 2012-2013 Mathias Herberts * * 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 appli...
Add javadoc to addIdentity method
src/main/java/com/geoxp/oss/CryptoHelper.java
Add javadoc to addIdentity method
<ide><path>rc/main/java/com/geoxp/oss/CryptoHelper.java <ide> /** <ide> * Add an identity to the agent <ide> * <del> */ <del> public Boolean addIdentity(byte[] keyblob, String comment) throws IOException { <add> * @param keyblob SSH key blob <add> * @param comment A comment to describe the...
Java
agpl-3.0
8cf240a95675dad94cfa48350892c14edfe7d6f6
0
RestComm/jss7,RestComm/jss7
/* * UssdsimulatorView.java */ package org.mobicents.protocols.ss7.ussdsimulator; import java.util.logging.Level; import java.util.logging.Logger; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.applicat...
tools/ussd-simulator/src/main/java/org/mobicents/protocols/ss7/ussdsimulator/UssdsimulatorView.java
/* * UssdsimulatorView.java */ package org.mobicents.protocols.ss7.ussdsimulator; import java.util.logging.Level; import java.util.logging.Logger; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.applicat...
git-svn-id: https://mobicents.googlecode.com/svn/trunk/protocols/ss7@11929 bf0df8d0-2c1f-0410-b170-bd30377b63dc
tools/ussd-simulator/src/main/java/org/mobicents/protocols/ss7/ussdsimulator/UssdsimulatorView.java
<ide><path>ools/ussd-simulator/src/main/java/org/mobicents/protocols/ss7/ussdsimulator/UssdsimulatorView.java <ide> //dont set more, until statics are defined! <ide> gt.setDigits("5557779"); <ide> peer1Address.setGlobalTitle(gt); <add> peer1Address.setGlobalTitleIndicator(4);//for GT 100 <ide> <id...
Java
apache-2.0
b81316a6c33b4d8631eb21514516211ba3493680
0
MatthewTamlin/Avatar
package com.matthewtamlin.java_compiler_utilities.element_supplier; /** * Exception which indicates that a unique element for some criteria could not be found when searching a source file. */ public class UniqueElementNotFoundException extends RuntimeException { public UniqueElementNotFoundException() { super(); ...
library/src/main/java/com/matthewtamlin/java_compiler_utilities/element_supplier/UniqueElementNotFoundException.java
package com.matthewtamlin.java_compiler_utilities.element_supplier; /** * An exception to indicate that a unique element for some criteria could not be found when searching a source file. */ public class UniqueElementNotFoundException extends RuntimeException { public UniqueElementNotFoundException() { super(); ...
Changed Javadoc
library/src/main/java/com/matthewtamlin/java_compiler_utilities/element_supplier/UniqueElementNotFoundException.java
Changed Javadoc
<ide><path>ibrary/src/main/java/com/matthewtamlin/java_compiler_utilities/element_supplier/UniqueElementNotFoundException.java <ide> package com.matthewtamlin.java_compiler_utilities.element_supplier; <ide> <ide> /** <del> * An exception to indicate that a unique element for some criteria could not be found when searc...
Java
epl-1.0
5ffdafda691ace48078fbdfe8829a98f1c51d5ca
0
vitruv-tools/Vitruv
package tools.vitruv.framework.vsum.ui; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IExtension; import org.eclipse.core.runtime.IExtensionPoint; import org.eclipse.core.runtime.IExtensionRegistry; import org.eclipse.core.runtime.Platfor...
bundles/framework/tools.vitruv.framework.vsum.ui/src/tools/vitruv/framework/vsum/ui/DomainSelectionPage.java
package tools.vitruv.framework.vsum.ui; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IExtension; import org.eclipse.core.runtime.IExtensionPoint; import org.eclipse.core.runtime.IExtensionRegistry; import org.eclipse.core.runtime.Platfor...
Finally fix the ’too many items’ problem of the tree.
bundles/framework/tools.vitruv.framework.vsum.ui/src/tools/vitruv/framework/vsum/ui/DomainSelectionPage.java
Finally fix the ’too many items’ problem of the tree.
<ide><path>undles/framework/tools.vitruv.framework.vsum.ui/src/tools/vitruv/framework/vsum/ui/DomainSelectionPage.java <ide> import org.eclipse.swt.widgets.Tree; <ide> import org.eclipse.swt.widgets.TreeItem; <ide> <add>import java.util.List; <add>import java.util.Arrays; <ide> import java.util.HashMap; <ide> import j...
Java
apache-2.0
ded2b94bfb057673dde6b642edfe25145f9a8048
0
TanayParikh/foam2,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,TanayParikh/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,TanayParikh/foam2,TanayParikh/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.nanos.boot; import foam.core.*; import foam.dao.*; import foam.nanos.*; public class Boot { protected DAO serviceDAO_; protected X root_ = new ProxyX(); public Boot() { ...
java_src/foam/nanos/boot/Boot.java
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.nanos.boot; import foam.core.*; import foam.dao.*; import foam.nanos.*; public class Boot { protected DAO serviceDAO_; protected X root_ = new ProxyX(); public Boot() { ...
Changes to boot service
java_src/foam/nanos/boot/Boot.java
Changes to boot service
<ide><path>ava_src/foam/nanos/boot/Boot.java <ide> import foam.nanos.*; <ide> <ide> public class Boot { <del> <ide> protected DAO serviceDAO_; <ide> protected X root_ = new ProxyX(); <ide> <ide> System.out.println("NSpec: " + sp.getName()); <ide> <ide> try { <del> NanoService ns = sp.c...
Java
mit
error: pathspec 'src/main/java/hk/ust/isom3320/assignment/Statistics.java' did not match any file(s) known to git
2a63ece6649135b13a354282a756553a51763e43
1
chpoon92/display-statistics-java
package hk.ust.isom3320.assignment.Statistics import java.util.Scanner; import java.io.File; public class assignment{ public static void main(String[] args) throws Exception{ System.out.print("Please input the path of the file: "); Scanner filePathInput = new Scanner(System.in); String filePath = filePathInput...
src/main/java/hk/ust/isom3320/assignment/Statistics.java
Add finalized source codes
src/main/java/hk/ust/isom3320/assignment/Statistics.java
Add finalized source codes
<ide><path>rc/main/java/hk/ust/isom3320/assignment/Statistics.java <add>package hk.ust.isom3320.assignment.Statistics <add> <add>import java.util.Scanner; <add>import java.io.File; <add> <add>public class assignment{ <add> public static void main(String[] args) throws Exception{ <add> System.out.print("Please input th...
Java
apache-2.0
46d9b4cf085692cd4fe72dd12ccb7c7f635ba2c6
0
HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase
/** * * 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"); ...
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWALMonotonicallyIncreasingSeqId.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"); ...
HBASE-19493 Make TestWALMonotonicallyIncreasingSeqId also work with AsyncFSWAL
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWALMonotonicallyIncreasingSeqId.java
HBASE-19493 Make TestWALMonotonicallyIncreasingSeqId also work with AsyncFSWAL
<ide><path>base-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWALMonotonicallyIncreasingSeqId.java <ide> */ <ide> package org.apache.hadoop.hbase.regionserver; <ide> <add>import static org.junit.Assert.fail; <add> <add>import java.io.IOException; <add>import java.util.ArrayList; <add>import java.util....
Java
epl-1.0
0d008e16c78447616ce700ef5e79c17c2a7a18c5
0
bpsm/edn-java
package bpsm.edn.parser; import static bpsm.edn.model.Symbol.newSymbol; import static bpsm.edn.model.Tag.newTag; import static bpsm.edn.model.TaggedValue.newTaggedValue; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import java.util....
src/test/java/bpsm/edn/parser/TestParser.java
package bpsm.edn.parser; import static bpsm.edn.model.Symbol.newSymbol; import static bpsm.edn.model.Tag.newTag; import static bpsm.edn.model.TaggedValue.newTaggedValue; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import java.util....
TestParser: extract constant
src/test/java/bpsm/edn/parser/TestParser.java
TestParser: extract constant
<ide><path>rc/test/java/bpsm/edn/parser/TestParser.java <ide> parse("#uuid \"f81d4fae-7dec-11d0-a765-00a0c91e6bf6\"")); <ide> } <ide> <add> private static final String INVALID_UUID = "#uuid \"f81d4fae-XXXX-11d0-a765-00a0c91e6bf6\""; <add> <ide> @Test(expected=NumberFormatException.class)...
Java
mit
error: pathspec '20120227-junit3_to_junit4/src/test/java/com/dfremont/blog/JUnit4WrongTest.java' did not match any file(s) known to git
4bdfdeafb37fa772125c8287c4740396cdf46304
1
DamienFremont/blog,DamienFremont/blog,DamienFremont/blog,DamienFremont/blog,DamienFremont/blog,DamienFremont/blog,DamienFremont/blog
package com.dfremont.blog; import org.junit.Test; public class JUnit4WrongTest { @Test public void testDivideValue() { // Arrange ClassToTest classToTest = new ClassToTest(); int param1 = 10; int param2 = 2; // Act int result = classToTest.divide(param1, param2); // Assert // assertEqu...
20120227-junit3_to_junit4/src/test/java/com/dfremont/blog/JUnit4WrongTest.java
wrong test example
20120227-junit3_to_junit4/src/test/java/com/dfremont/blog/JUnit4WrongTest.java
wrong test example
<ide><path>0120227-junit3_to_junit4/src/test/java/com/dfremont/blog/JUnit4WrongTest.java <add>package com.dfremont.blog; <add> <add>import org.junit.Test; <add> <add>public class JUnit4WrongTest { <add> @Test <add> public void testDivideValue() { <add> // Arrange <add> ClassToTest classToTest = new ClassToTest(); <ad...
JavaScript
mit
fa43e4c177964583f61518e05dfcb7df927c3f28
0
jordanfarrer/Knockout-Utilities
ko.bindingHandlers.numericValue = { init: function (element, valueAccessor, allBindingsAccessor) { var updateEvents = []; //keyup and change only works if precision is set to 0. if (allBindingsAccessor().valueUpdate === 'afterkeydown' && allBindingsAccessor().precision === 0) { ...
ko-numericValue.js
ko.bindingHandlers.numericValue = { init: function (element, valueAccessor, allBindingsAccessor) { var updateEvents = []; //keyup and change only works if precision is set to 0. if (allBindingsAccessor().valueUpdate === 'afterkeydown' && allBindingsAccessor().precision === 0) { ...
Whitespace Change - for testing
ko-numericValue.js
Whitespace Change - for testing
Java
bsd-2-clause
b72bda1c7568f383715dc078d1affb752317fa9a
0
Sethtroll/runelite,runelite/runelite,runelite/runelite,abelbriggs1/runelite,l2-/runelite,Sethtroll/runelite,abelbriggs1/runelite,abelbriggs1/runelite,runelite/runelite,l2-/runelite
/* * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * li...
runelite-client/src/main/java/net/runelite/client/game/ItemManager.java
/* * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * li...
item manager: assert item composition access is done from client thread
runelite-client/src/main/java/net/runelite/client/game/ItemManager.java
item manager: assert item composition access is done from client thread
<ide><path>unelite-client/src/main/java/net/runelite/client/game/ItemManager.java <ide> */ <ide> public ItemComposition getItemComposition(int itemId) <ide> { <add> assert client.isClientThread() : "getItemComposition must be called on client thread"; <ide> return itemCompositions.getUnchecked(itemId); <ide> } ...
Java
lgpl-2.1
026fbb3ca92761cf868b8b80319f0c55727974fb
0
rhusar/wildfly,tadamski/wildfly,jstourac/wildfly,golovnin/wildfly,wildfly/wildfly,rhusar/wildfly,rhusar/wildfly,xasx/wildfly,iweiss/wildfly,tadamski/wildfly,tomazzupan/wildfly,pferraro/wildfly,jstourac/wildfly,pferraro/wildfly,iweiss/wildfly,xasx/wildfly,xasx/wildfly,99sono/wildfly,golovnin/wildfly,wildfly/wildfly,jsto...
/* * JBoss, Home of Professional Open Source. * Copyright 2014, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
testsuite/shared/src/main/java/org/jboss/as/test/integration/security/common/BasicVaultServerSetupTask.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
[BZ1124086] Fix for BasicVaultServerSetupTask
testsuite/shared/src/main/java/org/jboss/as/test/integration/security/common/BasicVaultServerSetupTask.java
[BZ1124086] Fix for BasicVaultServerSetupTask
<ide><path>estsuite/shared/src/main/java/org/jboss/as/test/integration/security/common/BasicVaultServerSetupTask.java <ide> // remove vault files <ide> vaultHandler.cleanUp(); <ide> } <add> <add> protected void setExternalVaultPassword(String externalVaultPassword) { <add> this.externalVau...
JavaScript
mit
5754dfa79b5abd38491369cf812a19e3a4912775
0
nahuelio/boneyard,3dimention/boneyard,3dimention/spinal
/** * @module com.spinal.util * @author Patricio Ferreira <3dimentionar@gmail.com> **/ define(['core/spinal'], function(Spinal) { /** * Define a Generic Schema definition structure to validate and parse model data * @namespace com.spinal.util * @class com.spinal.util.Schema * @extends com.spinal.core.SpinalClass ...
src/com/spinal/util/schema.js
/** * @module com.spinal.util * @author Patricio Ferreira <3dimentionar@gmail.com> **/ define(['core/spinal'], function(Spinal) { // TODO: Review the implementation of this /** * Define a generic model structure based on Backbone.Model * @namespace com.spinal.mvc * @class com.spinal.mvc.Model * @extends Spinal.B...
Added Schema class to the util package.
src/com/spinal/util/schema.js
Added Schema class to the util package.
<ide><path>rc/com/spinal/util/schema.js <ide> **/ <ide> define(['core/spinal'], function(Spinal) { <ide> <del> // TODO: Review the implementation of this <ide> /** <del> * Define a generic model structure based on Backbone.Model <del> * @namespace com.spinal.mvc <del> * @class com.spinal.mvc.Model <del> * @extends Sp...
Java
apache-2.0
e74a80de930c36e4af8729c4577f95195bdc8b84
0
naver/ngrinder,naver/ngrinder,naver/ngrinder,naver/ngrinder,naver/ngrinder
/* * Copyright (c) 2012-present NAVER Corp. * * This file is part of The nGrinder software distribution. Refer to * the file LICENSE which is part of The nGrinder distribution for * licensing details. The nGrinder distribution is available on the * Internet at https://naver.github.io/ngrinder * * Licens...
ngrinder-groovy/src/main/java/net/grinder/scriptengine/groovy/GroovyScriptEngineService.java
/* * Copyright (c) 2012-present NAVER Corp. * * This file is part of The nGrinder software distribution. Refer to * the file LICENSE which is part of The nGrinder distribution for * licensing details. The nGrinder distribution is available on the * Internet at https://naver.github.io/ngrinder * * Licens...
Make groovy engine service always delegate instrumentation
ngrinder-groovy/src/main/java/net/grinder/scriptengine/groovy/GroovyScriptEngineService.java
Make groovy engine service always delegate instrumentation
<ide><path>grinder-groovy/src/main/java/net/grinder/scriptengine/groovy/GroovyScriptEngineService.java <ide> import net.grinder.common.GrinderProperties; <ide> import net.grinder.engine.common.EngineException; <ide> import net.grinder.engine.common.ScriptLocation; <del>import net.grinder.engine.process.JavaDCRInstrumen...
Java
apache-2.0
33866f58847ed25d1583776f2b0f8242d63e7232
0
ysc/superword,ysc/superword,ysc/superword
/* * APDPlat - Application Product Development Platform * Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.com * * 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 3 of the Licen...
src/main/java/org/apdplat/superword/tools/AidReading.java
/* * APDPlat - Application Product Development Platform * Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.com * * 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 3 of the Licen...
分级词汇包含原则
src/main/java/org/apdplat/superword/tools/AidReading.java
分级词汇包含原则
<ide><path>rc/main/java/org/apdplat/superword/tools/AidReading.java <ide> * 辅助阅读: <ide> * 以电影功夫熊猫使用的单词分析为例 <ide> * 你英语四级过了吗? 功夫熊猫看了吗? <del> * 去除停用词后,功夫熊猫使用了794个英语单词,你会说很简单吧,别急,这些单词中仍然有148个单词不在四级词汇表中,花两分钟时间看看你是否认识这些单词. <add> * 去除停用词后,功夫熊猫使用了789个英语单词,你会说很简单吧,别急,这些单词中仍然有148个单词不在四级词汇表中,花两分钟时间看看你是否认识这些单词. <ide> * Create...
Java
agpl-3.0
error: pathspec 'cadc-util/src/main/java/ca/nrc/cadc/util/CoordUtil.java' did not match any file(s) known to git
7424cd5fd2ecbb1ab6ef8de59a3f5922550fb9a0
1
opencadc/core,opencadc/core
// Created on 8-Feb-2006 package ca.nrc.cadc.util; import java.text.NumberFormat; import java.util.StringTokenizer; /** * Simple astronomical coordinate conversion utility. * * @version $Version$ * @author pdowler */ public class CoordUtil { // the unicode degree symbol public static String DEGREE_SYMBOL = ne...
cadc-util/src/main/java/ca/nrc/cadc/util/CoordUtil.java
s1970: moved CoordUtil from javaUtil to cadc-util.
cadc-util/src/main/java/ca/nrc/cadc/util/CoordUtil.java
s1970: moved CoordUtil from javaUtil to cadc-util.
<ide><path>adc-util/src/main/java/ca/nrc/cadc/util/CoordUtil.java <add>// Created on 8-Feb-2006 <add> <add>package ca.nrc.cadc.util; <add> <add>import java.text.NumberFormat; <add>import java.util.StringTokenizer; <add> <add>/** <add> * Simple astronomical coordinate conversion utility. <add> * <add> * @version $Versio...
Java
mit
0ae9d370483cd827cb0d347a649b63ffa032b280
0
grepx/archivorg
package gregpearce.archivorg.ui; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.design.widget.TabLayout; import android.support.v4.view.GravityCompat; import android.support.v4.view.ViewPager; import android.support.v4.widget.DrawerLayout; import android.support.v...
app/src/main/java/gregpearce/archivorg/ui/MainActivity.java
package gregpearce.archivorg.ui; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.design.widget.TabLayout; import android.support.v4.view.GravityCompat; import android.support.v4.view.ViewPager; import android.support.v4.widget.DrawerLayout; import android.support.v...
Hook up search box to feed presenter
app/src/main/java/gregpearce/archivorg/ui/MainActivity.java
Hook up search box to feed presenter
<ide><path>pp/src/main/java/gregpearce/archivorg/ui/MainActivity.java <ide> <ide> import com.lapism.searchview.SearchView; <ide> <add>import javax.inject.Inject; <add> <ide> import butterknife.BindView; <ide> import butterknife.ButterKnife; <ide> import gregpearce.archivorg.R; <add>import gregpearce.archivorg.ui.feed...
JavaScript
mit
b1b0cca13a007be04e45de4fd7bc717119143f76
0
c9/c9.automate
define(function(require, exports, module) { main.consumes = ["Plugin"]; main.provides = ["automate"]; return main; function main(options, imports, register) { var Plugin = imports.Plugin; var async = require("async"); /***** Initialization *****/ ...
automate.js
define(function(require, exports, module) { main.consumes = ["Plugin"]; main.provides = ["automate"]; return main; function main(options, imports, register) { var Plugin = imports.Plugin; var async = require("async"); /***** Initialization *****/ ...
Survive a disconnect
automate.js
Survive a disconnect
<ide><path>utomate.js <ide> item: item <ide> }); <ide> <del> command.execute(item, options, function(chunk, process){ <add> var onData = function(chunk, proc...
Java
agpl-3.0
f2cbe7e961d95c6b20bc688f7d03f9d0d142b93f
0
EhsanTang/ApiManager,EhsanTang/ApiManager,EhsanTang/ApiManager
package cn.crap.controller.front; import java.util.HashMap; import java.util.List; import java.util.Map; import cn.crap.adapter.ArticleAdapter; import cn.crap.adapter.CommentAdapter; import cn.crap.dto.ArticleDto; import cn.crap.dto.CrumbDto; import cn.crap.enumer.ArticleStatus; import cn.crap.enumer.MyError...
api/src/main/java/cn/crap/controller/front/ArticleController.java
package cn.crap.controller.front; import java.util.HashMap; import java.util.List; import java.util.Map; import cn.crap.adapter.ArticleAdapter; import cn.crap.adapter.CommentAdapter; import cn.crap.dto.ArticleDto; import cn.crap.dto.CrumbDto; import cn.crap.enumer.ArticleStatus; import cn.crap.enumer.MyError...
修改bug
api/src/main/java/cn/crap/controller/front/ArticleController.java
修改bug
<ide><path>pi/src/main/java/cn/crap/controller/front/ArticleController.java <ide> List<Article> articles = customArticleService.queryArticle(null, null, type, category, status, page); <ide> List<ArticleDto> articleDtos = ArticleAdapter.getDto(articles, null); <ide> <add> page.setAllRow(customAr...
JavaScript
apache-2.0
3a83129d9415f56148d02827b65a49af05eb75d1
0
researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds
/** * Created by ksinger on 20.08.2015. */ ; import angular from 'angular'; import { attach } from '../utils'; import { actionCreators } from '../actions/actions'; import * as srefUtils from '../sref-utils'; function genLogoutConf() { //let template = `<a class="wl__button clickable" ng-click="self.hideLogin()...
webofneeds/won-owner-webapp/src/main/webapp/app/components/logout.js
/** * Created by ksinger on 20.08.2015. */ ; import angular from 'angular'; import { attach } from '../utils'; import { actionCreators } from '../actions/actions'; import * as srefUtils from '../sref-utils'; function genLogoutConf() { //let template = `<a class="wl__button clickable" ng-click="self.hideLogin()...
Tinkering with link to about in logout-menu.
webofneeds/won-owner-webapp/src/main/webapp/app/components/logout.js
Tinkering with link to about in logout-menu.
<ide><path>ebofneeds/won-owner-webapp/src/main/webapp/app/components/logout.js <ide> <img src="generated/icon-sprite.svg#ico16_arrow_up" class="mrb__carret"> <ide> <img src="generated/icon-sprite.svg#ico36_person" class="mrb__icon"> <ide> </a> <del> ...
Java
bsd-3-clause
ee1040ddb88fe037b8e37486ec93ec674e423641
0
jesperpedersen/pgjdbc-ng,brettwooldridge/pgjdbc-ng,gregb/pgjdbc-ng,gregb/pgjdbc-ng,jesperpedersen/pgjdbc-ng,frode-carlsen/pgjdbc-ng
package com.impossibl.postgres.jdbc; import static com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException; import static com.impossibl.postgres.jdbc.ErrorUtils.makeSQLWarningChain; import static com.impossibl.postgres.jdbc.Exceptions.INVALID_COMMAND_FOR_GENERATED_KEYS; import static com.impossibl.postgres.jdbc.Except...
src/main/java/com/impossibl/postgres/jdbc/PGConnection.java
package com.impossibl.postgres.jdbc; import static com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException; import static com.impossibl.postgres.jdbc.ErrorUtils.makeSQLWarningChain; import static com.impossibl.postgres.jdbc.Exceptions.INVALID_COMMAND_FOR_GENERATED_KEYS; import static com.impossibl.postgres.jdbc.Except...
Implement array factory in Connection class
src/main/java/com/impossibl/postgres/jdbc/PGConnection.java
Implement array factory in Connection class
<ide><path>rc/main/java/com/impossibl/postgres/jdbc/PGConnection.java <ide> import com.impossibl.postgres.protocol.PrepareCommand; <ide> import com.impossibl.postgres.system.BasicContext; <ide> import com.impossibl.postgres.system.NoticeException; <add>import com.impossibl.postgres.types.ArrayType; <ide> import com.imp...
Java
bsd-2-clause
58c90333205ae939800d1af7fe186989e20466cf
0
imagej/imagej-ops,gab1one/imagej-ops,kephale/imagej-ops,stelfrich/imagej-ops
/* * #%L * ImageJ OPS: a framework for reusable algorithms. * %% * Copyright (C) 2014 Board of Regents of the University of * Wisconsin-Madison and University of Konstanz. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
src/main/java/imagej/ops/threshold/LocalThreshold.java
/* * #%L * ImageJ OPS: a framework for reusable algorithms. * %% * Copyright (C) 2014 Board of Regents of the University of * Wisconsin-Madison and University of Konstanz. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
OutOfBoundFactory for LocalThreshold
src/main/java/imagej/ops/threshold/LocalThreshold.java
OutOfBoundFactory for LocalThreshold
<ide><path>rc/main/java/imagej/ops/threshold/LocalThreshold.java <ide> import net.imglib2.RandomAccessibleInterval; <ide> import net.imglib2.algorithm.region.localneighborhood.Neighborhood; <ide> import net.imglib2.algorithm.region.localneighborhood.Shape; <add>import net.imglib2.outofbounds.OutOfBoundsFactory; <ide> i...
Java
apache-2.0
1c68c3bc831bc62b588b3e05fa08008c573bc8ce
0
leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc
/* * 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/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractConnectionAdapter.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...
#1363 Make TransactionType bind with current connection.
sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractConnectionAdapter.java
#1363 Make TransactionType bind with current connection.
<ide><path>harding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractConnectionAdapter.java <ide> <ide> private final RootInvokeHook rootInvokeHook = new SPIRootInvokeHook(); <ide> <add> private final TransactionType transactionType = TransactionType.LOCAL; <add>...
Java
apache-2.0
c09af9d0c9efc0923378900b8731f2b98cdbf97b
0
kurtharriger/spring-osgi
/* * Copyright 2006-2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
integration-tests/tests/src/test/java/org/springframework/osgi/iandt/BaseIntegrationTest.java
/* * Copyright 2006-2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
+ add more file permission (to cope with logs rollover)
integration-tests/tests/src/test/java/org/springframework/osgi/iandt/BaseIntegrationTest.java
+ add more file permission (to cope with logs rollover)
<ide><path>ntegration-tests/tests/src/test/java/org/springframework/osgi/iandt/BaseIntegrationTest.java <ide> perms.add(new RuntimePermission("*", "accessDeclaredMembers")); <ide> perms.add(new ReflectPermission("*", "suppressAccessChecks")); <ide> // logging permission <del> perms.add(new FilePermission("-", "W...
Java
apache-2.0
48d5d1d4d33cd1d95354062764858e1a1b4e5d38
0
robertdale/tinkerpop,pluradj/incubator-tinkerpop,krlohnes/tinkerpop,apache/incubator-tinkerpop,pluradj/incubator-tinkerpop,apache/tinkerpop,krlohnes/tinkerpop,apache/incubator-tinkerpop,pluradj/incubator-tinkerpop,apache/tinkerpop,robertdale/tinkerpop,krlohnes/tinkerpop,apache/tinkerpop,apache/incubator-tinkerpop,krloh...
/* * 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 ...
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/star/StarGraphGryoSerializer.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 ...
reverts class StarGraphGryoSerializer
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/star/StarGraphGryoSerializer.java
reverts class StarGraphGryoSerializer
<ide><path>remlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/star/StarGraphGryoSerializer.java <ide> */ <ide> package org.apache.tinkerpop.gremlin.structure.util.star; <ide> <del>import java.util.EnumMap; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <ide> */ <ide> public fin...
Java
apache-2.0
8ef4f77fb12e7d0478831a692cf69d318d01824f
0
dnltsk/intellij-mapfile-plugin
package org.dnltsk.mapfileplugin.highlighter; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.openapi.options.colors.AttributesDescriptor; import com.intellij.openapi.options.colors.ColorDescriptor; import com.intellij.openapi.op...
src/org/dnltsk/mapfileplugin/highlighter/MapfileColorSettingsPage.java
package org.dnltsk.mapfileplugin.highlighter; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.openapi.options.colors.AttributesDescriptor; import com.intellij.openapi.options.colors.ColorDescriptor; import com.intellij.openapi.op...
comment + typo
src/org/dnltsk/mapfileplugin/highlighter/MapfileColorSettingsPage.java
comment + typo
<ide><path>rc/org/dnltsk/mapfileplugin/highlighter/MapfileColorSettingsPage.java <ide> private static final AttributesDescriptor[] DESCRIPTORS = new AttributesDescriptor[]{ <ide> new AttributesDescriptor("Keywords", MapfileSyntaxHighlighter.KEYWORD_HIGHLIGHTER), <ide> new AttributesDescripto...
Java
apache-2.0
0fe9f1450b3ff81c8d0f1e3ff1a0b7f22b44c56a
0
EShkuratova/java_pft,EShkuratova/java_pft
package ru.stqa.pft.addressbook; import org.openqa.selenium.By; import org.openqa.selenium.NoAlertPresentException; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.util.concurrent.T...
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/CreateGroupTests.java
package ru.stqa.pft.addressbook; import org.openqa.selenium.By; import org.openqa.selenium.NoAlertPresentException; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.util.concurrent.TimeUnit; public class CreateGroupTests { ...
Авторизация в приложении выненсена в отдельный метод и вызывается под аннотацией @BeforMethod
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/CreateGroupTests.java
Авторизация в приложении выненсена в отдельный метод и вызывается под аннотацией @BeforMethod
<ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/CreateGroupTests.java <ide> import org.openqa.selenium.By; <ide> import org.openqa.selenium.NoAlertPresentException; <ide> import org.openqa.selenium.firefox.FirefoxDriver; <add>import org.testng.annotations.AfterMethod; <ide> import org.testng.annot...
Java
apache-2.0
efd1f1b29ff51d28a1a1c702cef6a7ce2554ee2a
0
strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/test/java/org/elasticsearch/search/aggregations/pipeline/moving/avg/MovAvgIT.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
[CI] Mute MovAvgIT.testHoltWintersValuedField Relates to #35632
server/src/test/java/org/elasticsearch/search/aggregations/pipeline/moving/avg/MovAvgIT.java
[CI] Mute MovAvgIT.testHoltWintersValuedField
<ide><path>erver/src/test/java/org/elasticsearch/search/aggregations/pipeline/moving/avg/MovAvgIT.java <ide> } <ide> } <ide> <add> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35632") <ide> public void testHoltWintersValuedField() { <ide> SearchResponse response = cli...
Java
apache-2.0
e53db1a478b30783eb2d5a463bcfdd16b39ed947
0
ESamir/elasticsearch,SergVro/elasticsearch,tcucchietti/elasticsearch,xingguang2013/elasticsearch,btiernay/elasticsearch,overcome/elasticsearch,iantruslove/elasticsearch,jbertouch/elasticsearch,wittyameta/elasticsearch,jw0201/elastic,ESamir/elasticsearch,Clairebi/ElasticsearchClone,karthikjaps/elasticsearch,andrejserafi...
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
Quoted query_string gives NullPointerException with not_analyzed field (0.19.4), closes #2006.
src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java
Quoted query_string gives NullPointerException with not_analyzed field (0.19.4), closes #2006.
<ide><path>rc/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java <ide> super(names, index, store, termVector, boost, omitNorms, omitTermFreqAndPositions, indexAnalyzer, searchAnalyzer); <ide> this.nullValue = nullValue; <ide> this.positionOffsetGap = positionOffsetGap; <del> ...
JavaScript
mit
5c3e1b2eeb531422dfe7e05cefc71d99f213d96a
0
node-nock/nock
'use strict' const mixin = require('./mixin') const matchBody = require('./match_body') const common = require('./common') const _ = require('lodash') const debug = require('debug')('nock.interceptor') const stringify = require('json-stringify-safe') const qs = require('qs') let fs try { fs = require('fs') } catch ...
lib/interceptor.js
'use strict' const mixin = require('./mixin') const matchBody = require('./match_body') const common = require('./common') const _ = require('lodash') const debug = require('debug')('nock.interceptor') const stringify = require('json-stringify-safe') const qs = require('qs') let fs try { fs = require('fs') } catch ...
refactor(interceptor): Remove an archaic check (#1430) Ref #1404
lib/interceptor.js
refactor(interceptor): Remove an archaic check (#1430)
<ide><path>ib/interceptor.js <ide> if (headers !== undefined) { <ide> this.rawHeaders = [] <ide> <del> // makes sure all keys in headers are in lower case <ide> for (const key in headers) { <del> // TODO-coverage: Remove this archaic check. <del> if (headers.hasOwnProperty(key)) { <del> t...
Java
apache-2.0
7098a9400926d138a6b0451afb86328ade050e23
0
carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core
/** * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at * http://mozilla.org/MPL/2.0/. * * This Source Code Form is also subject to the terms of the Health-Related Additional * Disclaimer of Warran...
org.carewebframework.help-parent/org.carewebframework.help.core/src/main/java/org/carewebframework/help/HelpSearchService.java
/** * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at * http://mozilla.org/MPL/2.0/. * * This Source Code Form is also subject to the terms of the Health-Related Additional * Disclaimer of Warran...
Minor coding change.
org.carewebframework.help-parent/org.carewebframework.help.core/src/main/java/org/carewebframework/help/HelpSearchService.java
Minor coding change.
<ide><path>rg.carewebframework.help-parent/org.carewebframework.help.core/src/main/java/org/carewebframework/help/HelpSearchService.java <ide> <ide> import org.carewebframework.common.MiscUtil; <ide> import org.carewebframework.common.StrUtil; <del>import org.carewebframework.common.Version; <ide> <ide> import org.sp...
Java
apache-2.0
fb0ec32a0673b6ecebfcb17522c439f5206397b6
0
GiraffaFS/giraffa,GiraffaFS/giraffa,GiraffaFS/giraffa,GiraffaFS/giraffa
/** * 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...
giraffa-core/src/main/java/org/apache/giraffa/GiraffaFileSystem.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...
Issue-223: giraffa format should allow lower case 'y'. (Yuxiang)
giraffa-core/src/main/java/org/apache/giraffa/GiraffaFileSystem.java
Issue-223: giraffa format should allow lower case 'y'. (Yuxiang)
<ide><path>iraffa-core/src/main/java/org/apache/giraffa/GiraffaFileSystem.java <ide> boolean isConfirmationNeeded) throws IOException { <ide> if (isConfirmationNeeded) { <ide> System.err.print("Re-format Giraffa file system ? (Y or N) "); <del> if (!(System.in.read() == 'Y')) ...
JavaScript
apache-2.0
fdbdabe8a0a95aae2c22b821d3f76113103f11fd
0
GetThereSafe/GetThereSafe-nwHacks,GetThereSafe/GetThereSafe-nwHacks,GetThereSafe/GetThereSafe-nwHacks
var map; var polylines = []; function initMap() { console.log('init called'); var mapDiv = document.getElementById('map'); map = new google.maps.Map(mapDiv, { center: {lat: 48.428611, lng: -123.365556}, zoom: 14 }); } function mapRoute(routes) { console.log('mapRoute called'); cons...
static/js/scripts.js
var map; var polylines = []; function initMap() { console.log('init called'); var mapDiv = document.getElementById('map'); map = new google.maps.Map(mapDiv, { center: {lat: 48.428611, lng: -123.365556}, zoom: 14 }); } function mapRoute(routes) { console.log('mapRoute called'); cons...
info text
static/js/scripts.js
info text
<ide><path>tatic/js/scripts.js <ide> polylines.push(polyline); <ide> } <ide> <del> $("#info-text").text("Best route found with " + routes[0][2] +" street lights"); <add> $("#info-text").text("Best route found with " + routes[0][0] + " street lights"); <ide> $("#info").show(); <ide> } <ide>
Java
apache-2.0
8d41b160820224cc3f4204a8924eeb4bfde1062b
0
stefanorosanelli/jasper-service,stefanorosanelli/jasper-service
package net.bedita.export.jasper; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Locale; import java.util.Map; import net.sf.jasperreports.engine.JRException; import net.sf.jasperreports.engine.JRParameter; import net.sf.jasperreports.engine.JasperCompileManager;...
src/net/bedita/export/jasper/JasperProcess.java
package net.bedita.export.jasper; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Locale; import java.util.Map; import net.sf.jasperreports.engine.JRException; import net.sf.jasperreports.engine.JRParameter; import net.sf.jasperreports.engine.JasperCompileManager;...
added compile directory option
src/net/bedita/export/jasper/JasperProcess.java
added compile directory option
<ide><path>rc/net/bedita/export/jasper/JasperProcess.java <ide> } <ide> String dataFile = cmd.getOptionValue("d"); <ide> String destFile = cmd.getOptionValue("o"); <add> if (report == null || dataFile == null || destFile == null) { <add> throw new ParseException("Missing parameters"); <add> } <add> <...
Java
apache-2.0
19257ae30aecce7e53faa36860bdc272c74e6cc1
0
tmitim/twittercli4j,tmitim/twittercli4j
package com.tmitim.twittercli.commands; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.lang3.StringUtils; import com.github.rvesse.airline.annotations.Arguments; import com.github.rvesse.airline.annotations.Command; import com.github.rvesse.airline.annotati...
src/main/java/com/tmitim/twittercli/commands/Search.java
package com.tmitim.twittercli.commands; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.lang3.StringUtils; import com.github.rvesse.airline.annotations.Arguments; import com.github.rvesse.airline.annotations.Command; import com.tmitim.twittercli.Printer; im...
Add search flags for popular, recent, mixed searches
src/main/java/com/tmitim/twittercli/commands/Search.java
Add search flags for popular, recent, mixed searches
<ide><path>rc/main/java/com/tmitim/twittercli/commands/Search.java <ide> <ide> import com.github.rvesse.airline.annotations.Arguments; <ide> import com.github.rvesse.airline.annotations.Command; <add>import com.github.rvesse.airline.annotations.Option; <ide> import com.tmitim.twittercli.Printer; <ide> <ide> import tw...
Java
agpl-3.0
aae7e6a14bc975157681cd6fc165633e70e04175
0
paulmartel/voltdb,flybird119/voltdb,kobronson/cs-voltdb,flybird119/voltdb,simonzhangsm/voltdb,simonzhangsm/voltdb,deerwalk/voltdb,ingted/voltdb,flybird119/voltdb,wolffcm/voltdb,zuowang/voltdb,paulmartel/voltdb,wolffcm/voltdb,creative-quant/voltdb,migue/voltdb,migue/voltdb,deerwalk/voltdb,zuowang/voltdb,zuowang/voltdb,k...
/* This file is part of VoltDB. * Copyright (C) 2008-2012 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to...
examples/voltkv/src/voltkv/SyncBenchmark.java
/* This file is part of VoltDB. * Copyright (C) 2008-2012 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to...
Revert thread count back to 40 for sync benchmark
examples/voltkv/src/voltkv/SyncBenchmark.java
Revert thread count back to 40 for sync benchmark
<ide><path>xamples/voltkv/src/voltkv/SyncBenchmark.java <ide> boolean usecompression= false; <ide> <ide> @Option(desc = "Number of concurrent threads synchronously calling procedures.") <del> int threads = 1; <add> int threads = 40; <ide> <ide> @Option(desc = "Filename to write r...
Java
apache-2.0
1c1f15c7d66a33eaf2ed2e65a599f45cdb5706a3
0
fthevenet/binjr,fthevenet/binjr
/* * Copyright 2017 Frederic Thevenet * * 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 app...
binjr/src/main/java/eu/fthevenet/binjr/sources/jrds/adapters/JrdsDataAdapter.java
/* * Copyright 2017 Frederic Thevenet * * 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 app...
Fixed JRDS adapter fails to connect to source if url contains a trailing slash
binjr/src/main/java/eu/fthevenet/binjr/sources/jrds/adapters/JrdsDataAdapter.java
Fixed JRDS adapter fails to connect to source if url contains a trailing slash
<ide><path>injr/src/main/java/eu/fthevenet/binjr/sources/jrds/adapters/JrdsDataAdapter.java <ide> if (!uriSchemePattern.matcher(address).find()) { <ide> address = "http://" + address; <ide> } <del> URL url = new URL(address); <add> URL url = new URL(address....
Java
apache-2.0
0228bb4e30089e3a3c0075a28d776882a64d121b
0
DrMrSrTeacherSr/MMLS,DrMrSrTeacherSr/MMLS,DrMrSrTeacherSr/MMLS,DrMrSrTeacherSr/MMLS
import java.net.UnknownHostException; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoClient; public class HandWritingWrapper { private MongoClient mongoClient...
src/HandWritingWrapper.java
import java.net.UnknownHostException; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoClient; public class HandWritingWrapper { private MongoClient mongoClient...
HandWriting
src/HandWritingWrapper.java
HandWriting
<ide><path>rc/HandWritingWrapper.java <ide> <ide> BasicDBObject query = new BasicDBObject("test",0); <ide> DBCursor data = coll.find(query); <add> int count = 0; <ide> while(data.hasNext()){ <ide> DBObject temp = data.next(); <del> int label = (int) temp.get("label"); <add> double[] label = {(i...
Java
bsd-3-clause
18380df59e89a1a991ed31e0687d08983a3e395e
0
nuagenetworks/java-bambou
/* Copyright (c) 2015, Alcatel-Lucent Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
src/main/java/net/nuagenetworks/bambou/RestSession.java
/* Copyright (c) 2015, Alcatel-Lucent Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
401 retries were failing. Now it's fixed
src/main/java/net/nuagenetworks/bambou/RestSession.java
401 retries were failing. Now it's fixed
<ide><path>rc/main/java/net/nuagenetworks/bambou/RestSession.java <ide> // request again. A new API key might get issued as a result <ide> reset(); <ide> authenticate(); <add> currentSession.set(this); <ide> <ide> // Update aut...
JavaScript
mit
1eeea858c99bb7f94b795abb039b52e8868051b2
0
cah-grantjames/testspercard
var startTime = new Date().getTime(); var cliArgs = process.argv.slice(2); var EXPECTED_ARGS = "tpc <project_key>" +"<start UNIX epoch OR 0 for all> " +"<end UNIX epoch OR 0 for all> "; if(cliArgs && cliArgs[0] === "help") { console.log("\n\tEXPECTED ARGS:", EXPECTED_ARGS); console.log("\t\tRun from roo...
tpc.js
var startTime = new Date().getTime(); var cliArgs = process.argv.slice(2); var EXPECTED_ARGS = "tpc <project_key>" +"<start UNIX epoch OR 0 for all> " +"<end UNIX epoch OR 0 for all> "; if(cliArgs && cliArgs[0] === "help") { console.log("\n\tEXPECTED ARGS:", EXPECTED_ARGS); console.log("\t\tRun from roo...
wip CSV
tpc.js
wip CSV
<ide><path>pc.js <ide> } <ide> var logObjects = glimrBuild.toLogObjectsArray(content, startDate, endDate); <ide> var cardObjects = glimrBuild.cards.findUniqueCards(projectKey, logObjects); <add> cardObjects = cardObjects.slice(0,30); <ide> diffParser.findTestsForEachCard(cardObjects, function(cardObj...
Java
apache-2.0
656ec957890a96d19ebe93fb293bb395955f6b6b
0
Donnerbart/hazelcast,lmjacksoniii/hazelcast,tufangorel/hazelcast,juanavelez/hazelcast,emre-aydin/hazelcast,tkountis/hazelcast,tufangorel/hazelcast,mesutcelik/hazelcast,mdogan/hazelcast,emre-aydin/hazelcast,dsukhoroslov/hazelcast,mesutcelik/hazelcast,tombujok/hazelcast,dbrimley/hazelcast,dsukhoroslov/hazelcast,emrahkoca...
/* * Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
hazelcast/src/main/java/com/hazelcast/impl/ListenerManager.java
/* * Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Fixed listener deregistration on member leave.
hazelcast/src/main/java/com/hazelcast/impl/ListenerManager.java
Fixed listener deregistration on member leave.
<ide><path>azelcast/src/main/java/com/hazelcast/impl/ListenerManager.java <ide> } <ide> <ide> public void syncForDead(Address deadAddress) { <del> syncForAdd(); <add> //syncForAdd(); <add> for (List<ListenerItem> listeners : namedListeners.values()) { <add> for (ListenerItem lis...
Java
bsd-3-clause
238e1c884c05e27c45f2c64cb987b8ea526af368
0
mbeiter/jaas
/* * #%L * This file is part of a common library for a set of universal JAAS modules. * %% * Copyright (C) 2014 - 2015 Michael Beiter <michael@beiter.org> * %% * All rights reserved. * . * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
common/src/main/java/org/beiter/michael/authn/jaas/common/propsbuilder/JaasBasedCommonPropsBuilder.java
/* * #%L * This file is part of a common library for a set of universal JAAS modules. * %% * Copyright (C) 2014 - 2015 Michael Beiter <michael@beiter.org> * %% * All rights reserved. * . * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
Javadocs
common/src/main/java/org/beiter/michael/authn/jaas/common/propsbuilder/JaasBasedCommonPropsBuilder.java
Javadocs
<ide><path>ommon/src/main/java/org/beiter/michael/authn/jaas/common/propsbuilder/JaasBasedCommonPropsBuilder.java <ide> } <ide> <ide> /** <del> * Creates a set of database properties that use the defaults as specified in this class. <add> * Creates a set of common properties that use the defaults as sp...
Java
lgpl-2.1
6963e887f84e7513e6324c3ed9d8b2bf70b13b22
0
xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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.1 of * th...
xwiki-platform-core/xwiki-platform-activitystream/xwiki-platform-activitystream-ui/src/test/java/org/xwiki/activitystream/WebRssTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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.1 of * th...
[misc] Make MockitoOldCore XWiki instane a spy instead of a mock
xwiki-platform-core/xwiki-platform-activitystream/xwiki-platform-activitystream-ui/src/test/java/org/xwiki/activitystream/WebRssTest.java
[misc] Make MockitoOldCore XWiki instane a spy instead of a mock
<ide><path>wiki-platform-core/xwiki-platform-activitystream/xwiki-platform-activitystream-ui/src/test/java/org/xwiki/activitystream/WebRssTest.java <ide> <ide> FeedPlugin plugin = new FeedPlugin("feed", FeedPlugin.class.getName(), context); <ide> FeedPluginApi pluginApi = new FeedPluginApi(plugin, cont...
JavaScript
mit
4f7e1c1deb5e83c02abe566aa1f43ae2de658eaf
0
codevise/pageflow,tf/pageflow,tf/pageflow,tf/pageflow,codevise/pageflow,codevise/pageflow,tf/pageflow,codevise/pageflow
import React, {useState, useCallback, useRef} from 'react'; import {DraggableCore} from 'react-draggable'; import Measure from 'react-measure'; import classNames from 'classnames'; import {useI18n} from '../i18n'; import {formatTime} from './formatTime'; import styles from './ProgressIndicators.module.css'; export f...
entry_types/scrolled/package/src/frontend/PlayerControls/ProgressIndicators.js
import React, {useState, useCallback, useRef} from 'react'; import {DraggableCore} from 'react-draggable'; import Measure from 'react-measure'; import classNames from 'classnames'; import {useI18n} from '../i18n'; import {formatTime} from './formatTime'; import styles from './ProgressIndicators.module.css'; export f...
Prevent progress bar with more than 100% There appear to be race conditions where `progress` events are dispatched when the duration of media player has not been updated yet. REDMINE-17761
entry_types/scrolled/package/src/frontend/PlayerControls/ProgressIndicators.js
Prevent progress bar with more than 100%
<ide><path>ntry_types/scrolled/package/src/frontend/PlayerControls/ProgressIndicators.js <ide> seekTo(destination); <ide> }, [seekTo, currentTime, duration]); <ide> <del> const loadProgress = duration > 0 ? (bufferedEnd / duration) : 0; <del> const playProgress = duration > 0 ? (currentTime / duration) : 0; <a...
Java
apache-2.0
d4ec6a8e36fa6fc0b34aa3d2424e2cbdd93301b6
0
GFriedrich/logging-log4j2,renchunxiao/logging-log4j2,neuro-sys/logging-log4j2,lburgazzoli/apache-logging-log4j2,lburgazzoli/logging-log4j2,codescale/logging-log4j2,apache/logging-log4j2,lqbweb/logging-log4j2,lburgazzoli/apache-logging-log4j2,apache/logging-log4j2,ChetnaChaudhari/logging-log4j2,lburgazzoli/apache-loggin...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
log4j-api/src/main/java/org/apache/logging/log4j/spi/StandardLevel.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
Javadoc fix. git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1561790 13f79535-47bb-0310-9956-ffa450edef68
log4j-api/src/main/java/org/apache/logging/log4j/spi/StandardLevel.java
Javadoc fix.
<ide><path>og4j-api/src/main/java/org/apache/logging/log4j/spi/StandardLevel.java <ide> } <ide> <ide> /** <del> * Method to convert custom Levels into a StdLevel for conversion to other systems. <add> * Method to convert custom Levels into a StandardLevel for conversion to other systems. <ide> * @...
Java
isc
c2d78d0e0f88172f3292498066c434784f6529cc
0
steve-goldman/volksempfaenger
package net.x4a42.volksempfaenger.ui; import java.util.Collection; import java.util.HashSet; import java.util.List; import net.x4a42.volksempfaenger.PreferenceKeys; import net.x4a42.volksempfaenger.R; import net.x4a42.volksempfaenger.VolksempfaengerApplication; import net.x4a42.volksempfaenger.service.playlistdownloa...
app/src/main/java/net/x4a42/volksempfaenger/ui/SettingsActivity.java
package net.x4a42.volksempfaenger.ui; import java.util.Collection; import java.util.HashSet; import java.util.List; import net.x4a42.volksempfaenger.PreferenceKeys; import net.x4a42.volksempfaenger.R; import net.x4a42.volksempfaenger.VolksempfaengerApplication; import android.app.Activity; import android.content.Inte...
kick off the playlist download service when certain prefs change
app/src/main/java/net/x4a42/volksempfaenger/ui/SettingsActivity.java
kick off the playlist download service when certain prefs change
<ide><path>pp/src/main/java/net/x4a42/volksempfaenger/ui/SettingsActivity.java <ide> import net.x4a42.volksempfaenger.PreferenceKeys; <ide> import net.x4a42.volksempfaenger.R; <ide> import net.x4a42.volksempfaenger.VolksempfaengerApplication; <add>import net.x4a42.volksempfaenger.service.playlistdownload.PlaylistDownlo...
Java
bsd-3-clause
40b2be064a8816bc9ea0f9212a10c964b2736044
0
SoftwareIntrospectionLab/FixCache,SoftwareIntrospectionLab/FixCache
package Cache; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import Util.CmdLineParser; import Database.DBOperation; import Database.DatabaseManager; public class Simulator { static final int BLKDEFAULT = 3; static final int ...
src/Cache/Simulator.java
package Cache; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.Date; import Util.CmdLineParser; import Database.DBOperation; import Database.DatabaseManager; public class Simulator { static final int BLKDEFAULT = 3; static final int ...
unit test using dbunit
src/Cache/Simulator.java
unit test using dbunit
<ide><path>rc/Cache/Simulator.java <ide> // input: LOC for every file in initial commit ID <ide> // input: pre-fetch size <ide> // output: fills cache with pre-fetch size number of top-LOC files from initial commit <del> public void preLoad(int prefetchSize) <add> public void preLoad(int prefetchSize, int pid) <ide>...
Java
apache-2.0
4171ffa4ebf8e4db158ae91f5cb91f7f2dbdae38
0
apache/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter
/* * 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/jorphan/org/apache/jorphan/reflect/ClassFinder.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 ...
Allow for ClassDefNotFound when checking classes git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@816934 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: fe73bc977ac8aabab34d188b9d2433d717665843
src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
Allow for ClassDefNotFound when checking classes
<ide><path>rc/jorphan/org/apache/jorphan/reflect/ClassFinder.java <ide> } <ide> } <ide> } <add> } catch (NoClassDefFoundError ignored) { <add> log.debug(ignored.getLocalizedMessage()); <ide> } catch (ClassNotFoundException...
JavaScript
mit
284e965ae1c29e4c3731e8f6fcf3f8fb6647dd1e
0
calhacks/website2,calhacks/website2,calhacks/website2
//Location can be: “Field”, “Uni”, “Other” //Days can be: “fri”, “sat”, “sun” //start can be: [TIME][PERIOD] ie “12:00AM”, “12:45PM” //duration is duration in hours. ie 1 hour would be “1:00” var schedule = [ { title: "Registration Opens!", caption: "Near Gate 5", time: {day: "fri", start: "7:00PM", duration: "...
assets/live/schedule.js
//Location can be: “Field”, “Uni”, “Other” //Days can be: “fri”, “sat”, “sun” //start can be: [TIME][PERIOD] ie “12:00AM”, “12:45PM” //duration is duration in hours. ie 1 hour would be “1:00” var schedule = [ { title: "Registration Opens + Busess Arrive!", caption: "Near Gate 5", time: {day: "fri", start: "7:00...
updated live
assets/live/schedule.js
updated live
<ide><path>ssets/live/schedule.js <ide> <ide> var schedule = [ <ide> { <del> title: "Registration Opens + Busess Arrive!", <add> title: "Registration Opens!", <ide> caption: "Near Gate 5", <ide> time: {day: "fri", start: "7:00PM", duration: "3:00"}, <ide> location: "", <ide> event_type: "Main timeline" <ide>...
Java
apache-2.0
5fbf03ec11e942662cbfb988e1af3cbf809dc3f2
0
aerogear/aerogear-unifiedpush-java-client,lewis-ing/aerogear-unifiedpush-java-client,yvnicolas/aerogear-unifiedpush-java-client,matzew/aerogear-unifiedpush-java-client
/** * JBoss, Home of Professional Open Source * Copyright 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/licens...
src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java
/** * JBoss, Home of Professional Open Source * Copyright 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/licens...
remove code duplication
src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java
remove code duplication
<ide><path>rc/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java <ide> <ide> @Override <ide> public void send(UnifiedMessage unifiedMessage) { <del> final Map<String, Object> selectedPayloadObject = prepareMessage(unifiedMessage); <del> int statusCode; <del> // transform to JSONStr...
Java
mit
1d1a8f6c070940660dea3f539cc256bd67271add
0
illuminoo/yasea,illuminoo/yasea,illuminoo/yasea,illuminoo/yasea,illuminoo/yasea,illuminoo/yasea
/* * Copyright (c) 2017 Illuminoo Projects BV. * This file is part of LISA and subject to the to the terms and conditions defined in file 'LICENSE', * which is part of this source code package. */ package net.ossrs.yasea; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Colo...
library/src/main/java/net/ossrs/yasea/SrsAvcEncoder.java
/* * Copyright (c) 2017 Illuminoo Projects BV. * This file is part of LISA and subject to the to the terms and conditions defined in file 'LICENSE', * which is part of this source code package. */ package net.ossrs.yasea; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Colo...
#121 Separate Director - Added settings for additional RTMP stream and local recording - Added support for running as director only
library/src/main/java/net/ossrs/yasea/SrsAvcEncoder.java
#121 Separate Director
<ide><path>ibrary/src/main/java/net/ossrs/yasea/SrsAvcEncoder.java <ide> public static final String CODEC = "video/avc"; <ide> <ide> /** <add> * Default color format <add> */ <add> private final static int DEFAULT_COLOR_FORMAT = MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Planar; <add> <add> ...
Java
apache-2.0
be8271aad64669f150920197c8d785fe86b4e862
0
trixon/netbeans-toolbox-idiot,trixon/netbeans-toolbox-idiot
/* * Copyright 2015 Patrik Karlsson. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
idiot/src/se/trixon/toolbox/idiot/task/TaskManager.java
/* * Copyright 2015 Patrik Karlsson. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Start/restart
idiot/src/se/trixon/toolbox/idiot/task/TaskManager.java
Start/restart
<ide><path>diot/src/se/trixon/toolbox/idiot/task/TaskManager.java <ide> import org.openide.awt.NotificationDisplayer; <ide> import org.openide.util.NbBundle; <ide> import org.openide.util.NbPreferences; <del>import org.openide.windows.*; <del>import se.trixon.almond.dialogs.Message; <add>import org.openide.windows.IOPr...
Java
apache-2.0
de78f05707586e56128b7eba8f0a946710c459c1
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-test/src/main/java/org/springframework/test/web/servlet/result/HandlerResultMatchers.java
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Polishing
spring-test/src/main/java/org/springframework/test/web/servlet/result/HandlerResultMatchers.java
Polishing
<ide><path>pring-test/src/main/java/org/springframework/test/web/servlet/result/HandlerResultMatchers.java <ide> @Override <ide> public void match(MvcResult result) throws Exception { <ide> HandlerMethod handlerMethod = getHandlerMethod(result); <del> assertThat("HandlerMethod", handlerMethod.getMethod().g...
Java
mit
0ab65be368dbd91fa1f212fbeeaadee95e611ca8
0
basecrm/basecrm-java
package com.getbase.models; import com.fasterxml.jackson.annotation.JsonView; import com.getbase.serializer.Views; import org.joda.time.DateTime; import java.util.ArrayList; import java.util.List; public class User { protected @JsonView(Views.ReadOnly.class) Long id; protected @JsonView(Views.ReadOnly.class) Bo...
src/main/java/com/getbase/models/User.java
package com.getbase.models; import com.fasterxml.jackson.annotation.JsonView; import com.getbase.serializer.Views; import org.joda.time.DateTime; import java.util.ArrayList; import java.util.List; public class User { protected @JsonView(Views.ReadOnly.class) Long id; protected @JsonView(Views.ReadOnly.class) Bo...
hashcode method fixed.
src/main/java/com/getbase/models/User.java
hashcode method fixed.
<ide><path>rc/main/java/com/getbase/models/User.java <ide> result = 31 * result + (deletedAt != null ? deletedAt.hashCode() : 0); <ide> result = 31 * result + (reportsTo != null ? reportsTo.hashCode() : 0); <ide> result = 31 * result + (timezone != null ? timezone.hashCode() : 0); <add> result = 31 * res...
Java
agpl-3.0
f179d48e5731b542327836c3df422eebe5ae697e
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
7183cbdc-2e61-11e5-9284-b827eb9e62be
hello.java
717e5e68-2e61-11e5-9284-b827eb9e62be
7183cbdc-2e61-11e5-9284-b827eb9e62be
hello.java
7183cbdc-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>717e5e68-2e61-11e5-9284-b827eb9e62be <add>7183cbdc-2e61-11e5-9284-b827eb9e62be
JavaScript
mit
62b3fa10c04130991250448a68da5fb9f3cf167d
0
markelog/dbuilder
require('babel-polyfill'); import { resolve } from 'path'; import { stringify } from 'querystring'; import { EventEmitter } from 'events'; import pump from 'pump'; import Docker from 'dockerode'; import build from 'dockerode-build'; export default class DBuilder { /** * Promise constructor, for test stubbing ...
index.js
import { resolve } from 'path'; import { stringify } from 'querystring'; import { EventEmitter } from 'events'; import pump from 'pump'; import Docker from 'dockerode'; import build from 'dockerode-build'; export default class DBuilder { static Promise = Promise; static build = build; static pump = pump; /*...
Add JSDoc for static properties & use of `babel-polyfill` package
index.js
Add JSDoc for static properties & use of `babel-polyfill` package
<ide><path>ndex.js <add>require('babel-polyfill'); <add> <ide> import { resolve } from 'path'; <ide> import { stringify } from 'querystring'; <ide> import { EventEmitter } from 'events'; <ide> import build from 'dockerode-build'; <ide> <ide> export default class DBuilder { <add> /** <add> * Promise constructor, for...
Java
mit
b553f7190d887ab5f42a00ac91a3fc48d928957a
0
fvasquezjatar/fermat-unused,fvasquezjatar/fermat-unused
package unit.com.bitdubai.fermat_dmp_plugin.layer.transaction.outgoing_extra_user.developer.bitdubai.version_1.structure.OutgoingExtraUserTransactionManager; import com.bitdubai.fermat_api.layer.all_definition.enums.Actors; import com.bitdubai.fermat_api.layer.all_definition.enums.CryptoCurrency; import com.bitdubai....
DMP/plugin/transaction/fermat-dmp-plugin-transaction-outgoing-extra-user-bitdubai/src/test/java/unit/com/bitdubai/fermat_dmp_plugin/layer/transaction/outgoing_extra_user/developer/bitdubai/version_1/structure/OutgoingExtraUserTransactionManager/sendTest.java
package unit.com.bitdubai.fermat_dmp_plugin.layer.transaction.outgoing_extra_user.developer.bitdubai.version_1.structure.OutgoingExtraUserTransactionManager; import com.bitdubai.fermat_api.layer.all_definition.enums.CryptoCurrency; import com.bitdubai.fermat_api.layer.all_definition.enums.ServiceStatus; import com.bit...
Fix #436- Outgoing Extra User: Unit Test corrections.
DMP/plugin/transaction/fermat-dmp-plugin-transaction-outgoing-extra-user-bitdubai/src/test/java/unit/com/bitdubai/fermat_dmp_plugin/layer/transaction/outgoing_extra_user/developer/bitdubai/version_1/structure/OutgoingExtraUserTransactionManager/sendTest.java
Fix #436- Outgoing Extra User: Unit Test corrections.
<ide><path>MP/plugin/transaction/fermat-dmp-plugin-transaction-outgoing-extra-user-bitdubai/src/test/java/unit/com/bitdubai/fermat_dmp_plugin/layer/transaction/outgoing_extra_user/developer/bitdubai/version_1/structure/OutgoingExtraUserTransactionManager/sendTest.java <ide> package unit.com.bitdubai.fermat_dmp_plugin.l...
Java
apache-2.0
278de271cfce69521d822b00c8dbd96515e143b8
0
cushon/error-prone,google/error-prone,cushon/error-prone,cushon/error-prone,google/error-prone,cushon/error-prone
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
core/src/main/java/com/google/errorprone/bugpatterns/time/JodaPlusMinusLong.java
/* * Copyright 2018 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Fix an extraneous space in the JodaPlusMinusLong summary. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274626494
core/src/main/java/com/google/errorprone/bugpatterns/time/JodaPlusMinusLong.java
Fix an extraneous space in the JodaPlusMinusLong summary.
<ide><path>ore/src/main/java/com/google/errorprone/bugpatterns/time/JodaPlusMinusLong.java <ide> summary = <ide> "Use of JodaTime's type.plus(long) or type.minus(long) is not allowed (where <type> = " <ide> + "{Duration,Instant,DateTime,DateMidnight}). Please use " <del> + " type.plus...
Java
bsd-3-clause
876a95e31717c3fe0f6fab1b79d448eb8ae3e054
0
NCIP/cab2b,NCIP/cab2b,NCIP/cab2b
package edu.wustl.cab2b.common.util; import static edu.wustl.cab2b.common.util.Constants.CONNECTOR; import static edu.wustl.cab2b.common.util.Constants.PROJECT_VERSION; import static edu.wustl.cab2b.common.util.Constants.TYPE_CATEGORY; import java.io.File; import java.io.IOException; import java.io.InputStrea...
source/common/main/edu/wustl/cab2b/common/util/Utility.java
package edu.wustl.cab2b.common.util; import static edu.wustl.cab2b.common.util.Constants.CONNECTOR; import static edu.wustl.cab2b.common.util.Constants.PROJECT_VERSION; import static edu.wustl.cab2b.common.util.Constants.TYPE_CATEGORY; import java.io.File; import java.io.IOException; import java.io.InputStrea...
Bug 4584
source/common/main/edu/wustl/cab2b/common/util/Utility.java
Bug 4584
<ide><path>ource/common/main/edu/wustl/cab2b/common/util/Utility.java <ide> sb.append(currentString); <ide> int index = text.indexOf("<B>----></B>", (currentStart + offset)); <ide> if (index == -1) { <del> index = text.indexOf(".", (currentStart + offset)); <add> index = text.indexOf(")", (currentStart +...
JavaScript
bsd-3-clause
c63eb3fda7932f525a3613480c39129b51051b9f
0
amigocloud/modeify,tismart/modeify,tismart/modeify,amigocloud/modeify,tismart/modeify,amigocloud/modified-tripplanner,amigocloud/modeify,amigocloud/modeify,tismart/modeify,amigocloud/modified-tripplanner,amigocloud/modified-tripplanner,amigocloud/modified-tripplanner
var Batch = require('batch'); var debounce = require('debounce'); var geocode = require('geocode'); var Journey = require('journey'); var Location = require('location'); var log = require('./client/log')('plan'); var defaults = require('model-defaults'); var model = require('model'); var ProfileQuery = require('profile...
client/plan/index.js
var Batch = require('batch'); var debounce = require('debounce'); var geocode = require('geocode'); var Journey = require('journey'); var Location = require('location'); var log = require('./client/log')('plan'); var defaults = require('model-defaults'); var model = require('model'); var ProfileQuery = require('profile...
fixed bug reverse geocode
client/plan/index.js
fixed bug reverse geocode
<ide><path>lient/plan/index.js <ide> lat: parseFloat(c[1]), <ide> lng: parseFloat(c[0]) <ide> }); <add> <ide> var callbackAmigo = function (err, reverse) { <ide> console.log("Ahora si llama", reverse); <del> if (reserve) { <add> if (reverse) { <add> <ide> con...
Java
mit
error: pathspec 'LAPPS-backend/src/main/java/de/rwth/dbis/layers/lapps/resource/HttpStatusCode.java' did not match any file(s) known to git
8af527f0cd3c3100e4de18a417cb7d42d69064d5
1
learning-layers/LAPPS,learning-layers/LAPPS
package de.rwth.dbis.layers.lapps.resource; public class HttpStatusCode { // Taken from: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes // 1xx Informational public static final int CONTINUE = 100; public static final int SWITCHTING_PROTOCOLS = 101; public static final int PROCESSING = 102; // 2xx...
LAPPS-backend/src/main/java/de/rwth/dbis/layers/lapps/resource/HttpStatusCode.java
LAPPS-72 created list with status codes
LAPPS-backend/src/main/java/de/rwth/dbis/layers/lapps/resource/HttpStatusCode.java
LAPPS-72 created list with status codes
<ide><path>APPS-backend/src/main/java/de/rwth/dbis/layers/lapps/resource/HttpStatusCode.java <add>package de.rwth.dbis.layers.lapps.resource; <add> <add>public class HttpStatusCode { <add> // Taken from: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes <add> <add> // 1xx Informational <add> public static final...
Java
apache-2.0
ead72edbb91343bd9fd8db5636e44f9af7bbcafc
0
Heart2009/retrofit,checkdroid/retrofit,jimxj/retrofit,lncosie/retrofit,f2prateek/retrofit,Jackear/retrofit,iagreen/retrofit,vamsirajendra/retrofit,MaTriXy/retrofit,maany/retrofit,pitatensai/retrofit,zhupengGitHub/retrofit,JunyiZhou/retrofit,java02014/retrofit,promeG/retrofit,iagreen/retrofit,davidcrotty/retrofit,PlumaB...
package retrofit; import java.util.concurrent.Executor; import java.util.concurrent.FutureTask; import rx.Observable; import rx.Subscriber; import rx.subscriptions.Subscriptions; /** * Utilities for supporting RxJava Observables. * <p> * RxJava might not be on the available to use. Check {@link Platform#HAS_RX_JAV...
retrofit/src/main/java/retrofit/RxSupport.java
package retrofit; import java.util.concurrent.Executor; import java.util.concurrent.FutureTask; import rx.Observable; import rx.Subscriber; import rx.subscriptions.Subscriptions; /** * Utilities for supporting RxJava Observables. * <p> * RxJava might not be on the available to use. Check {@link Platform#HAS_RX_JAV...
Remove unnecessary catch block from RxSupport.
retrofit/src/main/java/retrofit/RxSupport.java
Remove unnecessary catch block from RxSupport.
<ide><path>etrofit/src/main/java/retrofit/RxSupport.java <ide> subscriber.onCompleted(); <ide> } catch (RetrofitError e) { <ide> subscriber.onError(errorHandler.handleError(e)); <del> } catch (Exception e) { <del> // This is from the Callable. It shouldn't actually throw. <d...
Java
apache-2.0
9cf064eb97c7f5fc77f57988343a380db7269d47
0
remkop/picocli,remkop/picocli,remkop/picocli,remkop/picocli
/* Copyright 2017 Remko Popma 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 wri...
src/test/java/picocli/HelpTest.java
/* Copyright 2017 Remko Popma 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 wri...
[#934] added test (incomplete)
src/test/java/picocli/HelpTest.java
[#934] added test (incomplete)
<ide><path>rc/test/java/picocli/HelpTest.java <ide> " description%n"); <ide> assertEquals(expected, actual); <ide> } <del> <add> <ide> @Test <ide> public void testMapFieldHelp_with_unlimitedSplit() { <ide> class App { <ide> ByteArrayOutputStream baos = new...
Java
mit
1518b81841ce686854dd01b7cc67640f88d259de
0
SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
java/android/slib/platform/android/Logger.java
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
minor update
java/android/slib/platform/android/Logger.java
minor update
<ide><path>ava/android/slib/platform/android/Logger.java <ide> public class Logger { <ide> <ide> public static void exception(Throwable e) { <del> Log.e("Exception", e.getMessage(), e); <add> Log.e("EXCEPTION", e.getMessage(), e); <ide> } <ide> <ide> public static void warning(String warning) { <del> Log.w("Wa...
Java
apache-2.0
8a0dc768740cf7ae091514c994e9a859bcab7c1e
0
cinovo/cloudconductor-agent-redhat,cinovo/cloudconductor-agent-redhat
package de.cinovo.cloudconductor.agent.executors; /* * #%L * Node Agent for cloudconductor framework * %% * Copyright (C) 2013 - 2014 Cinovo AG * %% * 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 L...
src/main/java/de/cinovo/cloudconductor/agent/executors/InstalledPackages.java
package de.cinovo.cloudconductor.agent.executors; /* * #%L * Node Agent for cloudconductor framework * %% * Copyright (C) 2013 - 2014 Cinovo AG * %% * 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 L...
adds better installed package discovery
src/main/java/de/cinovo/cloudconductor/agent/executors/InstalledPackages.java
adds better installed package discovery
<ide><path>rc/main/java/de/cinovo/cloudconductor/agent/executors/InstalledPackages.java <ide> * %% <ide> * Licensed under the Apache License, Version 2.0 (the <ide> * "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <del> * <add> * <ide> * http://...
Java
apache-2.0
322246b7472d45c0a269bde908c766b1fdb8ce15
0
MichaelVose2/uPortal,ASU-Capstone/uPortal,GIP-RECIA/esup-uportal,apetro/uPortal,EsupPortail/esup-uportal,bjagg/uPortal,doodelicious/uPortal,stalele/uPortal,jl1955/uPortal5,groybal/uPortal,groybal/uPortal,andrewstuart/uPortal,GIP-RECIA/esco-portail,EdiaEducationTechnology/uPortal,jhelmer-unicon/uPortal,phillips1021/uPor...
/** * Copyright 2001 The JA-SIG Collaborative. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
source/org/jasig/portal/channels/groupsmanager/CGroupsManagerUnrestrictedSessionData.java
/** * Copyright 2001 The JA-SIG Collaborative. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
javadoc clean up git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@7304 f5dbab47-78f9-eb45-b975-e544023573eb
source/org/jasig/portal/channels/groupsmanager/CGroupsManagerUnrestrictedSessionData.java
javadoc clean up
<ide><path>ource/org/jasig/portal/channels/groupsmanager/CGroupsManagerUnrestrictedSessionData.java <ide> <ide> /** <ide> * Session data that is a subset of CGroupsManagerSessionData. <add> * <ide> * @author Don Fracapane <ide> * @version $Revision$ <ide> */ <ide> public IGroupsManagerPermissions gmPermissions...
Java
apache-2.0
241adf92dd4797b1223825068312ee728f615193
0
sepetnit/j-heuristic-search-framework,sepetnit/j-heuristic-search-framework
package org.cs4j.core.domains; import org.cs4j.core.collections.PairInt; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Random; /** * This class contains general util functions that are required in more than a single domain * * All the functions in this class are defined as ...
src/main/java/org/cs4j/core/domains/Utils.java
package org.cs4j.core.domains; import org.cs4j.core.collections.PairInt; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Random; /** * This class contains general util functions that are required in more than a single domain * * All the functions in this class are defined as ...
Added doubleListToArray function
src/main/java/org/cs4j/core/domains/Utils.java
Added doubleListToArray function
<ide><path>rc/main/java/org/cs4j/core/domains/Utils.java <ide> int[] toReturn = new int[list.size()]; <ide> int index = 0; <ide> for (int element : list) { <add> toReturn[index++] = element; <add> } <add> return toReturn; <add> } <add> <add> /** <add> * Convert...
Java
apache-2.0
ddc8b77a1d27d0f8a911eb9f28a905ba461680a6
0
AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/andro...
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
loader/src/main/java/androidx/loader/content/AsyncTaskLoader.java
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove unused RestrictTo(LIBRARY_GROUP) APIs from Loaders This API was not used internally and was never available externally. Test: ./gradlew bOS Change-Id: I93863d722c260133ba79a7690483d78a07432e78
loader/src/main/java/androidx/loader/content/AsyncTaskLoader.java
Remove unused RestrictTo(LIBRARY_GROUP) APIs from Loaders
<ide><path>oader/src/main/java/androidx/loader/content/AsyncTaskLoader.java <ide> <ide> package androidx.loader.content; <ide> <del>import static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP; <del> <ide> import android.content.Context; <ide> import android.os.AsyncTask; <ide> import android.os.Handler; <ide> <...
Java
epl-1.0
0f62a2973cb7eac660bdfc6335a2d031065a3ece
0
amolenaar/fitnesse,rbevers/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,hansjoachim/fitnesse,hansjoachim/fitnesse,rbevers/fitnesse,jdufner/fitnesse,jdufner/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse
package fitnesse.wiki.fs; import java.io.File; import java.io.IOException; import java.util.List; import org.hamcrest.Matcher; import org.junit.Before; import org.junit.Test; import fitnesse.wiki.*; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.Co...
test/fitnesse/wiki/fs/WikiFilePageTest.java
package fitnesse.wiki.fs; import java.io.File; import java.io.IOException; import java.util.List; import org.hamcrest.Matcher; import org.junit.Before; import org.junit.Test; import fitnesse.wiki.*; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.Co...
Fix unit test under Windows
test/fitnesse/wiki/fs/WikiFilePageTest.java
Fix unit test under Windows
<ide><path>est/fitnesse/wiki/fs/WikiFilePageTest.java <ide> final List<WikiPage> children = root.getChildren(); <ide> <ide> assertThat(children, hasSize(1)); <del> assertThat(((WikiFilePage) children.get(0)).getFileSystemPath().getPath(), is("root/testPage")); <add> assertThat(((WikiFilePage) children.ge...
Java
apache-2.0
b8b34b81cc16bc085016297cfe6346356a26dde2
0
alibaba/nacos,alibaba/nacos,alibaba/nacos,alibaba/nacos
/* * Copyright 1999-2021 Alibaba Group Holding 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 applica...
client/src/main/java/com/alibaba/nacos/client/auth/ram/injector/ConfigResourceInjector.java
/* * Copyright 1999-2021 Alibaba Group Holding 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 applica...
[ISSUE#8533] remove redundant signHeaders empty judgment (#8534)
client/src/main/java/com/alibaba/nacos/client/auth/ram/injector/ConfigResourceInjector.java
[ISSUE#8533] remove redundant signHeaders empty judgment (#8534)
<ide><path>lient/src/main/java/com/alibaba/nacos/client/auth/ram/injector/ConfigResourceInjector.java <ide> } <ide> Map<String, String> signHeaders = SpasAdapter <ide> .getSignHeaders(getResource(resource.getNamespace(), resource.getGroup()), secretKey); <del> if (signHeaders != n...
Java
apache-2.0
c53840e2ee7262b44ad408ab2dd5fb25333047c6
0
runigma/pft-16,runigma/pft-16
package com.example.tests; public class ContactData implements Comparable<ContactData> { public String firstname; public String lastname; public String address; public String homephone; public String mobilephone; public String workphone; public String firstemail; public String secondemail; public String day; ...
adressbook-selenium-tests/src/com/example/tests/ContactData.java
package com.example.tests; public class ContactData implements Comparable<ContactData> { public String firstname; public String lastname; public String address; public String homephone; public String mobilephone; public String workphone; public String firstemail; public String secondemail; public String day; ...
Method for contacts comparison was modified. Method for contacts comparison was modified. Second checking was added.
adressbook-selenium-tests/src/com/example/tests/ContactData.java
Method for contacts comparison was modified.
<ide><path>dressbook-selenium-tests/src/com/example/tests/ContactData.java <ide> <ide> @Override <ide> public int compareTo(ContactData other) { <del> return this.lastname.toLowerCase().compareTo(other.lastname.toLowerCase()); <add> int cmp; <add> cmp = this.lastname.toLowerCase().compareTo(other.lastname.toLow...
JavaScript
mit
450044e750cad26c50fe7b07fc005d4432ecd05e
0
TulevaEE/onboarding-client,TulevaEE/onboarding-client,TulevaEE/onboarding-client
import React, { Fragment } from 'react'; import { PropTypes as Types } from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Message } from 'retranslate'; import { Link } from 'react-router'; import { Loader, ErrorMessage } from '../common'; import PensionFundTa...
src/entries/components/account/AccountPage.js
import React from 'react'; import { PropTypes as Types } from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Message } from 'retranslate'; import { Link } from 'react-router'; import { Loader, ErrorMessage } from '../common'; import PensionFundTable from './.....
Remove unnecessary grid elements
src/entries/components/account/AccountPage.js
Remove unnecessary grid elements
<ide><path>rc/entries/components/account/AccountPage.js <del>import React from 'react'; <add>import React, { Fragment } from 'react'; <ide> import { PropTypes as Types } from 'prop-types'; <ide> import { bindActionCreators } from 'redux'; <ide> import { connect } from 'react-redux'; <ide> saveUser, <ide> error, <id...
Java
mit
5bc3d9da21cb01e5832e5e6d164075b5c9a30223
0
ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new
package app.hongs.util.sketch; import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.imageio.ImageIO; import n...
hongs-serv/src/main/java/app/hongs/util/sketch/Thumb.java
package app.hongs.util.sketch; import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.imageio.ImageIO; import n...
重写缩略图类
hongs-serv/src/main/java/app/hongs/util/sketch/Thumb.java
重写缩略图类
<ide><path>ongs-serv/src/main/java/app/hongs/util/sketch/Thumb.java <ide> List<String> pts = new ArrayList(); <ide> List<String> urs = new ArrayList(); <ide> Thumb thb = new Thumb(pth ); <del> <del> Builder bld; <add> Builder bld ; <ide> Matcher mat ; <...
JavaScript
bsd-3-clause
51edf3cece13b42b8419c7d2587a4e2beeb05fd9
0
antlr/antlr4,ericvergnaud/antlr4,parrt/antlr4,parrt/antlr4,antlr/antlr4,antlr/antlr4,ericvergnaud/antlr4,parrt/antlr4,antlr/antlr4,antlr/antlr4,parrt/antlr4,ericvergnaud/antlr4,parrt/antlr4,antlr/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,parrt/antlr4,ericvergnaud/antlr4,antlr/antlr4,ericvergnaud/antlr4,ericvergnau...
// /* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ // var Token = require('./Token').Token; require('./polyfills/codepointat'); require('./polyfills/fromcodepoint'); // ...
runtime/JavaScript/src/antlr4/InputStream.js
// /* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ // var Token = require('./Token').Token; require('./polyfills/codepointat'); // Vacuum all input from a string and the...
Fix InputStream.getText() when input contains Unicode values > U+FFFF
runtime/JavaScript/src/antlr4/InputStream.js
Fix InputStream.getText() when input contains Unicode values > U+FFFF
<ide><path>untime/JavaScript/src/antlr4/InputStream.js <ide> <ide> var Token = require('./Token').Token; <ide> require('./polyfills/codepointat'); <add>require('./polyfills/fromcodepoint'); <ide> <ide> // Vacuum all input from a string and then treat it like a buffer. <ide> <ide> function _loadString(stream, decodeT...
Java
epl-1.0
d438c0e1293278d48915d031748e84cbffa8f749
0
GoClipse/goclipse,GoClipse/goclipse,GoClipse/goclipse
/******************************************************************************* * Copyright (c) 2014 Bruno Medeiros and other Contributors. * 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 distributio...
plugin_ide.core/src-lang/melnorme/lang/ide/core/operations/AbstractToolManager.java
/******************************************************************************* * Copyright (c) 2014 Bruno Medeiros and other Contributors. * 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 distributio...
Merging [MelnormeLang]
plugin_ide.core/src-lang/melnorme/lang/ide/core/operations/AbstractToolManager.java
Merging [MelnormeLang]
<ide><path>lugin_ide.core/src-lang/melnorme/lang/ide/core/operations/AbstractToolManager.java <ide> return getSDKToolPathField(project).getValidatedField(); <ide> } <ide> <del> protected IValidatedField<Path> getSDKToolPathField(IProject project) { <add> private IValidatedField<Path> getSDKToolPathField(IProject p...
Java
apache-2.0
6e44b0d2c9a9d6d691b3352b50bcd34300a4b33d
0
lummyare/lummyare-test,zenefits/selenium,minhthuanit/selenium,lukeis/selenium,dbo/selenium,titusfortner/selenium,clavery/selenium,chrisblock/selenium,davehunt/selenium,quoideneuf/selenium,thanhpete/selenium,dcjohnson1989/selenium,minhthuanit/selenium,Jarob22/selenium,lrowe/selenium,bmannix/selenium,tkurnosova/selenium,...
/* * Copyright 2006 ThoughtWorks, 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 applica...
server/src/main/java/org/openqa/selenium/server/SingleEntryAsyncQueue.java
/* * Copyright 2006 ThoughtWorks, 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 applica...
reverting, whoops r2078
server/src/main/java/org/openqa/selenium/server/SingleEntryAsyncQueue.java
reverting, whoops
<ide><path>erver/src/main/java/org/openqa/selenium/server/SingleEntryAsyncQueue.java <ide> private LinkedList q = new LinkedList(); <ide> private boolean waitingThreadsShouldThrow = false; <ide> static private int timeout = SeleniumServer.DEFAULT_TIMEOUT; <del> <add> <ide> class OwnerAndDataPair ext...
Java
lgpl-2.1
6ab14dd250cacc12dda03e6725f3a8cd87e4e651
0
cfallin/soot,anddann/soot,xph906/SootNew,mbenz89/soot,plast-lab/soot,plast-lab/soot,xph906/SootNew,mbenz89/soot,mbenz89/soot,xph906/SootNew,mbenz89/soot,cfallin/soot,plast-lab/soot,anddann/soot,anddann/soot,anddann/soot,cfallin/soot,cfallin/soot,xph906/SootNew
/* Soot - a J*va Optimization Framework * Copyright (C) 2003 Ondrej Lhotak * * 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.1 of the License, or (at your option)...
src/soot/jimple/toolkits/callgraph/OnFlyCallGraphBuilder.java
/* Soot - a J*va Optimization Framework * Copyright (C) 2003 Ondrej Lhotak * * 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.1 of the License, or (at your option)...
better throw exception than just printing a warning
src/soot/jimple/toolkits/callgraph/OnFlyCallGraphBuilder.java
better throw exception than just printing a warning
<ide><path>rc/soot/jimple/toolkits/callgraph/OnFlyCallGraphBuilder.java <ide> receiverNames.add(target); <ide> } else if(kind.equals("Method.invoke")) { <ide> if(!Scene.v().containsMethod(target)) { <del> G.v().out.println("Warning: Unknown method for signature: "+target); <add> t...
Java
apache-2.0
error: pathspec 'src/main/java/kfs/kfsGenDbi/generator.java' did not match any file(s) known to git
02e50128a6cc8a5b770e790fcbe1aff697c6aa0f
1
k0fis/kfsWfl
package kfs.kfsGenDbi; import java.math.BigDecimal; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import kfs.kfsDbi.kfsNames; import kfs.kfsDbi.kfsSb; /** * * @author pavedrim ...
src/main/java/kfs/kfsGenDbi/generator.java
Add Class Generator
src/main/java/kfs/kfsGenDbi/generator.java
Add Class Generator
<ide><path>rc/main/java/kfs/kfsGenDbi/generator.java <add>package kfs.kfsGenDbi; <add> <add>import java.math.BigDecimal; <add>import java.sql.Connection; <add>import java.sql.DriverManager; <add>import java.sql.PreparedStatement; <add>import java.sql.ResultSet; <add>import java.sql.ResultSetMetaData; <add>import java.s...
JavaScript
mit
a3ef96f0007ddf506469809390d4b0cbad7ec7c4
0
cvan/fastHAR-api,cvan/fastHAR-api
var spawn = require('child_process').spawn; var db = require('./db'); var server = require('./server'); function phantomHAR(url, cb) { var output = ''; var error = ''; var args = [ __dirname + '/node_modules/phantomhar/phantomhar.js', url ]; var job = spawn('phantomjs', args); ...
app.js
var spawn = require('child_process').spawn; var db = require('./db'); var server = require('./server'); function phantomHAR(url, cb) { var output = ''; var error = ''; var args = [ __dirname + '/node_modules/phantomhar/phantomhar.js', url ]; var job = spawn('phantomjs', args); ...
JSON.stringify phantomHAR output
app.js
JSON.stringify phantomHAR output
<ide><path>pp.js <ide> return res.error(400, {error: err}); <ide> } <ide> }); <del> console.log(data); <add> console.log(JSON.stringify(data, null, 4)); <ide> }); <ide> <ide> res.json({success: true});
Java
apache-2.0
b18fa319c36f6a03bb7263025b742b638e36e3db
0
kantega/Flyt-cms,kantega/Flyt-cms,kantega/Flyt-cms
/* * Copyright 2009 Kantega AS * * 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...
modules/core/src/java/no/kantega/publishing/common/ContentIdHelper.java
/* * Copyright 2009 Kantega AS * * 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...
AP-1549 - Page on site with alias does not work git-svn-id: a93d0315e7e7eeba024b3856a238bc20f6e6a60a@4173 fd808399-8219-4f14-9d4c-37719d9ec93d
modules/core/src/java/no/kantega/publishing/common/ContentIdHelper.java
AP-1549 - Page on site with alias does not work
<ide><path>odules/core/src/java/no/kantega/publishing/common/ContentIdHelper.java <ide> <ide> package no.kantega.publishing.common; <ide> <add>import com.google.gdata.util.common.base.Pair; <ide> import no.kantega.commons.exception.SystemException; <ide> import no.kantega.commons.log.Log; <ide> import no.kantega.comm...
Java
apache-2.0
6d4d3fc93f1620e6c9df09ee1bbceee0e0da081c
0
jtablesaw/tablesaw,jtablesaw/tablesaw,jtablesaw/tablesaw
package tech.tablesaw.joining; import com.google.common.collect.Streams; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import tech.tablesaw.a...
core/src/main/java/tech/tablesaw/joining/DataFrameJoiner.java
package tech.tablesaw.joining; import com.google.common.collect.Streams; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import tech.tablesaw.a...
Fix comment formatting
core/src/main/java/tech/tablesaw/joining/DataFrameJoiner.java
Fix comment formatting
<ide><path>ore/src/main/java/tech/tablesaw/joining/DataFrameJoiner.java <ide> } <ide> <ide> /** <del> Create a reverse index for a given column. <add> * Create a reverse index for a given column. <ide> */ <ide> private Index indexFor(Table table, int colIndex) { <ide> ColumnType type = ...
Java
agpl-3.0
ffbcb834a6df0f5fd3acd59261126f19d4779e70
0
echinopsii/net.echinopsii.ariane.community.core.directory,echinopsii/net.echinopsii.ariane.community.core.directory,echinopsii/net.echinopsii.ariane.community.core.directory
/** * Directory wat * Application REST endpoint * Copyright (C) 2013 Mathilde Ffrench * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at y...
wat/src/main/java/net/echinopsii/ariane/community/core/directory/wat/rest/organisational/ApplicationEndpoint.java
/** * Directory wat * Application REST endpoint * Copyright (C) 2013 Mathilde Ffrench * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at y...
[ACC-200] improve application post
wat/src/main/java/net/echinopsii/ariane/community/core/directory/wat/rest/organisational/ApplicationEndpoint.java
[ACC-200] improve application post
<ide><path>at/src/main/java/net/echinopsii/ariane/community/core/directory/wat/rest/organisational/ApplicationEndpoint.java <ide> import net.echinopsii.ariane.community.core.directory.base.json.ds.organisational.ApplicationJSON; <ide> import net.echinopsii.ariane.community.core.directory.wat.plugin.DirectoryJPAProvider...
Java
apache-2.0
0c733e14256715e64003a47aa75083c47c781208
0
cnoldtree/netty,tbrooks8/netty,louxiu/netty,luyiisme/netty,mx657649013/netty,carl-mastrangelo/netty,gerdriesselmann/netty,ejona86/netty,zer0se7en/netty,NiteshKant/netty,artgon/netty,Techcable/netty,johnou/netty,blucas/netty,Apache9/netty,idelpivnitskiy/netty,jongyeol/netty,netty/netty,mx657649013/netty,blucas/netty,ich...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
transport/src/main/java/io/netty/channel/nio/NioEventLoop.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
[#2363] Correctly null out SelectionKey[] when selectAgain Motivation: The prefix fix of #2363 did not correctly handle the case when selectAgain is true and so missed to null out entries. Modifications: Move the i++ from end of loop to beginning of loop Result: Entries in the array will be null out so allow to h...
transport/src/main/java/io/netty/channel/nio/NioEventLoop.java
[#2363] Correctly null out SelectionKey[] when selectAgain
<ide><path>ransport/src/main/java/io/netty/channel/nio/NioEventLoop.java <ide> // null out entries in the array to allow to have it GC'ed once the Channel close <ide> // See https://github.com/netty/netty/issues/2363 <ide> for (;;) { <add> i++; <ide> ...