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
9a6407132011ce75a784739e86c00b6a009f548d
0
getlantern/lantern-common
package org.lantern; public interface Stats { long getUptime(); long getPeerCount(); long getPeerCountThisRun(); long getUpBytesThisRun(); long getDownBytesThisRun(); long getUpBytesThisRunForPeers(); long getUpBytesThisRunViaProxies(); long getUpBytesThisRunToPeers(); lo...
src/main/java/org/lantern/Stats.java
package org.lantern; public interface Stats { long getUptime(); long getPeerCount(); long getPeerCountThisRun(); long getUpBytesThisRun(); long getDownBytesThisRun(); long getUpBytesThisRunForPeers(); long getUpBytesThisRunViaProxies(); long getUpBytesThisRunToPeers(); lo...
Added Metric for tracking moving averages
src/main/java/org/lantern/Stats.java
Added Metric for tracking moving averages
<ide><path>rc/main/java/org/lantern/Stats.java <ide> <ide> String getVersion(); <ide> <del> double getCpuUtilization(); <add> double getProcessCpuUsage(); <ide> <del> double getLoadAverage(); <add> double getSystemCpuUsage(); <add> <add> double getSystemLoadAverage(); <ide> <ide> ...
JavaScript
mit
b40aa676dfc5b82588d7c5dbd8cf21650c21edbe
0
AndreaZain/dl-module,danliris/dl-module,kristika/dl-module,baguswidypriyono/dl-module,indriHutabalian/dl-module
'use strict' var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var DLModels = require('dl-models'); var map = DLModels.map; var ProductionOrder = DLModels.sales.ProductionOrder; var ProductionOrderDetail = DLModels.sales.ProductionOrderDetail; var ProductionOrderLampStandard = DLModels.sales.Pro...
src/managers/sales/production-order-manager.js
'use strict' var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var DLModels = require('dl-models'); var map = DLModels.map; var ProductionOrder = DLModels.sales.ProductionOrder; var ProductionOrderDetail = DLModels.sales.ProductionOrderDetail; var ProductionOrderLampStandard = DLModels.sales.Pro...
update query
src/managers/sales/production-order-manager.js
update query
<ide><path>rc/managers/sales/production-order-manager.js <ide> <ide> getReport(query) { <ide> return new Promise((resolve, reject) => { <del> if(!query.size){ <del> query.size=20; <del> } <del> if(!query.page){ <del> query.page=1; <add> ...
Java
mit
65b0c816ef6a9aecdca11f66b376eb2fa39eed3e
0
sweetcode/SweetDB
package de.SweetCode.SweetDB.Table; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import de.SweetCode.SweetDB.DataSet.DataSet; import de.SweetCode.SweetDB.DataSet.Field; import de.SweetCode.SweetDB.DataType.DataType; import de.SweetCode.SweetDB.DataType.DataTypes; im...
src/main/java/de/SweetCode/SweetDB/Table/Table.java
package de.SweetCode.SweetDB.Table; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import de.SweetCode.SweetDB.DataSet.DataSet; import de.SweetCode.SweetDB.DataSet.Field; import de.SweetCode.SweetDB.DataType.DataType; import de.SweetCode.SweetDB.DataType.DataTypes; im...
Added DataSet validation for the Table#insert(DataSet) method
src/main/java/de/SweetCode/SweetDB/Table/Table.java
Added DataSet validation for the Table#insert(DataSet) method
<ide><path>rc/main/java/de/SweetCode/SweetDB/Table/Table.java <ide> * Inserts a DataSet into the table. <ide> * @param dataSet <ide> */ <del> public void insert(DataSet dataSet) { <add> public boolean insert(DataSet dataSet) { <add> <add> if(!(this.syntax.validate(dataSet))) { <add> ...
JavaScript
mit
9e3d2015e0979b55a1bc9ee52b3702a91c5fe035
0
kagemusha/ember-phoenix-channel,kagemusha/ember-phoenix-channel
/** * Phoenix Channels JavaScript client * * ## Socket Connection * * A single connection is established to the server and * channels are multiplexed over the connection. * Connect to the server using the `Socket` class: * * ```javascript * let socket = new Socket("/socket", {params: {userToken: "123"}}) * s...
addon/phoenix.js
// Phoenix Channels JavaScript client // // ## Socket Connection // // A single connection is established to the server and // channels are multiplexed over the connection. // Connect to the server using the `Socket` class: // // let socket = new Socket("/ws", {params: {userToken: "123"}}) // socket.connect() /...
Use latest phoenix.js
addon/phoenix.js
Use latest phoenix.js
<ide><path>ddon/phoenix.js <del>// Phoenix Channels JavaScript client <del>// <del>// ## Socket Connection <del>// <del>// A single connection is established to the server and <del>// channels are multiplexed over the connection. <del>// Connect to the server using the `Socket` class: <del>// <del>// let socket = n...
JavaScript
mit
ca737ff076e11001f1c61e115ed2685191ff86b6
0
IDotD/Userscript,Idrinth/IDotD
idrinth.tier = { list: { }, addTagged: function ( name ) { var isValidParameter = function ( name ) { return name && idrinth.tier.list.hasOwnProperty ( name ) && typeof idrinth.tier.list[name] !== 'function' && !document.getElementById ( 'idrinth-tier-box-' + name ); }; var i...
src/mods/tier.js
idrinth.tier = { list: { }, addTagged: function ( name ) { var isValidParameter = function ( name ) { return name && idrinth.tier.list.hasOwnProperty ( name ) && typeof idrinth.tier.list[name] !== 'function' && !document.getElementById ( 'idrinth-tier-box-' + name ); }; var i...
simplifiing storage
src/mods/tier.js
simplifiing storage
<ide><path>rc/mods/tier.js <ide> var create = function ( field, value ) { <ide> 'use strict'; <ide> field = field.split ( '#' ); <del> if ( !field[1] ) { <del> idrinth.settings.data[field[0]] = value; <del> } else { <del> ...
JavaScript
mit
a419517363f1779e8b804b3d25b9510d16ffc675
0
sidorares/node-mysql2,sidorares/node-mysql2,sidorares/node-mysql2,sidorares/node-mysql2
var mysql = require('../index.js'); var Connection = mysql.Connection; var inherits = require('util').inherits; module.exports = PoolConnection; inherits(PoolConnection, Connection); PoolConnection.statementKey = Connection.statementKey; function PoolConnection (pool, options) { Connection.call(this, options); t...
lib/pool_connection.js
var mysql = require('../index.js'); var Connection = mysql.Connection; var inherits = require('util').inherits; module.exports = PoolConnection; inherits(PoolConnection, Connection); function PoolConnection (pool, options) { Connection.call(this, options); this._pool = pool; // When a fatal error occurs the c...
add ref to statementKey fontion in PoolConnection object
lib/pool_connection.js
add ref to statementKey fontion in PoolConnection object
<ide><path>ib/pool_connection.js <ide> <ide> module.exports = PoolConnection; <ide> inherits(PoolConnection, Connection); <add>PoolConnection.statementKey = Connection.statementKey; <ide> <ide> function PoolConnection (pool, options) { <ide> Connection.call(this, options);
Java
apache-2.0
dec1312f00842eb57c09ea0000a5dd1d187a39df
0
atomix/atomix,atomix/atomix,kuujo/copycat,kuujo/copycat
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
primitive/src/main/java/io/atomix/primitive/partition/MemberGroupStrategy.java
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Handle null zone/rack/host in MemberGroupStrategy.
primitive/src/main/java/io/atomix/primitive/partition/MemberGroupStrategy.java
Handle null zone/rack/host in MemberGroupStrategy.
<ide><path>rimitive/src/main/java/io/atomix/primitive/partition/MemberGroupStrategy.java <ide> ZONE_AWARE { <ide> @Override <ide> public Collection<MemberGroup> getMemberGroups(Collection<Node> nodes) { <del> return groupNodes(nodes, Node::zone); <add> return groupNodes(nodes, node -> node.zone() !=...
Java
apache-2.0
b45b467717f1a5065160ac360d9f6499f2d88baf
0
mangstadt/vinnie
/* * MIT License * * Copyright (c) 2016 Michael Angstadt * * 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, cop...
src/main/java/com/github/mangstadt/vinnie/validate/VObjectValidator.java
/* * MIT License * * Copyright (c) 2016 Michael Angstadt * * 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, cop...
Tabs are not allowed in 2.1 property names.
src/main/java/com/github/mangstadt/vinnie/validate/VObjectValidator.java
Tabs are not allowed in 2.1 property names.
<ide><path>rc/main/java/com/github/mangstadt/vinnie/validate/VObjectValidator.java <ide> //@formatter:off <ide> map.put(strict, new AllowedCharacters.Builder() <ide> .allowPrintable() <del> .allow('\t') <ide> .except("[]=:.,") <ide> <ide> /*
Java
apache-2.0
dbcdd878ca4b9d2f963da1827daea9119c7d1c81
0
alxdarksage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,DwayneJengSage/BridgePF
package org.sagebionetworks.bridge.play.controllers; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import static org.mockito.Mockito.any; import static org.mockito.Mockito.anyVararg; import static org.mockito.Mockito.doReturn; import static...
test/org/sagebionetworks/bridge/play/controllers/UploadSchemaControllerTest.java
package org.sagebionetworks.bridge.play.controllers; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.any; import static org.mockito.Mockito.anyVararg; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.eq; import stati...
Fix for test. Just changing the test to match the behavior (which is correct).
test/org/sagebionetworks/bridge/play/controllers/UploadSchemaControllerTest.java
Fix for test. Just changing the test to match the behavior (which is correct).
<ide><path>est/org/sagebionetworks/bridge/play/controllers/UploadSchemaControllerTest.java <ide> <ide> import static org.junit.Assert.assertEquals; <ide> import static org.junit.Assert.assertNull; <add>import static org.junit.Assert.fail; <ide> import static org.mockito.Mockito.any; <ide> import static org.mockito.Moc...
JavaScript
mit
76c8906f50d0a3deb550e5f45cc64cb39913d466
0
yourpalal/backtalk,yourpalal/backtalk
'use strict'; var argparser = require('argparser') .nonvals("ast") .parse(); var BT = require('./back_talker'); var readline = require('readline'); var rl = readline.createInterface({ input: process.stdin, output: process.stdout }); var scope = new BT.Scope(), context = ...
repl.js
'use strict'; var argparser = require('argparser') .nonvals("ast") .parse(); var BT = require('./back_talker'); var readline = require('readline'); var rl = readline.createInterface({ input: process.stdin, output: process.stdout }); var scope = new BT.Scope(), evaluator ...
Replace 'q' hack in repl with a function!
repl.js
Replace 'q' hack in repl with a function!
<ide><path>epl.js <ide> <ide> <ide> var scope = new BT.Scope(), <del> evaluator = new BT.Evaluator(scope) <add> context = new BT.Context(), <add> evaluator = new BT.Evaluator(scope, context), <add> running = true <ide> ; <add> <add>context.addFunc({ <add> patterns: ['q'], <add> impl: function() ...
Java
mit
0c56f21a5a9c52a8b3dc7e89b8c5ef0f98b65209
0
hpe-idol/java-iod-client,hpautonomy/java-hod-client,hpautonomy/java-iod-client,hpautonomy/java-hod-client,hpe-idol/java-iod-client,hpe-idol/java-hod-client,hpautonomy/java-iod-client,hpe-idol/java-hod-client,hpautonomy/java-hod-client,hpe-idol/java-hod-client
/* * Copyright 2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.iod.client.search; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util...
src/main/java/com/hp/autonomy/iod/client/search/QueryTextIndexRequestBuilder.java
/* * Copyright 2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.iod.client.search; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util...
Rename method as the old name possibly implies it does something different.
src/main/java/com/hp/autonomy/iod/client/search/QueryTextIndexRequestBuilder.java
Rename method as the old name possibly implies it does something different.
<ide><path>rc/main/java/com/hp/autonomy/iod/client/search/QueryTextIndexRequestBuilder.java <ide> * @param indexes The remaining indexes <ide> * @return this <ide> */ <del> public QueryTextIndexRequestBuilder setIndexes(final String index0, final String... indexes) { <add> public QueryTextIndexRequ...
Java
apache-2.0
3d9be813774ac8c8b0ab325402b609d364930a6b
0
KatsuraKKKK/netty,f7753/netty,orika/netty,LuminateWireless/netty,tempbottle/netty,windie/netty,eonezhang/netty,mosoft521/netty,artgon/netty,netty/netty,yipen9/netty,orika/netty,nayato/netty,LuminateWireless/netty,qingsong-xu/netty,brennangaunce/netty,olupotd/netty,zer0se7en/netty,Apache9/netty,luyiisme/netty,mosoft521/...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Provide a basic test for getBufferFor()
buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java
Provide a basic test for getBufferFor()
<ide><path>uffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java <ide> package io.netty.buffer; <ide> <ide> import static io.netty.buffer.Unpooled.*; <add>import java.io.IOException; <ide> import static org.junit.Assert.*; <ide> <ide> import java.nio.ByteBuffer; <ide> @Override <ide> pro...
Java
apache-2.0
8a26e253f9b45d4dc757d12f5f5653874547aa23
0
gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * 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-...
atlas-web/src/main/java/ae3/model/ExpressionStats.java
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * 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-...
cleanup: unused method has been removed
atlas-web/src/main/java/ae3/model/ExpressionStats.java
cleanup: unused method has been removed
<ide><path>tlas-web/src/main/java/ae3/model/ExpressionStats.java <ide> efvTree.put(normalized(pair[0], "ba_"), pair[1], valueIndex); <ide> ++valueIndex; <ide> } <del> } <del> <del> private String[] getFactorsAndCharacteristics(NetCDFProxy proxy) throws IOException { <del> fi...
Java
apache-2.0
bd712f799e2187f85ef2eae37d0ad6f8955344c3
0
dhirajsb/fabric8,sobkowiak/fabric8,sobkowiak/fabric8,rhuss/fabric8,dhirajsb/fabric8,dhirajsb/fabric8,rhuss/fabric8,christian-posta/fabric8,chirino/fabric8v2,zmhassan/fabric8,rhuss/fabric8,KurtStam/fabric8,christian-posta/fabric8,rhuss/fabric8,KurtStam/fabric8,chirino/fabric8v2,rajdavies/fabric8,KurtStam/fabric8,rajdavi...
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
components/kubernetes-api/src/main/java/io/fabric8/kubernetes/api/KubernetesHelper.java
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Resolves #4839 maven fabric8:json - Output json in pretty format
components/kubernetes-api/src/main/java/io/fabric8/kubernetes/api/KubernetesHelper.java
Resolves #4839 maven fabric8:json - Output json in pretty format
<ide><path>omponents/kubernetes-api/src/main/java/io/fabric8/kubernetes/api/KubernetesHelper.java <ide> * Saves the json object to the given file <ide> */ <ide> public static void saveJson(File json, Object object) throws IOException { <del> OBJECT_MAPPER.writer().writeValue(json, object); <add> ...
Java
unlicense
47a82994f4a64d3e14c5367705d943791a619249
0
eduardog3000/EnderIO,torteropaid/EnderIO,Quantum64/EnderIO,mezz/EnderIO,eduardog3000/EnderIO,Vexatos/EnderIO,Samernieve/EnderIO,SleepyTrousers/EnderIO,MatthiasMann/EnderIO,HenryLoenwind/EnderIO,Vexatos/EnderIO,mmelvin0/EnderIO,Joccob/EnderIO,Joccob/EnderIO,D-Inc/EnderIO,MrNuggelz/EnderIO
package cofh.api.energy; import net.minecraftforge.common.util.ForgeDirection; /** * Implement this interface on TileEntities which should handle energy, generally storing it in one or more internal {@link IEnergyStorage} objects. * * A reference implementation is provided {@link TileEnergyHandler}. * * @autho...
src/main/java/cofh/api/energy/IEnergyHandler.java
package cofh.api.energy; import net.minecraftforge.common.util.ForgeDirection; /** * Implement this interface on TileEntities which should handle energy, generally storing it in one or more internal {@link IEnergyStorage} objects. * * A reference implementation is provided {@link TileEnergyHandler}. * * @autho...
Update RF API
src/main/java/cofh/api/energy/IEnergyHandler.java
Update RF API
<ide><path>rc/main/java/cofh/api/energy/IEnergyHandler.java <ide> * @author King Lemming <ide> * <ide> */ <del>public interface IEnergyHandler { <add>public interface IEnergyHandler extends IEnergyConnection { <ide> <ide> /** <ide> * Add energy to an IEnergyHandler, internal distribution is left entirely to the...
JavaScript
mit
1bca84dad222ed073e1461661b95d6bc4b25ed9c
0
shanetechwiz/node-steamcardbot
var Steam = require('steam'); var SteamUser = require('steam-user'); var TradeOfferManager = require('steam-tradeoffer-manager'); var SteamTotp = require('steam-totp'); var Steamcommunity = require('steamcommunity'); var SteamWebLogOn = require('steam-weblogon'); var util = require('util'); var UInt64 = require('cuint...
bot.js
var Steam = require('steam'); var SteamUser = require('steam-user'); var TradeOfferManager = require('steam-tradeoffer-manager'); var SteamTotp = require('steam-totp'); var Steamcommunity = require('steamcommunity'); var SteamWebLogOn = require('steam-weblogon'); var util = require('util'); var UInt64 = require('cuint...
Replaced parseint with regex (it is faster) Line 98
bot.js
Replaced parseint with regex (it is faster) Line 98
<ide><path>ot.js <ide> } <ide> else if(message.indexOf('!buy') > -1) { <ide> <del> numberOfKeys = parseInt(message.substring(message.indexOf(' ') + 1, message.length)); <add> numberOfKeys = message.replace ( /[^\d.]/g, '' ); <ide> <ide> if(isNaN(numberOfKeys) == true) { steamFriends.sendMessage(steamID, co...
Java
apache-2.0
f848a3930831b8ef961a0023ff680e16a1c920cf
0
amit-jain/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,trekawek/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,anchela/jackr...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/ConfigurationParameters.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 ...
minor improvement: formatting git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1669120 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/ConfigurationParameters.java
minor improvement: formatting
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/ConfigurationParameters.java <ide> <ide> /** <ide> * Returns a new milliseconds object from the given long value. <add> * <ide> * @param value the value <ide> * @return the milliseconds object <ide> ...
Java
apache-2.0
e129de0f9fe286502f4ae0f04c7e83b803cfdb95
0
romach/itevents,romach/itevents,JuniorsJava/itevents,JuniorsJava/itevents,JuniorsJava/itevents,romach/itevents,romach/itevents,JuniorsJava/itevents
package org.itevents.controller; import org.itevents.model.Event; import org.itevents.model.Location; import org.itevents.service.EventService; import org.itevents.service.EventServiceImpl; import org.springframework.beans.support.PagedListHolder; import org.springframework.context.ApplicationContext; import org.sprin...
restservice/src/main/java/org/itevents/controller/EventRestController.java
package org.itevents.controller; import org.itevents.model.Event; import org.itevents.model.Location; import org.itevents.service.EventService; import org.itevents.service.EventServiceImpl; import org.springframework.beans.support.PagedListHolder; import org.springframework.context.ApplicationContext; import org.sprin...
add RequestParam techTag
restservice/src/main/java/org/itevents/controller/EventRestController.java
add RequestParam techTag
<ide><path>estservice/src/main/java/org/itevents/controller/EventRestController.java <ide> @RequestParam(value = "payed") boolean payed, <ide> @RequestParam(value = "lat") double latitude, <ide> ...
JavaScript
mit
7efdc67432e2cf925484e6823512a1eee1590b59
0
DemocracyOS/app,DemocracyOS/app
var prefix = '/:forum' function createRouter (config) { var multiForum = config.multiForum return function forumRouter (route) { if (!multiForum) return route || '/' if (!route) return prefix if (route[0] !== '/') route = '/' + route return prefix + route } } module.exports = createRouter
lib/forum-router/create-router.js
var prefix = '/:forum' function createRouter (config) { var multiForum = config.multiForum return function forumRouter (route) { if (!multiForum) return route if (!route) return prefix if (route[0] !== '/') route = '/' + route return prefix + route } } module.exports = createRouter
add default singleforum route
lib/forum-router/create-router.js
add default singleforum route
<ide><path>ib/forum-router/create-router.js <ide> function createRouter (config) { <ide> var multiForum = config.multiForum <ide> return function forumRouter (route) { <del> if (!multiForum) return route <add> if (!multiForum) return route || '/' <ide> if (!route) return prefix <ide> if (route[0] !== ...
JavaScript
mit
48ca03325cfdc098246e70cc19b33a75a74a6cf1
0
ello/webapp,ello/webapp,ello/webapp
import { Map, OrderedSet, List } from 'immutable' import { createSelector } from 'reselect' import get from 'lodash/get' import startCase from 'lodash/startCase' import trunc from 'trunc-html' import { CATEGORIES } from '../constants/mapping_types' import { META } from '../constants/locales/en' import { selectParamsTyp...
src/selectors/categories.js
import { Map, OrderedSet, List } from 'immutable' import { createSelector } from 'reselect' import get from 'lodash/get' import startCase from 'lodash/startCase' import trunc from 'trunc-html' import { CATEGORIES } from '../constants/mapping_types' import { META } from '../constants/locales/en' import { selectParamsTyp...
Check for subscribedIds before checking size.
src/selectors/categories.js
Check for subscribedIds before checking size.
<ide><path>rc/selectors/categories.js <ide> export const selectAreCategoriesSubscribed = createSelector( <ide> [selectSubscribedCategoryIds], <ide> (subscribedIds) => { <del> if (subscribedIds.size > 0) { return true } <add> if (subscribedIds && subscribedIds.size > 0) { return true } <ide> return false <...
Java
apache-2.0
f4d227e888d7d6f11d6800abcd8e1d22e6af62e0
0
folio-org/okapi,folio-org/okapi
package okapi.util; import org.folio.okapi.util.LockedStringMap; import io.vertx.core.Vertx; import io.vertx.core.logging.Logger; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.folio.okapi.common.ErrorType; import org.folio.okapi.common....
okapi-core/src/test/java/okapi/util/LockedStringMapTest.java
package okapi.util; import org.folio.okapi.util.LockedStringMap; import io.vertx.core.Vertx; import io.vertx.core.logging.Logger; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.folio.okapi.common.ErrorType; import org.folio.okapi.common....
Further test of LockedStringMap
okapi-core/src/test/java/okapi/util/LockedStringMapTest.java
Further test of LockedStringMap
<ide><path>kapi-core/src/test/java/okapi/util/LockedStringMapTest.java <ide> public void testadd(TestContext context) { <ide> map.addOrReplace(false, "k1", "k2", "FOOBAR", res -> { <ide> assertTrue(res.succeeded()); <add> testReplaceTrue(context); <add> }); <add> } <add> <add> public void testRepl...
Java
mit
b04f01a8487013075e4579e5ce98f29c6c21e05f
0
plum-umd/java-sketch,plum-umd/java-sketch,plum-umd/java-sketch,plum-umd/java-sketch
/** * * Generally speaking, suffix arrays are used to do multiple queries * efficiently on one piece of data rather than to do one operation * then move on to another piece of text. * * Good suffix array read: http://www.cs.yale.edu/homes/aspnes/pinewiki/SuffixArrays.html * * @author William Fiset, william.al...
test/axioms/benchmarks/SuffixArray_bigger/SuffixArray_loops.java
/** * * Generally speaking, suffix arrays are used to do multiple queries * efficiently on one piece of data rather than to do one operation * then move on to another piece of text. * * Good suffix array read: http://www.cs.yale.edu/homes/aspnes/pinewiki/SuffixArrays.html * * @author William Fiset, william.al...
added some to SuffixArray test
test/axioms/benchmarks/SuffixArray_bigger/SuffixArray_loops.java
added some to SuffixArray test
<ide><path>est/axioms/benchmarks/SuffixArray_bigger/SuffixArray_loops.java <ide> <ide> if (comp1) { <ide> if (comp2) { <del> // genStmt(localInts, localObjs, i, tmp); <ide> // TreeSet<String> lrss = (TreeSet<String>) localObjs[0]; <ide> // lrss.clear(); <ide> genStmts(localInts, localObjs, i, tmp); ...
Java
apache-2.0
6cc4d07a3ac791d971d9e64d843e95b92f3b1511
0
UniTime/unitime,rafati/unitime,zuzanamullerova/unitime,UniTime/unitime,nikeshmhr/unitime,zuzanamullerova/unitime,sktoo/timetabling-system-,nikeshmhr/unitime,zuzanamullerova/unitime,maciej-zygmunt/unitime,rafati/unitime,maciej-zygmunt/unitime,nikeshmhr/unitime,sktoo/timetabling-system-,sktoo/timetabling-system-,UniTime/...
/* * UniTime 3.1 (University Timetabling Application) * Copyright (C) 2008, UniTime.org, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
JavaSource/org/unitime/timetable/solver/exam/ui/ExamAssignmentInfo.java
/* * UniTime 3.1 (University Timetabling Application) * Copyright (C) 2008, UniTime.org, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
computation of instructor conflicts on instructional offering components corrected
JavaSource/org/unitime/timetable/solver/exam/ui/ExamAssignmentInfo.java
computation of instructor conflicts on instructional offering components corrected
<ide><path>avaSource/org/unitime/timetable/solver/exam/ui/ExamAssignmentInfo.java <ide> for (Iterator i=iInstructorDirects.iterator();i.hasNext();) { <ide> DirectConflict dc = (DirectConflict)i.next(); <ide> for (Enumeration f=dc.getStudents().elements();f.hasMoreElements();) <del> ...
Java
apache-2.0
4e2b8bc7f6ee62c0cc958f38935f520e567d57f6
0
vivekmore/generator-jhipster,stevehouel/generator-jhipster,rifatdover/generator-jhipster,ziogiugno/generator-jhipster,hdurix/generator-jhipster,jhipster/generator-jhipster,duderoot/generator-jhipster,rkohel/generator-jhipster,vivekmore/generator-jhipster,ctamisier/generator-jhipster,danielpetisme/generator-jhipster,gzs...
package <%=packageName%>.config; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.servlet.InstrumentedFilter; import com.codahale.metrics.servlets.MetricsServlet;<% if (clusteredHttpSession == 'hazelcast' || hibernateCache == 'hazelcast') { %> import com.hazelcast.core.HazelcastInstance;<% } %><...
generators/server/templates/src/main/java/package/config/_WebConfigurer.java
package <%=packageName%>.config; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.servlet.InstrumentedFilter; import com.codahale.metrics.servlets.MetricsServlet;<% if (clusteredHttpSession == 'hazelcast' || hibernateCache == 'hazelcast') { %> import com.hazelcast.core.HazelcastInstance;<% } %><...
Only do setDocumentRoot if not running from jar/war
generators/server/templates/src/main/java/package/config/_WebConfigurer.java
Only do setDocumentRoot if not running from jar/war
<ide><path>enerators/server/templates/src/main/java/package/config/_WebConfigurer.java <ide> // CloudFoundry issue, see https://github.com/cloudfoundry/gorouter/issues/64 <ide> mappings.add("json", "text/html;charset=utf-8"); <ide> container.setMimeMappings(mappings);<% if (!skipClient) { %> <de...
Java
bsd-2-clause
8c19f745045ab702acf90d6d5df845827f461103
0
clementval/claw-compiler,clementval/claw-compiler
/* * This file is released under terms of BSD license * See LICENSE file for more information */ package cx2x.translator.transformation.loop; // Cx2x import import cx2x.translator.common.Constant; import cx2x.translator.language.ClawLanguage; import cx2x.translator.language.ClawMapping; import cx2x.translator.lang...
omni-cx2x/src/cx2x/translator/transformation/loop/LoopExtraction.java
/* * This file is released under terms of BSD license * See LICENSE file for more information */ package cx2x.translator.transformation.loop; // Cx2x import import cx2x.translator.common.Constant; import cx2x.translator.language.ClawLanguage; import cx2x.translator.language.ClawMapping; import cx2x.translator.lang...
Clean import
omni-cx2x/src/cx2x/translator/transformation/loop/LoopExtraction.java
Clean import
<ide><path>mni-cx2x/src/cx2x/translator/transformation/loop/LoopExtraction.java <ide> import cx2x.translator.language.ClawLanguage; <ide> import cx2x.translator.language.ClawMapping; <ide> import cx2x.translator.language.ClawMappingVar; <del>import cx2x.translator.language.ClawRange; <ide> import cx2x.xcodeml.helper.*;...
Java
apache-2.0
e719a71f72885cee75f1b78648cb6606344f9c87
0
viacheslavokolitiy/AndEngine,Munazza/AndEngine,zhidew/AndEngine,zhidew/AndEngine,msdgwzhy6/AndEngine,yaye729125/gles,Munazza/AndEngine,jduberville/AndEngine,godghdai/AndEngine,ericlaro/AndEngineLibrary,parthipanramesh/AndEngine,godghdai/AndEngine,zhidew/AndEngine,shiguang1120/AndEngine,nicolasgramlich/AndEngine,viaches...
package org.anddev.andengine.opengl.texture.region; import org.anddev.andengine.opengl.texture.Texture; import org.anddev.andengine.opengl.texture.source.AssetTextureSource; import org.anddev.andengine.opengl.texture.source.ITextureSource; import org.anddev.andengine.opengl.texture.source.ResourceTextureSource;...
src/org/anddev/andengine/opengl/texture/region/TextureRegionFactory.java
package org.anddev.andengine.opengl.texture.region; import org.anddev.andengine.opengl.texture.Texture; import org.anddev.andengine.opengl.texture.source.AssetTextureSource; import org.anddev.andengine.opengl.texture.source.ITextureSource; import org.anddev.andengine.opengl.texture.source.ResourceTextureSource; ...
Added TextureRegion "extraction" method to TextureRegionFactory. Added BaseAssetPath to TextureRegionFactory.
src/org/anddev/andengine/opengl/texture/region/TextureRegionFactory.java
Added TextureRegion "extraction" method to TextureRegionFactory. Added BaseAssetPath to TextureRegionFactory.
<ide><path>rc/org/anddev/andengine/opengl/texture/region/TextureRegionFactory.java <ide> package org.anddev.andengine.opengl.texture.region; <add> <ide> <ide> import org.anddev.andengine.opengl.texture.Texture; <ide> import org.anddev.andengine.opengl.texture.source.AssetTextureSource; <ide> // ======================...
Java
apache-2.0
763a5760c9e856f18dfd5a6a0a3ba03b6348302e
0
supriyantomaftuh/java-client-api,marklogic/java-client-api,marklogic/java-client-api,omkarudipi/java-client-api,omkarudipi/java-client-api,omkarudipi/java-client-api,marklogic/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,grechaw/ja...
/* * Copyright 2012 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
src/main/java/com/marklogic/client/impl/JerseyServices.java
/* * Copyright 2012 MarkLogic Corporation * * 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...
Bug:16852 missing guard for null pointer git-svn-id: 2087087167f935058d19856144d26af79f295c86@108063 62cac252-8da6-4816-9e9d-6dc37b19578c
src/main/java/com/marklogic/client/impl/JerseyServices.java
Bug:16852 missing guard for null pointer
<ide><path>rc/main/java/com/marklogic/client/impl/JerseyServices.java <ide> value = HandleAccessor.as(contentHandle).sendContent(); <ide> } <ide> <del> String[] typeParts = mimetype.contains("/") ? mimetype <del> .split("/", 2) : null; <del> <del> MediaType typePart = (typeParts != null) ? new MediaType...
JavaScript
apache-2.0
a59affeccc1ba3ced7edb070e15e9650c91f10f6
0
MacdonaldRobinson/FlexDotnetCMS,MacdonaldRobinson/FlexDotnetCMS,MacdonaldRobinson/FlexDotnetCMS
/// <reference path="../Views/MasterPages/WebService.asmx" /> /// <reference path="../Views/MasterPages/WebService.asmx" /> window.onerror = function (e) { if(e.indexOf("UpdatePanel") !=-1) { window.location.reload(); } } function DisplayJsonException(xhr) { try { var jsonError = JSON.p...
WebApplication/Admin/Scripts/adminGlobal.js
/// <reference path="../Views/MasterPages/WebService.asmx" /> /// <reference path="../Views/MasterPages/WebService.asmx" /> window.onerror = function (e) { if(e.indexOf("UpdatePanel") !=-1) { window.location.reload(); } } function DisplayJsonException(xhr) { try { var jsonError = JSON.p...
- Updated tinymce settings
WebApplication/Admin/Scripts/adminGlobal.js
- Updated tinymce settings
<ide><path>ebApplication/Admin/Scripts/adminGlobal.js <ide> 'insertdatetime media youtube nonbreaking save table contextmenu directionality', <ide> 'emoticons template paste textcolor colorpicker textpattern imagetools ace imgmap table map' <ide> ], <del> toolbar1: 'file undo redo | s...
Java
apache-2.0
2cefcefc053a84e3964ea3156324436dac547113
0
AxonFramework/AxonFramework,krosenvold/AxonFramework
/* * Copyright (c) 2010-2018. Axon Framework * * 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 ...
messaging/src/main/java/org/axonframework/common/lock/PessimisticLockFactory.java
/* * Copyright (c) 2010-2018. Axon Framework * * 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 ...
organizing imports
messaging/src/main/java/org/axonframework/common/lock/PessimisticLockFactory.java
organizing imports
<ide><path>essaging/src/main/java/org/axonframework/common/lock/PessimisticLockFactory.java <ide> <ide> import org.axonframework.common.Assert; <ide> <del>import java.util.*; <add>import java.util.Collection; <add>import java.util.HashSet; <add>import java.util.Set; <add>import java.util.WeakHashMap; <ide> import jav...
Java
mit
error: pathspec 'src/progII/exercise03/Singleton.java' did not match any file(s) known to git
2af20d44ce6a80ea558667a872b7148b1f71b424
1
Sebb767/Prog,Sebb767/Prog
package exercise03; // Die nachfolgende Klasse soll genau einmal instanziiert werden koennen. // Dazu kann der Trick angewendet werden, den Konstruktor private zu machen // und fuer die Generierung der Instanz eine eigene Methode getInstance // vorzusehen. public class Singleton { // Diese Variable soll spaeter di...
src/progII/exercise03/Singleton.java
Aufgabe 3
src/progII/exercise03/Singleton.java
Aufgabe 3
<ide><path>rc/progII/exercise03/Singleton.java <add>package exercise03; <add> <add> <add>// Die nachfolgende Klasse soll genau einmal instanziiert werden koennen. <add>// Dazu kann der Trick angewendet werden, den Konstruktor private zu machen <add>// und fuer die Generierung der Instanz eine eigene Methode getInstance...
Java
apache-2.0
aa751bfba7f1305c8fdf8586f474d51990f81410
0
YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player
package eu.ydp.empiria.player.client.module.connection.presenter; import com.google.gwt.user.client.ui.Widget; import com.google.inject.Inject; import eu.ydp.empiria.player.client.module.MarkAnswersMode; import eu.ydp.empiria.player.client.module.MarkAnswersType; import eu.ydp.empiria.player.client.module.Module...
src/main/java/eu/ydp/empiria/player/client/module/connection/presenter/ConnectionModulePresenterImpl.java
package eu.ydp.empiria.player.client.module.connection.presenter; import com.google.gwt.user.client.ui.Widget; import com.google.inject.Inject; import eu.ydp.empiria.player.client.module.MarkAnswersMode; import eu.ydp.empiria.player.client.module.MarkAnswersType; import eu.ydp.empiria.player.client.module.Module...
[YPUB-6663] Added state of answer type.
src/main/java/eu/ydp/empiria/player/client/module/connection/presenter/ConnectionModulePresenterImpl.java
[YPUB-6663] Added state of answer type.
<ide><path>rc/main/java/eu/ydp/empiria/player/client/module/connection/presenter/ConnectionModulePresenterImpl.java <ide> <ide> ConnectionModuleModel model; <ide> <add> private boolean isAnswerTypeEqualsCorrect; <add> <ide> @Inject <ide> private MultiplePairModuleView moduleView; <ide> <ide> public void showAnsw...
Java
bsd-3-clause
32d67a1ca690b0c3cc95808384cf0cdb14d186c0
0
jenkinsci/jaxen
/* * $Header$ * $Revision: 640 $ * $Date: 2005-04-16 08:32:53 -0700 (Sat, 16 Apr 2005) $ * * ==================================================================== * * Copyright (C) 2000-2002 bob mcwhirter & James Strachan. * All rights reserved. * * Redistribution and use in source and binary forms, with or wi...
src/java/main/org/jaxen/NamespaceContext.java
/* * $Header$ * $Revision: 460 $ * $Date: 2005-02-10 09:35:01 -0800 (Thu, 10 Feb 2005) $ * * ==================================================================== * * Copyright (C) 2000-2002 bob mcwhirter & James Strachan. * All rights reserved. * * Redistribution and use in source and binary forms, with or wi...
Specifying that unbound prefixes return null for their namespace URIs
src/java/main/org/jaxen/NamespaceContext.java
Specifying that unbound prefixes return null for their namespace URIs
<ide><path>rc/java/main/org/jaxen/NamespaceContext.java <ide> /* <ide> * $Header$ <del> * $Revision: 460 $ <del> * $Date: 2005-02-10 09:35:01 -0800 (Thu, 10 Feb 2005) $ <add> * $Revision: 640 $ <add> * $Date: 2005-04-16 08:32:53 -0700 (Sat, 16 Apr 2005) $ <ide> * <ide> * =============================================...
Java
mit
9fad1999772fab7e1fc9470e662df28bf9f420e8
0
RoboEagles4828/LandrovalToast,RoboEagles4828/LandrovalToast
package frc.team4828.landrovaltoast; import org.junit.Test; import static org.junit.Assert.assertEquals; public class Tester { @Test public void test() { System.out.println("You're currently testing Tester!"); TestClass test = new TestClass(); int returned = test.testTester(3); ...
src/main/test/frc/team4828/landrovaltoast/Tester.java
package frc.team4828.landrovaltoast; import org.junit.Test; import static org.junit.Assert.assertEquals; ; public class Tester { @Test public void test() { System.out.println("You're currently testing Tester!"); TestClass test = new TestClass(); int returned = test.testTester(3); ...
Fixed a Typo
src/main/test/frc/team4828/landrovaltoast/Tester.java
Fixed a Typo
<ide><path>rc/main/test/frc/team4828/landrovaltoast/Tester.java <ide> import org.junit.Test; <ide> <ide> import static org.junit.Assert.assertEquals; <del> <del>; <ide> <ide> public class Tester { <ide> @Test
JavaScript
apache-2.0
250162d37b19604099d5ebc77fda6cba57010dc8
0
dc-js/dc.js,dc-js/dc.js,dc-js/dc.js,dc-js/dc.js,dc-js/dc.js
import {pluck, utils} from '../core/utils'; /** * Legend is a attachable widget that can be added to other dc charts to render horizontal legend * labels. * * Examples: * - {@link http://dc-js.github.com/dc.js/ Nasdaq 100 Index} * - {@link http://dc-js.github.com/dc.js/crime/index.html Canadian City Crime Stats}...
src/base/legend.js
import {pluck, utils} from '../core/utils'; /** * Legend is a attachable widget that can be added to other dc charts to render horizontal legend * labels. * * Examples: * - {@link http://dc-js.github.com/dc.js/ Nasdaq 100 Index} * - {@link http://dc-js.github.com/dc.js/crime/index.html Canadian City Crime Stats}...
Correct variable naming convention
src/base/legend.js
Correct variable naming convention
<ide><path>rc/base/legend.js <ide> return _itemHeight / 2 + (this.clientHeight ? this.clientHeight : 13) / 2 - 2; <ide> }); <ide> <del> let _cumulativeLegendTextWidth = 0; <add> let cumulativeLegendTextWidth = 0; <ide> let row = 0; <ide> ...
Java
apache-2.0
8ab1d50e1d72b9d47c6f74c2e95fea530e5edef4
0
apache/incubator-taverna-plugin-component
package net.sf.taverna.t2.component.ui.serviceprovider; import static java.util.Arrays.asList; import static org.apache.log4j.Logger.getLogger; import java.net.URL; import java.util.Arrays; import java.util.List; import javax.swing.Icon; import net.sf.taverna.t2.component.ComponentActivity; import net.sf.taverna.t2...
src/main/java/net/sf/taverna/t2/component/ui/serviceprovider/ComponentServiceDesc.java
package net.sf.taverna.t2.component.ui.serviceprovider; import static java.util.Arrays.asList; import static org.apache.log4j.Logger.getLogger; import java.util.Arrays; import java.util.List; import javax.swing.Icon; import net.sf.taverna.t2.component.ComponentActivity; import net.sf.taverna.t2.component.ComponentA...
Added ability to get help on component git-svn-id: c991a65cd530d4df12bc8798d93b4b35787426a0@16699 bf327186-88b3-11dd-a302-d386e5130c1c
src/main/java/net/sf/taverna/t2/component/ui/serviceprovider/ComponentServiceDesc.java
Added ability to get help on component
<ide><path>rc/main/java/net/sf/taverna/t2/component/ui/serviceprovider/ComponentServiceDesc.java <ide> import static java.util.Arrays.asList; <ide> import static org.apache.log4j.Logger.getLogger; <ide> <add>import java.net.URL; <ide> import java.util.Arrays; <ide> import java.util.List; <ide> <ide> <ide> import net...
JavaScript
apache-2.0
2e4a6e01bc90b1675d460da94d34377edf56c521
0
jlhughes/foam,mdittmer/foam,mdittmer/foam,osric-the-knight/foam,foam-framework/foam,mdittmer/foam,jacksonic/foam,jlhughes/foam,osric-the-knight/foam,foam-framework/foam,jlhughes/foam,mdittmer/foam,foam-framework/foam,osric-the-knight/foam,osric-the-knight/foam,jacksonic/foam,jacksonic/foam,foam-framework/foam,jlhughes/...
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ CLASS({ name...
js/foam/flow/AceCodeView.js
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ CLASS({ name...
AceCodeView: Support proper two-way data binding for data.code changes coming from either code editor or from elsewhere
js/foam/flow/AceCodeView.js
AceCodeView: Support proper two-way data binding for data.code changes coming from either code editor or from elsewhere
<ide><path>s/foam/flow/AceCodeView.js <ide> }); <ide> }, <ide> postSet: function(old, nu) { <del> if ( old ) old.language$.removeListener(this.onLanguageChange); <del> if ( nu ) nu.language$.addListener(this.onLanguageChange); <del> if ( ! old || old.language !== nu.language ) t...
Java
epl-1.0
9e6f5e040a328232d38dfa2a059026e1993a07ee
0
debrief/debrief,debrief/debrief,pecko/debrief,debrief/debrief,debrief/debrief,debrief/debrief,pecko/debrief,pecko/debrief,pecko/debrief,debrief/debrief,theanuradha/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,pecko/debrief,theanu...
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.debrief.core/src/org/mwc/debrief/core/ContextOperations/GenerateTMASegmentFromOwnshipPositions.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
don't offer operation if TMA leg has been selected
org.mwc.debrief.core/src/org/mwc/debrief/core/ContextOperations/GenerateTMASegmentFromOwnshipPositions.java
don't offer operation if TMA leg has been selected
<ide><path>rg.mwc.debrief.core/src/org/mwc/debrief/core/ContextOperations/GenerateTMASegmentFromOwnshipPositions.java <ide> FixWrapper fix = (FixWrapper) editable; <ide> TrackWrapper track = fix.getTrackWrapper(); <ide> SegmentList segments = track.getSegments(); <del> Editable first = segments.getDa...
JavaScript
mit
7d0c872b86f1bd387b114461ebdd6e32338a1e51
0
fengyuanchen/viewer
// A shortcut for triggering custom events trigger: function (type, data) { var e = $.Event(type, data); this.$element.trigger(e); return e; }, shown: function () { var options = this.options; this.transitioning = false; this.isFulled = true; this.isShown = ...
src/js/others.js
// A shortcut for triggering custom events trigger: function (type, data) { var e = $.Event(type, data); this.$element.trigger(e); return e; }, shown: function () { var options = this.options; this.transitioning = false; this.isFulled = true; this.isShown = ...
Improve image switching
src/js/others.js
Improve image switching
<ide><path>rc/js/others.js <ide> case 'switch': <ide> this.action = 'switched'; <ide> <del> if (offsetX > 1) { <del> this.prev(); <del> } else if (offsetX < -1) { <del> this.next(); <add> if (abs(offsetX) > abs(offsetY)) { <add> if (offsetX ...
JavaScript
mpl-2.0
0a2e108957d930e5d93c6e90d0d79f2f0cbe1433
0
mozilla/fxa-content-server,ReachingOut/fxa-content-server,TDA/fxa-content-server,riadhchtara/fxa-content-server,TDA/fxa-two-factor-auth,vladikoff/fxa-content-server,riadhchtara/fxa-password-manager,jrgm/fxa-content-server,atiqueahmedziad/fxa-content-server,swatilk/fxa-content-server,dannycoates/fxa-content-server,jpett...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Ensure l10n is working as expected based on the // user's `Accept-Language` headers define([ 'intern!object...
tests/server/l10n.js
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Ensure l10n is working as expected based on the // user's `Accept-Language` headers define([ 'intern!object...
chore(tests): Add tests to ensure the correct client.json is returned under a variety of circumstances. * all uppercase language * all lowercase language * uppercase region * uppercase language * multiple regions supported, only language specified * unsupported region returns root language * no Accept-Language header ...
tests/server/l10n.js
chore(tests): Add tests to ensure the correct client.json is returned under a variety of circumstances.
<ide><path>ests/server/l10n.js <ide> var suite = { <ide> name: 'i18n' <ide> }; <add> <add> function testClientJson(acceptLanguageHeader, expectedLanguage) { <add> /*jshint validthis: true*/ <add> var dfd = this.async(1000); <add> <add> var headers = {}; <add> if (acceptLanguageHeader) { <add> ...
Java
apache-2.0
55990fa775fe110a913e7e3590030b41e15f6db5
0
GlenKPeterson/UncleJim,GlenKPeterson/UncleJim
// Copyright 2016-05-28 PlanBase Inc. & Glen Peterson // // 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/main/java/org/organicdesign/fp/experimental/RrbTree1.java
// Copyright 2016-05-28 PlanBase Inc. & Glen Peterson // // 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 ...
Just cleaned up some old code and comments.
src/main/java/org/organicdesign/fp/experimental/RrbTree1.java
Just cleaned up some old code and comments.
<ide><path>rc/main/java/org/organicdesign/fp/experimental/RrbTree1.java <ide> T get(int i); <ide> /** Highest index returnable by this node */ <ide> int maxIndex(); <del> /** Inserts an item at the given index */ <del>// @Override public Node<T> insert(int i, T item); <del>// ...
JavaScript
bsd-3-clause
d7c54056ae34690346280f126bed6f23287fc33f
0
UndefinedOffset/silverstripe-keyboardshortcuts,UndefinedOffset/silverstripe-keyboardshortcuts
(function() { //TinyMCE will stop loading if it encounters non-existent external script file when included through tiny_mce_gzip.php. Only load the external lang package if it is available. var availableLangs=['en', 'de']; if(jQuery.inArray(tinymce.settings.language, availableLangs)!=-1) { tinymce.P...
javascript/tinymce/editor_plugin_src.js
(function() { //TinyMCE will stop loading if it encounters non-existent external script file when included through tiny_mce_gzip.php. Only load the external lang package if it is available. var availableLangs=['en', 'de']; if(jQuery.inArray(tinymce.settings.language, availableLangs)!=-1) { tinymce.P...
Fixed error when loading the editor plugin
javascript/tinymce/editor_plugin_src.js
Fixed error when loading the editor plugin
<ide><path>avascript/tinymce/editor_plugin_src.js <ide> ed.addShortcut('ctrl+shift+l', ed.getLang('sskeyboardshortcuts.insertbullets', 0), 'InsertUnorderedList'); //Insert or Remove Bulleted List <ide> <ide> ed.addShortcut('ctrl+l', ed.getLang('sskeyboardshortcuts.insertnumbers', 0)...
Java
epl-1.0
cb6fd7676c31ccae1f13077a48bc2e36e67089b4
0
Johnson-Chou/test,my76128/controller,mandeepdhami/controller,tx1103mark/controller,aryantaheri/monitoring-controller,mandeepdhami/controller,aryantaheri/controller,inocybe/odl-controller,mandeepdhami/controller,aryantaheri/controller,aryantaheri/monitoring-controller,violinlakshmi/opendaylight,opendaylight/controller,m...
/* * Copyright (c) 2013 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...
opendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/ForwardingRulesManager.java
/* * Copyright (c) 2013 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...
Addressing gerrit 1182 Madhu's comment - Making sure the executor service is available before the loadconfig gets called, just in case of some race condition Change-Id: Ib1d84c33536a68806d281d23855a6c0a5be2dd23 Signed-off-by: Giovanni Meo <8f30079aa2f0f06e12398c14a38a6013c42d387e@cisco.com>
opendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/ForwardingRulesManager.java
Addressing gerrit 1182 Madhu's comment
<ide><path>pendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/ForwardingRulesManager.java <ide> // Initialize graceful stop flag <ide> stopping = false; <ide> <add> // Allocate the executor service <add> this.executo...
Java
bsd-3-clause
c058dbb0f7d00a172eb1fb54ad76287b347db9b1
0
rnathanday/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.dspace.doi; import java.sql.SQLException; import org.dspace.content.DCValue; import org.dspace.content.Item; import org.dspace.content.MetadataSchema; /** * Convenience methods involved in registering DOIs...
dspace/modules/doi/dspace-doi-api/src/main/java/org/dspace/doi/DryadDOIRegistrationHelper.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.dspace.doi; import java.sql.SQLException; import org.dspace.content.DCValue; import org.dspace.content.Item; import org.dspace.content.MetadataSchema; /** * Convenience methods involved in registering DOIs...
Remove 'en' restriction when checking provenance for blackout
dspace/modules/doi/dspace-doi-api/src/main/java/org/dspace/doi/DryadDOIRegistrationHelper.java
Remove 'en' restriction when checking provenance for blackout
<ide><path>space/modules/doi/dspace-doi-api/src/main/java/org/dspace/doi/DryadDOIRegistrationHelper.java <ide> public static boolean isDataPackageInPublicationBlackout(Item dataPackage) throws SQLException { <ide> // Publication blackout is indicated by provenance metadata <ide> boolean isInBlackout...
Java
agpl-3.0
57ac0a367eb2e0be0c80c757a35b715161bfd1a4
0
caiyingyuan/tigase-utils-71,caiyingyuan/tigase-utils-71
/* * Tigase Jabber/XMPP Utils * Copyright (C) 2004-2007 "Artur Hefczyc" <artur.hefczyc@tigase.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License. * * ...
src/main/java/tigase/util/JIDUtils.java
/* * Tigase Jabber/XMPP Utils * Copyright (C) 2004-2007 "Artur Hefczyc" <artur.hefczyc@tigase.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License. * * ...
Unused import removed git-svn-id: 78a0b1024db9beb524bc745052f6db0c395bb78f@513 20a39203-4b1a-0410-9ea8-f7f58976c10f
src/main/java/tigase/util/JIDUtils.java
Unused import removed
<ide><path>rc/main/java/tigase/util/JIDUtils.java <ide> */ <ide> package tigase.util; <ide> <del>import java.net.InetAddress; <ide> import java.net.UnknownHostException; <ide> <ide> /**
Java
apache-2.0
06899077070ee7957632b4468b9a7c881c9cd48b
0
michael-rapp/ChromeLikeTabSwitcher
/* * Copyright 2016 - 2017 Michael Rapp * * 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...
library/src/main/java/de/mrapp/android/tabswitcher/gesture/TouchEventDispatcher.java
/* * Copyright 2016 - 2017 Michael Rapp * * 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...
The class TouchEventDispatcher does now implement the interface Iterable.
library/src/main/java/de/mrapp/android/tabswitcher/gesture/TouchEventDispatcher.java
The class TouchEventDispatcher does now implement the interface Iterable.
<ide><path>ibrary/src/main/java/de/mrapp/android/tabswitcher/gesture/TouchEventDispatcher.java <ide> import java.util.Collections; <ide> import java.util.Iterator; <ide> import java.util.LinkedHashSet; <del>import java.util.Map; <ide> import java.util.Set; <ide> import java.util.SortedMap; <ide> import java.util.TreeMa...
Java
bsd-3-clause
38e37d9e7609b5e0180b1323316ff98fe60c6a72
0
webhost/jing-trang,webhost/jing-trang,webhost/jing-trang
package com.thaiopensource.relaxng.output.rng; import com.thaiopensource.relaxng.edit.AbstractVisitor; import com.thaiopensource.relaxng.edit.DefineComponent; import com.thaiopensource.relaxng.edit.DivComponent; import com.thaiopensource.relaxng.edit.IncludeComponent; import com.thaiopensource.relaxng.edit.GrammarPatt...
trang/src/com/thaiopensource/relaxng/output/rng/Analyzer.java
package com.thaiopensource.relaxng.output.rng; import com.thaiopensource.relaxng.edit.AbstractVisitor; import com.thaiopensource.relaxng.edit.DefineComponent; import com.thaiopensource.relaxng.edit.DivComponent; import com.thaiopensource.relaxng.edit.IncludeComponent; import com.thaiopensource.relaxng.edit.GrammarPatt...
Note inherited namespace on include if any. Use a default namespace for nsName and include if not already used.
trang/src/com/thaiopensource/relaxng/output/rng/Analyzer.java
Note inherited namespace on include if any. Use a default namespace for nsName and include if not already used.
<ide><path>rang/src/com/thaiopensource/relaxng/output/rng/Analyzer.java <ide> <ide> public Object visitInclude(IncludeComponent c) { <ide> visitAnnotated(c); <add> noteInheritNs(c.getNs()); <ide> return visitContainer(c); <ide> } <ide> <ide> private final Map prefixMap = new HashMap(); <ide> privat...
Java
apache-2.0
ed631987711128a4e1e30f0b07ec581e103e2426
0
Progressive-Learning-Platform/plp-grinder,Progressive-Learning-Platform/plp-grinder,zcmoore/plp-grinder,zcmoore/plp-grinder
public class BasicArithmatic { private static final int constant = 10; public static void main(String[] args) { int a = 4; int b = 3; int sum = a + b; int product = a*b; int difference = a -b; int addImmediate = a + 2; int subImmediate = a - 2; int addConstant = b * constant; addConstant += 2; ...
sampleData/BasicArithmatic.java
public class BasicArithmatic { private static final int constant = 10; public static void main(String[] args) { int a = 4; int b = 3; int sum = a + b; int product = a*b; int difference = a -b; int addImmediate = a + 2; int subImmediate = a - 2; int addConstant = b * constant; addConstant += 2; ...
Token issue on Sum Method
sampleData/BasicArithmatic.java
Token issue on Sum Method
<ide><path>ampleData/BasicArithmatic.java <ide> int multiplyImmediate = b * 0x05; <ide> multiplyImmediate << 1; <ide> multiplyImmediate++; <add> <add> public int CasualMethod() <add> { <add> return 1; <add> } <add> <add> casualMethod(); <add> <add> public int Sum(int a, int b) <add> { <add> return...
Java
mit
8d101163d4662f63aebc7b31548e729056c8b6dd
0
bfaksdl/ivt-lab
package hu.bme.mit.spaceship; /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false; public GT4500() { this.primaryT...
src/main/java/hu/bme/mit/spaceship/GT4500.java
package hu.bme.mit.spaceship; /** * A simple spaceship with two proton torpedos and four lasers */ public class GT4500 implements SpaceShip { private TorpedoStore primaryTorpedoStore; private TorpedoStore secondaryTorpedoStore; private boolean wasPrimaryFiredLast = false; public GT4500() { this.primaryT...
modified: src/main/java/hu/bme/mit/spaceship/GT4500.java
src/main/java/hu/bme/mit/spaceship/GT4500.java
modified: src/main/java/hu/bme/mit/spaceship/GT4500.java
<ide><path>rc/main/java/hu/bme/mit/spaceship/GT4500.java <ide> firingSuccess = secondaryTorpedoStore.fire(1); <ide> wasPrimaryFiredLast = false; <ide> } <add> ///// Branch B <ide> break; <ide> } <ide>
Java
apache-2.0
270bd6e06aa2ecec58492dd588d49a6169f169e4
0
farmerbb/Taskbar,farmerbb/Taskbar
/* Copyright 2019 Braden Farmer * * 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 i...
app/src/main/java/com/farmerbb/taskbar/ui/ViewParams.java
/* Copyright 2019 Braden Farmer * * 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 i...
Disable WindowManager animations
app/src/main/java/com/farmerbb/taskbar/ui/ViewParams.java
Disable WindowManager animations
<ide><path>pp/src/main/java/com/farmerbb/taskbar/ui/ViewParams.java <ide> import android.view.WindowManager; <ide> <ide> import com.farmerbb.taskbar.util.U; <add> <add>import java.lang.reflect.Field; <ide> <ide> public class ViewParams { <ide> public int width; <ide> if(bottomMargin > -1) <ide> ...
Java
apache-2.0
26a982b579350b26f2f15d42487344c3250e3226
0
reTHINK-project/dev-registry-global
package eu.rethink.globalregistry; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.Scheduled; import eu.rethink.globalregistry.configuration.Config; import eu.rethink.globalregistry...
src/main/java/eu/rethink/globalregistry/GlobalRegistryServer.java
package eu.rethink.globalregistry; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.Scheduled; import eu.rethink.globalregistry.configuration.Config; import eu.rethink.globalregistry...
finalized reconnect functionality
src/main/java/eu/rethink/globalregistry/GlobalRegistryServer.java
finalized reconnect functionality
<ide><path>rc/main/java/eu/rethink/globalregistry/GlobalRegistryServer.java <ide> /** <ide> * Main class for GlobalRegistry daemon <ide> * <del> * @date 03.04.2017 <add> * @date 06.04.2017 <ide> * @version 3 <ide> * @author Sebastian Göndör, Parth Singh <ide> */ <ide> <ide> // 5 minute delay, then every 12 hou...
Java
cc0-1.0
edee1152330a4740341ac120b18669824340c92c
0
MeasureAuthoringTool/clinical_quality_language,MeasureAuthoringTool/clinical_quality_language,cqframework/clinical_quality_language,MeasureAuthoringTool/clinical_quality_language,MeasureAuthoringTool/clinical_quality_language,cqframework/clinical_quality_language
package org.cqframework.cql.tools.formatter; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.tree.*; import org.cqframework.cql.gen.cqlBaseVisitor; import org.cqframework.cql.gen.cqlLexer; import org.cqframework.cql.gen.cqlParser; import java.io.BufferedReader; import java.io.IOException; import java.io.In...
Src/java/tools/cql-formatter/src/main/java/org/cqframework/cql/tools/formatter/CqlFormatterVisitor.java
package org.cqframework.cql.tools.formatter; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.tree.*; import org.cqframework.cql.gen.cqlBaseVisitor; import org.cqframework.cql.gen.cqlLexer; import org.cqframework.cql.gen.cqlParser; import java.io.BufferedReader; import java.io.IOException; import java.io.In...
minor tweak to scope just in case
Src/java/tools/cql-formatter/src/main/java/org/cqframework/cql/tools/formatter/CqlFormatterVisitor.java
minor tweak to scope just in case
<ide><path>rc/java/tools/cql-formatter/src/main/java/org/cqframework/cql/tools/formatter/CqlFormatterVisitor.java <ide> } <ide> } <ide> <del> static class FormatResult { <add> public static class FormatResult { <ide> List<Exception> errors; <ide> String output; <ide>
Java
apache-2.0
08023239165f5b4784cb5dde9cfc0fd121b8298e
0
ssilvert/keycloak,stianst/keycloak,abstractj/keycloak,darranl/keycloak,raehalme/keycloak,ahus1/keycloak,hmlnarik/keycloak,ahus1/keycloak,mhajas/keycloak,vmuzikar/keycloak,srose/keycloak,thomasdarimont/keycloak,pedroigor/keycloak,ssilvert/keycloak,abstractj/keycloak,pedroigor/keycloak,pedroigor/keycloak,ssilvert/keycloa...
package org.keycloak.testsuite.springboot; import org.hamcrest.Matchers; import org.jboss.arquillian.graphene.page.Page; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.keycloak.OAuth2Constants; import org.keycloak.admin.client.resourc...
testsuite/integration-arquillian/tests/other/springboot-tests/src/test/java/org/keycloak/testsuite/springboot/AccountLinkSpringBootTest.java
package org.keycloak.testsuite.springboot; import org.hamcrest.Matchers; import org.jboss.arquillian.graphene.page.Page; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.keycloak.OAuth2Constants; import org.keycloak.admin.client.resourc...
KEYCLOAK-14778 Springboot tests fails with compilation error
testsuite/integration-arquillian/tests/other/springboot-tests/src/test/java/org/keycloak/testsuite/springboot/AccountLinkSpringBootTest.java
KEYCLOAK-14778 Springboot tests fails with compilation error
<ide><path>estsuite/integration-arquillian/tests/other/springboot-tests/src/test/java/org/keycloak/testsuite/springboot/AccountLinkSpringBootTest.java <ide> import static org.keycloak.models.AccountRoles.MANAGE_ACCOUNT; <ide> import static org.keycloak.models.AccountRoles.MANAGE_ACCOUNT_LINKS; <ide> import static org.k...
Java
apache-2.0
941bdac746af8a0fbca5c3c514b4e656b3915aeb
0
ashensw/carbon-ml,nirmal070125/carbon-ml,manoramahp/carbon-ml,danula/carbon-ml,SupunS/carbon-ml,maheshakya/carbon-ml,ashensw/carbon-ml,nirmal070125/carbon-ml,nirmal070125/carbon-ml,wso2/carbon-ml,SupunS/carbon-ml,cdathuraliya/carbon-ml,nectoc/carbon-ml,danula/carbon-ml,maheshakya/carbon-ml,cdathuraliya/carbon-ml,danula...
package org.wso2.carbon.ml.ui.helper; import java.rmi.RemoteException; import org.apache.axis2.AxisFault; import org.apache.axis2.client.Options; import org.apache.axis2.client.ServiceClient; import org.apache.axis2.context.ConfigurationContext; import org.apache.commons.logging.Log; import org.apache.commons.logging...
ml/ml-components/org.wso2.carbon.ml.ui/src/main/java/org/wso2/carbon/ml/ui/helper/DatasetServiceClient.java
package org.wso2.carbon.ml.ui.helper; import java.rmi.RemoteException; import org.apache.axis2.AxisFault; import org.apache.axis2.client.Options; import org.apache.axis2.client.ServiceClient; import org.apache.axis2.context.ConfigurationContext; import org.apache.commons.logging.Log; import org.apache.commons.logging...
changed the exception type
ml/ml-components/org.wso2.carbon.ml.ui/src/main/java/org/wso2/carbon/ml/ui/helper/DatasetServiceClient.java
changed the exception type
<ide><path>l/ml-components/org.wso2.carbon.ml.ui/src/main/java/org/wso2/carbon/ml/ui/helper/DatasetServiceClient.java <ide> throws DatasetServiceClientException { <ide> try { <ide> return stub.getDatasetUploadingDir(); <del> } catch (RemoteException ex) { <add> } catch (Exception ex) { <ide> String msg = "...
Java
apache-2.0
b44033817d3f9e74a7a06fc69e5a9ec5fdd2e52b
0
pferraro/undertow,darranl/undertow,undertow-io/undertow,jamezp/undertow,baranowb/undertow,darranl/undertow,darranl/undertow,undertow-io/undertow,jamezp/undertow,baranowb/undertow,rhusar/undertow,jstourac/undertow,jamezp/undertow,soul2zimate/undertow,jstourac/undertow,undertow-io/undertow,baranowb/undertow,soul2zimate/u...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
core/src/test/java/io/undertow/server/security/KerberosKDCUtil.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
UNDERTOW-1765 Fix SPNEGO tests on Windows JDK11
core/src/test/java/io/undertow/server/security/KerberosKDCUtil.java
UNDERTOW-1765 Fix SPNEGO tests on Windows JDK11
<ide><path>ore/src/test/java/io/undertow/server/security/KerberosKDCUtil.java <ide> import java.io.ByteArrayOutputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <add>import java.net.URISyntaxException; <ide> import java.net.URL; <ide> import java.nio.charset.StandardCharsets; <ide> import j...
Java
apache-2.0
3b33b1c1a1e40ad8bec42fe2b4b18f98cc36ee3c
0
cache2k/cache2k,cache2k/cache2k,cache2k/cache2k
package org.cache2k; /* * #%L * cache2k API * %% * Copyright (C) 2000 - 2019 headissue GmbH, Munich * %% * 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...
cache2k-api/src/main/java/org/cache2k/CacheOperationCompletionListener.java
package org.cache2k; /* * #%L * cache2k API * %% * Copyright (C) 2000 - 2019 headissue GmbH, Munich * %% * 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...
doc touch up
cache2k-api/src/main/java/org/cache2k/CacheOperationCompletionListener.java
doc touch up
<ide><path>ache2k-api/src/main/java/org/cache2k/CacheOperationCompletionListener.java <ide> * <p>In the current implementation, there is no condition which raises a call to this method. <ide> * Errors while loading a value, will be delayed and propagated when the respective key <ide> * is accessed. This is sub...
JavaScript
apache-2.0
34b75205e48005f1ae1ef5d5bdcb61f7ff16a608
0
vitorio/ocropodium,vitorio/ocropodium,vitorio/ocropodium,vitorio/ocropodium
// Class for showing a GUI for correcting transcripts of OCR batches // function OcrTranscript(insertinto_id, batch_id) { var m_batch_id = batch_id; var m_page = 0; var m_batchdata = null; // editor for each line var m_editor = null; // page data cache var m_pagedata = null; // ali...
static/js/ocr_transcript.js
// Class for showing a GUI for correcting transcripts of OCR batches // function OcrTranscript(insertinto_id, batch_id) { var m_batch_id = batch_id; var m_page = 0; var m_batchdata = null; // editor for each line var m_editor = null; // page data cache var m_pagedata = null; // ali...
Add an id to the line container and make the insertBreaks function add breaks as siblings, rather than children of the given lines
static/js/ocr_transcript.js
Add an id to the line container and make the insertBreaks function add breaks as siblings, rather than children of the given lines
<ide><path>tatic/js/ocr_transcript.js <ide> .attr("id", "scroll_container"); <ide> var m_pagediv = $("<div></div>") <ide> .addClass("waiting") <del> .addClass("transcript_lines"); <add> .addClass("transcript_lines") <add> .attr("id", "transcript_lines"); <ide> //.css("mi...
Java
mit
d002502fbd1520f55935b357b166769983ab2c54
0
jonfryd/tifoon,jonfryd/tifoon,jonfryd/tifoon
package com.elixlogic.tifoon.plugin; import com.elixlogic.tifoon.domain.model.scanner.*; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.elixlogic.tifoon.plugin.executer.ExecutorPlugin; import com.elixlogic.tifoon.plugin.scanner.A...
tifoon-plugins/tifoon-nmap-scanner-plugin/src/main/java/com/elixlogic/tifoon/plugin/NmapPortScannerPlugin.java
package com.elixlogic.tifoon.plugin; import com.elixlogic.tifoon.domain.model.scanner.*; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.elixlogic.tifoon.plugin.executer.ExecutorPlugin; import com.elixlogic.tifoon.plugin.scanner.A...
Better wording
tifoon-plugins/tifoon-nmap-scanner-plugin/src/main/java/com/elixlogic/tifoon/plugin/NmapPortScannerPlugin.java
Better wording
<ide><path>ifoon-plugins/tifoon-nmap-scanner-plugin/src/main/java/com/elixlogic/tifoon/plugin/NmapPortScannerPlugin.java <ide> <ide> if (!rootScanTypes.isEmpty() && SystemUtils.IS_OS_UNIX && !("root".equals(_runningAsUsername))) { <ide> // warn about running non-root, since these scan types require...
Java
mit
d96ded53074ccadb0a4c92d501b4c0be89e02ad2
0
nh13/picard,broadinstitute/picard,nh13/picard,alecw/picard,broadinstitute/picard,alecw/picard,broadinstitute/picard,broadinstitute/picard,alecw/picard,nh13/picard,nh13/picard,alecw/picard,broadinstitute/picard
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
src/test/java/picard/sam/SplitSamByLibraryTest.java
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
Typo in SplitSamByLibraryTest
src/test/java/picard/sam/SplitSamByLibraryTest.java
Typo in SplitSamByLibraryTest
<ide><path>rc/test/java/picard/sam/SplitSamByLibraryTest.java <ide> Assert.assertEquals(splitter.doWork(), 0, "SAM file split should have succeeded but didn't."); <ide> <ide> File f = new File("unknown.sam"); <del> Assert.assertTrue(f.exists(), "uknown.sam should exist but doesn't"); <add> ...
Java
apache-2.0
09192330c194f30aeb7f57a8f55fefc0be0354ff
0
omerio/cloudex,omerio/cloudex-google
/** * The contents of this file may be used under the terms of the Apache License, Version 2.0 * in which case, the provisions of the Apache License Version 2.0 are applicable instead of those above. * * Copyright 2014, Ecarf.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
src/main/java/io/cloudex/cloud/impl/google/compute/GoogleMetaData.java
/** * The contents of this file may be used under the terms of the Apache License, Version 2.0 * in which case, the provisions of the Apache License Version 2.0 are applicable instead of those above. * * Copyright 2014, Ecarf.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
type string for bigquery columns
src/main/java/io/cloudex/cloud/impl/google/compute/GoogleMetaData.java
type string for bigquery columns
<ide><path>rc/main/java/io/cloudex/cloud/impl/google/compute/GoogleMetaData.java <ide> public static final String WRITE_APPEND = "WRITE_APPEND"; <ide> <ide> public static final String TYPE_STRING = "STRING"; <add> public static final String TYPE_INTEGER = "INTEGER"; <ide> <ide> // API error reasons <id...
Java
apache-2.0
0ea56309c5d64b103c9aa4c58ba165a5813c4ed0
0
apache/empire-db,apache/empire-db,apache/empire-db,apache/empire-db
/* * 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")...
empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.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")...
git-svn-id: https://svn.apache.org/repos/asf/empire-db/trunk@1387151 13f79535-47bb-0310-9956-ffa450edef68
empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java
<ide><path>mpire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java <ide> // thousand separator ? <ide> Object groupSep = col.getAttribute(InputControl.NUMBER_GROUPSEP_ATTRIBUTE); <ide> if (groupSep!=null && ObjectUtils.getBoolean(groupSep)) <del> ...
Java
epl-1.0
7b549c09390dc225ca3617c2a543f693a15e708c
0
ForgeEssentials/ForgeEssentialsMain,Techjar/ForgeEssentials,liachmodded/ForgeEssentials,aschmois/ForgeEssentialsMain,planetguy32/ForgeEssentials,CityOfLearning/ForgeEssentials
package com.ForgeEssentials.commands; import java.util.HashMap; import java.util.List; import net.minecraft.command.ICommandSender; import net.minecraft.command.PlayerSelector; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; ...
src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSpawn.java
package com.ForgeEssentials.commands; import java.util.HashMap; import java.util.List; import net.minecraft.command.ICommandSender; import net.minecraft.command.PlayerSelector; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; ...
Fixed /spawn taking you to spawnpoint in current dimension.
src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSpawn.java
Fixed /spawn taking you to spawnpoint in current dimension.
<ide><path>rc/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSpawn.java <ide> <ide> WarpPoint spawn; <ide> ChunkCoordinates point = FMLCommonHandler.instance().getMinecraftServerInstance().worldServers[0].provider.getSpawnPoint(); <del> spawn = new WarpPoint(sender.dimension, point.posX, point.posY, poin...
Java
mit
error: pathspec 'AzimuthalEquidistantProjection.java' did not match any file(s) known to git
a632677073b916a80548a8e0910bbc88e816896c
1
acnelson12/PP4
import static java.lang.Math.sin; import static java.lang.Math.cos; import static java.lang.Math.acos; public class AzimuthalEquidistantProjection { /* Instance Variables */ private final double α0; private final double δ0; /*== Constructors ==*/ public AzimuthalEquidistantProjection( final RightAscension CENTE...
AzimuthalEquidistantProjection.java
Create AzimuthalEquidistantProjection.java
AzimuthalEquidistantProjection.java
Create AzimuthalEquidistantProjection.java
<ide><path>zimuthalEquidistantProjection.java <add>import static java.lang.Math.sin; <add>import static java.lang.Math.cos; <add>import static java.lang.Math.acos; <add> <add>public class AzimuthalEquidistantProjection <add>{ <add> /* Instance Variables */ <add> private final double α0; <add> private final double δ0; <...
Java
lgpl-2.1
error: pathspec 'tests/org/biojavax/SimpleRankedDocRefTest.java' did not match any file(s) known to git
939711e4ad92b1b91547225e44289d18a2359cbf
1
sbliven/biojava,sbliven/biojava,sbliven/biojava
/* * SimpleRankedDocRefTest.java * JUnit based test * * Created on 12 November 2005, 15:43 */ package org.biojavax; import java.util.Collections; import junit.framework.*; /** * * @author Mark Schreiber */ public class SimpleRankedDocRefTest extends TestCase { DocRef dr; SimpleRankedDocRef ref; S...
tests/org/biojavax/SimpleRankedDocRefTest.java
initial commit git-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@3667 7c6358e6-4a41-0410-a743-a5b2a554c398
tests/org/biojavax/SimpleRankedDocRefTest.java
initial commit
<ide><path>ests/org/biojavax/SimpleRankedDocRefTest.java <add>/* <add> * SimpleRankedDocRefTest.java <add> * JUnit based test <add> * <add> * Created on 12 November 2005, 15:43 <add> */ <add> <add>package org.biojavax; <add> <add>import java.util.Collections; <add>import junit.framework.*; <add> <add>/** <add> * <add> ...
Java
mit
624bbfd44444bb3b0df851a0769a087cb09e6d31
0
yeputons/spbau-java-course-torrent-term4,yeputons/spbau-java-course-torrent-term4
package net.yeputons.spbau.spring2016.torrent.client; import net.yeputons.spbau.spring2016.torrent.FileDescription; import net.yeputons.spbau.spring2016.torrent.StateHolder; import net.yeputons.spbau.spring2016.torrent.TorrentConnection; import net.yeputons.spbau.spring2016.torrent.protocol.FileEntry; import net.yeput...
src/main/java/net/yeputons/spbau/spring2016/torrent/client/TorrentLeecher.java
package net.yeputons.spbau.spring2016.torrent.client; import net.yeputons.spbau.spring2016.torrent.FileDescription; import net.yeputons.spbau.spring2016.torrent.StateHolder; import net.yeputons.spbau.spring2016.torrent.TorrentConnection; import net.yeputons.spbau.spring2016.torrent.protocol.FileEntry; import net.yeput...
TorrentLeecher: make it retry after all errors
src/main/java/net/yeputons/spbau/spring2016/torrent/client/TorrentLeecher.java
TorrentLeecher: make it retry after all errors
<ide><path>rc/main/java/net/yeputons/spbau/spring2016/torrent/client/TorrentLeecher.java <ide> try { <ide> sources = tracker.makeRequest(new SourcesRequest(fileId)); <ide> } catch (IOException e) { <del> LOG.error("Unable to request sources from tracker", e); <add>...
Java
mit
26991e6217a8f69b4626359ce7a9adc96a96bb58
0
ovr/phpinspectionsea-mirror,ovr/phpinspectionsea-mirror,ovr/phpinspectionsea-mirror
package com.kalessil.phpStorm.phpInspectionsEA; import com.intellij.codeInspection.InspectionToolProvider; /* ===Release notes=== AlterInForeachInspection: deactivated by default needs to be complemented with reference mismatch inspection ForeachSourceInspector: deactivated to default due to lots of issues with it ...
src/com/kalessil/phpStorm/phpInspectionsEA/PhpInspectionsEAProvider.java
package com.kalessil.phpStorm.phpInspectionsEA; import com.intellij.codeInspection.InspectionToolProvider; /* ===Release notes=== ===TODO===: NotOptimalIfConditionsInspection: null/string/number comparison with variable/property - additional check in costs analysis + own messages NotOptimalIfConditionsInspecti...
Release notes pre-collected
src/com/kalessil/phpStorm/phpInspectionsEA/PhpInspectionsEAProvider.java
Release notes pre-collected
<ide><path>rc/com/kalessil/phpStorm/phpInspectionsEA/PhpInspectionsEAProvider.java <ide> <ide> /* <ide> ===Release notes=== <add> <add>AlterInForeachInspection: deactivated by default needs to be complemented with reference mismatch inspection <add>ForeachSourceInspector: deactivated to default due to lots of issues w...
Java
apache-2.0
1f62ab05727bdf1e4c374f80f56db3bb5549daf0
0
karamelchef/karamel,karamelchef/karamel,karamelchef/karamel,karamelchef/karamel,karamelchef/karamel
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package se.kth.karamel.backend.machines; import java.io.IOException; import java.io.SequenceInputStream; import java.util.List; import...
karamel-core/src/main/java/se/kth/karamel/backend/machines/SshMachine.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package se.kth.karamel.backend.machines; import com.google.gson.JsonArray; import com.google.gson.JsonParseException; import com.googl...
rolled back SshMachine
karamel-core/src/main/java/se/kth/karamel/backend/machines/SshMachine.java
rolled back SshMachine
<ide><path>aramel-core/src/main/java/se/kth/karamel/backend/machines/SshMachine.java <ide> */ <ide> package se.kth.karamel.backend.machines; <ide> <del>import com.google.gson.JsonArray; <del>import com.google.gson.JsonParseException; <del>import com.google.gson.JsonParser; <del>import com.google.gson.stream.JsonReade...
Java
apache-2.0
089e37af7bcc557a7bc0fe5587cb6b72419f8c16
0
GwtMaterialDesign/gwt-material-addins,GwtMaterialDesign/gwt-material-addins,GwtMaterialDesign/gwt-material-addins
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 * ...
src/main/java/gwt/material/design/addins/client/fileuploader/MaterialFileUploader.java
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 * ...
MaterialFileUploader - Added check to avoid IndexOutOfBounds
src/main/java/gwt/material/design/addins/client/fileuploader/MaterialFileUploader.java
MaterialFileUploader - Added check to avoid IndexOutOfBounds
<ide><path>rc/main/java/gwt/material/design/addins/client/fileuploader/MaterialFileUploader.java <ide> */ <ide> package gwt.material.design.addins.client.fileuploader; <ide> <add>import com.google.gwt.core.client.GWT; <ide> import com.google.gwt.dom.client.Document; <ide> import com.google.gwt.dom.client.Element; <id...
Java
apache-2.0
e563b471b1ffaf5b2109d824a739c265a9cea8a0
0
stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
/* * 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 la...
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedIntegrationTest.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 la...
minor... extract code
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedIntegrationTest.java
minor... extract code
<ide><path>uget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedIntegrationTest.java <ide> import jetbrains.buildServer.nuget.tests.integration.Paths; <ide> import org.jetbrains.annotations.NotNull; <ide> import org.testng.Assert; <add>import org.testng.annotations.BeforeMethod; <ide> i...
Java
apache-2.0
fff1820e6276ef3a526fb91f9c6c4c3c1dfb848c
0
anomaly/closure-compiler,Yannic/closure-compiler,GerHobbelt/closure-compiler,tiobe/closure-compiler,google/closure-compiler,GerHobbelt/closure-compiler,mprobst/closure-compiler,Yannic/closure-compiler,tiobe/closure-compiler,shantanusharma/closure-compiler,ChadKillingsworth/closure-compiler,MatrixFrog/closure-compiler,m...
/* * Copyright 2004 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/Compiler.java
/* * Copyright 2004 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...
jscomp/Compiler: remove unused addFileToSourceMap() ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=155669395
src/com/google/javascript/jscomp/Compiler.java
jscomp/Compiler: remove unused addFileToSourceMap()
<ide><path>rc/com/google/javascript/jscomp/Compiler.java <ide> } <ide> } <ide> <del> private void addFileToSourceMap(String filename, String contents) { <del> if (getOptions().sourceMapIncludeSourcesContent && getSourceMap() != null) { <del> getSourceMap().addSourceFile(SourceFile.fromCode(filename, con...
Java
mit
7a816559bb73ebcb1832f32a2a5b41d8f707c633
0
aviolette/foodtrucklocator,aviolette/foodtrucklocator,aviolette/foodtrucklocator,aviolette/foodtrucklocator
package foodtruck.schedule; import java.io.IOException; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; import com.google.api.services.calendar.Calendar; import com.google.api.services.calendar.model.Event; import com.google.api.services.calen...
src/main/java/foodtruck/schedule/GoogleCalendarV3Consumer.java
package foodtruck.schedule; import java.io.IOException; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; import com.google.api.services.calendar.Calendar; import com.google.api.services.calendar.model.Event; import com.google.api.services.calen...
Added downtown chicago as a skip term
src/main/java/foodtruck/schedule/GoogleCalendarV3Consumer.java
Added downtown chicago as a skip term
<ide><path>rc/main/java/foodtruck/schedule/GoogleCalendarV3Consumer.java <ide> final String titleText = event.getSummary(); <ide> if (!Strings.isNullOrEmpty(titleText)) { <ide> String lowerTitle = titleText.toLowerCase(); <del> if (lowerTitle.contains("private") || lowerTitle....
Java
mit
27d822dfa859df6aba422fd25ebc2d0b58bbaa02
0
r0n9/demo-springboot
package vip.fanrong; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSelectors; import sp...
src/main/java/vip/fanrong/Swagger2.java
package vip.fanrong; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSelectors; import sp...
build license for API info
src/main/java/vip/fanrong/Swagger2.java
build license for API info
<ide><path>rc/main/java/vip/fanrong/Swagger2.java <ide> .termsOfServiceUrl("") <ide> .contact("fanrong330@gmail.com") <ide> .version("1.0") <add> .license("") <ide> .build(); <ide> } <ide>
Java
agpl-3.0
3a4f0ff44d8b6a0f8dc207830e24f17fec209991
0
kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,vimsvarcode/elmis,kelvinmbwilo/vims,vimsvarcode/elmis,vimsvarcode/elmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,OpenLMIS/open-lmis,vimsvarcode/elmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,vimsvarcode/elmis,USAID-DELIVER-PROJECT/elmis,kelvinm...
package org.openlmis.email.repository.mapper; import org.apache.ibatis.annotations.Insert; import org.springframework.mail.SimpleMailMessage; import org.springframework.stereotype.Repository; @Repository public interface EmailNotificationMapper { @Insert("INSERT INTO email_notifications(receiver, subject, content,...
modules/email/src/main/java/org/openlmis/email/repository/mapper/EmailNotificationMapper.java
package org.openlmis.email.repository.mapper; import org.apache.ibatis.annotations.Insert; import org.springframework.mail.SimpleMailMessage; import org.springframework.stereotype.Repository; @Repository public interface EmailNotificationMapper { @Insert("INSERT INTO email_notifications(receiver, subject, content,...
minor change to insert the "to" field instead of the receiver field.
modules/email/src/main/java/org/openlmis/email/repository/mapper/EmailNotificationMapper.java
minor change to insert the "to" field instead of the receiver field.
<ide><path>odules/email/src/main/java/org/openlmis/email/repository/mapper/EmailNotificationMapper.java <ide> @Repository <ide> public interface EmailNotificationMapper { <ide> <del> @Insert("INSERT INTO email_notifications(receiver, subject, content, sent) VALUES (#{receiver}, #{subject}, #{text}, false)") <add> @I...
Java
apache-2.0
d2fc24e7920ffaae7eaaf6fd532121b78ec9cc78
0
i2p/i2p.itoopie,i2p/i2p.itoopie,i2p/i2p.itoopie,i2p/i2p.itoopie
/* I2PTunnel is GPL'ed (with the exception mentioned in I2PTunnel.java) * (c) 2003 - 2004 mihi */ package net.i2p.i2ptunnel; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Socket; import java.net.SocketException; import java.u...
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
/* I2PTunnel is GPL'ed (with the exception mentioned in I2PTunnel.java) * (c) 2003 - 2004 mihi */ package net.i2p.i2ptunnel; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Socket; import java.net.SocketException; import java.u...
deal with no proxy available more carefully retrieve a proxy logging (w/ unique requestId)
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
deal with no proxy available more carefully retrieve a proxy logging (w/ unique requestId)
<ide><path>pps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java <ide> "the following Destination:<BR><BR>") <ide> .getBytes(); <ide> <add> private final static byte[] ERR_NO_OUTPROXY = <add> ("HTTP/1.1 503 Service Unavailable\r\n"+ <add> "Content-Type: text/html; charset...
Java
mit
8a5e811c7fbc3eb660e8705cab306d317a379326
0
MightyPirates/OC-LuaJ,MightyPirates/OC-LuaJ
package org.luaj.vm2; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import junit.framework.TestCase; import org.luaj.vm2.lib.jse.JsePlatform; public class StringTest extends TestCase { protected void setUp() throws Exception { JsePlatform.standardGlobals();...
test/junit/org/luaj/vm2/StringTest.java
package org.luaj.vm2; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import junit.framework.TestCase; import org.luaj.vm2.lib.jse.JsePlatform; public class StringTest extends TestCase { protected void setUp() throws Exception { JsePlatform.standardGlobals();...
Add test for long substring.
test/junit/org/luaj/vm2/StringTest.java
Add test for long substring.
<ide><path>est/junit/org/luaj/vm2/StringTest.java <ide> assertSame(sub1, sub2); <ide> assertFalse(src.m_bytes == sub1.m_bytes); <ide> } <add> <add> public void testShortSubstringOfVeryLongStringGetsNewBacking() { <add> LuaString src = LuaString.valueOf( <add> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW...
JavaScript
mit
b56b3ca63f32eb01b9534e0a0d8b1fa2913cd40b
0
js-fns/date-fns,date-fns/date-fns,date-fns/date-fns,js-fns/date-fns,date-fns/date-fns
import path from 'path' import fs from 'fs' const files = fs.readdirSync(path.join(process.cwd(), 'src')) const propertyRequireLines = files .filter((file) => file.match(/\.js/)) .map((file) => file.replace(/\.js/, '')) .map((file) => ` ${camelize(file)}: require('./src/${file}')`) const indexLines = ['module...
scripts/generate_index.js
import path from 'path' import fs from 'fs' const files = fs.readdirSync(path.join(process.cwd(), 'src')) const propertyRequireLines = files .filter((file) => file.match(/\.js/)) .map((file) => file.replace(/\.js/, '')) .map((file) => ` ${camelize(file)}: require('./src/${file}')`) const indexLines = ['module...
Fix scripts/generate_index.js so it correctly handles ISO week functions (closes #82)
scripts/generate_index.js
Fix scripts/generate_index.js so it correctly handles ISO week functions (closes #82)
<ide><path>cripts/generate_index.js <ide> fs.writeFileSync(path.join(process.cwd(), 'index.js'), `${indexLines.join('\n')}\n`) <ide> <ide> function camelize(str) { <del> return str.replace(/[-_\s]+(.)?/g, (match, c) => c ? c.toUpperCase() : '') <add> return str <add> .split('_') <add> .map((word, index) => { <...
Java
apache-2.0
351cb517e2e6e5c357fb52c46b32bc527785a7ee
0
stanfy/enroscar,stanfy/enroscar
package com.stanfy.enroscar.goro; import android.test.AndroidTestCase; import android.test.FlakyTest; import com.stanfy.enroscar.async.AsyncObserver; import com.stanfy.enroscar.goro.support.AsyncGoro; import com.stanfy.enroscar.goro.support.RxGoro; import java.util.concurrent.Callable; import java.util.concurrent.Co...
goro/core/src/androidTest/java/com/stanfy/enroscar/goro/BoundGoroAndroidTest.java
package com.stanfy.enroscar.goro; import android.test.AndroidTestCase; import android.test.FlakyTest; import com.google.android.apps.common.testing.ui.espresso.Espresso; import com.stanfy.enroscar.async.AsyncObserver; import com.stanfy.enroscar.goro.support.AsyncGoro; import com.stanfy.enroscar.goro.support.RxGoro; ...
fix test compilation
goro/core/src/androidTest/java/com/stanfy/enroscar/goro/BoundGoroAndroidTest.java
fix test compilation
<ide><path>oro/core/src/androidTest/java/com/stanfy/enroscar/goro/BoundGoroAndroidTest.java <ide> import android.test.AndroidTestCase; <ide> import android.test.FlakyTest; <ide> <del>import com.google.android.apps.common.testing.ui.espresso.Espresso; <ide> import com.stanfy.enroscar.async.AsyncObserver; <ide> import c...
Java
bsd-3-clause
315d1cafd4c2427c125769376f7f0c0653e74853
0
bmc/curn,songfj/curn,songfj/curn,songfj/curn,songfj/curn,bmc/curn,bmc/curn,songfj/curn,bmc/curn,bmc/curn
/*---------------------------------------------------------------------------*\ $Id$ --------------------------------------------------------------------------- This software is released under a Berkeley-style license: Copyright (c) 2004-2006 Brian M. Clapper. All rights reserved. Redistribution and use in ...
src/org/clapper/curn/Tool.java
/*---------------------------------------------------------------------------*\ $Id$ --------------------------------------------------------------------------- This software is released under a Berkeley-style license: Copyright (c) 2004-2006 Brian M. Clapper. All rights reserved. Redistribution and use in ...
Emailing output is now handled by a new plug-in. As a result: - curn no longer accepts email addresses on the command line. Instead, email addresses must be specified in the configuration file, using a new "MailOutputTo" configuration option in the main [curn] configuration section. This change was necessary to ...
src/org/clapper/curn/Tool.java
Emailing output is now handled by a new plug-in. As a result:
<ide><path>rc/org/clapper/curn/Tool.java <ide> private String configPath = null; <ide> private boolean useCache = true; <ide> private Date currentTime = new Date(); <del> private Collection<String> emailAddresses = new ArrayList<String>(); <id...
Java
apache-2.0
5b5e234f33d07f502589f271df60d064e26379ed
0
dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba
/* * Copyright (c) 2012 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. */ package com.haulmont.cuba.core.global; import com.haulmont.bali.util.ReflectionHelper; import com.haulmont.chile.core.annotations.NamePattern; imp...
modules/global/src/com/haulmont/cuba/core/global/ViewRepository.java
/* * Copyright (c) 2012 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. */ package com.haulmont.cuba.core.global; import com.haulmont.bali.util.ReflectionHelper; import com.haulmont.chile.core.annotations.NamePattern; imp...
Refs #1346 Better error reporting and JavaDocs
modules/global/src/com/haulmont/cuba/core/global/ViewRepository.java
Refs #1346 Better error reporting and JavaDocs
<ide><path>odules/global/src/com/haulmont/cuba/core/global/ViewRepository.java <ide> <ide> /** <ide> * Class containing all views defined in XML and deployed at runtime.<br> <del> * The reference to the ViewRepository can be obtained through {@link com.haulmont.cuba.core.global.MetadataProvider} <add> * The reference...
Java
apache-2.0
87bd00c0b875d05a59f1826f241e5b7fe6ebac14
0
fitermay/intellij-community,ibinti/intellij-community,muntasirsyed/intellij-community,adedayo/intellij-community,muntasirsyed/intellij-community,ahb0327/intellij-community,kool79/intellij-community,alphafoobar/intellij-community,MichaelNedzelsky/intellij-community,kdwink/intellij-community,michaelgallacher/intellij-com...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/GroovyLineMarkerProvider.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
silently catch INRE in groovy slow line markers pass
plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/GroovyLineMarkerProvider.java
silently catch INRE in groovy slow line markers pass
<ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/GroovyLineMarkerProvider.java <ide> } <ide> <ide> for (final PsiClass aClass : classes) { <del> AllOverridingMethodsSearch.search(aClass).forEach(new Processor<Pair<PsiMethod, PsiMethod>>() { <del> public boolean process(final Pa...
Java
apache-2.0
b991115e4bb5bbdc11c79e8c792459e1c0abb3a1
0
saki4510t/libcommon,saki4510t/libcommon
package com.serenegiant.glpipeline; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2022 saki t_saki@serenegiant.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 Li...
common/src/main/java/com/serenegiant/glpipeline/EffectPipeline.java
package com.serenegiant.glpipeline; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2022 saki t_saki@serenegiant.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 Li...
EffectPipeline#createTargetを他のクラスに合わせてcreateTargetOnGLにリネーム
common/src/main/java/com/serenegiant/glpipeline/EffectPipeline.java
EffectPipeline#createTargetを他のクラスに合わせてcreateTargetOnGLにリネーム
<ide><path>ommon/src/main/java/com/serenegiant/glpipeline/EffectPipeline.java <ide> @WorkerThread <ide> @Override <ide> public void run() { <del> createTarget(surface, maxFps); <add> createTargetOnGL(surface, maxFps); <ide> } <ide> }); <ide> } <ide> @WorkerThread <ide> @Override <ide> publ...
Java
apache-2.0
error: pathspec 'src/main/java/com/sensei/search/nodes/SenseiSysBroker.java' did not match any file(s) known to git
587a879dac104c7140f9c19d2256553b60de3670
1
senseidb/sensei,javasoze/sensei,javasoze/sensei,DataDog/sensei,senseidb/sensei,javasoze/sensei,DataDog/sensei,senseidb/sensei,javasoze/sensei,senseidb/sensei,DataDog/sensei,DataDog/sensei
package com.sensei.search.nodes; import it.unimi.dsi.fastutil.ints.IntOpenHashSet; import it.unimi.dsi.fastutil.ints.IntSet; import java.util.Comparator; import java.util.List; import java.util.Set; import org.apache.log4j.Logger; import com.linkedin.norbert.NorbertException; import com.linkedin.norbert.javacompat....
src/main/java/com/sensei/search/nodes/SenseiSysBroker.java
Upload missing files.
src/main/java/com/sensei/search/nodes/SenseiSysBroker.java
Upload missing files.
<ide><path>rc/main/java/com/sensei/search/nodes/SenseiSysBroker.java <add>package com.sensei.search.nodes; <add> <add>import it.unimi.dsi.fastutil.ints.IntOpenHashSet; <add>import it.unimi.dsi.fastutil.ints.IntSet; <add> <add>import java.util.Comparator; <add>import java.util.List; <add>import java.util.Set; <add> <add...
Java
agpl-3.0
b56d9f126f93a43b510fdc57b6a3547fcdccef57
0
Metatavu/kunta-api-server,Metatavu/kunta-api-server,Metatavu/kunta-api-server
package fi.metatavu.kuntaapi.server.integrations.management.tasks; import javax.enterprise.context.ApplicationScoped; import fi.metatavu.kuntaapi.server.id.PageId; import fi.metatavu.kuntaapi.server.tasks.IdTask; import fi.metatavu.kuntaapi.server.tasks.jms.AbstractJmsTaskQueue; @ApplicationScoped public class PageI...
src/main/java/fi/metatavu/kuntaapi/server/integrations/management/tasks/PageIdTaskQueue.java
package fi.metatavu.kuntaapi.server.integrations.management.tasks; import javax.enterprise.context.ApplicationScoped; import fi.metatavu.kuntaapi.server.id.PageId; import fi.metatavu.kuntaapi.server.tasks.IdTask; import fi.metatavu.kuntaapi.server.tasks.jms.AbstractJmsTaskQueue; @ApplicationScoped public class PageI...
Removed extra space from PageIdTaskQueue
src/main/java/fi/metatavu/kuntaapi/server/integrations/management/tasks/PageIdTaskQueue.java
Removed extra space from PageIdTaskQueue
<ide><path>rc/main/java/fi/metatavu/kuntaapi/server/integrations/management/tasks/PageIdTaskQueue.java <ide> import fi.metatavu.kuntaapi.server.tasks.jms.AbstractJmsTaskQueue; <ide> <ide> @ApplicationScoped <del>public class PageIdTaskQueue extends AbstractJmsTaskQueue<IdTask<PageId>> { <add>public class PageIdTaskQu...
Java
bsd-2-clause
65279c9d1158fa247e406d6146ef8395d39906c6
0
jenkinsci/p4-plugin,jenkinsci/p4-plugin,jenkinsci/p4-plugin
package org.jenkinsci.plugins.p4.build; import hudson.EnvVars; import hudson.Extension; import hudson.model.Descriptor; import hudson.model.EnvironmentContributor; import hudson.model.Run; import hudson.model.TaskListener; import hudson.scm.SCM; import jenkins.model.Jenkins; import org.apache.commons.lang.StringUtils;...
src/main/java/org/jenkinsci/plugins/p4/build/P4EnvironmentContributor.java
package org.jenkinsci.plugins.p4.build; import hudson.EnvVars; import hudson.Extension; import hudson.model.Descriptor; import hudson.model.EnvironmentContributor; import hudson.model.Run; import hudson.model.TaskListener; import hudson.scm.SCM; import jenkins.model.Jenkins; import org.apache.commons.lang.StringUtils;...
Copy environment map to EnvVars. JENKINS-37584
src/main/java/org/jenkinsci/plugins/p4/build/P4EnvironmentContributor.java
Copy environment map to EnvVars.
<ide><path>rc/main/java/org/jenkinsci/plugins/p4/build/P4EnvironmentContributor.java <ide> <ide> public static void buildEnvironment(TagAction tagAction, Map<String, String> map) { <ide> // parts of Jenkins passes EnvVars as Map<String,String> <del> if (map instanceof EnvVars) { <del> EnvVars env = (EnvVars) map...
Java
mit
081ed6f2be4d51d844ddd5ecec7809cce09e5d61
0
owlsn/patest
import java.util.Arrays; public class advantageCount{ public int[] advantageCount(int[] A, int[] B) { int len = A.length; int[] temp = new int[len]; Arrays.sort(A); Arrays.sort(B); for(int i = 0; i < len; i++){ temp[i] = A[i] - B[i]; } return tem...
competition/leetcode/advantageCount.java
import java.util.Arrays; public class advantageCount{ public static void main(String[] args){ System.out.println("test"); } public int[] advantageCount(int[] A, int[] B) { int len = A.length; int[] temp = new int[len]; Arrays.sort(A); Arrays.sort(B); for(in...
ambiguousCoordinates
competition/leetcode/advantageCount.java
ambiguousCoordinates
<ide><path>ompetition/leetcode/advantageCount.java <ide> import java.util.Arrays; <ide> <ide> public class advantageCount{ <del> <del> public static void main(String[] args){ <del> System.out.println("test"); <del> } <ide> <ide> public int[] advantageCount(int[] A, int[] B) { <ide> int len = ...
JavaScript
bsd-3-clause
f03fecd758a3e86366e204dad97618f3f4b72476
0
firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire,firebase/flutterfire
const path = require('path'); module.exports = { title: 'FlutterFire', tagline: 'The official Firebase plugins for Flutter', url: 'https://firebase.flutter.dev', baseUrl: '/', favicon: '/favicon/favicon.ico', organizationName: 'FirebaseExtended', projectName: 'flutterfire', themeConfig: { announcem...
website/docusaurus.config.js
const path = require('path'); module.exports = { title: 'FlutterFire', tagline: 'The official Firebase plugins for Flutter', url: 'https://firebase.flutter.dev', baseUrl: '/', favicon: '/favicon/favicon.ico', organizationName: 'FirebaseExtended', projectName: 'flutterfire', themeConfig: { announcem...
Add Google Analytics to Docs (#3322)
website/docusaurus.config.js
Add Google Analytics to Docs (#3322)
<ide><path>ebsite/docusaurus.config.js <ide> ], <ide> copyright: `<div style="margin-top: 3rem"><small>Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the BSD License.</small></div>`, <ide> }, <add> g...
Java
apache-2.0
9b56ce29e46e1c5798ebef77078b13d13c0e8709
0
astrapi69/jgeohash
package de.alpharogroup.jgeohash.geoip; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.IOUtils; import org.apache.log4j.Logger; import com.maxmind.geoip.LookupService; import de.alpharogroup.lang.ClassExtensions; /** * The...
jgeohash-geoip/src/main/java/de/alpharogroup/jgeohash/geoip/LookupServiceSingleton.java
package de.alpharogroup.jgeohash.geoip; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.IOUtils; import org.apache.log4j.Logger; import com.maxmind.geoip.LookupService; import de.alpharogroup.lang.ClassExtensions; /** * The...
Added double check to singleton
jgeohash-geoip/src/main/java/de/alpharogroup/jgeohash/geoip/LookupServiceSingleton.java
Added double check to singleton
<ide><path>geohash-geoip/src/main/java/de/alpharogroup/jgeohash/geoip/LookupServiceSingleton.java <ide> private static final Logger LOGGER = Logger.getLogger(LookupServiceSingleton.class.getName()); <ide> <ide> /** The single instance of the {@link LookupService}. */ <del> private static LookupService instance; <add...
Java
lgpl-2.1
c9f6def47366e358abfd8fb2fb40315936ffbcae
0
phoenixctms/ctsms,phoenixctms/ctsms,phoenixctms/ctsms,phoenixctms/ctsms
// license-header java merge-point /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. * TEMPLATE: SpringServiceImpl.vsl in andromda-spring cartridge * MODEL CLASS: AndroMDAModel::ctsms::org.phoenixctms.ctsms::service::proband::ProbandService * STE...
core/src/main/java/org/phoenixctms/ctsms/service/proband/ProbandServiceImpl.java
// license-header java merge-point /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. * TEMPLATE: SpringServiceImpl.vsl in andromda-spring cartridge * MODEL CLASS: AndroMDAModel::ctsms::org.phoenixctms.ctsms::service::proband::ProbandService * STE...
dynamic visit schedule - proband service - proband and staff status collisions
core/src/main/java/org/phoenixctms/ctsms/service/proband/ProbandServiceImpl.java
dynamic visit schedule - proband service
<ide><path>ore/src/main/java/org/phoenixctms/ctsms/service/proband/ProbandServiceImpl.java <ide> Collection<VisitScheduleItem> visitScheduleItems; <ide> switch (style) { <ide> case PROBAND_VISIT_SCHEDULE: <del> visitScheduleItems = visitScheduleItemDao.findByTrialGroupVisitProbandTravel(null, null, null, prob...
Java
mit
c66aec8c1a8bf4758d07b1729da3526a326d4430
0
ferstl/parallel-stream-support
package com.github.ferstl.streams; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.Optional; import java.util.Spliterator; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.ForkJoinTask; import java.util.function.BiConsumer; import java.util.funct...
src/main/java/com/github/ferstl/streams/ParallelStreamSupport.java
package com.github.ferstl.streams; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.Optional; import java.util.Spliterator; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.ForkJoinTask; import java.util.function.BiConsumer; import java.util.funct...
Document constructor and static factory methods.
src/main/java/com/github/ferstl/streams/ParallelStreamSupport.java
Document constructor and static factory methods.
<ide><path>rc/main/java/com/github/ferstl/streams/ParallelStreamSupport.java <ide> */ <ide> public class ParallelStreamSupport<T> extends AbstractParallelStreamSupport<T, Stream<T>> implements Stream<T> { <ide> <add> /** <add> * Constructor for internal use within this package only. <add> * <add> * @param dele...
Java
apache-2.0
7c94a73ba66c0ae4b1d7740a08e8ae4ec26f7c9f
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.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 ...
Fix for AMQ-1342 - Added backoff delay in generating discovery events when broker failures are reported git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@559132 13f79535-47bb-0310-9956-ffa450edef68
activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java
Fix for AMQ-1342 - Added backoff delay in generating discovery events when broker failures are reported
<ide><path>ctivemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java <ide> private static final String DELIMITER = "%"; <ide> private static final int BUFF_SIZE=8192; <ide> private static final int DEFAULT_IDLE_TIME=500; <del> private static final int HEART...
Java
mit
f3e34a966f496000c0a63b91c5021d02452de1d1
0
Roxforbraynz/mods,Roxforbraynz/mods
package rox.warpstone.util; public class Octree { //The root node of the tree. private OctreeNode root; public Octree(int xwidth, int yheight, int zdepth, Location origin) { root = new OctreeNode(xwidth, yheight, zdepth, origin); } public void insert(Location loc) { root.insert(loc); } /* * Priv...
Warp_Stones/java/rox/warpstone/util/Octree.java
package rox.warpstone.util; public class Octree { //The root node of the tree. private OctreeNode root; private int xmin; private int xmax; private int ymin; private int ymax; private int zmin; private int zmax; public Octree(int xmin, int xmax, int ymin, int ymax, int zmin, int zmax) { this.xmin = xmin...
More Octree work. Chopped the unnecessary bits out of the first part of the index picker code, and made it into it's own private helper method.
Warp_Stones/java/rox/warpstone/util/Octree.java
More Octree work. Chopped the unnecessary bits out of the first part of the index picker code, and made it into it's own private helper method.
<ide><path>arp_Stones/java/rox/warpstone/util/Octree.java <ide> <ide> //The root node of the tree. <ide> private OctreeNode root; <del> private int xmin; <del> private int xmax; <del> private int ymin; <del> private int ymax; <del> private int zmin; <del> private int zmax; <ide> <del> public Octree(int xmin, int ...
Java
apache-2.0
7f6c4e2eda93b881ea9806f12f4ec61e92e2b55d
0
dannyzhou98/Terasology,AWildBeard/Terasology,Felges/Terasology,Malanius/Terasology,CC4401-TeraCity/TeraCity,dimamo5/Terasology,dimamo5/Terasology,leelib/Terasology,CC4401-TeraCity/TeraCity,samuto/Terasology,Josharias/Terasology,flo/Terasology,Nanoware/Terasology,kaen/Terasology,indianajohn/Terasology,indianajohn/Teraso...
/* * Copyright 2014 MovingBlocks * * 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...
engine/src/main/java/org/terasology/rendering/nui/layers/ingame/metrics/DebugOverlay.java
/* * Copyright 2014 MovingBlocks * * 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...
Fix NPE in DebugOverlay. Closes #1376
engine/src/main/java/org/terasology/rendering/nui/layers/ingame/metrics/DebugOverlay.java
Fix NPE in DebugOverlay. Closes #1376
<ide><path>ngine/src/main/java/org/terasology/rendering/nui/layers/ingame/metrics/DebugOverlay.java <ide> }); <ide> } <ide> UILabel saveStatusLabel = find("saveStatusLabel", UILabel.class); <del> if (saveStatusLabel != null) { <add> // clients do not have a storage manager <add...
Java
apache-2.0
ff434d1909f00ed6dd81e3180aee9b447972e6b1
0
apache/incubator-taverna-common-activities,apache/incubator-taverna-common-activities,apache/incubator-taverna-common-activities
package net.sf.taverna.t2.activities.rest; import java.net.URI; import java.net.URLEncoder; import java.security.Principal; import javax.management.remote.JMXPrincipal; import net.sf.taverna.t2.security.credentialmanager.CredentialManager; import net.sf.taverna.t2.security.credentialmanager.UsernamePassword...
src/main/java/net/sf/taverna/t2/activities/rest/RESTActivityCredentialsProvider.java
package net.sf.taverna.t2.activities.rest; import java.net.URI; import java.net.URLEncoder; import java.security.Principal; import javax.management.remote.JMXPrincipal; import net.sf.taverna.t2.security.credentialmanager.CredentialManager; import net.sf.taverna.t2.security.credentialmanager.UsernamePassword...
Updated for new CredentialManager API. git-svn-id: 44273e3094f099f2cec6dff006641a6f2e757378@13770 bf327186-88b3-11dd-a302-d386e5130c1c
src/main/java/net/sf/taverna/t2/activities/rest/RESTActivityCredentialsProvider.java
Updated for new CredentialManager API.
<ide><path>rc/main/java/net/sf/taverna/t2/activities/rest/RESTActivityCredentialsProvider.java <ide> // ...then save a second entry with HTTPS protocol (if the <ide> // user has chosen to save the credentials) <ide> if (credentials != null && credentials.isShouldSave()) { <del> credentialManager.sav...
Java
mit
b77d32e4599d2e1b82aeb1de2c3a279590b58c4b
0
juckele/vivarium,juckele/vivarium,juckele/vivarium
package io.vivarium.experiment; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import io.vivarium.audit.ActionFrequency...
vivarium-scripts/src/main/java/io/vivarium/experiment/MutationRateLocal.java
package io.vivarium.experiment; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import io.vivarium.audit.ActionFrequency...
New run of mutation experiment for 1000 lifetimes
vivarium-scripts/src/main/java/io/vivarium/experiment/MutationRateLocal.java
New run of mutation experiment for 1000 lifetimes
<ide><path>ivarium-scripts/src/main/java/io/vivarium/experiment/MutationRateLocal.java <ide> public class MutationRateLocal <ide> { <ide> private static final int WORLD_SIZE = 100; <del> private static final int LIFE_TIMES_PER_SIMULATION = 100; <add> private static final int LIFE_TIMES_PER_SIMULATION = 1000; ...
Java
epl-1.0
590ee0a87c7aa99e0ffdc23fc304750a2e732263
0
Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
CheckIn:Fix a junit test failure
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java
CheckIn:Fix a junit test failure
<ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java <ide> List queryFilters, List temporaryComputedColumns ) throws DataException <ide> { <ide> List result = new ArrayList( ); <del> List allFilter = new ArrayList(); <add> /*List allFilter = new ArrayList(); <ide> allF...
JavaScript
apache-2.0
c7e67bbec133ca465b1a4c1000b0eae5e16d4a76
0
opentext/storyteller,opentext/storyteller,opentext/storyteller,opentext/storyteller
// Copyright (c) 2017 Open Text. All Rights Reserved. /*jslint bitwise:true */ 'use strict'; const util = require('util'); const streams = require('streams'); const stl = require('stl'); const range = require('range'); const enums = { item: { TABLE: 5, IMAGE: 6, TEXT: 14 }, cont...
docplatform/forsetup/js/tools/empower.js
// Copyright (c) 2017 Open Text. All Rights Reserved. /*jslint bitwise:true */ 'use strict'; const util = require('util'); const streams = require('streams'); const stl = require('stl'); const range = require('range'); const enums = { item: { TABLE: 5, IMAGE: 6, TEXT: 14 }, cont...
Cleanup empower.js
docplatform/forsetup/js/tools/empower.js
Cleanup empower.js
<ide><path>ocplatform/forsetup/js/tools/empower.js <ide> exports.emp2stl = function emp2stl(src, dst, options) { <ide> dst = dst || streams.stream(); <ide> options = options || {}; <del> var indenter = options.indent; <del> options.indent <ide> <ide> if (!util.isStream(src) || !util.isStream(dst)) { ...
Java
apache-2.0
632a6724f26058b4a6919ecd241d7fdd2b8f0d13
0
jpkrohling/hawkular-inventory,metlos/hawkular-inventory,hawkular/hawkular-inventory,jpkrohling/hawkular-inventory,metlos/hawkular-inventory,hawkular/hawkular-inventory
/* * Copyright 2015-2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
hawkular-inventory-itest/src/test/java/org/hawkular/inventory/rest/test/InventoryITest.java
/* * Copyright 2015-2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
Improve sync itest.
hawkular-inventory-itest/src/test/java/org/hawkular/inventory/rest/test/InventoryITest.java
Improve sync itest.
<ide><path>awkular-inventory-itest/src/test/java/org/hawkular/inventory/rest/test/InventoryITest.java <ide> Response response = post(basePath + "/feeds", "{\"id\": \"sync-feed\"}"); <ide> assertEquals(201, response.code()); <ide> <add> response = post(basePath + "/feeds/sync-feed/res...
Java
bsd-3-clause
29bae51ccd77bd73cfb402242faf1976a54ed752
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.ui.core; import gov.nih.nci.cananolab.domain.common.File; import gov.nih.nci.cananolab.domain.particle.Sample; import gov.nih.nci.cananolab.dto.common.FileBean; import gov.nih.nci.cananolab.dto.common.PointOfContactBean; import gov.nih.nci.cananolab.dto.common.UserBean; import gov.nih.nci...
src/gov/nih/nci/cananolab/ui/core/BaseAnnotationAction.java
package gov.nih.nci.cananolab.ui.core; import gov.nih.nci.cananolab.domain.common.File; import gov.nih.nci.cananolab.domain.particle.Sample; import gov.nih.nci.cananolab.dto.common.FileBean; import gov.nih.nci.cananolab.dto.common.PointOfContactBean; import gov.nih.nci.cananolab.dto.common.UserBean; import gov.nih.nci...
Just adding comments for function "setupSample()". SVN-Revision: 15029
src/gov/nih/nci/cananolab/ui/core/BaseAnnotationAction.java
Just adding comments for function "setupSample()".
<ide><path>rc/gov/nih/nci/cananolab/ui/core/BaseAnnotationAction.java <ide> */ <ide> public abstract class BaseAnnotationAction extends AbstractDispatchAction { <ide> <add> /** <add> * setupSample() will retrieve a SampleBean based on the sampleId which is in request/form. <add> * And then check user's access privi...
Java
apache-2.0
68b15f286b71d6a060ad3f8b8c0e4ac835153873
0
arrawatia/netty-http
/** * Copyright 2012-2014 Continuuity, 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 ag...
src/main/java/com/continuuity/http/NettyHttpService.java
/** * Copyright 2012-2014 Continuuity, 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 ag...
Removed Array of functions to modify. Allow only a single function
src/main/java/com/continuuity/http/NettyHttpService.java
Removed Array of functions to modify. Allow only a single function
<ide><path>rc/main/java/com/continuuity/http/NettyHttpService.java <ide> import org.slf4j.LoggerFactory; <ide> <ide> import java.net.InetSocketAddress; <del>import java.util.ArrayList; <ide> import java.util.Map; <ide> import java.util.concurrent.Executor; <ide> import java.util.concurrent.Executors; <ide> private f...
Java
mit
6d8275b7a95430be65c91d13ec55a7747d1d4ab9
0
Moudoux/EMC
package me.deftware.client.framework.wrappers.entity; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityOtherPlayerMP; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.entity.*; import net.minecraft.entity.EntityFlying; import net.minecraft.entity.boss.*; import net...
src/main/java/me/deftware/client/framework/wrappers/entity/IEntity.java
package me.deftware.client.framework.wrappers.entity; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityOtherPlayerMP; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.entity.*; import net.minecraft.entity.EntityFlying; import net.minecraft.entity.boss.EntityWither;...
Add hostile mobs
src/main/java/me/deftware/client/framework/wrappers/entity/IEntity.java
Add hostile mobs
<ide><path>rc/main/java/me/deftware/client/framework/wrappers/entity/IEntity.java <ide> import net.minecraft.client.entity.EntityPlayerSP; <ide> import net.minecraft.entity.*; <ide> import net.minecraft.entity.EntityFlying; <del>import net.minecraft.entity.boss.EntityWither; <add>import net.minecraft.entity.boss.*; <id...
JavaScript
mit
82aa5ac6eab2f35f2019e4f7a0ff0cbb4ff5d78a
0
jmromeo/nhab,jmromeo/nhab,jmromeo/nhab,jmromeo/nhab
/** * @fileOverview Produces line chart * @todo fix zoom when reached min or max zoom * @todo add minimum number and maximum number of display points..used in zoom */ class DataVisualizer { /** * @class DataVisualizer * @classdesc DataVisualizer is a wrapper class for line-chart in chart.js. * ...
tracker/datavisualizer/datavisualizer.js
/** * @fileOverview Produces line chart * @todo fix zoom when reached min or max zoom * @todo add minimum number and maximum number of display points..used in zoom */ class DataVisualizer { /** * @class DataVisualizer * @classdesc DataVisualizer is a wrapper class for line-chart in chart.js. * ...
Removed wheel zoom, doesn't work well with pan
tracker/datavisualizer/datavisualizer.js
Removed wheel zoom, doesn't work well with pan
<ide><path>racker/datavisualizer/datavisualizer.js <ide> // for wheel and scroll events <ide> else <ide> { <add> deltaX = e.deltaX; <ide> // to fix issue where no scroll happens at all due to rounding of decimal values < |1| <ide> if (e...