lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
141ab783503bc8f790d6578115568d7ab44f256b
0
vroyer/elasticassandra,vroyer/elasticassandra,vroyer/elasticassandra
/* * Copyright (c) 2017 Strapdata (http://www.strapdata.com) * Contains some code from Elasticsearch (http://www.elastic.co) * * 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:...
server/src/main/java/org/elassandra/gateway/CassandraGatewayService.java
/* * Copyright (c) 2017 Strapdata (http://www.strapdata.com) * Contains some code from Elasticsearch (http://www.elastic.co) * * 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:...
fixup startup race condition on routing table update
server/src/main/java/org/elassandra/gateway/CassandraGatewayService.java
fixup startup race condition on routing table update
<ide><path>erver/src/main/java/org/elassandra/gateway/CassandraGatewayService.java <ide> <ide> // update the state to reflect <ide> ClusterState updatedState = ClusterState.builder(currentState).blocks(blocks).build(); <del> return updatedState; <add> <add...
Java
apache-2.0
449dc5cf2b9fb405fac8e3ddadfc988520d1f2ff
0
maheshika/carbon4-kernel,maheshika/carbon4-kernel,maheshika/carbon4-kernel,maheshika/carbon4-kernel
/* * Copyright 2004,2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/multitenancy/MultitenantMessageReceiver.java
/* * Copyright 2004,2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
CARBON-14814 - tenant mode axis Client never received the 202 accepted
core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/multitenancy/MultitenantMessageReceiver.java
CARBON-14814 - tenant mode axis Client never received the 202 accepted
<ide><path>ore/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/multitenancy/MultitenantMessageReceiver.java <ide> <ide> // inject the message to the tenant inflow handlers <ide> AxisEngine.receive(tenantInMsgCtx); <add> mainInMsgContext.getOperationContext().setProperty(Const...
Java
lgpl-2.1
2424dbfffd15733f39c1e8c4d6ef8455966810e9
0
Moderbord/Droidforce-UserInterface,Moderbord/Droidforce-UserInterface,secure-software-engineering/DroidForce,Moderbord/DroidForce
package de.ecspride.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import java.util.Collections; import java.util.List; import org.xmlpull.v1.XmlPullParserExce...
Instrumentation-PEP/src/de/ecspride/util/UpdateManifestAndCodeForWaitPDP.java
package de.ecspride.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.Collections; import java.util.List; import org.xmlpull.v1.XmlPullParserException; import soot.Body; import soot.Scene; import soot.SootClass; import soot.SootMethod; impor...
made adding the image file a bit more stable
Instrumentation-PEP/src/de/ecspride/util/UpdateManifestAndCodeForWaitPDP.java
made adding the image file a bit more stable
<ide><path>nstrumentation-PEP/src/de/ecspride/util/UpdateManifestAndCodeForWaitPDP.java <ide> import java.io.File; <ide> import java.io.FileOutputStream; <ide> import java.io.IOException; <add>import java.io.InputStream; <ide> import java.net.URL; <add>import java.nio.file.Files; <add>import java.nio.file.StandardCopyO...
JavaScript
mit
0d9fb5b90da6cfaffc5338c36b47e1b9dc700ff0
0
dosten-xx/watermap,dosten-xx/watermap,dosten-xx/watermap
//**************************** // Global variables // **************************** var map; var mapLayers; var mapCenters; //**************************** // Custom controls // **************************** window.app = {}; var app = window.app; app.generateTrailControl = function(opt_options) { //alert("creating new...
src/main/webapp/resources/js/main.js
//**************************** // Global variables // **************************** var map; var mapLayers; var mapCenters; //**************************** // Custom controls // **************************** window.app = {}; var app = window.app; app.generateTrailControl = function(opt_options) { //alert("creating new...
modified gray color
src/main/webapp/resources/js/main.js
modified gray color
<ide><path>rc/main/webapp/resources/js/main.js <ide> var colorYellow = [255, 255, 0, alpha]; <ide> var colorRed = [255, 0, 0, alpha]; <ide> var colorWhite = [255, 255, 255, alpha]; <del>var colorGray = [165, 165, 165, alpha]; <add>var colorGray = [60, 60, 60, alpha]; <ide> <ide> var styleCache = {}; <ide>
Java
apache-2.0
a592bcc60eed5e44bb736e02de8dc942ea2e8f36
0
Prosjekt2-09arduino/ArduinoStore,Prosjekt2-09arduino/ArduinoStore,Prosjekt2-09arduino/ArduinoStore
package no.group09.utils; /* * Licensed to UbiCollab.org under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. UbiCollab.org licenses this file * to you under the Apache License, Version 2.0 (the "License"...
src/no/group09/utils/Devices.java
package no.group09.utils; /* * Licensed to UbiCollab.org under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. UbiCollab.org licenses this file * to you under the Apache License, Version 2.0 (the "License"...
fixed disconnect button, it now unselects the list element
src/no/group09/utils/Devices.java
fixed disconnect button, it now unselects the list element
<ide><path>rc/no/group09/utils/Devices.java <ide> import android.widget.ListView; <ide> import android.widget.ProgressBar; <ide> import android.widget.SearchView; <add>import android.widget.Toast; <ide> import android.widget.AdapterView.OnItemClickListener; <ide> import android.widget.TextView; <ide> import android.vie...
Java
apache-2.0
ada9e9f52d6499af684ca5ef435f3294556a933e
0
wso2-extensions/identity-governance
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/ConfigStoreFunctionalityLockPropertyHandler.java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Resolve minor issues.
components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/ConfigStoreFunctionalityLockPropertyHandler.java
Resolve minor issues.
<ide><path>omponents/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/ConfigStoreFunctionalityLockPropertyHandler.java <ide> import org.wso2.carbon.identity.configuration.mgt.core.model.Resource; <ide> import org.wso2.carbon.identity.recovery.IdentityRecoveryClientException; <id...
Java
apache-2.0
498ec4d839f90707fd07fc33a02f377bf8f7da49
0
google/paco,google/paco,google/paco,google/paco,google/paco,google/paco,google/paco
package com.google.sampling.experiential.server; import java.util.List; import com.google.common.collect.Lists; import com.google.sampling.experiential.shared.EventDAO; import com.pacoapp.paco.shared.util.Constants; public class EventQueryStatus { private String status = Constants.SUCCESS; private String errorM...
Paco-Server/src/com/google/sampling/experiential/server/EventQueryStatus.java
package com.google.sampling.experiential.server; import java.util.List; import com.google.common.collect.Lists; import com.google.sampling.experiential.shared.EventDAO; public class EventQueryStatus { private String status; private String errorMessage; private List<EventDAO> events = Lists.newArrayList(); ...
set default error status to false
Paco-Server/src/com/google/sampling/experiential/server/EventQueryStatus.java
set default error status to false
<ide><path>aco-Server/src/com/google/sampling/experiential/server/EventQueryStatus.java <ide> <ide> import com.google.common.collect.Lists; <ide> import com.google.sampling.experiential.shared.EventDAO; <add>import com.pacoapp.paco.shared.util.Constants; <ide> <ide> public class EventQueryStatus { <ide> <del> priva...
Java
bsd-3-clause
607300704dda1285bd88b49846d5708e6e07c8d7
0
luxiaohan/openxal-csns-luxh,luxiaohan/openxal-csns-luxh,luxiaohan/openxal-csns-luxh,openxal/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,openxal/openxal,EuropeanSpallationSource/openxal,openxal/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,openxal/openxal,EuropeanSpal...
package xal.app.injdumpwizard.utils; import java.util.*; import xal.extension.solver.*; import xal.extension.solver.hint.*; import xal.extension.widgets.plot.BasicGraphData; /** * This is a accelerator sequence class. * The sequence includes a quad, two H and V correctors, two BPMs, and one WS. * *@author ...
apps/injdumpwizard/src/xal/app/injdumpwizard/utils/IDmpAccSeq.java
package xal.app.injdumpwizard.utils; import java.util.*; import xal.extension.solver.*; import xal.extension.solver.hint.*; import xal.extension.widgets.plot.BasicGraphData; /** * This is a accelerator sequence class. * The sequence includes a quad, two H and V correctors, two BPMs, and one WS. * *@author ...
Set the variable references to the optimal values at the end of the solver session.
apps/injdumpwizard/src/xal/app/injdumpwizard/utils/IDmpAccSeq.java
Set the variable references to the optimal values at the end of the solver session.
<ide><path>pps/injdumpwizard/src/xal/app/injdumpwizard/utils/IDmpAccSeq.java <ide> <ide> Solver solver = new Solver( SolveStopperFactory.maxEvaluationsStopper( 500 ) ); <ide> solver.solve( _problem ); <del> <add> <add> final Trial bestSolution = solver.getScoreBoard().getBestSolution(); <add> _problem.evaluate...
Java
lgpl-2.1
4512480f808ae6d4e07ddf82df899cdc21b1583d
0
levants/lightmare
package org.lightmare.jpa.datasource.tomcat; import java.io.IOException; import java.util.Map; import java.util.Properties; import javax.naming.Context; import org.apache.tomcat.jdbc.pool.DataSource; import org.apache.tomcat.jdbc.pool.PoolProperties; import org.lightmare.jpa.datasource.InitDataSource; import org.lig...
src/main/java/org/lightmare/jpa/datasource/tomcat/InitTomcat.java
package org.lightmare.jpa.datasource.tomcat; import java.io.IOException; import java.util.Map; import java.util.Properties; import javax.naming.Context; import org.apache.tomcat.jdbc.pool.DataSource; import org.apache.tomcat.jdbc.pool.PoolProperties; import org.lightmare.jpa.datasource.InitDataSource; import org.lig...
commented / improved code in utility classes
src/main/java/org/lightmare/jpa/datasource/tomcat/InitTomcat.java
commented / improved code in utility classes
<ide><path>rc/main/java/org/lightmare/jpa/datasource/tomcat/InitTomcat.java <ide> <ide> JDBC_INTERCEPTOR( <ide> "org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;", <del> "org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"); <add> "org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"); //In...
Java
apache-2.0
2d1f59399ad64d3fe90f28c2c700ae1815503f8a
0
venukb/any23,venukb/any23,venukb/any23,venukb/any23
/* * Copyright 2008-2010 Digital Enterprise Research Institute (DERI) * * 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 * * Unle...
any23-core/src/main/java/org/deri/any23/util/FileUtils.java
/* * Copyright 2008-2010 Digital Enterprise Research Institute (DERI) * * 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 * * Unle...
Added listFilesRecursively() method.
any23-core/src/main/java/org/deri/any23/util/FileUtils.java
Added listFilesRecursively() method.
<ide><path>ny23-core/src/main/java/org/deri/any23/util/FileUtils.java <ide> import java.io.FileNotFoundException; <ide> import java.io.FileOutputStream; <ide> import java.io.FileWriter; <add>import java.io.FilenameFilter; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.PrintWrit...
Java
apache-2.0
c2ba524e3e01747be892405f9e93ebfb6adfe89b
0
99soft/autobind
package org.nnsoft.guice.autobind.scanner.asm; /* * Copyright 2012 The 99 Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
scanner/asm/src/main/java/org/nnsoft/guice/autobind/scanner/asm/AnnotationCollector.java
package org.nnsoft.guice.autobind.scanner.asm; /* * Copyright 2012 The 99 Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
logger can be final
scanner/asm/src/main/java/org/nnsoft/guice/autobind/scanner/asm/AnnotationCollector.java
logger can be final
<ide><path>canner/asm/src/main/java/org/nnsoft/guice/autobind/scanner/asm/AnnotationCollector.java <ide> <ide> public static final int ASM_FLAGS = ClassReader.SKIP_CODE | ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES; <ide> <del> private Logger _logger = Logger.getLogger( AnnotationCollector.class.getName()...
Java
apache-2.0
0f1792340cca46d46acb6c9a1487d50f73c124f2
0
gentics/mesh,gentics/mesh,gentics/mesh,gentics/mesh
package com.gentics.mesh.cli; import static org.junit.Assert.fail; import java.io.File; import java.io.IOException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Test; import com.gentics.mesh.Mesh; ...
core/src/test/java/com/gentics/mesh/cli/MeshIntegerationTest.java
package com.gentics.mesh.cli; import static org.junit.Assert.fail; import java.io.File; import java.io.IOException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Test; import com.gentics.mesh.Mesh; ...
Bump ci timeout
core/src/test/java/com/gentics/mesh/cli/MeshIntegerationTest.java
Bump ci timeout
<ide><path>ore/src/test/java/com/gentics/mesh/cli/MeshIntegerationTest.java <ide> @Test <ide> public void testStartup() throws Exception { <ide> <del> long timeout = DEFAULT_TIMEOUT_SECONDS * 6; <add> long timeout = DEFAULT_TIMEOUT_SECONDS * 20; <ide> final CountDownLatch latch = new CountDownLatch(2); <ide> f...
Java
apache-2.0
76335ec4a120efa880767b9e56da4f7c0be96286
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
package io.quarkus.runtime.configuration; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.OptionalDouble; imp...
core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigInstantiator.java
package io.quarkus.runtime.configuration; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.OptionalDouble; import java.util.OptionalInt; import java.util.OptionalLong...
Fix config instantiation to account for both "Config" and "Configuration" class name suffixes
core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigInstantiator.java
Fix config instantiation to account for both "Config" and "Configuration" class name suffixes
<ide><path>ore/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigInstantiator.java <ide> import java.lang.reflect.ParameterizedType; <ide> import java.lang.reflect.Type; <ide> import java.util.ArrayList; <add>import java.util.Collections; <add>import java.util.HashSet; <ide> import java.util.List; <ide> impo...
Java
epl-1.0
08f38df37dad5c3a6ad64842566780c7cc04cd0d
0
uci-sdcl/lighthouse,uci-sdcl/lighthouse
package edu.uci.lighthouse.model; import java.io.Serializable; import java.security.NoSuchAlgorithmException; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery;...
LighthouseModel/src/edu/uci/lighthouse/model/LighthouseEvent.java
package edu.uci.lighthouse.model; import java.io.Serializable; import java.security.NoSuchAlgorithmException; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery;...
A named query (LighthouseEvent.findByTimestamp) was rewritten in the LighthouseEvent class and it dropped the parameter "author" (the history says it was for a student named Kyle). This created an exception because the method, executeNamedQuery, in class PullModel (line 68) was trying to pass an argument to the paramet...
LighthouseModel/src/edu/uci/lighthouse/model/LighthouseEvent.java
A named query (LighthouseEvent.findByTimestamp) was rewritten in the LighthouseEvent class and it dropped the parameter "author" (the history says it was for a student named Kyle). This created an exception because the method, executeNamedQuery, in class PullModel (line 68) was trying to pass an argument to the paramet...
<ide><path>ighthouseModel/src/edu/uci/lighthouse/model/LighthouseEvent.java <ide> * Select new events by using the timestamp and NOT Author <ide> * */ <ide> @NamedQueries ({ <del> @NamedQuery(name = "LighthouseEvent.findByTimestampAndAuthor", <add> //Lee <add> //@NamedQuery(name = "LighthouseEvent.findByTimestampAnd...
Java
mit
e8d0fef04ea120d9fd297cc4b4295bcebcd7e724
0
xemime-lang/xemime,xemime-lang/xemime
package net.zero918nobita.Xemime; import java.io.BufferedReader; import java.io.FileReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.TreeMap; /** * エントリーポイント * @author Kodai Matsumoto */ public class Main { /** 構文解析器 */ private static Parser ...
src/main/java/net/zero918nobita/Xemime/Main.java
package net.zero918nobita.Xemime; import java.io.BufferedReader; import java.io.FileReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.TreeMap; /** * エントリーポイント * @author Kodai Matsumoto */ public class Main { private static...
Improve readability
src/main/java/net/zero918nobita/Xemime/Main.java
Improve readability
<ide><path>rc/main/java/net/zero918nobita/Xemime/Main.java <ide> import java.io.InputStreamReader; <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <del>import java.util.HashMap; <ide> import java.util.TreeMap; <ide> <ide> /** <ide> */ <ide> <ide> public class Main { <del> private static VirtualMe...
Java
apache-2.0
5a7cffaa5055e790a4ed95d5d6e85b0a3eec1eeb
0
JA-VON/UWI-Research-Days-Android,rajaybitter/UWI-Research-Days-Android
package com.uwics.uwidiscover.activities; import android.annotation.SuppressLint; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.NavUtils; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.v...
app/src/main/java/com/uwics/uwidiscover/activities/LiveActivity.java
package com.uwics.uwidiscover.activities; import android.annotation.SuppressLint; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.NavUtils; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.v...
little fix
app/src/main/java/com/uwics/uwidiscover/activities/LiveActivity.java
little fix
<ide><path>pp/src/main/java/com/uwics/uwidiscover/activities/LiveActivity.java <ide> noStreamTextView.setVisibility(View.GONE); <ide> mWebView.setVisibility(View.VISIBLE); <ide> mWebView.loadUrl(streamUrl); <del> } <del>// switch (channelIndex) { <de...
JavaScript
mit
075df0f715e381483f641fcfc0cfdff6889014d6
0
jimboy3100/jimboy3100.github.io,jimboy3100/jimboy3100.github.io,jimboy3100/jimboy3100.github.io,jimboy3100/jimboy3100.github.io
/************* * LEGEND mod Express v1, by Jimboy3100 email:jimboy3100@hotmail.com * Main Script * Semiversion 23.91 *************/ var _0xaf82=["\x31\x30","\x75\x73\x65\x72\x4C\x61\x6E\x67\x75\x61\x67\x65","\x70\x72\x6F\x4C\x69\x63\x65\x6E\x63\x65\x55\x49\x44","\x67\x65\x74\x49\x74\x65\x6D","\x6E\x75\x6C\x6C","\x3...
LMexpress/LMexpress.js
/************* * LEGEND mod Express v1, by Jimboy3100 email:jimboy3100@hotmail.com * Main Script * Semiversion 23.90 *************/ var _0x7c78=["\x31\x30","\x75\x73\x65\x72\x4C\x61\x6E\x67\x75\x61\x67\x65","\x70\x72\x6F\x4C\x69\x63\x65\x6E\x63\x65\x55\x49\x44","\x67\x65\x74\x49\x74\x65\x6D","\x6E\x75\x6C\x6C","\x3...
Update LMexpress.js
LMexpress/LMexpress.js
Update LMexpress.js
<ide><path>Mexpress/LMexpress.js <ide> /************* <ide> * LEGEND mod Express v1, by Jimboy3100 email:jimboy3100@hotmail.com <ide> * Main Script <del>* Semiversion 23.90 <add>* Semiversion 23.91 <ide> *************/ <ide> <del>var _0x7c78=["\x31\x30","\x75\x73\x65\x72\x4C\x61\x6E\x67\x75\x61\x67\x65","\x70\x72\x...
Java
apache-2.0
1012f68886a17b057546a96c8d0fbdcacd083eef
0
pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus
/** * Copyright 2007-2008 University Of Southern California * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/edu/isi/pegasus/planner/code/gridstart/PegasusLite.java
/** * Copyright 2007-2008 University Of Southern California * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
PM-779 log checkpoint log messages in the pegasus lite script, only if we are transferring checkpoint files
src/edu/isi/pegasus/planner/code/gridstart/PegasusLite.java
PM-779 log checkpoint log messages in the pegasus lite script, only if we are transferring checkpoint files
<ide><path>rc/edu/isi/pegasus/planner/code/gridstart/PegasusLite.java <ide> } <ide> <ide> //PM-779 checkpoint files need to be setup to never fail <del> appendStderrFragment( sb, "staging in checkpoint files" ); <del> sb.append( "# stage in ...
Java
apache-2.0
7ff365d8ad7d8af56abf4cca10df569e6014f959
0
labertasch/sling,awadheshv/sling,trekawek/sling,awadheshv/sling,vladbailescu/sling,tmaret/sling,headwirecom/sling,tmaret/sling,JEBailey/sling,trekawek/sling,ieb/sling,headwirecom/sling,mcdan/sling,ist-dresden/sling,mcdan/sling,mikibrv/sling,anchela/sling,ist-dresden/sling,anchela/sling,trekawek/sling,mikibrv/sling,roel...
/* * 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 ...
testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.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 ...
SLING-6076 Add Maven repository apache-snapshots to base configuration git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1762782 13f79535-47bb-0310-9956-ffa450edef68
testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java
SLING-6076 Add Maven repository apache-snapshots to base configuration
<ide><path>esting/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/TestSupport.java <ide> import static org.ops4j.pax.exam.CoreOptions.composite; <ide> import static org.ops4j.pax.exam.CoreOptions.keepCaches; <ide> import static org.ops4j.pax.exam.CoreOptions.mavenBundle; <add>import stat...
Java
mit
error: pathspec 'ethereumj-core/src/test/java/org/ethereum/net/shh/FilterTest.java' did not match any file(s) known to git
c4c3f62dd77ad8a20717c1ff07343b6861215479
1
gerbrand/ethereumj,loxal/FreeEthereum,caxqueiroz/ethereumj,fjl/ethereumj,loxal/FreeEthereum,ddworken/ethereumj,loxal/FreeEthereum,chengtalent/ethereumj,loxal/ethereumj,shahankhatch/ethereumj,vaporry/ethereumj
package org.ethereum.net.shh; import org.ethereum.crypto.ECKey; import org.junit.Test; import static org.junit.Assert.assertTrue; /** * Created by kest on 6/26/15. */ public class FilterTest { byte[] to = new ECKey().decompress().getPubKey(); byte[] from = new ECKey().decompress().getPubKey(); String[...
ethereumj-core/src/test/java/org/ethereum/net/shh/FilterTest.java
Add the whisper filter tests
ethereumj-core/src/test/java/org/ethereum/net/shh/FilterTest.java
Add the whisper filter tests
<ide><path>thereumj-core/src/test/java/org/ethereum/net/shh/FilterTest.java <add>package org.ethereum.net.shh; <add> <add>import org.ethereum.crypto.ECKey; <add>import org.junit.Test; <add> <add>import static org.junit.Assert.assertTrue; <add> <add>/** <add> * Created by kest on 6/26/15. <add> */ <add>public class Filt...
Java
apache-2.0
e698074cf2112cfe7818fcc8e7992b0f465c8035
0
newtonker/PhotoView,wangqi504635/PhotoView,BinGoBinBin/PhotoView,lear7/PhotoView,Yangwendaxia/PhotoView,309746069/PhotoView,ylfonline/PhotoView,ordinarybill/PhotoView,luwei2012/PhotoView,creativepsyco/PhotoView,ajju4455/PhotoView,jjfreeze/PhotoView,fashioncj/PhotoView,aixiaoxianggithub/PhotoView,LiWeiQin/PhotoView,liuz...
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
library/src/uk/co/senab/photoview/PhotoView.java
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
delegate onlongclicklistener to attacher
library/src/uk/co/senab/photoview/PhotoView.java
delegate onlongclicklistener to attacher
<ide><path>ibrary/src/uk/co/senab/photoview/PhotoView.java <ide> mAttacher.setOnMatrixChangeListener(listener); <ide> } <ide> <add> @Override <add> public void setOnLongClickListener(OnLongClickListener l) { <add> // delegate to the attacher <add> mAttacher.setOnLongClickListener(l); <add> } <add> <ide> /** <ide...
Java
apache-2.0
4b4039b8068ce620a7842f84e46b90b410f063b5
0
mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter
package com.mikepenz.fastadapter_extensions.utilities; import android.util.Log; import com.mikepenz.fastadapter.FastAdapter; import com.mikepenz.fastadapter.IAdapter; import com.mikepenz.fastadapter.IExpandable; import com.mikepenz.fastadapter.IItem; import com.mikepenz.fastadapter.IItemAdapter; import com.mikepenz.f...
library-extensions/src/main/java/com/mikepenz/fastadapter_extensions/utilities/SubItemUtil.java
package com.mikepenz.fastadapter_extensions.utilities; import android.util.Log; import com.mikepenz.fastadapter.FastAdapter; import com.mikepenz.fastadapter.IAdapter; import com.mikepenz.fastadapter.IExpandable; import com.mikepenz.fastadapter.IItem; import com.mikepenz.fastadapter.IItemAdapter; import com.mikepenz.f...
* improve codestyle
library-extensions/src/main/java/com/mikepenz/fastadapter_extensions/utilities/SubItemUtil.java
* improve codestyle
<ide><path>ibrary-extensions/src/main/java/com/mikepenz/fastadapter_extensions/utilities/SubItemUtil.java <ide> import com.mikepenz.fastadapter.IItem; <ide> import com.mikepenz.fastadapter.IItemAdapter; <ide> import com.mikepenz.fastadapter.ISubItem; <del>import com.mikepenz.fastadapter.adapters.ItemAdapter; <ide> <id...
Java
apache-2.0
597bb8c8ea520d9706880b0bc27c4cad73b67fb3
0
consulo/consulo-groovy,consulo/consulo-groovy
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
groovy-impl/src/main/java/org/jetbrains/plugins/groovy/annotator/intentions/dynamic/DynamicManagerImpl.java
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
do not add for default
groovy-impl/src/main/java/org/jetbrains/plugins/groovy/annotator/intentions/dynamic/DynamicManagerImpl.java
do not add for default
<ide><path>roovy-impl/src/main/java/org/jetbrains/plugins/groovy/annotator/intentions/dynamic/DynamicManagerImpl.java <ide> public DynamicManagerImpl(Project project, StartupManager startupManager) <ide> { <ide> myProject = project; <add> <add> if(myProject.isDefault()) <add> { <add> return; <add> } <add> <ide...
Java
mit
bfb2844c700c3f5948a8f1cb7c592924a993b81d
0
joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc
package org.hildan.livedoc.springmvc; import java.util.List; import com.fasterxml.jackson.databind.ObjectMapper; import org.hildan.livedoc.core.AnnotatedTypesFinder; import org.hildan.livedoc.core.DocReader; import org.hildan.livedoc.core.LivedocAnnotationDocReader; import org.hildan.livedoc.core.LivedocReader; impor...
livedoc-springmvc/src/main/java/org/hildan/livedoc/springmvc/SpringLivedocReaderFactory.java
package org.hildan.livedoc.springmvc; import java.util.List; import com.fasterxml.jackson.databind.ObjectMapper; import org.hildan.livedoc.core.AnnotatedTypesFinder; import org.hildan.livedoc.core.DocReader; import org.hildan.livedoc.core.LivedocAnnotationDocReader; import org.hildan.livedoc.core.LivedocReader; impor...
Add Spring LivedocReader factory method without ObjectMapper
livedoc-springmvc/src/main/java/org/hildan/livedoc/springmvc/SpringLivedocReaderFactory.java
Add Spring LivedocReader factory method without ObjectMapper
<ide><path>ivedoc-springmvc/src/main/java/org/hildan/livedoc/springmvc/SpringLivedocReaderFactory.java <ide> import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder; <ide> <ide> public class SpringLivedocReaderFactory { <add> <add> /** <add> * Creates a Spring-oriented {@link LivedocReader} u...
Java
apache-2.0
32eb57b31a135cd855d3eb1f42a53714fbc4ccdc
0
Poundex/open-dolphin,nagyistoce/open-dolphin,nagyistoce/open-dolphin,gemaSantiago/open-dolphin,DaveKriewall/open-dolphin,nagyistoce/open-dolphin,janih/open-dolphin,canoo/open-dolphin,janih/open-dolphin,gemaSantiago/open-dolphin,nagyistoce/open-dolphin,DaveKriewall/open-dolphin,canoo/open-dolphin,DaveKriewall/open-dolph...
/* * Copyright 2012 Canoo Engineering 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
subprojects/demo-javafx/server/src/main/groovy/com/canoo/dolphin/demo/JavaAction.java
/* * Copyright 2012 Canoo Engineering 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
update JavaAction to use CommandHandler instead of Closure. Thanks to Kai Toedter for posting.
subprojects/demo-javafx/server/src/main/groovy/com/canoo/dolphin/demo/JavaAction.java
update JavaAction to use CommandHandler instead of Closure. Thanks to Kai Toedter for posting.
<ide><path>ubprojects/demo-javafx/server/src/main/groovy/com/canoo/dolphin/demo/JavaAction.java <ide> <ide> package com.canoo.dolphin.demo; <ide> <add>import com.canoo.dolphin.core.comm.Command; <ide> import com.canoo.dolphin.core.comm.InitializeAttributeCommand; <del>import com.canoo.dolphin.core.comm.NamedCommand; ...
Java
mit
error: pathspec 'ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/project/bankdetails/controller/CompetitionsBankDetailsControllerTest.java' did not match any file(s) known to git
7ccaec830a5ddbb0dda649643d3b0be1f24827c7
1
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.project.bankdetails.controller; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.competition.resource.BankDetailsReviewResource; import org.junit.Test; import java.util.List; import static java.util.Collections.singletonList; import static org.innovateuk.ifs.c...
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/project/bankdetails/controller/CompetitionsBankDetailsControllerTest.java
IFS-2015-PF-BankDetails-Action Data Controller junits refactored. Change-Id: Id1a06bc9d49e8ef71239227a463a1b08844f0f78
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/project/bankdetails/controller/CompetitionsBankDetailsControllerTest.java
IFS-2015-PF-BankDetails-Action
<ide><path>fs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/project/bankdetails/controller/CompetitionsBankDetailsControllerTest.java <add>package org.innovateuk.ifs.project.bankdetails.controller; <add> <add>import org.innovateuk.ifs.BaseControllerMockMVCTest; <add>import org.innovateuk.ifs.competition....
JavaScript
agpl-3.0
fc2cd198210a4f8314d862a05de95ceb75060a05
0
xwiki-labs/cryptpad,xwiki-labs/cryptpad,xwiki-labs/cryptpad
define([ 'jquery', '/bower_components/chainpad-crypto/crypto.js', '/bower_components/nthen/index.js', '/common/sframe-common.js', '/common/common-interface.js', '/common/common-ui-elements.js', '/common/common-util.js', '/common/common-hash.js', '/common/hyperscript.js', 'json.so...
www/secureiframe/inner.js
define([ 'jquery', '/bower_components/chainpad-crypto/crypto.js', '/bower_components/nthen/index.js', '/common/sframe-common.js', '/common/common-interface.js', '/common/common-ui-elements.js', '/common/common-util.js', '/common/common-hash.js', '/common/hyperscript.js', 'json.so...
lint compliance
www/secureiframe/inner.js
lint compliance
<ide><path>ww/secureiframe/inner.js <ide> <ide> var andThen = function (common) { <ide> var metadataMgr = common.getMetadataMgr(); <del> var privateData = metadataMgr.getPrivateData(); <ide> var sframeChan = common.getSframeChannel(); <ide> var $body = $('body'); <ide>
Java
apache-2.0
367f9118405940361af10216994f30bd54376631
0
jzmq/threadpool4j,aofeng/threadpool4j,leontius/threadpool4j
package cn.aofeng.threadpool4j; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; impor...
test/cn/aofeng/threadpool4j/ThreadPoolTest.java
package cn.aofeng.threadpool4j; import static org.junit.Assert.*; import java.util.concurrent.ExecutorService; import static org.easymock.EasyMock.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * {@link ThreadPoolImpl}的单元测试用例。 * * @author <a href="mailto:aofengblog@163.com">聂勇</a...
补充和完善单元测试用例
test/cn/aofeng/threadpool4j/ThreadPoolTest.java
补充和完善单元测试用例
<ide><path>est/cn/aofeng/threadpool4j/ThreadPoolTest.java <ide> <ide> import static org.junit.Assert.*; <ide> <add>import java.util.ArrayList; <add>import java.util.Collection; <add>import java.util.List; <add>import java.util.concurrent.Callable; <add>import java.util.concurrent.ExecutionException; <ide> import java...
JavaScript
bsd-3-clause
081a41e649c1e6ae71863f5f75078c7122a25082
0
dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen
// namespace for this "module" var Api = { 'active_games': {}, 'completed_games': {}, }; // Duplicate the game settings we need from Game.js for now Api.GAME_STATE_END_GAME = 60; //////////////////////////////////////////////////////////////////////// // This module should not layout a page or generate any HTML....
src/ui/js/Api.js
// namespace for this "module" var Api = { 'data': {}, }; // Duplicate the game settings we need from Game.js for now Api.GAME_STATE_END_GAME = 60; //////////////////////////////////////////////////////////////////////// // This module should not layout a page or generate any HTML. It exists // only as a collecti...
* when initializing Api, initialize active_games and completed_games too
src/ui/js/Api.js
* when initializing Api, initialize active_games and completed_games too
<ide><path>rc/ui/js/Api.js <ide> // namespace for this "module" <ide> var Api = { <del> 'data': {}, <add> 'active_games': {}, <add> 'completed_games': {}, <ide> }; <ide> <ide> // Duplicate the game settings we need from Game.js for now
Java
mit
9ee124535ac8ce9102b45531910a176164fd9527
0
ClioBatali/2015-Recycle-Rush,NoahLevine/2015-Recycle-Rush,Spartronics4915/2015-Recycle-Rush,TarkanAl-Kazily/2015-Recycle-Rush
// RobotBuilder Version: 1.5 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
RobotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/OI.java
// RobotBuilder Version: 1.5 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
Added button to OI to toggle field drive.
RobotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/OI.java
Added button to OI to toggle field drive.
<ide><path>obotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/OI.java <ide> import org.usfirst.frc4915.MecanumDrive.commands.IntermediateOpen; <ide> import org.usfirst.frc4915.MecanumDrive.commands.MoveStraightPositionModeCommand; <ide> import org.usfirst.frc4915.MecanumDrive.commands.OpenGrabber; <add>import o...
Java
apache-2.0
4a3b9df9dad11fb1ce7af466b6d0ae10bef081ef
0
data-integrations/dynamic-partitioner
/* * Copyright © 2015 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
src/main/java/co/cask/hydrator/plugin/PartitionedFileSetSinkConfig.java
/* * Copyright © 2015 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Update PartitionedFileSetSinkConfig.java
src/main/java/co/cask/hydrator/plugin/PartitionedFileSetSinkConfig.java
Update PartitionedFileSetSinkConfig.java
<ide><path>rc/main/java/co/cask/hydrator/plugin/PartitionedFileSetSinkConfig.java <ide> protected String fieldNames; <ide> <ide> @Nullable <del> @Description("Select 'Yes' to append to existing partitions. Defaults to 'No' to always try to create " + <del> "new partitions and exception will be thrown if a part...
Java
apache-2.0
9320623057e4e890808b484d5c5e973b1f346593
0
namedlock/weex,Hanks10100/weex,leoward/incubator-weex,Tancy/weex,alibaba/weex,erha19/incubator-weex,alibaba/weex,lzyzsd/weex,zhangquan/weex,miomin/incubator-weex,dianwodaMobile/DWeex,houfeng0923/weex,xiayun200825/weex,namedlock/weex,miomin/incubator-weex,acton393/incubator-weex,HomHomLin/weex,lzyzsd/weex,MrRaindrop/wee...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
android/sdk/src/main/java/com/taobao/weex/dom/WXTextDomObject.java
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
* [android] fix text layout unexpect quit when text is zero-length content
android/sdk/src/main/java/com/taobao/weex/dom/WXTextDomObject.java
* [android] fix text layout unexpect quit when text is zero-length content
<ide><path>ndroid/sdk/src/main/java/com/taobao/weex/dom/WXTextDomObject.java <ide> @Override <ide> public void measure(CSSNode node, float width, MeasureOutput measureOutput) { <ide> WXTextDomObject textDomObject = (WXTextDomObject) node; <del> if (textDomObject.spannableStringBuilder.length() == 0) ...
Java
lgpl-2.1
8574934638fd6c8e52903219e295fdb85267b451
0
markmc/rhevm-api,markmc/rhevm-api,markmc/rhevm-api
/* * Copyright © 2010 Red Hat, Inc. * * 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 * the License, or (at your option) any later version. * * This software is dist...
powershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/util/PowerShellParser.java
/* * Copyright © 2010 Red Hat, Inc. * * 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 * the License, or (at your option) any later version. * * This software is dist...
powershell: fixing PowerShellParser.PowerManagement.setUserName()
powershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/util/PowerShellParser.java
powershell: fixing PowerShellParser.PowerManagement.setUserName()
<ide><path>owershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/util/PowerShellParser.java <ide> public String getUsername() { <ide> return username; <ide> } <del> public void setUsername(String user) { <add> public void setUsername(String username) { <ide> ...
Java
apache-2.0
4d4805a99d61365bff3c379d149561617537d4cd
0
btkelly/gnag,btkelly/gnag,btkelly/gnag
/** * Copyright 2016 Bryan Kelly * * 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 ...
plugin/src/main/groovy/com/btkelly/gnag/utils/StringUtils.java
/** * Copyright 2016 Bryan Kelly * * 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 ...
Make sanitization method more safe
plugin/src/main/groovy/com/btkelly/gnag/utils/StringUtils.java
Make sanitization method more safe
<ide><path>lugin/src/main/groovy/com/btkelly/gnag/utils/StringUtils.java <ide> */ <ide> package com.btkelly.gnag.utils; <ide> <add>import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <ide> <ide> public final class StringUtils { <ide> /** <ide> * Removes leading/trailin...
Java
lgpl-2.1
9114e0288e91a4a9be4414cd47fb6d2d00adea49
0
elsiklab/intermine,kimrutherford/intermine,Arabidopsis-Information-Portal/intermine,drhee/toxoMine,JoeCarlson/intermine,zebrafishmine/intermine,zebrafishmine/intermine,Arabidopsis-Information-Portal/intermine,kimrutherford/intermine,zebrafishmine/intermine,justincc/intermine,kimrutherford/intermine,JoeCarlson/intermine...
package org.intermine.objectstore.intermine; /* * Copyright (C) 2002-2007 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyle...
intermine/objectstore/test/src/org/intermine/objectstore/intermine/ObjectStoreInterMineImplTest.java
package org.intermine.objectstore.intermine; /* * Copyright (C) 2002-2007 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyle...
Removed ObjectStoreInterMineImplTes.testCancelMethods5() as it occasionally fails due to a race condition.
intermine/objectstore/test/src/org/intermine/objectstore/intermine/ObjectStoreInterMineImplTest.java
Removed ObjectStoreInterMineImplTes.testCancelMethods5() as it occasionally fails due to a race condition.
<ide><path>ntermine/objectstore/test/src/org/intermine/objectstore/intermine/ObjectStoreInterMineImplTest.java <ide> } <ide> */ <ide> <add> /* <add> // this test sometimes fails due to a race condition <ide> public void testCancelMethods5() throws Exception { <ide> UndeclaredThrowableExceptio...
Java
mit
error: pathspec 'src/com/jeffreydiaz/collections/UnorderedMaxPQ.java' did not match any file(s) known to git
e8b83230a88b355a324c82d841c0416a66c5b976
1
JayDz/Java_Data_Structures_and_Algorithms
package com.jeffreydiaz.collections; /** * Implementation of an unordered Priority Queue where the max key can be removed. * Operation Cost: * remove: ~N * insert: ~1 (however, we may need to resize array). * @author Jeffrey Diaz */ public class UnorderedMaxPQ<Key extends Comparable<Key>> extends Abstr...
src/com/jeffreydiaz/collections/UnorderedMaxPQ.java
Implementation of a priority queue where the max value can be removed.
src/com/jeffreydiaz/collections/UnorderedMaxPQ.java
Implementation of a priority queue where the max value can be removed.
<ide><path>rc/com/jeffreydiaz/collections/UnorderedMaxPQ.java <add>package com.jeffreydiaz.collections; <add> <add>/** <add> * Implementation of an unordered Priority Queue where the max key can be removed. <add> * Operation Cost: <add> * remove: ~N <add> * insert: ~1 (however, we may need to resize array). <...
JavaScript
agpl-3.0
162edf6cf44b672c2ea5e0299a825bd1d393476a
0
isard-vdi/isard,isard-vdi/isard,isard-vdi/isard,isard-vdi/isard,isard-vdi/isard
/* * Copyright 2017 the Isard-vdi project authors: * Josep Maria Viñolas Auquer * Alberto Larraz Dalmases * License: AGPLv3 */ var users_table= '' $(document).ready(function() { $('.admin-status').show() $template = $(".template-detail-users"); $('.btn-new-user').on('click', function () { ...
webapp/webapp/webapp/static/admin/js/users.js
/* * Copyright 2017 the Isard-vdi project authors: * Josep Maria Viñolas Auquer * Alberto Larraz Dalmases * License: AGPLv3 */ var users_table= '' $(document).ready(function() { $('.admin-status').show() $template = $(".template-detail-users"); $('.btn-new-user').on('click', function () { ...
Code styling
webapp/webapp/webapp/static/admin/js/users.js
Code styling
<ide><path>ebapp/webapp/webapp/static/admin/js/users.js <ide> data['password']=data['password-add-user']; <ide> delete data['password-add-user']; <ide> delete data['password2-add-user']; <del> delete data['unlimited'] <add> delete data['unlimited']; <ide> ...
Java
apache-2.0
95e3277b7d9359ad8e09a4bb9643b12c759f542a
0
jdm64/GenesisChess-Android,jdm64/GenesisChess-Android
package com.chess.genesis; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import java.io.IOException; import java.net.SocketException; import org.json.JSONException; import org.json.JSONObject;...
src/com/chess/genesis/NetworkClient.java
package com.chess.genesis; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import java.io.IOException; import java.net.SocketException; import org.json.JSONException; import org.json.JSONObject;...
add missing net.disconnect() to NetworkClient.run Before returning, net.disconnect() must be called to decrement the NetActive counter.
src/com/chess/genesis/NetworkClient.java
add missing net.disconnect() to NetworkClient.run
<ide><path>rc/com/chess/genesis/NetworkClient.java <ide> SocketClient.isLoggedin = true; <ide> return true; <ide> } catch (JSONException e) { <del> return false; <add> e.printStackTrace(); <add> throw new RuntimeException(); <ide> } <ide> } <ide> <ide> <ide> if (error) { <ide> error = false; <de...
Java
mit
error: pathspec 'src/main/java/org/ebaloo/itkeeps/Guid.java' did not match any file(s) known to git
88333ac9e6cc848662f853daf1abd791b51f10c2
1
e-baloo/it-keeps,e-baloo/it-keeps,e-baloo/it-keeps,e-baloo/it-keeps
/* * Copyright (c) 2001-2016 Group JCDecaux. * 17 rue Soyer, 92523 Neuilly Cedex, France. * All rights reserved. * * This software is the confidential and proprietary information * of Group JCDecaux ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it o...
src/main/java/org/ebaloo/itkeeps/Guid.java
Add Guid class
src/main/java/org/ebaloo/itkeeps/Guid.java
Add Guid class
<ide><path>rc/main/java/org/ebaloo/itkeeps/Guid.java <add>/* <add> * Copyright (c) 2001-2016 Group JCDecaux. <add> * 17 rue Soyer, 92523 Neuilly Cedex, France. <add> * All rights reserved. <add> * <add> * This software is the confidential and proprietary information <add> * of Group JCDecaux ("Confidential Informati...
Java
bsd-3-clause
68e6d15a1624a010e32a828c081cacf0a997f813
0
edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon
/* * $Id$ */ /* Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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, incl...
plugins/test/src/org/lockss/plugin/highwire/aps/TestAPSHtmlHashFilterFactory.java
/* * $Id$ */ /* Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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, incl...
Correct last final test for current whitespace filtering git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@40113 4f837ed2-42f5-46e7-a7a5-fa17313484d4
plugins/test/src/org/lockss/plugin/highwire/aps/TestAPSHtmlHashFilterFactory.java
Correct last final test for current whitespace filtering
<ide><path>lugins/test/src/org/lockss/plugin/highwire/aps/TestAPSHtmlHashFilterFactory.java <ide> "pane-jnl-iss-issue-arch-art pane-style-alt-content\" >\n" + <ide> "</div></div></div></div>\n" + <ide> "</html>9"; <del> private static final String withoutToolTip = "A<html>\n</html>9"; <add> private...
JavaScript
bsd-3-clause
0691ef76eaf5d080557960a75f11cfcfcd288e0b
0
potch/glow,potch/glow,potch/glow,potch/glow
var hueTable = [193, 192, 192, 193, 193, 192, 192, 197, 201, 211, 216, 219, 222, 54, 58, 58, 57, 55, 54, 51, 47, 42, 39, 36, 47, 45, 43, 41, 39, 47, 45, 47, 32, 40, 38, 36, 34, 35, 30, 33, 35, 33, 31, 30, 30, 29, 29, 29, 29, 29, 29, 28, 29, 28, 28, 28, 28, 27, 27, 27, 26, 26, 25, 24, 24, 23, 22, 22, 21, 21, 21, 21, 20,...
media/arcchart.js
var hueTable = [193, 192, 192, 193, 193, 192, 192, 197, 201, 211, 216, 219, 222, 54, 58, 58, 57, 55, 54, 51, 47, 42, 39, 36, 47, 45, 43, 41, 39, 47, 45, 47, 32, 40, 38, 36, 34, 35, 30, 33, 35, 33, 31, 30, 30, 29, 29, 29, 29, 29, 29, 28, 29, 28, 28, 28, 28, 27, 27, 27, 26, 26, 25, 24, 24, 23, 22, 22, 21, 21, 21, 21, 20,...
use a div so the tip doesn't wrap (bug 643950)
media/arcchart.js
use a div so the tip doesn't wrap (bug 643950)
<ide><path>edia/arcchart.js <ide> ctx.restore(); <ide> } <ide> <del> var $tip = $("<div id='arcchart-tip'><span></span></div>"); <add> var $tip = $("<div id='arcchart-tip'><div></div></div>"); <ide> $("body").append($tip); <ide> $tip.css({ <ide> "position": "absolute", <ide> "...
Java
apache-2.0
c50db8de6d2f64487cd9eb8e3176c07e89ed2b0f
0
vbelakov/h2o,rowhit/h2o-2,h2oai/h2o-2,111t8e/h2o-2,eg-zhang/h2o-2,h2oai/h2o,eg-zhang/h2o-2,h2oai/h2o-2,rowhit/h2o-2,111t8e/h2o-2,vbelakov/h2o,100star/h2o,elkingtonmcb/h2o-2,vbelakov/h2o,100star/h2o,vbelakov/h2o,eg-zhang/h2o-2,eg-zhang/h2o-2,vbelakov/h2o,eg-zhang/h2o-2,h2oai/h2o-2,elkingtonmcb/h2o-2,h2oai/h2o-2,vbelakov...
package water.api; import hex.GLMSolver.GLMModel; import hex.KMeans.KMeansModel; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashMap; import java.util.zip.*; import water.*; import water.ValueArray.Column; import water.api.GLM.GLMBuilder; import water.parser.CsvP...
src/main/java/water/api/Inspect.java
package water.api; import hex.GLMSolver.GLMModel; import hex.KMeans.KMeansModel; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashMap; import java.util.zip.*; import water.*; import water.ValueArray.Column; import water.api.GLM.GLMBuilder; import water.parser.CsvP...
Handle files which compress extremely well
src/main/java/water/api/Inspect.java
Handle files which compress extremely well
<ide><path>rc/main/java/water/api/Inspect.java <ide> if( len == -1 ) <ide> break; <ide> off += len; <add> if( off == bs.length ) // Dataset is uncompressing alot! Need more space... <add> bs = Arrays.copyOf(bs,bs.length*2); <ide> } <ide> } catch( IOException ioe ) {...
Java
apache-2.0
bb169353f6f705d4c81d1eb8bb34ef063c76110d
0
bitstrings/portallocator-maven-plugin
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/main/java/org/bitstrings/maven/plugins/portallocator/PortAllocatorMojo.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 ...
first step in fixing port allocation i.e.: offsetFrom
src/main/java/org/bitstrings/maven/plugins/portallocator/PortAllocatorMojo.java
first step in fixing port allocation i.e.: offsetFrom
<ide><path>rc/main/java/org/bitstrings/maven/plugins/portallocator/PortAllocatorMojo.java <ide> import java.io.FileWriter; <ide> import java.io.IOException; <ide> import java.io.Writer; <del>import java.util.Collection; <ide> import java.util.HashMap; <ide> import java.util.HashSet; <ide> import java.util.Iterator; <id...
Java
apache-2.0
b90b2dc8f7ee51a8d8aaa780298577643b35c223
0
thkluge/gatling,pwielgolaski/gatling,GabrielPlassard/gatling,MykolaB/gatling,gatling/gatling,GabrielPlassard/gatling,ryez/gatling,MykolaB/gatling,timve/gatling,thkluge/gatling,MykolaB/gatling,GabrielPlassard/gatling,gatling/gatling,wiacekm/gatling,thkluge/gatling,GabrielPlassard/gatling,pwielgolaski/gatling,wiacekm/gat...
/** * Copyright 2011-2012 eBusiness Information, Groupe Excilys (www.excilys.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
gatling-recorder/src/main/java/com/excilys/ebi/gatling/recorder/ui/component/RunningFrame.java
/** * Copyright 2011-2012 eBusiness Information, Groupe Excilys (www.excilys.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
Handles SecuredHostConnectionEvent. Closes #315
gatling-recorder/src/main/java/com/excilys/ebi/gatling/recorder/ui/component/RunningFrame.java
Handles SecuredHostConnectionEvent. Closes #315
<ide><path>atling-recorder/src/main/java/com/excilys/ebi/gatling/recorder/ui/component/RunningFrame.java <ide> import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader; <ide> import org.codehaus.plexus.util.Base64; <ide> import org.codehaus.plexus.util.SelectorUtils; <add>import org.jboss.netty.handle...
JavaScript
mit
25307a90c54b33ac511192310277b00f36c083b5
0
nkgm/ember-collection,aldhsu/ember-collection,alexdiliberto/ember-collection,shamim8888/list-view,paddyobrien/ember-collection,srgpqt/ember-collection,usecanvas/list-view,BryanCrotaz/ember-collection,lukemelia/ember-collection,aldhsu/ember-collection,lukemelia/list-view,nkgm/ember-collection,alexdiliberto/list-view,mri...
packages/list-view/lib/main.js
import ReusableListItemView from 'list-view/reusable_list_item_view'; import VirtualListView from 'list-view/virtual_list_view'; import ListItemView from 'list-view/list_item_view'; import { EmberList, EmberVirtualList } from 'list-view/helper'; import ListView from 'list-view/list_view'; import ListViewHelper from 'li...
Removed unnecessary main.js
packages/list-view/lib/main.js
Removed unnecessary main.js
<ide><path>ackages/list-view/lib/main.js <del>import ReusableListItemView from 'list-view/reusable_list_item_view'; <del>import VirtualListView from 'list-view/virtual_list_view'; <del>import ListItemView from 'list-view/list_item_view'; <del>import { EmberList, EmberVirtualList } from 'list-view/helper'; <del>import L...
Java
mit
7f412d155f86e92962880f423675ea31cbb5a092
0
jenkinsci/blueocean-plugin,jenkinsci/blueocean-plugin,kzantow/blueocean-plugin,alvarolobato/blueocean-plugin,ModuloM/blueocean-plugin,ModuloM/blueocean-plugin,alvarolobato/blueocean-plugin,kzantow/blueocean-plugin,ModuloM/blueocean-plugin,tfennelly/blueocean-plugin,tfennelly/blueocean-plugin,jenkinsci/blueocean-plugin,...
package io.jenkins.blueocean.service.embedded; import com.google.common.collect.ImmutableMap; import hudson.model.FreeStyleProject; import hudson.plugins.git.util.BuildData; import hudson.scm.ChangeLogSet; import io.jenkins.blueocean.service.embedded.scm.GitSampleRepoRule; import jenkins.branch.BranchProperty; import ...
blueocean-rest-impl/src/test/java/io/jenkins/blueocean/service/embedded/MultiBranchTest.java
package io.jenkins.blueocean.service.embedded; import com.google.common.collect.ImmutableMap; import hudson.model.FreeStyleProject; import hudson.plugins.git.util.BuildData; import hudson.scm.ChangeLogSet; import io.jenkins.blueocean.service.embedded.scm.GitSampleRepoRule; import jenkins.branch.BranchProperty; import ...
Removed the flaky test for now, these scenarios are covered by other tests so disabling it is ok
blueocean-rest-impl/src/test/java/io/jenkins/blueocean/service/embedded/MultiBranchTest.java
Removed the flaky test for now, these scenarios are covered by other tests so disabling it is ok
<ide><path>lueocean-rest-impl/src/test/java/io/jenkins/blueocean/service/embedded/MultiBranchTest.java <ide> Assert.assertNull(mp.getBranch("master")); <ide> } <ide> <del> @Test <add>// @Test <ide> public void getMultiBranchPipeline() throws IOException, ExecutionException, InterruptedException {...
JavaScript
mit
64d55305a166d58ff69accdc76da62da8b535c5d
0
formio/formio.js,formio/formio.js,formio/formio.js
import _ from 'lodash'; import Formio from '../../../Formio'; export default [ { key: 'inputMask', ignore: true }, { key: 'allowMultipleMasks', ignore: true }, { type: 'number', input: true, key: 'rows', label: 'Rows', weight: 210, tooltip: 'This allows control over ho...
src/components/textarea/editForm/TextArea.edit.display.js
import _ from 'lodash'; import Formio from '../../../Formio'; export default [ { key: 'inputMask', ignore: true }, { key: 'allowMultipleMasks', ignore: true }, { type: 'number', input: true, key: 'rows', label: 'Rows', weight: 210, tooltip: 'This allows control over ho...
FOR-1953: Change field names in component settings
src/components/textarea/editForm/TextArea.edit.display.js
FOR-1953: Change field names in component settings
<ide><path>rc/components/textarea/editForm/TextArea.edit.display.js <ide> type: 'select', <ide> input: true, <ide> key: 'uploadStorage', <del> label: 'Storage', <add> label: 'Image Upload Storage', <ide> placeholder: 'Select your file storage provider', <ide> weight: 415.2, <ide> tooltip: ...
JavaScript
mit
7032121587f1d6e5753aea9781914a4aecafc93f
0
silverbux/rsjs
738d662b-2e9d-11e5-899b-a45e60cdfd11
helloWorld.js
7381144c-2e9d-11e5-88e3-a45e60cdfd11
738d662b-2e9d-11e5-899b-a45e60cdfd11
helloWorld.js
738d662b-2e9d-11e5-899b-a45e60cdfd11
<ide><path>elloWorld.js <del>7381144c-2e9d-11e5-88e3-a45e60cdfd11 <add>738d662b-2e9d-11e5-899b-a45e60cdfd11
JavaScript
mpl-2.0
88a3bd5fc95a0b73bdeec6258f6c5f2c9635a925
0
arathunku/gulp-translator,Abdillah/gulp-tarjeem
var YAML = require('yamljs'); var q = require('q'); var fs = require('fs'); var DEFAULT_REGEXP = /\{{2}([\w\.\s\"\']+\s?\|\s?translate[\w\s\|]*)\}{2}/g; var baseTransforms = { translate: function(content, dictionary){ if (!content) { return new Error('No content to transform.'); } return content....
lib/translator.js
var YAML = require('yamljs'); var q = require('q'); var DEFAULT_REGEXP = /\{{2}([\w\.\s\"\']+\s?\|\s?translate[\w\s\|]*)\}{2}/g; var baseTransforms = { translate: function(content, dictionary){ if (!content) { return new Error('No content to transform.'); } return content.trim().split('.').reduce...
remove require
lib/translator.js
remove require
<ide><path>ib/translator.js <ide> var YAML = require('yamljs'); <ide> var q = require('q'); <add>var fs = require('fs'); <ide> <ide> var DEFAULT_REGEXP = /\{{2}([\w\.\s\"\']+\s?\|\s?translate[\w\s\|]*)\}{2}/g; <ide> <ide> <ide> if (path.match(/\.json$/)) { <ide> dictionary = JSON.parse( <del> require('fs'...
Java
bsd-3-clause
d0d00f03c9e95943710ebee9bd4c194ad9f86665
0
NCIP/cma,NCIP/cma,NCIP/cma,NCIP/cma,NCIP/cma
package gov.nih.nci.cma.clinical; public class RembrandtClinicalReportBean { private String rptStr = null; private String sampleId; private String ageAtDx; private String gender; private String survivalMonths; private String survivalLengthRange; private String disease; private String grade; privat...
src/java/gov/nih/nci/cma/clinical/RembrandtClinicalReportBean.java
package gov.nih.nci.cma.clinical; public class RembrandtClinicalReportBean { private String sampleId; private String ageAtDx; private String gender; private String survivalMonths; private String disease; private String grade; private String race; private String institution; private String karnofsk...
added toString method. SVN-Revision: 5065
src/java/gov/nih/nci/cma/clinical/RembrandtClinicalReportBean.java
added toString method.
<ide><path>rc/java/gov/nih/nci/cma/clinical/RembrandtClinicalReportBean.java <ide> package gov.nih.nci.cma.clinical; <ide> <ide> public class RembrandtClinicalReportBean { <add> <add> private String rptStr = null; <add> <ide> private String sampleId; <ide> private String ageAtDx; <ide> private String gender; <i...
JavaScript
mit
6701c37e63de84c3ee280d1ab471b04533e1aef9
0
phetsims/sun,phetsims/sun,phetsims/sun
// Copyright 2013-2020, University of Colorado Boulder /** * Slider, with support for horizontal and vertical orientations. By default, the slider is constructed in the * horizontal orientation, then adjusted if the vertical orientation was specified. * * Note: This type was originally named HSlider, renamed in ht...
js/Slider.js
// Copyright 2013-2020, University of Colorado Boulder /** * Slider, with support for horizontal and vertical orientations. By default, the slider is constructed in the * horizontal orientation, then adjusted if the vertical orientation was specified. * * Note: This type was originally named HSlider, renamed in ht...
Update phetioDocumentation, see https://github.com/phetsims/gravity-and-orbits/issues/293
js/Slider.js
Update phetioDocumentation, see https://github.com/phetsims/gravity-and-orbits/issues/293
<ide><path>s/Slider.js <ide> valueType: Range, <ide> isValidValue: value => ( value.min >= range.min && value.max <= range.max ), <ide> tandem: options.tandem.createTandem( 'enabledRangeProperty' ), <del> phetioType: PropertyIO( RangeIO ) <add> phetioType: PropertyIO( RangeIO ), <add> p...
Java
apache-2.0
d0361dca8719c3441e29223eed910ec316362ce7
0
google/closure-compiler,vobruba-martin/closure-compiler,tdelmas/closure-compiler,google/closure-compiler,mprobst/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,monetate/closure-compiler,tiobe/closure-compiler,monetate/closure-compiler,vobruba-martin/closure-compiler,tiobe/closure-compiler,t...
/* * Copyright 2009 The Closure Compiler 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...
src/com/google/javascript/jscomp/DefaultPassConfig.java
/* * Copyright 2009 The Closure Compiler 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...
Don't serialize state we don't need. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174334418
src/com/google/javascript/jscomp/DefaultPassConfig.java
Don't serialize state we don't need.
<ide><path>rc/com/google/javascript/jscomp/DefaultPassConfig.java <ide> /** <ide> * A global namespace to share across checking passes. <ide> */ <del> private GlobalNamespace namespaceForChecks = null; <add> private transient GlobalNamespace namespaceForChecks = null; <ide> <ide> /** <ide> * A symbol ta...
Java
lgpl-2.1
177ba31b87fa50b08acf0ec106c34acf6bd4680c
0
JifengJiang/beast-mcmc,JifengJiang/beast-mcmc,JifengJiang/beast-mcmc,JifengJiang/beast-mcmc,JifengJiang/beast-mcmc
package dr.app.beauti.generator; import dr.app.beauti.util.XMLWriter; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.enumTypes.FrequencyPolicyType; import dr.evomodel.substmodel.NucModelType; import dr.app.beauti.options.*; import dr.evolution.datatype.DataType; import dr.evolution.datatype.Nuc...
src/dr/app/beauti/generator/SubstitutionModelGenerator.java
package dr.app.beauti.generator; import dr.app.beauti.util.XMLWriter; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.enumTypes.FrequencyPolicyType; import dr.evomodel.substmodel.NucModelType; import dr.app.beauti.options.*; import dr.evolution.datatype.DataType; import dr.evolution.datatype.Nuc...
BEAUTi: fix the bug of no other elements in <substitutionModel> besides Substitution Model Type.
src/dr/app/beauti/generator/SubstitutionModelGenerator.java
BEAUTi: fix the bug of no other elements in <substitutionModel> besides Substitution Model Type.
<ide><path>rc/dr/app/beauti/generator/SubstitutionModelGenerator.java <ide> throw new IllegalArgumentException("Unknown substitution model."); <ide> } <ide> } <add> <add> writer.writeCloseTag(GammaSiteModel.SUBSTITUTION_MODEL); <ide> <ide> ...
Java
apache-2.0
ad84b66412db464615e1325c8dcb82b49c6314fc
0
vladmm/intellij-community,caot/intellij-community,retomerz/intellij-community,semonte/intellij-community,dslomov/intellij-community,FHannes/intellij-community,fnouama/intellij-community,idea4bsd/idea4bsd,amith01994/intellij-community,fitermay/intellij-community,robovm/robovm-studio,Lekanich/intellij-community,caot/inte...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/core-impl/src/com/intellij/psi/impl/smartPointers/SmartPointerManagerImpl.java
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
sweep smart pointer infrastructure on low memory (IDEA-136341)
platform/core-impl/src/com/intellij/psi/impl/smartPointers/SmartPointerManagerImpl.java
sweep smart pointer infrastructure on low memory (IDEA-136341)
<ide><path>latform/core-impl/src/com/intellij/psi/impl/smartPointers/SmartPointerManagerImpl.java <ide> import com.intellij.openapi.diagnostic.Logger; <ide> import com.intellij.openapi.editor.RangeMarker; <ide> import com.intellij.openapi.project.Project; <del>import com.intellij.openapi.util.Key; <del>import com.intel...
JavaScript
mit
257f098ed08afc7433dc4b62f71e4860e1d28581
0
antigremlin/ember.js,selvagsz/ember.js,femi-saliu/ember.js,tiegz/ember.js,benstoltz/ember.js,cjc343/ember.js,wecc/ember.js,tsing80/ember.js,gfvcastro/ember.js,xtian/ember.js,cibernox/ember.js,njagadeesh/ember.js,topaxi/ember.js,ianstarz/ember.js,kublaj/ember.js,tricknotes/ember.js,givanse/ember.js,topaxi/ember.js,xiuju...
import Ember from "ember-metal/core"; import emberRun from "ember-metal/run_loop"; import {create} from "ember-metal/platform"; import compare from "ember-runtime/compare"; import setupForTesting from "ember-testing/setup_for_testing"; /** @module ember @submodule ember-testing */ var slice = [].slice, helper...
packages_es6/ember-testing/lib/test.js
import Ember from "ember-metal/core"; import run from "ember-metal/run_loop"; import {create} from "ember-metal/platform"; import compare from "ember-runtime/compare"; import setupForTesting from "ember-testing/setup_for_testing"; /** @module ember @submodule ember-testing */ var slice = [].slice, helpers = {...
Do not override local scope with imported Ember.run in Ember.Test.
packages_es6/ember-testing/lib/test.js
Do not override local scope with imported Ember.run in Ember.Test.
<ide><path>ackages_es6/ember-testing/lib/test.js <ide> import Ember from "ember-metal/core"; <del>import run from "ember-metal/run_loop"; <add>import emberRun from "ember-metal/run_loop"; <ide> import {create} from "ember-metal/platform"; <ide> import compare from "ember-runtime/compare"; <ide> import setupForTesting f...
Java
apache-2.0
a16288b9107de389489d7473f2a925b009079281
0
nutzam/nutzwx,nutzam/nutzwx,nutzam/nutzwx
package org.nutz.weixin.impl; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.nutz.http.Http; import org.nutz.http.Request; import org.nutz.http.Request.METHOD; import org.nutz...
src/main/java/org/nutz/weixin/impl/AbstractWxApi2.java
package org.nutz.weixin.impl; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.nutz.http.Http; import org.nutz.http.Request; import org.nutz.http.Request.METHOD; import org.nutz...
fix: 编译错误
src/main/java/org/nutz/weixin/impl/AbstractWxApi2.java
fix: 编译错误
<ide><path>rc/main/java/org/nutz/weixin/impl/AbstractWxApi2.java <ide> if (retryTimes >= 0) { <ide> log.warn("reflushing access_token... " + retry + " retries left.", e); <ide> } else { <del> throw e; <add> throw Lang.wrapThrow(e); <ide> } <ide> } finally { <ide> retry--;
Java
apache-2.0
aecb22c8b999ca35b9967bb3facedbe0b34ac923
0
lisaglendenning/zookeeper-lite,lisaglendenning/zookeeper-lite
package edu.uw.zookeeper.client; import static com.google.common.base.Preconditions.checkState; import java.nio.channels.ClosedChannelException; import java.util.Collections; import java.util.List; import java.util.Queue; import java.util.Random; import java.util.Set; import java.util.concurrent.CancellationException...
zkclient/src/main/java/edu/uw/zookeeper/client/ClientConnectionExecutorService.java
package edu.uw.zookeeper.client; import static com.google.common.base.Preconditions.checkState; import java.util.Collections; import java.util.List; import java.util.Queue; import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.Scheduled...
added backoff when reconnecting
zkclient/src/main/java/edu/uw/zookeeper/client/ClientConnectionExecutorService.java
added backoff when reconnecting
<ide><path>kclient/src/main/java/edu/uw/zookeeper/client/ClientConnectionExecutorService.java <ide> <ide> import static com.google.common.base.Preconditions.checkState; <ide> <add>import java.nio.channels.ClosedChannelException; <ide> import java.util.Collections; <ide> import java.util.List; <ide> import java.util.Q...
Java
apache-2.0
error: pathspec 'src/main/java/org/realityforge/replicant/example/server/service/tyrelll/SubscriptionServiceEJB.java' did not match any file(s) known to git
ffbc3eae5e384a2c6e598123d88c717521a8d07e
1
realityforge/replicant-example,realityforge/replicant-example,realityforge/replicant-example
package org.realityforge.replicant.example.server.service.tyrelll; import java.util.Collection; import java.util.LinkedList; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.ejb.Stateless; import org.realityforge.replicant.example.server.entity.tyrell.Building; import org.realityforge.re...
src/main/java/org/realityforge/replicant/example/server/service/tyrelll/SubscriptionServiceEJB.java
Add empty subscription service
src/main/java/org/realityforge/replicant/example/server/service/tyrelll/SubscriptionServiceEJB.java
Add empty subscription service
<ide><path>rc/main/java/org/realityforge/replicant/example/server/service/tyrelll/SubscriptionServiceEJB.java <add>package org.realityforge.replicant.example.server.service.tyrelll; <add> <add>import java.util.Collection; <add>import java.util.LinkedList; <add>import javax.annotation.Nonnull; <add>import javax.annotati...
Java
apache-2.0
ffa160ddb824cbcb8ab6b10ee1414507686e3c63
0
dierobotsdie/hadoop,bitmybytes/hadoop,xiao-chen/hadoop,wenxinhe/hadoop,ChetnaChaudhari/hadoop,apurtell/hadoop,plusplusjiajia/hadoop,soumabrata-chakraborty/hadoop,wwjiang007/hadoop,szegedim/hadoop,szegedim/hadoop,steveloughran/hadoop,dierobotsdie/hadoop,dennishuo/hadoop,lukmajercak/hadoop,steveloughran/hadoop,dennishuo/...
/** * 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...
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.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...
HDFS-11547. Add logs for slow BlockReceiver while writing data to disk. Contributed by Xiaobing Zhou.
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java
HDFS-11547. Add logs for slow BlockReceiver while writing data to disk. Contributed by Xiaobing Zhou.
<ide><path>adoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java <ide> streams.writeDataToDisk(dataBuf.array(), <ide> startByteToDisk, numBytesToDisk); <ide> long duration = Time.monotonicNow() - begin; <add> if (duration > data...
Java
epl-1.0
809c54a78d1ec98635165d9ac1544203288ac818
0
jtrfp/terminal-recall,jtrfp/terminal-recall,jtrfp/terminal-recall
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012-2016 Chuck Ritola * Part of the jTRFP.org project * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public Li...
src/main/java/org/jtrfp/trcl/obj/WorldObject.java
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012-2016 Chuck Ritola * Part of the jTRFP.org project * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public Li...
➶VEC4 ArrayList allocates to pre-determined size.
src/main/java/org/jtrfp/trcl/obj/WorldObject.java
➶VEC4 ArrayList allocates to pre-determined size.
<ide><path>rc/main/java/org/jtrfp/trcl/obj/WorldObject.java <ide> final int memoryWindowIndicesPerElement = primitiveList.getNumMemoryWindowIndicesPerElement(); <ide> final Integer matrixID = getMatrixID(); <ide> //Cache to hold new addresses for submission in bulk <del> final ArrayList<VEC4Address> addressesToAdd =...
Java
apache-2.0
d7943e8ebd547b84b8f427887ffc0ad1b2498514
0
Brijeshrpatel9/elasticsearch,petmit/elasticsearch,overcome/elasticsearch,jpountz/elasticsearch,lchennup/elasticsearch,SergVro/elasticsearch,combinatorist/elasticsearch,mm0/elasticsearch,kkirsche/elasticsearch,thecocce/elasticsearch,sposam/elasticsearch,slavau/elasticsearch,karthikjaps/elasticsearch,himanshuag/elasticse...
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
modules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightPhase.java
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
fix some highlighting encoder issues
modules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightPhase.java
fix some highlighting encoder issues
<ide><path>odules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightPhase.java <ide> */ <ide> public class HighlightPhase implements SearchHitPhase { <ide> <del> private Encoder encoder; <del> private FragListBuilder fraglistbuilder; <del> private FragmentsBuilder fragmentbuiler; <add> ...
Java
apache-2.0
1069cbb83fe46f6e4b0c73ce386805f1781ae444
0
Talend/data-prep,Talend/data-prep,Talend/data-prep
package org.talend.dataprep.api.dataset; public class Quality { private int empty; private int invalid; private int valid; public int getEmpty() { return empty; } public void setEmpty(int empty) { this.empty = empty; } public int getInvalid() { return inval...
dataprep-backend-common/src/main/java/org/talend/dataprep/api/dataset/Quality.java
package org.talend.dataprep.api.dataset; public class Quality { private int empty; private int invalid; private int valid; public int getEmpty() { return empty; } public void setEmpty(int empty) { this.empty = empty; } public int getInvalid() { return inval...
better toString
dataprep-backend-common/src/main/java/org/talend/dataprep/api/dataset/Quality.java
better toString
<ide><path>ataprep-backend-common/src/main/java/org/talend/dataprep/api/dataset/Quality.java <ide> public void setValid(int valid) { <ide> this.valid = valid; <ide> } <add> <add> @Override <add> public String toString() { <add> return "Quality{" + "empty=" + empty + ", invalid=" + invalid +...
Java
apache-2.0
82bf858a1793c821461db23b65a20c9dde8acd21
0
dimagi/commcare,dimagi/commcare,dimagi/commcare,dimagi/commcare-core,dimagi/commcare-core,dimagi/commcare-core
/* * Copyright (C) 2009 JavaRosa * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
core/src/org/javarosa/xform/parse/XFormParser.java
/* * Copyright (C) 2009 JavaRosa * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Itemsets used to get the wrong context reference.
core/src/org/javarosa/xform/parse/XFormParser.java
Itemsets used to get the wrong context reference.
<ide><path>ore/src/org/javarosa/xform/parse/XFormParser.java <ide> if(nodesetStr == null ) throw new RuntimeException("No nodeset attribute in element: ["+e.getName()+"]. This is required. (Element Printout:"+XFormSerializer.elementToString(e)+")"); <ide> XPathPathExpr path = XPathReference.getPathExpr(nodesetStr);...
Java
apache-2.0
39d0d89dcd417b92e8f1c062d50865a1edae31c6
0
WANdisco/gerrit,WANdisco/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCode...
// Copyright (C) 2009 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 applicable ...
gerrit-pgm/src/main/java/com/google/gerrit/pgm/util/SiteProgram.java
// Copyright (C) 2009 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 applicable ...
SiteProgram: Inline variable to avoid hiding field Change-Id: I2ddd8c7cda96d77ed17fcf65b4702a61fe9832ea
gerrit-pgm/src/main/java/com/google/gerrit/pgm/util/SiteProgram.java
SiteProgram: Inline variable to avoid hiding field
<ide><path>errit-pgm/src/main/java/com/google/gerrit/pgm/util/SiteProgram.java <ide> /** @return provides database connectivity and site path. */ <ide> protected Injector createDbInjector( <ide> final boolean enableMetrics, final DataSourceProvider.Context context) { <del> final Path sitePath = getSitePath...
Java
apache-2.0
3f73b11177a96d868e1eee4cff3d7526115192c8
0
DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,jeorme/OG-Platform,nssales/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,codeaudit/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,codeaudit/OG-Platform,jeorm...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.graph; import java.util.Collections; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.g...
sesame-engine/src/main/java/com/opengamma/sesame/graph/GraphBuilder.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.graph; import java.util.Collections; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.g...
SSM-314 - Improved logging in GraphBuilder when no function is available
sesame-engine/src/main/java/com/opengamma/sesame/graph/GraphBuilder.java
SSM-314 - Improved logging in GraphBuilder when no function is available
<ide><path>esame-engine/src/main/java/com/opengamma/sesame/graph/GraphBuilder.java <ide> ArgumentChecker.notNull(viewConfig, "viewConfig"); <ide> ArgumentChecker.notNull(inputTypes, "inputTypes"); <ide> ImmutableMap.Builder<String, Map<Class<?>, FunctionModel>> builder = ImmutableMap.builder(); <del> // ...
Java
agpl-3.0
77941f900adabbbfe53572287864eb69a88f4d00
0
clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile
/* * This program is part of the OpenLMIS logistics management information * system platform software. * * Copyright © 2015 ThoughtWorks, Inc. * * 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 Softwar...
app/src/main/java/org/openlmis/core/persistence/LmisSqliteOpenHelper.java
/* * This program is part of the OpenLMIS logistics management information * system platform software. * * Copyright © 2015 ThoughtWorks, Inc. * * 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 Softwar...
MG - #000 - UpdateAvgColumn migration should behind the AddCmmTable migration cause UpdateAvgColumn would insert date to CMM
app/src/main/java/org/openlmis/core/persistence/LmisSqliteOpenHelper.java
MG - #000 - UpdateAvgColumn migration should behind the AddCmmTable migration cause UpdateAvgColumn would insert date to CMM
<ide><path>pp/src/main/java/org/openlmis/core/persistence/LmisSqliteOpenHelper.java <ide> add(new AddCategoryColumnToProductPrograms()); <ide> add(new AddLowStockAvgColumnToStockCardTable()); <ide> add(new UpdateCategoryColumnForMMIAProducts()); <add> add(new AddCmmTable()...
Java
agpl-3.0
error: pathspec 'src/test/java/com/akiban/cserver/itests/bugs/bug705063/BadTableStatRequestIT.java' did not match any file(s) known to git
57b2c733ba1b59c7fb9950afb198d0e27bff034d
1
ngaut/sql-layer,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,jaytaylor/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,shunwang/sql-laye...
package com.akiban.cserver.itests.bugs.bug705063; import com.akiban.cserver.InvalidOperationException; import com.akiban.cserver.api.common.NoSuchTableException; import com.akiban.cserver.api.common.TableId; import com.akiban.cserver.itests.ApiTestBase; import org.junit.Test; public final class BadTableStatRequestIT ...
src/test/java/com/akiban/cserver/itests/bugs/bug705063/BadTableStatRequestIT.java
Adding test to address a table stat request, as per the original bug. Failing when looking up by int.
src/test/java/com/akiban/cserver/itests/bugs/bug705063/BadTableStatRequestIT.java
Adding test to address a table stat request, as per the original bug. Failing when looking up by int.
<ide><path>rc/test/java/com/akiban/cserver/itests/bugs/bug705063/BadTableStatRequestIT.java <add>package com.akiban.cserver.itests.bugs.bug705063; <add> <add>import com.akiban.cserver.InvalidOperationException; <add>import com.akiban.cserver.api.common.NoSuchTableException; <add>import com.akiban.cserver.api.common.Tab...
JavaScript
mit
511db7cd8a35d94baed6fdb3212e949f58a5c073
0
ember-engines/ember-asset-loader,ember-engines/ember-asset-loader,ember-engines/ember-asset-loader
let cachedRequireEntries; let cachedScriptTags; let cachedLinkTags; /** * Determines whether an array contains the provided item. * * @param {Array} array * @param {Any} item * @return {Boolean} */ function has(array, item) { return array.indexOf(item) !== -1; } /** * Removes a DOM Node from the document. *...
addon-test-support/loaded-asset-state.js
import Ember from 'ember'; let cachedRequireEntries; let cachedScriptTags; let cachedLinkTags; /** * Determines whether an array contains the provided item. * * @param {Array} array * @param {Any} item * @return {Boolean} */ function has(array, item) { return array.indexOf(item) !== -1; } /** * Removes a DO...
Removes ember import
addon-test-support/loaded-asset-state.js
Removes ember import
<ide><path>ddon-test-support/loaded-asset-state.js <del>import Ember from 'ember'; <del> <ide> let cachedRequireEntries; <ide> let cachedScriptTags; <ide> let cachedLinkTags;
Java
apache-2.0
664c0a20fdc102da565a3a4908e26243851a460d
0
KonkerLabs/konker-platform,KonkerLabs/konker-platform,KonkerLabs/konker-platform,KonkerLabs/konker-platform,KonkerLabs/konker-platform
package com.konkerlabs.platform.registry.api.config; import java.util.Arrays; import java.util.Map; import org.springframework.boot.autoconfigure.web.DefaultErrorAttributes; import org.springframework.boot.autoconfigure.web.ErrorAttributes; import org.springframework.context.MessageSource; import org.springframework....
konker.registry.api/src/main/java/com/konkerlabs/platform/registry/api/config/WebMvcConfig.java
package com.konkerlabs.platform.registry.api.config; import java.util.Arrays; import java.util.Map; import org.springframework.boot.autoconfigure.web.DefaultErrorAttributes; import org.springframework.boot.autoconfigure.web.ErrorAttributes; import org.springframework.context.MessageSource; import org.springframework....
Add ContentNegotiationManager to fix problem in get method with email in path
konker.registry.api/src/main/java/com/konkerlabs/platform/registry/api/config/WebMvcConfig.java
Add ContentNegotiationManager to fix problem in get method with email in path
<ide><path>onker.registry.api/src/main/java/com/konkerlabs/platform/registry/api/config/WebMvcConfig.java <ide> import org.springframework.context.annotation.Bean; <ide> import org.springframework.context.annotation.Configuration; <ide> import org.springframework.context.support.ReloadableResourceBundleMessageSource; <...
Java
bsd-3-clause
2e986c16fa343f34816562ed38935387313bf581
0
NCIP/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers
/** * */ package gov.nih.nci.cabig.caaers.grid; import gov.nih.nci.cabig.caaers.CaaersDbTestCase; import gov.nih.nci.cabig.caaers.CaaersTestCase; import gov.nih.nci.cabig.caaers.dao.OrganizationDao; import gov.nih.nci.cabig.caaers.domain.repository.OrganizationRepository; import gov.nih.nci.cabig.caaers.dao.Particip...
caAERS/software/grid/registration-consumer/src/test/java/gov/nih/nci/cabig/caaers/grid/CaaersRegistrationConsumerTest.java
/** * */ package gov.nih.nci.cabig.caaers.grid; import gov.nih.nci.cabig.caaers.CaaersDbTestCase; import gov.nih.nci.cabig.caaers.CaaersTestCase; import gov.nih.nci.cabig.caaers.dao.OrganizationDao; import gov.nih.nci.cabig.caaers.domain.repository.OrganizationRepository; import gov.nih.nci.cabig.caaers.dao.Particip...
SVN-Revision: 11342
caAERS/software/grid/registration-consumer/src/test/java/gov/nih/nci/cabig/caaers/grid/CaaersRegistrationConsumerTest.java
<ide><path>aAERS/software/grid/registration-consumer/src/test/java/gov/nih/nci/cabig/caaers/grid/CaaersRegistrationConsumerTest.java <ide> <ide> public CaaersRegistrationConsumer getRegistrationConsumer() { <ide> CaaersRegistrationConsumer consumer = new CaaersRegistrationConsumer(); <del> OpenSessi...
Java
mit
error: pathspec 'src/main/java/io/github/mzmine/datamodel/features/types/GroupedFeatureListRow.java' did not match any file(s) known to git
67ff28e09ec03c47450ba76158debe87c18b6119
1
mzmine/mzmine3,mzmine/mzmine3
/* * Copyright 2006-2020 The MZmine Development Team * * This file is part of MZmine. * * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the * License, or (at your option) any ...
src/main/java/io/github/mzmine/datamodel/features/types/GroupedFeatureListRow.java
Started grouped row for ion identity networking
src/main/java/io/github/mzmine/datamodel/features/types/GroupedFeatureListRow.java
Started grouped row for ion identity networking
<ide><path>rc/main/java/io/github/mzmine/datamodel/features/types/GroupedFeatureListRow.java <add>/* <add> * Copyright 2006-2020 The MZmine Development Team <add> * <add> * This file is part of MZmine. <add> * <add> * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU <add> * G...
Java
mit
aeda80cfaa85a19de971b76558236589d46093f9
0
Avaja/OpenTechnology
package OpenTechnology; import OpenTechnology.proxy.CommonProxy; import OpenTechnology.utils.PointerList; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPost...
src/main/java/OpenTechnology/OpenTechnology.java
package OpenTechnology; import OpenTechnology.proxy.CommonProxy; import OpenTechnology.utils.PointerList; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPost...
change version
src/main/java/OpenTechnology/OpenTechnology.java
change version
<ide><path>rc/main/java/OpenTechnology/OpenTechnology.java <ide> @Mod(modid= OpenTechnology.MODID, name= OpenTechnology.MODID, version= OpenTechnology.VERSION) <ide> public class OpenTechnology { <ide> public final static String MODID = "OpenTechnology"; <del> public final static String VERSION = "0.3.12a"; <add> publ...
Java
apache-2.0
28ebbd393d775d6088079939cc5128562f9835ba
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2007 University of British Columbia * * 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 *...
gemma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentQCController.java
/* * The Gemma project * * Copyright (c) 2007 University of British Columbia * * 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 *...
Added which log transformation is used in the mean-variance figure legend.
gemma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentQCController.java
Added which log transformation is used in the mean-variance figure legend.
<ide><path>emma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentQCController.java <ide> } <ide> <ide> ChartFactory.setChartTheme( StandardChartTheme.createLegacyTheme() ); <del> JFreeChart chart = ChartFactory.createScatterPlot( "", "Mean", "Variance", colle...
JavaScript
mit
a13dbee750041c97b8b8621a22fd630cd57a3731
0
RAN3D/foglet-core,RAN3D/foglet-core
/* MIT License Copyright (c) 2016 Grall Arnaud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d...
src/foglet.js
/* MIT License Copyright (c) 2016 Grall Arnaud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d...
bug fix #14
src/foglet.js
bug fix #14
<ide><path>rc/foglet.js <ide> foglet: this, <ide> address: this._options.ssh.address <ide> }); <del> this._ssh.on('logs', (message, data) => this._log(data)); <ide> } <ide> <ide> }
Java
apache-2.0
d5f8adc9f9cca9eb411f8bb8696fdbf137348065
0
wso2/carbon-apimgt,ruks/carbon-apimgt,prasa7/carbon-apimgt,isharac/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,chamindias/carbon-apimgt,tharikaGitHub/carbon-apimgt,harsha89/carbon-apimgt,prasa7/carbon-apimgt,chamilaadhi/carbon-apimgt,prasa7/carbon-apimgt,chamindias/carbon-apimgt,chamilaadhi/carbon-apimgt,ruks/carbon...
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
Fix product-apim/issues/6593
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java
Fix product-apim/issues/6593
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java <ide> for (SubscribedAPI subscribedApi : originalSubscribedAPIs) { <ide> Tier tier = tiers.get(subscribedApi.getTier().getName()); <ide> subscrib...
JavaScript
mit
ce9b438d2bd7143d81805f9f31efe769d83d5f29
0
jbmorley/gameplay,jbmorley/gameplay,jbmorley/gameplay
(function($) { App.Grid = function () { this.init(); }; App.Grid.MARGIN = 30; App.Grid.Cell = { WIDTH: 120, HEIGHT: 120, }; App.Grid.MOVE_THRESHOLD = 10; jQuery.extend(App.Grid.prototype, { init: function () { var self = this; self.identifier = '#list-games'; ...
src/js/grid.js
(function($) { App.Grid = function () { this.init(); }; App.Grid.MARGIN = 30; App.Grid.Cell = { WIDTH: 120, HEIGHT: 120, }; jQuery.extend(App.Grid.prototype, { init: function () { var self = this; self.identifier = '#list-games'; self.element = $(self.identifier)...
Cooperative support for tapping items and scrolling the grid.
src/js/grid.js
Cooperative support for tapping items and scrolling the grid.
<ide><path>rc/js/grid.js <ide> HEIGHT: 120, <ide> }; <ide> <add> App.Grid.MOVE_THRESHOLD = 10; <add> <ide> jQuery.extend(App.Grid.prototype, { <ide> <ide> init: function () { <ide> self.count = 0; <ide> self.rows = 0; <ide> self.width = 0; <add> self.pageWidth = 0; <ide> self...
JavaScript
mit
4ca9dc6c82b3cd50cb343a5dd7088e78679d4e9f
0
s0ph1e/node-css-url-parser
var embeddedRegexp = /data:(.*?);base64,/; var commentRegexp = /\/\*([\s\S]*?)\*\//g; var urlsRegexp = /((?:@import\s+)?url\s*\(['"]?)(\S*?)(['"]?\s*\))|(@import\s+['"]?)([^;'"]+)/ig; function isEmbedded (src) { return embeddedRegexp.test(src); } function getUrls (text) { var urls = []; var urlMatch, url; text =...
lib/css-parser.js
var embeddedRegexp = /data:(.*?);base64,/; var commentRegexp = /\/\*([\s\S]*?)\*\//g; var urlsRegexp = /((?:@import\s+)?url\s*\(['"]?)(\S*?)(['"]?\s*\))|(@import\s+['"]?)([^;'"]+)/ig; function isEmbedded (src) { return embeddedRegexp.test(src); } function getUrls (text) { var urls = []; var urlMatch, url, isEmbedd...
Check isEmbedded and isDuplicate only when needed
lib/css-parser.js
Check isEmbedded and isDuplicate only when needed
<ide><path>ib/css-parser.js <ide> <ide> function getUrls (text) { <ide> var urls = []; <del> var urlMatch, url, isEmbeddedUrl, isDuplicatedUrl; <add> var urlMatch, url; <ide> <ide> text = text.replace(commentRegexp, ''); <ide> <ide> // Match 2 group if '[@import] url(path)', match 5 group if '@import path' <ide>...
JavaScript
mit
d2fdbe6d402d8ae26a25d83f99b3172b286114dc
0
kpfefferle/ember-cli-deploy-cloudfront
/* eslint-env node */ var CoreObject = require('core-object'); var RSVP = require('rsvp'); var uuid = require('uuid'); module.exports = CoreObject.extend({ init: function(options) { this._super(); this._plugin = options.plugin; var AWS = require('aws-sdk'); const accessKeyId = this._plugin...
lib/cloudfront.js
/* eslint-env node */ var CoreObject = require('core-object'); var RSVP = require('rsvp'); var uuid = require('uuid'); module.exports = CoreObject.extend({ init: function(options) { this._super(); this._plugin = options.plugin; var AWS = require('aws-sdk'); const accessKeyId = this._plugin...
adds _to this.plugin
lib/cloudfront.js
adds _to this.plugin
<ide><path>ib/cloudfront.js <ide> var AWS = require('aws-sdk'); <ide> const accessKeyId = this._plugin.readConfig('accessKeyId'); <ide> const secretAccessKey = this._plugin.readConfig('secretAccessKey'); <del> const profile = this.plugin.readConfig('profile'); <add> const profile = this._plugin.readCo...
JavaScript
mit
89760df21c3b47cdd5a57e7ea27881c5c53eaefd
0
vadimsva/waitMe,vadimsva/waitMe
/* waitMe - 1.08 [20.02.15] Author: vadimsva Github: https://github.com/vadimsva/waitMe */ (function($) { $.fn.waitMe = function(method) { return this.each(function() { var elem = $(this), elemClass = 'waitMe', waitMe_text, effectObj, effectElemCount, createSubElem = false, specificAttr = 'ba...
waitMe.js
/* waitMe - 1.07 [11.02.15] Author: vadimsva Github: https://github.com/vadimsva/waitMe */ (function($) { $.fn.waitMe = function(method) { return this.each(function() { var elem = $(this), elemClass = 'waitMe', waitMe_text, effectObj, effectElemCount, createSubElem = false, specificAttr = 'ba...
20.02.15
waitMe.js
20.02.15
<ide><path>aitMe.js <ide> /* <del>waitMe - 1.07 [11.02.15] <add>waitMe - 1.08 [20.02.15] <ide> Author: vadimsva <ide> Github: https://github.com/vadimsva/waitMe <ide> */ <ide> }); <ide> <ide> } <add> $(window).load(function(){ <add> $('body.waitMe_body').find('.waitMe_container').remove(); <add> $('body.waitMe_b...
Java
apache-2.0
e11f19023a30b1bac45c1444a35b64f06eed8eeb
0
ImmobilienScout24/deadcode4j
package de.is24.deadcode4j.plugin; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugins.annotations.Mojo; /** * Finds dead (i.e. unused) code. In contrast to <code>find</code>, no phase is executed.<br/> * This goal is deprecated; use <code>find-only</code> instead. * * @see Find...
src/main/java/de/is24/deadcode4j/plugin/FindDeadCodeWithoutPackagingMojo.java
package de.is24.deadcode4j.plugin; import org.apache.maven.plugins.annotations.Mojo; /** * Finds dead (i.e. unused) code. In contrast to <code>find</code>, no phase is executed.<br/> * This goal is deprecated; use <code>find-only</code> instead. * * @see FindDeadCodeMojo * @see FindDeadCodeOnlyMojo * @since 1.4...
add deprecation warning
src/main/java/de/is24/deadcode4j/plugin/FindDeadCodeWithoutPackagingMojo.java
add deprecation warning
<ide><path>rc/main/java/de/is24/deadcode4j/plugin/FindDeadCodeWithoutPackagingMojo.java <ide> package de.is24.deadcode4j.plugin; <ide> <add>import org.apache.maven.plugin.MojoExecutionException; <ide> import org.apache.maven.plugins.annotations.Mojo; <ide> <ide> /** <ide> @Deprecated <ide> public class FindDeadCodeWi...
Java
mit
267d77e748c22ce653ab7c4aea46953cd036d8f2
0
meandor/rechnernetze
package de.haw.rnp.chat.controller; import de.haw.rnp.chat.model.Message; import de.haw.rnp.chat.model.User; import de.haw.rnp.chat.networkmanager.Node; import de.haw.rnp.chat.networkmanager.OutgoingChatProtocolMessageHandler; import de.haw.rnp.chat.networkmanager.OutgoingMessageHandler; import de.haw.rnp.chat.network...
exercise02/src/main/java/de/haw/rnp/chat/controller/Controller.java
package de.haw.rnp.chat.controller; import de.haw.rnp.chat.model.Message; import de.haw.rnp.chat.model.User; import de.haw.rnp.chat.networkmanager.Node; import de.haw.rnp.chat.networkmanager.OutgoingChatProtocolMessageHandler; import de.haw.rnp.chat.networkmanager.OutgoingMessageHandler; import de.haw.rnp.chat.network...
Nullpointer exception
exercise02/src/main/java/de/haw/rnp/chat/controller/Controller.java
Nullpointer exception
<ide><path>xercise02/src/main/java/de/haw/rnp/chat/controller/Controller.java <ide> @Override <ide> public boolean addUser(User u) { <ide> if (userList.offer(u)) { <del> this.view.updateUserlist(this.userList); <add> if (this.view != null) { <add> this.view.updateUse...
Java
apache-2.0
8b8fee704523e4c93546fca2a4fd4f970193215d
0
froop/checkdep
package checkdep.check; /** * 不必要な制約. * 存在しない依存を制約として定義している場合は無駄なので知らせる. */ class NeedlessConstraintException extends RuntimeException { private static final long serialVersionUID = 1L; public NeedlessConstraintException(String message) { super(message); } }
src/main/java/checkdep/check/NeedlessConstraintException.java
package checkdep.check; /** * 不必要な制約. * 存在しない依存を制約として定義している場合は無駄なので知らせる. */ public class NeedlessConstraintException extends RuntimeException { private static final long serialVersionUID = 1L; public NeedlessConstraintException(String message) { super(message); } }
refactoring class scope
src/main/java/checkdep/check/NeedlessConstraintException.java
refactoring class scope
<ide><path>rc/main/java/checkdep/check/NeedlessConstraintException.java <ide> * 不必要な制約. <ide> * 存在しない依存を制約として定義している場合は無駄なので知らせる. <ide> */ <del>public class NeedlessConstraintException extends RuntimeException { <add>class NeedlessConstraintException extends RuntimeException { <ide> private static final long serial...
Java
apache-2.0
7ddd8bbe554870823c039c32281c7e86402db03a
0
openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb
/** Copyright 2010 OpenEngSB Division, Vienna University of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requ...
ui/web/src/main/java/org/openengsb/ui/web/TestClient.java
/** Copyright 2010 OpenEngSB Division, Vienna University of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requ...
removed unused method Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
ui/web/src/main/java/org/openengsb/ui/web/TestClient.java
removed unused method
<ide><path>i/web/src/main/java/org/openengsb/ui/web/TestClient.java <ide> call.setArguments(arguments); <ide> } <ide> <del> private List<ServiceId> getServiceInstances() { <del> List<ServiceId> result = new ArrayList<ServiceId>(); <del> for (ServiceReference s : services.getManagedServiceI...
Java
apache-2.0
4bc85037771e26bf6a384f4d2801db82633b803d
0
Ali-Razmjoo/zaproxy,thc202/zaproxy,Ali-Razmjoo/zaproxy,psiinon/zaproxy,meitar/zaproxy,psiinon/zaproxy,thc202/zaproxy,gmaran23/zaproxy,meitar/zaproxy,meitar/zaproxy,zaproxy/zaproxy,gmaran23/zaproxy,gmaran23/zaproxy,thc202/zaproxy,kingthorin/zaproxy,Ali-Razmjoo/zaproxy,zapbot/zaproxy,psiinon/zaproxy,psiinon/zaproxy,Ali-R...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2018 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
src/org/zaproxy/zap/authentication/PostBasedAuthenticationMethodType.java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2018 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
replace fresh ACSRF token value without depending on the ACSRF token value in the first post request
src/org/zaproxy/zap/authentication/PostBasedAuthenticationMethodType.java
replace fresh ACSRF token value without depending on the ACSRF token value in the first post request
<ide><path>rc/org/zaproxy/zap/authentication/PostBasedAuthenticationMethodType.java <ide> // Prepare login message <ide> HttpMessage msg; <ide> try { <del> msg = prepareRequestMessage(cred); <ide> // Make sure the message will be sent with a good WebSession that can record the changes <ide> if (user...
Java
mit
00182d5c500457e840df98b2af763a83b1df8848
0
andreasb242/settlers-remake,phirschbeck/settlers-remake,andreas-eberle/settlers-remake,jsettlers/settlers-remake,jsettlers/settlers-remake,andreasb242/settlers-remake,phirschbeck/settlers-remake,Peter-Maximilian/settlers-remake,phirschbeck/settlers-remake,andreas-eberle/settlers-remake,JKatzwinkel/settlers-remake,jsett...
package jsettlers.algorithms; import jsettlers.common.material.ESearchType; import jsettlers.common.position.ISPosition2D; import jsettlers.common.position.ShortPoint2D; import jsettlers.logic.algorithms.path.IPathCalculateable; import jsettlers.logic.algorithms.path.Path; import jsettlers.logic.algorithms.path...
src/jsettlers/algorithms/SimpleDijkstraTester.java
package jsettlers.algorithms; import jsettlers.common.material.ESearchType; import jsettlers.common.position.ISPosition2D; import jsettlers.common.position.ShortPoint2D; import jsettlers.logic.algorithms.path.IPathCalculateable; import jsettlers.logic.algorithms.path.Path; import jsettlers.logic.algorithms.path...
- minor performance improvements (finaled methods to get inlined, removed unneccessary method calls)
src/jsettlers/algorithms/SimpleDijkstraTester.java
- minor performance improvements (finaled methods to get inlined, removed unneccessary method calls)
<ide><path>rc/jsettlers/algorithms/SimpleDijkstraTester.java <ide> import jsettlers.logic.algorithms.path.IPathCalculateable; <ide> import jsettlers.logic.algorithms.path.Path; <ide> import jsettlers.logic.algorithms.path.astar.HexAStar; <add>import jsettlers.logic.algorithms.path.dijkstra.DijkstraAlgorithm; <ide> impo...
JavaScript
mit
6c19a1b420c494838427a93b51406d2ec678c8fb
0
mbinet/Hypertube
/** * Created by mbinet on 3/27/17. */ import cookie from 'react-cookie' function getLang() { var user; if (user = cookie.load('user')) { if (user[0] == 'j') { user = user.substr(2) user = JSON.parse(user) } if (user.profile) return (user.profile.l...
app/utils/lang.js
/** * Created by mbinet on 3/27/17. */ import cookie from 'react-cookie' function getLang() { var user; if (user = cookie.load('user')) { return (user.profile.lang) } else { return ('en') } } export default getLang;
Fix 'j:' issue on cookie
app/utils/lang.js
Fix 'j:' issue on cookie
<ide><path>pp/utils/lang.js <ide> <ide> var user; <ide> if (user = cookie.load('user')) { <del> return (user.profile.lang) <add> if (user[0] == 'j') { <add> user = user.substr(2) <add> user = JSON.parse(user) <add> } <add> if (user.profile) <add> ret...
Java
apache-2.0
6a8a7302f4ab74e47a94170236697d96d67304c9
0
pcollaog/velocity-engine,diydyq/velocity-engine,diydyq/velocity-engine,pcollaog/velocity-engine
package org.apache.velocity.test; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
src/java/org/apache/velocity/test/TemplateTestCase.java
package org.apache.velocity.test; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
Assure that the results directory exists. git-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@73449 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/velocity/test/TemplateTestCase.java
Assure that the results directory exists.
<ide><path>rc/java/org/apache/velocity/test/TemplateTestCase.java <ide> * <ide> * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a> <ide> * @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a> <del> * @version $Id: TemplateTestCase.java,v 1.11 2000/10/25 23:25:54 dlr Exp $ <add> * @version $I...
Java
apache-2.0
88345f3b2e8013e6245febbed8db0417b55402f2
0
OpenMaths/parboiled,1986HlaMin/parboiled,sirthias/parboiled,parboiled1/parboiled
/* * Copyright (C) 2009-2011 Mathias Doenitz * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
parboiled-core/src/main/java/org/parboiled/errors/ErrorUtils.java
/* * Copyright (C) 2009-2011 Mathias Doenitz * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Fix TestNot reporting issue Does not accept labeled matchers existing below a TestNot matcher
parboiled-core/src/main/java/org/parboiled/errors/ErrorUtils.java
Fix TestNot reporting issue
<ide><path>arboiled-core/src/main/java/org/parboiled/errors/ErrorUtils.java <ide> import org.parboiled.common.Formatter; <ide> import org.parboiled.common.StringUtils; <ide> import org.parboiled.matchers.Matcher; <add>import org.parboiled.matchers.TestNotMatcher; <ide> import org.parboiled.support.MatcherPath; <ide> im...
Java
epl-1.0
a5cc0da0dd8ed0125bcc1ac14c63b898ceaacab4
0
NovusTheory/yangtools,opendaylight/yangtools,522986491/yangtools,opendaylight/yangtools
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
yang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/JSONNormalizedNodeStreamWriter.java
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
BUG-1676: do not emit double quotes for numbers Look up the value type in a set of known-numeric types and emit quotes only if the type is not found there. Change-Id: Ied303486bbda04126861fb709922fc21fafa1c95 Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
yang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/JSONNormalizedNodeStreamWriter.java
BUG-1676: do not emit double quotes for numbers
<ide><path>ang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/JSONNormalizedNodeStreamWriter.java <ide> <ide> import com.google.common.base.Preconditions; <ide> import com.google.common.base.Strings; <add>import com.google.common.collect.ImmutableSet; <ide> import com.google.gson.st...
Java
apache-2.0
5b0f05554602e542a9704cf258d145c2580e1a4b
0
shevek/spring-rich-client,shevek/spring-rich-client
/* * Copyright 2002-2004 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 appl...
test/org/springframework/binding/form/support/AbstractFormModelTests.java
/* * Copyright 2002-2004 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 appl...
Disconnected value models should still be readable and writeable but should not deliver change events. git-svn-id: 789609e278efc0cd74c84a9bb7abaca0738de801@900 817809c7-9d0e-0410-b92d-a7ac8b8adc13
test/org/springframework/binding/form/support/AbstractFormModelTests.java
Disconnected value models should still be readable and writeable but should not deliver change events.
<ide><path>est/org/springframework/binding/form/support/AbstractFormModelTests.java <ide> fm.getValueModel("singleSelectListProperty").setValue("singleSelectListProperty"); <ide> assertTrue(!fm.isDirty()); <ide> } <add> <add> public void testFormPropertiesAreAccessableFromFormObjectChangeEven...
Java
apache-2.0
5889b3a5de32bebeb1c2d6b0dc8d2ce2c3752b46
0
alibaba/nacos,alibaba/nacos,alibaba/nacos,alibaba/nacos
/* * Copyright 1999-2020 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...
naming/src/main/java/com/alibaba/nacos/naming/core/ServiceOperatorV2Impl.java
/* * Copyright 1999-2020 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 #6703] when delete an nonexistent, return services not exist error. (#6704)
naming/src/main/java/com/alibaba/nacos/naming/core/ServiceOperatorV2Impl.java
[ISSUE #6703] when delete an nonexistent, return services not exist error. (#6704)
<ide><path>aming/src/main/java/com/alibaba/nacos/naming/core/ServiceOperatorV2Impl.java <ide> @Override <ide> public void delete(String namespaceId, String serviceName) throws NacosException { <ide> Service service = getServiceFromGroupedServiceName(namespaceId, serviceName, true); <add> if (!Ser...
JavaScript
mit
d93a92e4d5dec6f0aead286552e7a68a92c85880
0
daanpape/grader,daanpape/grader
// View model for the courses page function pageViewModel(gvm) { // Page specific i18n bindings gvm.title = ko.computed(function(){i18n.setLocale(gvm.lang()); return gvm.app() + ' - ' + i18n.__("CoursesTitle");}, gvm); gvm.pageHeader = ko.computed(function(){i18n.setLocale(gvm.lang()); return i18n.__("C...
js/coursesViewModel.js
// View model for the courses page function pageViewModel(gvm) { // Page specific i18n bindings gvm.title = ko.computed(function(){i18n.setLocale(gvm.lang()); return gvm.app() + ' - ' + i18n.__("CoursesTitle");}, gvm); gvm.pageHeader = ko.computed(function(){i18n.setLocale(gvm.lang()); return i18n.__("C...
courses
js/coursesViewModel.js
courses
<ide><path>s/coursesViewModel.js <ide> $.each(data[3], function(i, item) { <ide> viewModel.addAvailableCourses(item.id, item.name); <ide> }); <del> }).done($("#location").bind("change", function() { <add> }).done($(function() {("#location").bind("change", function() { <ide> ...
Java
lgpl-2.1
5509a64ce2ef61386c736ee5857f8040951f1b46
0
ACS-Community/ACS,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,jbarriosc/ACSUFRO,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,ACS-Community/ACS,ACS-Community/ACS,jbarriosc/ACSUFRO,ACS-Community/ACS,csrg-utfsm/acscb,ACS-Community/ACS,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jb...
/* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2005 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pub...
LGPL/CommonSoftware/jacsutil/src/alma/acs/config/validators/ConfigFileFinder.java
/* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2005 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pub...
log messages, javadoc, impl of "copy to target dir non-flat" git-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@52849 523d945c-050c-4681-91ec-863ad3bb968a
LGPL/CommonSoftware/jacsutil/src/alma/acs/config/validators/ConfigFileFinder.java
log messages, javadoc, impl of "copy to target dir non-flat"
<ide><path>GPL/CommonSoftware/jacsutil/src/alma/acs/config/validators/ConfigFileFinder.java <ide> import java.util.Iterator; <ide> import java.util.List; <ide> import java.util.Set; <add>import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <ide> import com.cosylab.util.FileHelper; <ide> import ...
JavaScript
mit
a24bf9b62b47bee8d3ddb3675a053e315cca5938
0
kostyll/docurium,libgit2/docurium,libgit2/docurium,kostyll/docurium,libgit2/docurium,kostyll/docurium
$(function() { // our document model - stores the datastructure generated from docurium var Docurium = Backbone.Model.extend({ defaults: {'version': 'unknown'}, initialize: function() { this.loadVersions() }, loadVersions: function() { $.getJSON("project.json", function(data) { ...
site/js/docurium.js
$(function() { // our document model - stores the datastructure generated from docurium var Docurium = Backbone.Model.extend({ defaults: {'version': 'unknown'}, initialize: function() { this.loadVersions() }, loadVersions: function() { $.getJSON("project.json", function(data) { ...
Show the description in the group view rawComments doesn't exist anymore, use comments and description
site/js/docurium.js
Show the description in the group view
<ide><path>ite/js/docurium.js <ide> argsText = '( ' + fdata[f]['argline'] + ' )' <ide> link = $('<a>').attr('href', '#' + groupLink(gname, f)).append(f) <ide> $('.content').append($('<h2>').append(link).append($('<small>').append(argsText))) <del> $('.content').append($('<pre>').append(fd...
Java
apache-2.0
74e4246d036c03500dc8e6d0204dddb04e2a3990
0
maheshika/carbon-business-messaging,abeykoon/carbon-business-messaging,ramith/carbon-business-messaging,wso2/carbon-business-messaging,sdkottegoda/carbon-business-messaging,ChamNDeSilva/carbon-business-messaging,hastef88/carbon-business-messaging,hastef88/carbon-business-messaging,chanakaudaya/carbon-business-messaging...
/* * Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/internal/QpidServiceComponent.java
/* * Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
ClusterAgentConfiguration added
components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/internal/QpidServiceComponent.java
ClusterAgentConfiguration added
<ide><path>omponents/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/internal/QpidServiceComponent.java <ide> */ <ide> protected void setConfigurationContextService(ConfigurationContextService configurationContextService) { <ide> ClusteringAgent agent = configurationContextService.getSe...
JavaScript
mit
253bdc5c53aae3132715c103abc2a48461b11eae
0
Pro4People/Semantic-UI,codeRuth/Semantic-UI,wildKids/Semantic-UI,not001praween001/Semantic-UI,gangeshwark/Semantic-UI,JonathanRamier/Semantic-UI,raoenhui/Semantic-UI-DIV,exicon/Semantic-UI,kevinrodbe/Semantic-UI,dhj2020/Semantic-UI,m2lan/Semantic-UI,neomadara/Semantic-UI,jcdc21/Semantic-UI,Faisalawanisee/Semantic-UI,Fa...
/*! * # Semantic UI - Sticky * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ( $, window, document, undefined ) { "use strict"; $.fn.sticky = function(parameters) { var $allModules ...
src/definitions/modules/sticky.js
/*! * # Semantic UI - Sticky * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ( $, window, document, undefined ) { "use strict"; $.fn.sticky = function(parameters) { var $allModules ...
Related #2605, sticky no longer uses bottomPadding for determining bottom edge of context. This is counterintuitive and in most cases wrong
src/definitions/modules/sticky.js
Related #2605, sticky no longer uses bottomPadding for determining bottom edge of context. This is counterintuitive and in most cases wrong
<ide><path>rc/definitions/modules/sticky.js <ide> }, <ide> context = { <ide> offset : $context.offset(), <del> height : $context.outerHeight(), <del> bottomPadding : parseInt($context.css('padding-bottom'), 10) <add> ...
Java
apache-2.0
3059b58a9c8d215f430c2d3b316f5d25e645daae
0
codeabovelab/haven-platform,codeabovelab/haven-platform,codeabovelab/haven-platform,codeabovelab/haven-platform
/* * Copyright 2016 Code Above Lab LLC * * 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...
cluster-manager/src/main/java/com/codeabovelab/dm/cluman/ui/ImagesApi.java
/* * Copyright 2016 Code Above Lab LLC * * 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...
added search for cluster
cluster-manager/src/main/java/com/codeabovelab/dm/cluman/ui/ImagesApi.java
added search for cluster
<ide><path>luster-manager/src/main/java/com/codeabovelab/dm/cluman/ui/ImagesApi.java <ide> import org.springframework.cache.annotation.Cacheable; <ide> import org.springframework.http.ResponseEntity; <ide> import org.springframework.util.Assert; <add>import org.springframework.util.CollectionUtils; <ide> import org.spr...
Java
apache-2.0
5fd2ad2e14896bcf264c856a82d0f55d8e8d4a4c
0
idunnololz/LoLCraft
package com.ggstudios.lolcraft; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Stack; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.graphics...
app/src/main/java/com/ggstudios/lolcraft/Build.java
package com.ggstudios.lolcraft; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Stack; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.graphics...
Fix indentation
app/src/main/java/com/ggstudios/lolcraft/Build.java
Fix indentation
<ide><path>pp/src/main/java/com/ggstudios/lolcraft/Build.java <ide> * Class that holds information about a build, such as build order, stats and cost. <ide> */ <ide> public class Build { <del> private static final String TAG = "Build"; <del> <del> public static final int RUNE_TYPE_RED = 0; <del> public static final ...
Java
epl-1.0
570e7e6d33a936dc08434fe3528b6ed4f42bda0d
0
gayanper/eclipse-plugins-extras,gayanper/eclipse-plugins-extras
package org.gap.eclipse.plugins.extras.fixes.asist; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.jdt.core.Flags; import org.e...
eclipse-plugins-extras-fixes/src/org/gap/eclipse/plugins/extras/fixes/asist/SearchStaticAssistProcessor.java
package org.gap.eclipse.plugins.extras.fixes.asist; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonit...
Optimize search be scoping for current project of CU
eclipse-plugins-extras-fixes/src/org/gap/eclipse/plugins/extras/fixes/asist/SearchStaticAssistProcessor.java
Optimize search be scoping for current project of CU
<ide><path>clipse-plugins-extras-fixes/src/org/gap/eclipse/plugins/extras/fixes/asist/SearchStaticAssistProcessor.java <ide> import java.util.List; <ide> import java.util.Optional; <ide> <del>import org.eclipse.core.resources.ResourcesPlugin; <ide> import org.eclipse.core.runtime.CoreException; <ide> import org.eclips...
Java
apache-2.0
a2825801ec17814ff8ee34e7275dbaa06dca0f44
0
NitorCreations/javaxdelta,NitorCreations/javaxdelta
/* * Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, co...
src/main/java/at/spardat/xma/xdelta/JarPatcher.java
/* * Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, co...
Fix crc bug for internal zip entries that have changed in previous patchings
src/main/java/at/spardat/xma/xdelta/JarPatcher.java
Fix crc bug for internal zip entries that have changed in previous patchings
<ide><path>rc/main/java/at/spardat/xma/xdelta/JarPatcher.java <ide> closeEntry(output, outputEntry, crc); <ide> } else { // unchanged Entry <ide> ZipArchiveEntry outputEntry = new ZipArchiveEntry(sourceEntry); <add> if (JarDelta.zipFilesPattern.matcher(source...