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
dcae98eb164d2b93925f6d64b00fd4aa3b775e61
0
wuxinshui/boosters
algorithm/src/main/java/org/wuxinshui/boosters/designPatterns/singleton/LazySingletonTest.java
package org.wuxinshui.boosters.designPatterns.singleton; /** * Copyright [2017$] [Wuxinshui] * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses...
del test 延迟加载 使用同步关键字:synchronized
algorithm/src/main/java/org/wuxinshui/boosters/designPatterns/singleton/LazySingletonTest.java
del test 延迟加载 使用同步关键字:synchronized
<ide><path>lgorithm/src/main/java/org/wuxinshui/boosters/designPatterns/singleton/LazySingletonTest.java <del>package org.wuxinshui.boosters.designPatterns.singleton; <del> <del>/** <del> * Copyright [2017$] [Wuxinshui] <del> * <p> <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may ...
Java
apache-2.0
38a9b4ba5bffacc8b46187e6f6515c5aeabe29b6
0
caskdata/tigon,caskdata/tigon,cdapio/tigon,cdapio/tigon,caskdata/tigon,cdapio/tigon,cdapio/tigon,caskdata/tigon,cdapio/tigon,caskdata/tigon,caskdata/tigon,caskdata/tigon,cdapio/tigon,cdapio/tigon,caskdata/tigon,cdapio/tigon
/* * Copyright © 2014 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
tigon-flow/src/main/java/co/cask/tigon/flow/DeployClient.java
/* * Copyright © 2014 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Changed Deloy to Deploy
tigon-flow/src/main/java/co/cask/tigon/flow/DeployClient.java
Changed Deloy to Deploy
<ide><path>igon-flow/src/main/java/co/cask/tigon/flow/DeployClient.java <ide> ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); <ide> Thread.currentThread().setContextClassLoader(classLoader); <ide> Location deployJar = jarForTestBase(clz); <del> LOG.info("Deloy Jar locatio...
Java
apache-2.0
49188c61846de488c3f8b6fe303f550d826e1d6e
0
janstey/mvn-plugins,fusesource/mvnplugins,jacekszymanski/mvnplugins,theHilikus/mvnplugins,KlausBrunner/mvnplugins
package org.fusesource.mvnplugins.updatesite; /* * 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 Apach...
maven-updatesite-plugin/src/main/java/org/fusesource/mvnplugins/updatesite/UpdateSiteDeployMojo.java
package org.fusesource.mvnplugins.updatesite; /* * 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 Apach...
fixed up null bug
maven-updatesite-plugin/src/main/java/org/fusesource/mvnplugins/updatesite/UpdateSiteDeployMojo.java
fixed up null bug
<ide><path>aven-updatesite-plugin/src/main/java/org/fusesource/mvnplugins/updatesite/UpdateSiteDeployMojo.java <ide> String newDir = repositoryBasedir + postfix; <ide> <ide> getLog().info("Moving the current update site to: " + newDir); <add> if (mvOptions == null) { <add...
Java
apache-2.0
3e3a0ddb3b0d557ff9ef9542a1dafd32fb5479a3
0
qiscus/qiscus-sdk-android,rajapulau/qiscus-sdk-android
/* * Copyright (c) 2016 Qiscus. * * 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...
chat/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java
/* * Copyright (c) 2016 Qiscus. * * 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...
Fix double retry resend comment
chat/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java
Fix double retry resend comment
<ide><path>hat/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java <ide> public void connectComplete(boolean reconnect, String serverUri) { <ide> Log.i(TAG, "Connected..."); <ide> EventBus.getDefault().post(QiscusMqttStatusEvent.CONNECTED); <del> if (Qiscus.isOnForeground()) { <del>...
Java
mit
340dadfba9d19da60256ca417364ff342e7e335c
0
crowdin/crowdin-cli,crowdin/crowdin-cli
package com.crowdin.cli.commands; import com.crowdin.cli.commands.parts.Command; import com.crowdin.cli.utils.console.ExecutionStatus; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import picocli.CommandLine; import java.io.IOException; import java.nio.file.Files; import java.nio....
src/main/java/com/crowdin/cli/commands/GenerateSubcommand.java
package com.crowdin.cli.commands; import com.crowdin.cli.commands.parts.Command; import com.crowdin.cli.utils.console.ExecutionStatus; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import picocli.CommandLine; import java.io.IOException; import java.nio.file.Files; import java.nio....
Improve init - change questions, minor changes
src/main/java/com/crowdin/cli/commands/GenerateSubcommand.java
Improve init - change questions, minor changes
<ide><path>rc/main/java/com/crowdin/cli/commands/GenerateSubcommand.java <ide> } <ide> this.write(destinationPath, fileLines); <ide> System.out.printf("Your configuration skeleton has been successfully generated. " + <del> "Specify the paths to your sources and tra...
Java
apache-2.0
f0c4099f70aa53af09184996a43ceabbb9e4071b
0
arrowli/RsyncHadoop,arrowli/RsyncHadoop,arrowli/RsyncHadoop,arrowli/RsyncHadoop,arrowli/RsyncHadoop,arrowli/RsyncHadoop,arrowli/RsyncHadoop
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
hadoop-tools/hadoop-rsynccopy/src/main/java/org/apache/hadoop/tools/RsyncCopy.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...
patch
hadoop-tools/hadoop-rsynccopy/src/main/java/org/apache/hadoop/tools/RsyncCopy.java
patch
<ide><path>adoop-tools/hadoop-rsynccopy/src/main/java/org/apache/hadoop/tools/RsyncCopy.java <ide> //sendSegments and updateBlock <ide> sendSegments(srcFileInfo.getBlocks().get(i),currentBlock); <ide> updateBlock(currentBlock); <del> lastBlock = currentBlock.getBlock(); <add> lastBlock = dstNamenode.g...
JavaScript
mit
8495037f81c10955b047ab488a5e75dfe7e8363e
0
Sak32009/GetDLCInfoFromSteamDB,Sak32009/GetDLCInfoFromSteamDB
// ==UserScript== // @name Get DLC Info from SteamDB // @namespace sak32009-get-dlc-info-from-steamdb // @description Get DLC Info from SteamDB // @author Sak32009 // @year 2016 - 2020 // @version 4.1.1 // @license MIT // @homepageURL https://github.com/Sak32009/GetDLCInfoFr...
sak32009-get-dlc-info-from-steamdb.user.js
// ==UserScript== // @name Get DLC Info from SteamDB // @namespace sak32009-get-dlc-info-from-steamdb // @description Get DLC Info from SteamDB // @author Sak32009 // @year 2016 - 2020 // @version 4.1.0 // @license MIT // @homepageURL https://github.com/Sak32009/GetDLCInfoFr...
fast fix
sak32009-get-dlc-info-from-steamdb.user.js
fast fix
<ide><path>ak32009-get-dlc-info-from-steamdb.user.js <ide> // @description Get DLC Info from SteamDB <ide> // @author Sak32009 <ide> // @year 2016 - 2020 <del>// @version 4.1.0 <add>// @version 4.1.1 <ide> // @license MIT <ide> // @homepageURL https://github.com/Sak32009/GetDLCInfo...
JavaScript
mit
0f160ecadb5487f42f540eeb038197f924d25647
0
DispatchMe/meteor-mocha,meteortesting/meteor-mocha,meteortesting/meteor-mocha,DispatchMe/meteor-mocha,meteortesting/meteor-mocha,DispatchMe/meteor-mocha
Package.describe({ name: 'meteortesting:mocha', summary: 'Run Meteor package or app tests with Mocha', git: 'https://github.com/meteortesting/meteor-mocha.git', documentation: '../README.md', version: '0.5.1', testOnly: true, }); Package.onUse(function onUse(api) { api.use([ 'practicalmeteor:mocha-co...
package/package.js
Package.describe({ name: 'meteortesting:mocha', summary: 'Run Meteor package or app tests with Mocha', git: 'https://github.com/meteortesting/meteor-mocha.git', documentation: '../README.md', version: '0.5.1', testOnly: true, }); Package.onUse(function onUse(api) { api.use([ 'practicalmeteor:mocha-co...
Allow using meteor-coverage 2.x.x, needed for code-coverage support from meteor 1.6.0 and onwards
package/package.js
Allow using meteor-coverage 2.x.x, needed for code-coverage support from meteor 1.6.0 and onwards
<ide><path>ackage/package.js <ide> api.use([ <ide> 'practicalmeteor:mocha-core@1.0.0', <ide> 'ecmascript@0.3.0', <del> 'lmieulet:meteor-coverage@1.1.4', <add> 'lmieulet:meteor-coverage@1.1.4 || 2.0.1', <ide> ]); <ide> <ide> api.use([
Java
apache-2.0
f58d763ed35efa19afa6807f42484fd7db5803c4
0
jeorme/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,codeaudit/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,codea...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.credit; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.c...
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/credit/ISDARiskMetricsVanillaCDSFunction.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.credit; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.c...
Fix bug that stopped some credit functions resolving
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/credit/ISDARiskMetricsVanillaCDSFunction.java
Fix bug that stopped some credit functions resolving
<ide><path>rojects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/credit/ISDARiskMetricsVanillaCDSFunction.java <ide> .withAny(ISDAFunctionConstants.ISDA_CURVE_DATE) <ide> .withAny(ISDAFunctionConstants.ISDA_IMPLEMENTATION) <ide> .withAny(ISDAFunctionConstants.CDS_QUOTE_CONVE...
Java
bsd-3-clause
fba8911ea5ed69175fad8740cfc9a6f8206a1c9f
0
Whiley/WhileyRewriteLanguage
package wyrw.util; import java.util.ArrayList; import java.util.Arrays; import wyautl.core.Automaton; import wyautl.util.BinaryMatrix; import static wyautl.core.Automata.*; /** * <p> * Responsible for efficiently ensuring an automaton remains properly minimised * and compacted after a rewrite operation has occur...
src/wyrw/util/IncrementalAutomatonMinimiser.java
package wyrw.util; import java.util.ArrayList; import java.util.Arrays; import wyautl.core.Automaton; import wyautl.util.BinaryMatrix; import static wyautl.core.Automata.*; /** * <p> * Responsible for efficiently ensuring an automaton remains properly minimised * and compacted after a rewrite operation has occur...
Add limited support for compacting above the pivot Compacting above the pivot needs to be done more aggressively. Also, need to compact in general.
src/wyrw/util/IncrementalAutomatonMinimiser.java
Add limited support for compacting above the pivot
<ide><path>rc/wyrw/util/IncrementalAutomatonMinimiser.java <ide> // completely pack above the pivot. That's because, by exploiting the <ide> // parent information we can quickly remap all states. <ide> int i = automaton.nStates(); <del> <del> while(i > pivot) { <del> if(automaton.get(i-1) != null) { <add> <a...
Java
lgpl-2.1
5cb4990a8b06b6949451770c9a6603dac26d484b
0
xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform
/** * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * <p/> * This is free software;you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation;either version2.1of * ...
xwiki-platform-tag/plugin/spacemanager/src/main/java/com/xpn/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java
/** * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * <p/> * This is free software;you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation;either version2.1of * ...
XPSM-6 Patch submited by Marius Florea. Applied without modifications. git-svn-id: dc11403b0ca3846ef16382eb5b645943ea8bd503@7808 f329d543-caf0-0310-9063-dda96c69346f
xwiki-platform-tag/plugin/spacemanager/src/main/java/com/xpn/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java
XPSM-6 Patch submited by Marius Florea. Applied without modifications.
<ide><path>wiki-platform-tag/plugin/spacemanager/src/main/java/com/xpn/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java <ide> toUsers = (String[]) admins.toArray(new String[admins.size()]); <ide> } else if (SpaceAction.JOIN.equals(action)) { <ide> // send join group confirmation e-mail <del> Spac...
Java
mit
55647ce3ef2cb33971213ca435d94c66f6d80f7c
0
ammaraskar/KittehIRCClientLib,bendem/KittehIRCClientLib
/* * * Copyright (C) 2013-2014 Matt Baxter http://kitteh.org * * 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/org/kitteh/irc/IRCBot.java
/* * * Copyright (C) 2013-2014 Matt Baxter http://kitteh.org * * 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...
Migrate some code for less confusion
src/main/java/org/kitteh/irc/IRCBot.java
Migrate some code for less confusion
<ide><path>rc/main/java/org/kitteh/irc/IRCBot.java <ide> break; <ide> } <ide> } else { <del> final MessageTarget messageTarget = this.getTypeByTarget(split[2]); // Only applicable if the command has a target, as many do <ide> final Command command = Command...
Java
apache-2.0
288dc545a3befe1385f4b1c14b0ed656a95ac75f
0
samarthbhargav/feedback-ml,samarthbhargav/feedback-ml,maheshkkumar/feedback-ml,maheshkkumar/feedback-ml,maheshkkumar/feedback-ml,samarthbhargav/feedback-ml,samarthbhargav/feedback-ml,maheshkkumar/feedback-ml
package com.feedback.back.dao; import com.feedback.back.entities.*; import com.feedback.back.mongo.MongoConnector; import com.mongodb.Block; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.Filters; import org.bson.Document; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jav...
feedback-back/src/main/java/com/feedback/back/dao/RecordDAO.java
package com.feedback.back.dao; import com.feedback.back.entities.*; import com.feedback.back.mongo.MongoConnector; import com.mongodb.Block; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.Filters; import org.bson.Document; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jav...
[Backend] Test
feedback-back/src/main/java/com/feedback/back/dao/RecordDAO.java
[Backend] Test
<ide><path>eedback-back/src/main/java/com/feedback/back/dao/RecordDAO.java <ide> { <ide> RecordDAO recordDAO = new RecordDAO(); <ide> Record record = new Record(); <del> record.setId( "someI2d" ); <del> record.setLabel( "lael" ); <add> record.setId( "3" ); <ide> record.s...
Java
apache-2.0
f4199aa548ecf51d1c516d1d7e495475a1678fd6
0
FabricMC/fabric-base
/* * Copyright 2016 FabricMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
src/main/java/net/fabricmc/loader/impl/util/mappings/MixinIntermediaryDevRemapper.java
/* * Copyright 2016 FabricMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Fix MixinIntermediaryDevRemapper.mapMethodName crashing over unknown owner class
src/main/java/net/fabricmc/loader/impl/util/mappings/MixinIntermediaryDevRemapper.java
Fix MixinIntermediaryDevRemapper.mapMethodName crashing over unknown owner class
<ide><path>rc/main/java/net/fabricmc/loader/impl/util/mappings/MixinIntermediaryDevRemapper.java <ide> } <ide> } <ide> <del> Queue<ClassInfo> classInfos = new ArrayDeque<>(); <del> classInfos.add(ClassInfo.forName(owner)); <del> <del> while (!classInfos.isEmpty()) { <del> ClassInfo c = classInfos.remove(); <...
Java
mit
94cdc9934278385ff1a50b9f616a8f61983ab6de
0
mtzaperas/burpbuddy,tomsteele/burpbuddy,tomsteele/burpbuddy,mtzaperas/burpbuddy
package burp; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.net.URL; import org.apache.commons.codec.binary.Base64; import com.google.gson.Gson; import static spark.Spark.*; public class ApiServer { public ApiServer(String ip, int po...
burp/src/main/java/burp/ApiServer.java
package burp; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.net.URL; import org.apache.commons.codec.binary.Base64; import com.google.gson.Gson; import static spark.Spark.*; public class ApiServer { public ApiServer(String ip, int po...
Add exception handling route and error messages
burp/src/main/java/burp/ApiServer.java
Add exception handling route and error messages
<ide><path>urp/src/main/java/burp/ApiServer.java <ide> <ide> after((request, response) -> { <ide> response.type("application/json; charset=UTF8"); <add> }); <add> <add> exception(Exception.class, (e, request, response) -> { <add> response.status(400); <add> respo...
Java
apache-2.0
a0caee307768f89e7426014f3acc05c1d23941b5
0
SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud
package swift.application.ycsb; import java.util.HashMap; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import java.util.UUID; import java.util.Vector; import swift.client.SwiftImpl; import swift.client.SwiftOptions; import swift.crdt.core.CachePolicy; import swift.crdt.core.Isolation...
src-contrib/swift/application/ycsb/AbstractSwiftClient.java
package swift.application.ycsb; import java.util.HashMap; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import java.util.UUID; import java.util.Vector; import swift.client.SwiftImpl; import swift.client.SwiftOptions; import swift.crdt.core.CachePolicy; import swift.crdt.core.Isolation...
YCSB: report only successful operations response time
src-contrib/swift/application/ycsb/AbstractSwiftClient.java
YCSB: report only successful operations response time
<ide><path>rc-contrib/swift/application/ycsb/AbstractSwiftClient.java <ide> int res = readImpl(txn, table, key, fields, result); <ide> if (res == 0) { <ide> txnCommit(txn); <add> if (reportEveryOperation) { <add> final long durationMs = System.cu...
Java
lgpl-2.1
8cd24fa6055cdd25d1fc42de51f6bfadc7d836e9
0
lucee/Lucee,lucee/Lucee,lucee/Lucee,lucee/Lucee
/** * Copyright (c) 2014, the Railo Company Ltd. * Copyright (c) 2015, Lucee Assosication Switzerland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
core/src/main/java/lucee/runtime/CFMLFactoryImpl.java
/** * Copyright (c) 2014, the Railo Company Ltd. * Copyright (c) 2015, Lucee Assosication Switzerland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
add active request amount info to the request timeout log
core/src/main/java/lucee/runtime/CFMLFactoryImpl.java
add active request amount info to the request timeout log
<ide><path>ore/src/main/java/lucee/runtime/CFMLFactoryImpl.java <ide> Log log = ((ConfigImpl) pc.getConfig()).getLog("requesttimeout"); <ide> if (log != null) { <ide> PageContext root = pc.getRootPageContext(); <del> log.log(Log.LEVEL_ERROR, "controller", "stop " + (root != null && root != pc ? "th...
Java
unlicense
518759c7fcf8107e15918ffc511d2726fe6aecae
0
charlesmadere/smash-ranks-android
package com.garpr.android.data2; import android.database.sqlite.SQLiteDatabase; import com.android.volley.toolbox.JsonObjectRequest; import com.garpr.android.misc.Constants; import com.garpr.android.models.Player; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.uti...
smash-ranks-android/app/src/main/java/com/garpr/android/data2/Players.java
package com.garpr.android.data2; import android.database.sqlite.SQLiteDatabase; import com.android.volley.toolbox.JsonObjectRequest; import com.garpr.android.misc.Constants; import com.garpr.android.models.Player; import org.json.JSONObject; import java.util.ArrayList; public final class Players { static f...
players are now parsed from PlayersCall
smash-ranks-android/app/src/main/java/com/garpr/android/data2/Players.java
players are now parsed from PlayersCall
<ide><path>mash-ranks-android/app/src/main/java/com/garpr/android/data2/Players.java <ide> import com.garpr.android.misc.Constants; <ide> import com.garpr.android.models.Player; <ide> <add>import org.json.JSONArray; <add>import org.json.JSONException; <ide> import org.json.JSONObject; <ide> <ide> import java.util.Arr...
JavaScript
mit
9bfb9a15b5c6e37fbe59a856b68cc2f748f04f06
0
jpero09/checkout-demo,jpero09/checkout-demo
var express = require('express'); var http = require('http'); var morgan = require('morgan'); var path = require('path'); var app = express(); var port = process.env.PORT || 3000; var host = process.env.HOST || 'localhost'; // app.set('name', ''); app.set('port', port); app.set('host', host); app.use(express.static(_...
app/server.js
var express = require('express'); var http = require('http'); var morgan = require('morgan'); var path = require('path'); var app = express(); var port = process.env.PORT || 3000; var host = process.env.HOST || 'localhost'; // app.set('name', ''); app.set('port', port); app.set('host', host); app.use(express.static(_...
Heroku Port fix
app/server.js
Heroku Port fix
<ide><path>pp/server.js <ide> app.use('/', router); <ide> <ide> <del>http.createServer(app).listen(app.get('port'), app.get('host'), function() { <add>http.createServer(app).listen(port, host, function() { <ide> // TODO: Replace with proper logger <ide> console.log('Starting: %s v%s', app.get('name'), app.get('ve...
JavaScript
mit
d5c63029ba88b0adc697e06b59b930c654adeb26
0
Data4Cure/sigma.js,hannesrauhe/sigma.js,jay754/sigma.js,jacomyal/sigma.js,vivek8943/sigma.js,9040044/sigma.js,hdh3000/sigma.js,mdamien/sigma.js,duncdrum/sigma.js,vivek8943/sigma.js,wesako/sigma.js,deenjohn/sigma.js,jacomyal/sigma.js,hannesrauhe/sigma.js,avisheksharma/sigma.js,avorio/sigma.js,PeterDaveHello/sigma.js,med...
/** * Mathieu Jacomy @ Sciences Po Médialab & WebAtlas * (requires sigma.js to be loaded) */ ;(function(undefined) { 'use strict'; if (typeof sigma === 'undefined') throw 'sigma is not declared'; var forceatlas2 = sigma.utils.pkg('sigma.layout.forceatlas2'); forceatlas2.ForceAtlas2 = function(graph, op...
plugins/sigma.layout.forceAtlas2/sigma.layout.forceAtlas2.js
/** * Mathieu Jacomy @ Sciences Po Médialab & WebAtlas * (requires sigma.js to be loaded) */ ;(function(undefined) { 'use strict'; if (typeof sigma === 'undefined') throw 'sigma is not declared'; var forceatlas2 = sigma.utils.pkg('sigma.layout.forceatlas2'); forceatlas2.ForceAtlas2 = function(graph, op...
adding ability to pass options to forceatlas
plugins/sigma.layout.forceAtlas2/sigma.layout.forceAtlas2.js
adding ability to pass options to forceatlas
<ide><path>lugins/sigma.layout.forceAtlas2/sigma.layout.forceAtlas2.js <ide> } <ide> }; <ide> <del> sigma.prototype.startForceAtlas2 = function() { <add> sigma.prototype.startForceAtlas2 = function(options) { <ide> if ((this.forceatlas2 || {}).isRunning) <ide> return this; <ide> <ide> if (!this....
Java
apache-2.0
bb9aac532f0e0cd1194bcee11571e4ac7554c8eb
0
evenjn/knit
/** * * Copyright 2017 Marco Trevisan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
src/main/java/org/github/evenjn/knit/KnittingCursable.java
/** * * Copyright 2017 Marco Trevisan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Renamed PurlFactory to Purler.
src/main/java/org/github/evenjn/knit/KnittingCursable.java
Renamed PurlFactory to Purler.
<ide><path>rc/main/java/org/github/evenjn/knit/KnittingCursable.java <ide> <ide> import org.github.evenjn.yarn.ArrayMap; <ide> import org.github.evenjn.yarn.ArrayPurl; <del>import org.github.evenjn.yarn.ArrayPurlFactory; <add>import org.github.evenjn.yarn.ArrayPurler; <ide> import org.github.evenjn.yarn.AutoRook; <ide...
Java
bsd-3-clause
74190520ac31a3d19a5c2063be62fe7be3258ee7
0
memcachier/examples-java
import java.io.IOException; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.http.*; import net.spy.memcached.AddrUtil; import net.spy.memcached.ConnectionFactoryBuilder; import net.spy.memcached.MemcachedClient; import net.spy.memcached.auth.AuthDescriptor; import net.spy.memcached....
src/main/java/App.java
import java.io.IOException; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.http.*; import net.spy.memcached.AddrUtil; import net.spy.memcached.ConnectionFactoryBuilder; import net.spy.memcached.MemcachedClient; import net.spy.memcached.auth.AuthDescriptor; import net.spy.memcached....
update styling
src/main/java/App.java
update styling
<ide><path>rc/main/java/App.java <ide> @Override <ide> protected void doGet(HttpServletRequest req, HttpServletResponse resp) <ide> throws ServletException, IOException { <del> int digit = (new Random()).nextInt(50); <add> int digit = (new Random()).nextInt(30); <ide> Result r = fib(digit); <add> ...
Java
unlicense
6f2f7adafc662f23b8c946d1c6abd1144a2a1606
0
SkyLandTW/JXTN,AqD/JXTN,SkyLandTW/JXTN
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jur...
jxtn.core.fmpp/src/jxtn/core/fmpp/SqlSchemaDataLoader.java
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jur...
SqlSchemaDataLoader.java: cleanup
jxtn.core.fmpp/src/jxtn/core/fmpp/SqlSchemaDataLoader.java
SqlSchemaDataLoader.java: cleanup
<ide><path>xtn.core.fmpp/src/jxtn/core/fmpp/SqlSchemaDataLoader.java <ide> select * <ide> from INFORMATION_SCHEMA.TABLE_CONSTRAINTS <ide> where CONSTRAINT_TYPE in ('PRIMARY KEY', 'UNIQUE') <del> and TABLE_NAME <> 'sysdiagrams' <ide> order by TABLE_SCHEMA, TABLE_NAME, CONSTRAINT_TYPE, CONSTRAINT_NAME <ide> " <ide>...
Java
apache-2.0
87c1952eef52b0f94b126af14a78ac3edbc8d91e
0
Wechat-Group/WxJava,Wechat-Group/WxJava
package me.chanjar.weixin.cp.api.impl; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.reflect.TypeToken; import lombok.NonNull; import lombok.RequiredArgsConstructor; import me.chanjar.weixin.common.error.WxErrorException; import me.chanja...
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpOaServiceImpl.java
package me.chanjar.weixin.cp.api.impl; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.reflect.TypeToken; import lombok.NonNull; import lombok.RequiredArgsConstructor; import me.chanjar.weixin.common.error.WxErrorException; import me.chanja...
:bug: #2235 【企业微信】 修复获取打卡数据时间检查不正确的问题
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpOaServiceImpl.java
:bug: #2235 【企业微信】 修复获取打卡数据时间检查不正确的问题
<ide><path>eixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpOaServiceImpl.java <ide> long endTimestamp = endTime.getTime() / 1000L; <ide> long startTimestamp = startTime.getTime() / 1000L; <ide> <del> if (endTimestamp - startTimestamp < 0 || endTimestamp - startTimestamp >= MONTH_SECONDS) { <ad...
JavaScript
bsd-3-clause
62779418d998001d10e5320d20bdd3383ecdb2a4
0
oysnet/czagenda-api,oysnet/czagenda-api,oysnet/czagenda-api
var RestOAuthModel = require('./oAuthModel.js').RestOAuthModel; var statusCode = require('../statusCodes.js'); var util = require("util"); var models = require('../../models'); var ElasticSearchClient = require('elasticsearchclient'); var settings = require('../../settings.js'); var elasticSearchClient = new ElasticSea...
libs/rest/event.js
var RestOAuthModel = require('./oAuthModel.js').RestOAuthModel; var statusCode = require('../statusCodes.js'); var util = require("util"); var models = require('../../models'); var ElasticSearchClient = require('elasticsearchclient'); var settings = require('../../settings.js'); var elasticSearchClient = new ElasticSea...
bugfix subevent/master delete
libs/rest/event.js
bugfix subevent/master delete
<ide><path>ibs/rest/event.js <ide> }, <ide> "filter" : { <ide> "term" : { <del> "event.childEvents" : id <add> "event.parentEvent" : id <ide> } <ide> } <ide> } <ide> if( typeof (obj.event.parentEvent) != 'undefined') { <ide> methods.push(function(cb) { <ide> <del> models.event.g...
Java
lgpl-2.1
0d106ad0503bb03fe19ad7ba88fb393e365ab2ae
0
alkacon/opencms-core,MenZil/opencms-core,serrapos/opencms-core,ggiudetti/opencms-core,serrapos/opencms-core,it-tavis/opencms-core,gallardo/opencms-core,victos/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,gallardo/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core...
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/db/CmsSecurityManager.java,v $ * Date : $Date: 2005/06/24 15:51:09 $ * Version: $Revision: 1.85 $ * * This library is part of OpenCms - * the Open Source Content Mananagement System * * Copyright (c) 2005 Alkacon Software GmbH (http://www.alkacon.com...
src/org/opencms/db/CmsSecurityManager.java
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/db/CmsSecurityManager.java,v $ * Date : $Date: 2005/06/23 18:06:27 $ * Version: $Revision: 1.84 $ * * This library is part of OpenCms - * the Open Source Content Mananagement System * * Copyright (c) 2005 Alkacon Software GmbH (http://www.alkacon.com...
bug 684 fixed
src/org/opencms/db/CmsSecurityManager.java
bug 684 fixed
<ide><path>rc/org/opencms/db/CmsSecurityManager.java <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/db/CmsSecurityManager.java,v $ <del> * Date : $Date: 2005/06/23 18:06:27 $ <del> * Version: $Revision: 1.84 $ <add> * Date : $Date: 2005/06/24 15:51:09 $ <add> * Version: $Revision: 1.85 $ <...
Java
apache-2.0
b6ffed97c21055f70515984001ce2d3e06cb21bd
0
jior/glaf,jior/glaf,jior/glaf,jior/glaf,jior/glaf,jior/glaf
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
workspace/glaf-core/src/main/java/com/glaf/core/xml/XmlWriter.java
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
update
workspace/glaf-core/src/main/java/com/glaf/core/xml/XmlWriter.java
update
<ide><path>orkspace/glaf-core/src/main/java/com/glaf/core/xml/XmlWriter.java <ide> elem.addAttribute("title", field.getTitle()); <ide> elem.addAttribute("englishTitle", field.getEnglishTitle()); <ide> <del> if (field.getLength() > 0) { <add> if (StringUtils.equals(field.getType(), "String") <add> &&...
Java
apache-2.0
56dad4882b6854c59edbcf1cce0acc889d910d9c
0
DwayneJengSage/BridgeJavaSDK,Sage-Bionetworks/BridgeJavaSDK,DwayneJengSage/BridgeJavaSDK,alxdarksage/BridgeJavaSDK,alxdarksage/BridgeJavaSDK,Sage-Bionetworks/BridgeJavaSDK
package org.sagebionetworks.bridge.rest; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import java.util.concurrent.TimeUnit; import com.google.common.base.Strings; import com.google.common.cache.CacheBuilder; import com.google.common.c...
rest-client/src/main/java/org/sagebionetworks/bridge/rest/ApiClientProvider.java
package org.sagebionetworks.bridge.rest; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import java.util.concurrent.TimeUnit; import com.google.common.base.Strings; import com.google.common.cache.CacheBuilder; import com.google.common.c...
Refactor out a Retrofit service loader
rest-client/src/main/java/org/sagebionetworks/bridge/rest/ApiClientProvider.java
Refactor out a Retrofit service loader
<ide><path>est-client/src/main/java/org/sagebionetworks/bridge/rest/ApiClientProvider.java <ide> this.userSessionInfoProvider = userSessionInfoProvider; <ide> <ide> this.unauthenticatedServices = CacheBuilder.newBuilder() <del> .build(new CacheLoader<Class<?>, Object>() { <del> ...
JavaScript
mit
1ef5a3e3e17f9d7234388d21e491972d0f6b244b
0
whitef0x0/tellform,whitef0x0/tellform,whitef0x0/medforms,whitef0x0/nodeforms,whitef0x0/nodeforms,whitef0x0/tellform,whitef0x0/nodeforms,whitef0x0/medforms,whitef0x0/medforms
'use strict'; /** * Module dependencies. */ var fs = require('fs-extra'), http = require('http'), https = require('https'), express = require('express'), morgan = require('morgan'), logger = require('./logger'), bodyParser = require('body-parser'), session = require('express-session'), compression = require(...
config/express.js
'use strict'; /** * Module dependencies. */ var fs = require('fs-extra'), http = require('http'), https = require('https'), express = require('express'), morgan = require('morgan'), logger = require('./logger'), bodyParser = require('body-parser'), session = require('express-session'), compression = require(...
fixed google analytics app.local
config/express.js
fixed google analytics app.local
<ide><path>onfig/express.js <ide> }); <ide> <ide> // Setting application local variables <del> app.locals.google_analytics_id = config.app.oogle_analytics_id; <add> app.locals.google_analytics_id = config.app.google_analytics_id; <ide> app.locals.title = config.app.title; <ide> app.locals.description = config.app....
Java
mit
f9508cf568b60437d1c3ac99420adf589b56cfb2
0
Adyen/adyen-java-api-library,Adyen/adyen-java-api-library,Adyen/adyen-java-api-library
/** * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### ####...
src/main/java/com/adyen/httpclient/HttpURLConnectionClient.java
/** * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### ####...
[issue-51]: HttpURLConnectionClient line fix
src/main/java/com/adyen/httpclient/HttpURLConnectionClient.java
[issue-51]: HttpURLConnectionClient line fix
<ide><path>rc/main/java/com/adyen/httpclient/HttpURLConnectionClient.java <ide> throws IOException { <ide> //\A is the beginning of the stream boundary <ide> Scanner scanner = new Scanner(responseStream, CHARSET); <del> scanner.useDelimiter("\\A"); <ide> String rBody = scanner...
Java
mit
d5dfe0e0aa819456def90184682ac03ab5e43539
0
remigourdon/sound-editors
package framework; import java.util.ArrayList; import java.util.Observable; import framework.generators.Generator; import framework.editors.SoundEditor; import framework.views.View; import framework.modifiers.Modifier; /** * Represents a sound entity. * * A sound is represented basically by a frequency and a dura...
framework/Sound.java
package framework; import java.util.ArrayList; import java.util.Observable; import framework.generators.Generator; import framework.editors.SoundEditor; import framework.views.View; import framework.modifiers.Modifier; /** * Represents a sound entity. * * A sound is represented basically by a frequency and a dura...
Add function applyModifiers and use it in generateSignal.
framework/Sound.java
Add function applyModifiers and use it in generateSignal.
<ide><path>ramework/Sound.java <ide> <ide> data = signal; <ide> <add> applyModifiers(modifiers); <add> <ide> setChanged(); <ide> notifyObservers(true); // Signal to observers that the data has changed <ide> } <ide> */ <ide> public void addModfier(Modifier m) { <ide> ...
JavaScript
mit
4ff3f71afdbb485eddc1f3c5a26d39ef6fd0a3fa
0
HexChronicle/Fwibble,HexChronicle/Fwibble
app/components/index/Index.js
var React = require('react'); module.exports = React.createClass({ render: function() { return ( <div> </div> ) } })
Removed Index.js and index component
app/components/index/Index.js
Removed Index.js and index component
<ide><path>pp/components/index/Index.js <del>var React = require('react'); <del> <del>module.exports = React.createClass({ <del> render: function() { <del> return ( <del> <div> <del> </div> <del> ) <del> } <del>})
Java
mit
207418a595262cde89ff4095c77eb07386677410
0
shamoh/mega-examples
package cz.kramolis.mega.examples.helloworld; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.event.Observes; import cz.kramolis.mega.runtime.Context; import cz.kramolis.mega.runtime.Environment; @ApplicationScoped public class HelloWorldApp implements Context { private void onEnviron...
hello-world/src/main/java/cz/kramolis/mega/examples/helloworld/HelloWorldApp.java
package cz.kramolis.mega.examples.helloworld; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.event.Observes; import cz.kramolis.mega.runtime.Context; import cz.kramolis.mega.runtime.Environment; @ApplicationScoped public class HelloWorldApp implements Context { private void onEnviron...
Fixing problem.
hello-world/src/main/java/cz/kramolis/mega/examples/helloworld/HelloWorldApp.java
Fixing problem.
<ide><path>ello-world/src/main/java/cz/kramolis/mega/examples/helloworld/HelloWorldApp.java <ide> environment.shutdown(); <ide> } <ide> <add>}
Java
apache-2.0
66c70b211edb25b5c98fe345e8746ae147717c68
0
zhic5352/robotium,hypest/robotium,shibenli/robotium,NetEase/robotium,lczgywzyy/robotium,RobotiumTech/robotium,hypest/robotium,RobotiumTech/robotium,luohaoyu/robotium,acanta2014/robotium,XRacoon/robotiumEx,Eva1123/robotium,luohaoyu/robotium,lczgywzyy/robotium,MattGong/robotium,Eva1123/robotium,darker50/robotium,shibenli...
package com.jayway.android.robotium.solo; import java.util.ArrayList; import android.app.Activity; import android.app.Instrumentation; import android.content.pm.ActivityInfo; import android.view.KeyEvent; import android.view.View; import android.widget.AbsListView; import android.widget.Button; import android.widget.C...
robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
package com.jayway.android.robotium.solo; import java.util.ArrayList; import android.app.Activity; import android.app.Instrumentation; import android.content.pm.ActivityInfo; import android.view.KeyEvent; import android.view.View; import android.widget.AbsListView; import android.widget.Button; import android.widget.C...
Modified getCurrentNumberPickers to behave like the other getCurrent methods
robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
Modified getCurrentNumberPickers to behave like the other getCurrent methods
<ide><path>obotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java <ide> import android.widget.GridView; <ide> import android.widget.ImageButton; <ide> import android.widget.ImageView; <add>import android.widget.LinearLayout; <ide> import android.widget.ProgressBar; <ide> import android.widget.RadioButton...
Java
apache-2.0
fdcd365c9d5f57540d58e13dfd6bcb5a2bc65844
0
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
// Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.litho.widget; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.suppo...
src/test/java/com/facebook/components/widget/RecyclerBinderTest.java
// Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.litho.widget; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.suppo...
Lines authored by pasqualea This commit forms part of the blame-preserving initial commit suite.
src/test/java/com/facebook/components/widget/RecyclerBinderTest.java
Lines authored by pasqualea
<ide><path>rc/test/java/com/facebook/components/widget/RecyclerBinderTest.java <ide> <ide> final TestComponentTreeHolder movedHolder = <ide> mHoldersForComponents.get(components.get(2).getComponent()); <add> assertFalse(movedHolder.isTreeValid()); <add> assertFalse(movedHolder.mLayoutAsyncCalled); <a...
Java
agpl-3.0
e1d68ad1055da82b318eda449f0f74cf992d7c76
0
kelvinmbwilo/vims,joshzamor/open-lmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,vimsvarcode/elmis,jasolangi/jasolangi.github.io,joshzamor/open-lmis,OpenLMIS/open-lmis,vimsvarcode/elmis,joshzamor/open-lmis,OpenLMIS/open-lmis,vimsvarcode/elmis,kelvinmbwilo/vims,joshzamor/open-lmis,jasolangi/jasolangi.github.io,OpenL...
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2013 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith...
test-modules/test-core/src/main/java/org/openlmis/UiUtils/DBWrapper.java
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2013 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith...
|#000| fixing FT Requisition - added a function to insert current period with respect to current date - adding missing dbWrapper changes"
test-modules/test-core/src/main/java/org/openlmis/UiUtils/DBWrapper.java
|#000| fixing FT Requisition - added a function to insert current period with respect to current date - adding missing dbWrapper changes"
<ide><path>est-modules/test-core/src/main/java/org/openlmis/UiUtils/DBWrapper.java <ide> update("INSERT INTO processing_periods\n" + <ide> "(name, description, startDate, endDate, numberOfMonths, scheduleId, modifiedBy) VALUES\n" + <ide> "('" + periodName + "', '" + periodDesc + "', '" + periodStartDate...
Java
apache-2.0
51bbe2c5c47d07d0913f533e882cdf6c4d3e0efc
0
henakamaMSFT/elasticsearch,lks21c/elasticsearch,awislowski/elasticsearch,elasticdog/elasticsearch,coding0011/elasticsearch,naveenhooda2000/elasticsearch,coding0011/elasticsearch,wangtuo/elasticsearch,pozhidaevak/elasticsearch,ThiagoGarciaAlves/elasticsearch,GlenRSmith/elasticsearch,JSCooke/elasticsearch,nilabhsagar/ela...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
core/src/test/java/org/elasticsearch/index/replication/ESIndexLevelReplicationTestCase.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
[TEST] fix log statement in ESIndexLevelReplicationTestCase
core/src/test/java/org/elasticsearch/index/replication/ESIndexLevelReplicationTestCase.java
[TEST] fix log statement in ESIndexLevelReplicationTestCase
<ide><path>ore/src/test/java/org/elasticsearch/index/replication/ESIndexLevelReplicationTestCase.java <ide> // OK! <ide> result = Store.MetadataSnapshot.EMPTY; <ide> } catch (IOException e) { <del> logger.warn("{} failed read store, treating as empty", e); <add...
Java
apache-2.0
e7bf8bf1b313a332085288e05e410760d675a6ce
0
NitorCreations/javaxdelta,NitorCreations/javaxdelta
/* * Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, co...
src/main/java/at/spardat/xma/xdelta/JarPatcher.java
/* * Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, co...
Fix case where given absolute paths and no path elements are ignored
src/main/java/at/spardat/xma/xdelta/JarPatcher.java
Fix case where given absolute paths and no path elements are ignored
<ide><path>rc/main/java/at/spardat/xma/xdelta/JarPatcher.java <ide> StringBuilder b = new StringBuilder().append("Not enough path elements to ignore in source (").append(sourcePath).append(" in ").append(sourceName).append(")"); <ide> throw new IOException(b.toString()); <ide> } <del> sourcePath = so...
Java
apache-2.0
39796e664e523f0f55d445b807ddbd35d4c50130
0
lirui-apache/hive,jcamachor/hive,lirui-apache/hive,jcamachor/hive,lirui-apache/hive,vineetgarg02/hive,alanfgates/hive,jcamachor/hive,alanfgates/hive,vineetgarg02/hive,anishek/hive,b-slim/hive,lirui-apache/hive,sankarh/hive,b-slim/hive,anishek/hive,sankarh/hive,nishantmonu51/hive,lirui-apache/hive,lirui-apache/hive,verg...
/** * 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...
ql/src/java/org/apache/hadoop/hive/ql/exec/StatsNoJobTask.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...
HIVE-8497: StatsNoJobTask doesn't close RecordReader, FSDataInputStream of which keeps open to prevent stale data clean (Xiaobing Zhou via Prasanth J) git-svn-id: c2303eb81cb646bce052f55f7f0d14f181a5956c@1633231 13f79535-47bb-0310-9956-ffa450edef68
ql/src/java/org/apache/hadoop/hive/ql/exec/StatsNoJobTask.java
HIVE-8497: StatsNoJobTask doesn't close RecordReader, FSDataInputStream of which keeps open to prevent stale data clean (Xiaobing Zhou via Prasanth J)
<ide><path>l/src/java/org/apache/hadoop/hive/ql/exec/StatsNoJobTask.java <ide> partn.getInputFormatClass(), jc); <ide> InputSplit dummySplit = new FileSplit(file.getPath(), 0, 0, <ide> new String[] { partn.getLocation() }); <del> Object recordReader = inputFormat.g...
Java
agpl-3.0
16d0f7c4d426f038b6f8ca37108d59e8d1bff0a2
0
mbrossard/cryptonit-applet
package org.cryptonit; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import javacard.framework.ISOException; import javacard.framework.JCSystem; import javacard.framework.OwnerPIN; import javacard.framework.Util; import javacard.security.CryptoException; import ja...
src/org/cryptonit/CryptonitApplet.java
package org.cryptonit; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import javacard.framework.ISOException; import javacard.framework.JCSystem; import javacard.framework.OwnerPIN; import javacard.framework.Util; import javacard.security.CryptoException; import ja...
Remove superfluous temporary variable
src/org/cryptonit/CryptonitApplet.java
Remove superfluous temporary variable
<ide><path>rc/org/cryptonit/CryptonitApplet.java <ide> if ((lc != apdu.getIncomingLength()) || (lc < 5)) { <ide> ISOException.throwIt(ISO7816.SW_WRONG_LENGTH); <ide> } <del> <del> byte[] prefix = new byte[]{ <add> if (Util.arrayCompare(buf, offset, new byte[]{ <ide> ...
Java
apache-2.0
9e764a37266d7aa0f0a07e07ac643a812bd39e9f
0
box/mojito,box/mojito,box/mojito,box/mojito,box/mojito,box/mojito
package com.box.l10n.mojito.okapi.filters; import java.util.regex.Matcher; import java.util.regex.Pattern; import net.sf.okapi.common.encoder.EncoderContext; import net.sf.okapi.filters.its.Parameters; import org.apache.commons.lang.StringUtils; /** * This overrides the {@link net.sf.okapi.common.encoder.XMLEncoder}...
webapp/src/main/java/com/box/l10n/mojito/okapi/filters/XMLEncoder.java
package com.box.l10n.mojito.okapi.filters; import java.util.regex.Matcher; import java.util.regex.Pattern; import net.sf.okapi.common.encoder.EncoderContext; import net.sf.okapi.filters.its.Parameters; import org.apache.commons.lang.StringUtils; /** * This overrides the {@link net.sf.okapi.common.encoder.XMLEncoder}...
documentation updated
webapp/src/main/java/com/box/l10n/mojito/okapi/filters/XMLEncoder.java
documentation updated
<ide><path>ebapp/src/main/java/com/box/l10n/mojito/okapi/filters/XMLEncoder.java <ide> * strings. <ide> * <ide> * It does not escape supported HTML elements for Android strings unless there <del> * are variables within the HTML elements, for example, <b>songs</b> vs. <del> * &lt;b>%d songs&lt;/b> Also it overrides t...
Java
mit
error: pathspec 'src/main/java/de/dhbw/humbuch/event/MessageEvent.java' did not match any file(s) known to git
837ca30dc10b1674b88764a9f84dba758cf2ce34
1
HumBuch/HumBuch,HumBuch/HumBuch,HumBuch/HumBuch
package de.dhbw.humbuch.event; /** * Object for the Guava EventBus containing a message and a message tpye * */ public class MessageEvent { public final String message; public final Type type; public enum Type { INFO, WARNING, ERROR; } /** * Creates an event with the specified message and {@link Type}....
src/main/java/de/dhbw/humbuch/event/MessageEvent.java
added class containing a message and a message type for a notification system via Guava EventBus
src/main/java/de/dhbw/humbuch/event/MessageEvent.java
added class containing a message and a message type for a notification system via Guava EventBus
<ide><path>rc/main/java/de/dhbw/humbuch/event/MessageEvent.java <add>package de.dhbw.humbuch.event; <add> <add>/** <add> * Object for the Guava EventBus containing a message and a message tpye <add> * <add> */ <add>public class MessageEvent { <add> <add> public final String message; <add> public final Type type; <add>...
Java
apache-2.0
c7467604497ddd7b166f57d84d00d53ef0812b1c
0
Teradata/kylo,Teradata/kylo,Teradata/kylo,Teradata/kylo,Teradata/kylo
package com.thinkbiganalytics.metadata.upgrade.v0_10_0; /*- * #%L * kylo-upgrade-service * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 ...
services/upgrade-service/src/main/java/com/thinkbiganalytics/metadata/upgrade/v0_10_0/MigrateLegacyDatasourcesUpgradeAction.java
package com.thinkbiganalytics.metadata.upgrade.v0_10_0; /*- * #%L * kylo-upgrade-service * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 ...
Help fix KYLO-3068
services/upgrade-service/src/main/java/com/thinkbiganalytics/metadata/upgrade/v0_10_0/MigrateLegacyDatasourcesUpgradeAction.java
Help fix KYLO-3068
<ide><path>ervices/upgrade-service/src/main/java/com/thinkbiganalytics/metadata/upgrade/v0_10_0/MigrateLegacyDatasourcesUpgradeAction.java <ide> .map(JcrJdbcDatasourceDetails.class::cast) <ide> .ifPresent(details -> { <ide> controll...
Java
apache-2.0
2e3694c61f09e162e2012ac1a5fb1d1b45f7f605
0
asoldano/wss4j,apache/wss4j,clibois/wss4j,apache/wss4j,asoldano/wss4j,jimma/wss4j,jimma/wss4j,clibois/wss4j
/** * 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 m...
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/SignatureProcessor.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 m...
Minor fix git-svn-id: 10bc45916fe30ae642aa5037c9a4b05727bba413@1540674 13f79535-47bb-0310-9956-ffa450edef68
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/SignatureProcessor.java
Minor fix
<ide><path>s-security-dom/src/main/java/org/apache/wss4j/dom/processor/SignatureProcessor.java <ide> bspEnforcer.handleBSPRule(BSPRule.R5401); <ide> } <ide> <del> // Must have InclusiveNamespaces with a PrefixList <add> // Must have exclusive C14N without comments <ide> ...
Java
mit
4f558accf98bac5da3686d4a6561348b5069e825
0
draoullig/docker-build-step-plugin,draoullig/docker-build-step-plugin
package org.jenkinsci.plugins.dockerbuildstep; import hudson.Extension; import hudson.Launcher; import hudson.matrix.MatrixProject; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.FreeStyleProject; import hudson.tasks.BuildStepDescriptor; i...
src/main/java/org/jenkinsci/plugins/dockerbuildstep/DockerPostBuilder.java
package org.jenkinsci.plugins.dockerbuildstep; import hudson.Extension; import hudson.Launcher; import hudson.matrix.MatrixProject; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.FreeStyleProject; import hudson.tasks.BuildStepDescriptor; i...
Support the post-build action in a multi-configuration project fix
src/main/java/org/jenkinsci/plugins/dockerbuildstep/DockerPostBuilder.java
Support the post-build action in a multi-configuration project fix
<ide><path>rc/main/java/org/jenkinsci/plugins/dockerbuildstep/DockerPostBuilder.java <ide> <ide> @Override <ide> public boolean isApplicable(@SuppressWarnings("rawtypes") Class<? extends AbstractProject> jobType) { <del> return FreeStyleProject.class.equals(jobType) || MatrixProject.class.equals(jobType...
Java
bsd-3-clause
d73c2f52350dd50f4bb5762a6458b8e246f5b71c
0
sebastiangraf/treetank,sebastiangraf/treetank,sebastiangraf/treetank
/* * Copyright (c) 2007, Marc Kramis * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC...
src/org/treetank/xmllayer/SAXGenerator.java
/* * Copyright (c) 2007, Marc Kramis * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC...
SAXGenerator now throws unchecked exceptions. git-svn-id: a5379eb5ca3beb2b6e029be3b1b7f6aa53f2352b@3509 e3ddb328-5bfe-0310-b762-aafcbcbd2528
src/org/treetank/xmllayer/SAXGenerator.java
SAXGenerator now throws unchecked exceptions.
<ide><path>rc/org/treetank/xmllayer/SAXGenerator.java <ide> public SAXGenerator( <ide> final IAxis axis, <ide> final ContentHandler contentHandler, <del> final boolean prettyPrint) throws Exception { <add> final boolean prettyPrint) { <ide> mAxis = axis; <ide> mHandler = contentHandler; ...
Java
apache-2.0
2da2d38f8836dac8bb95da196f5e0a8cf69f428b
0
louishust/incubator-ignite,DoudTechData/ignite,NSAmelchev/ignite,WilliamDo/ignite,irudyak/ignite,andrey-kuznetsov/ignite,sk0x50/ignite,nizhikov/ignite,SomeFire/ignite,thuTom/ignite,dmagda/incubator-ignite,thuTom/ignite,sylentprayer/ignite,vladisav/ignite,NSAmelchev/ignite,samaitra/ignite,alexzaitzev/ignite,dmagda/incub...
/* @java.file.header */ /* _________ _____ __________________ _____ * __ ____/___________(_)______ /__ ____/______ ____(_)_______ * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / * \____/ /_/ /_/ \_,__/...
modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopExecutorService.java
/* @java.file.header */ /* _________ _____ __________________ _____ * __ ____/___________(_)______ /__ ____/______ ____(_)_______ * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / * \____/ /_/ /_/ \_,__/...
#gg-hdp - exec service fix
modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopExecutorService.java
#gg-hdp - exec service fix
<ide><path>odules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopExecutorService.java <ide> @Override public void onStopped(GridWorker w) { <ide> workers.remove(w); <ide> <del> if (shutdown) <add> if (shutdown) { <add> ...
JavaScript
mit
30cb4d7d205922ab74a2faba70799227b7c3d6b1
0
yaman/generator-ean-crud
/*global describe, beforeEach, it*/ 'use strict'; var path = require('path'); var helpers = require('yeoman-generator').test; describe('ean-crud generator', function () { beforeEach(function (done) { helpers.testDirectory(path.join(__dirname, 'temp'), function (err) { if (err) { ...
test/test-creation.js
/*global describe, beforeEach, it*/ 'use strict'; var path = require('path'); var helpers = require('yeoman-generator').test; describe('ean-crud generator', function () { beforeEach(function (done) { helpers.testDirectory(path.join(__dirname, 'temp'), function (err) { if (err) { ...
fixing js -> coffee
test/test-creation.js
fixing js -> coffee
<ide><path>est/test-creation.js <ide> // add files you expect to exist here. <ide> '.jshintrc', <ide> '.editorconfig', <del> 'Gruntfile.js', <add> 'Gruntfile.coffee', <ide> 'app.coffee', <ide> 'src/client/modules/config', <ide> ...
Java
apache-2.0
86313ed69b2082e82169c3f308be3311b513c883
0
kalaspuffar/pdfbox,apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
PDFBOX-2530: Avoid NPE if no file is open when switching view mode git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1694785 13f79535-47bb-0310-9956-ffa450edef68
tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
PDFBOX-2530: Avoid NPE if no file is open when switching view mode
<ide><path>ools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java <ide> viewModeItem.setText("Show Internal Structure"); <ide> isPageMode = true; <ide> } <del> initTree(); <add> if (document != null) <add> { <add> ...
JavaScript
apache-2.0
eed325a3415890ec7cff8ef04a596979fe15f635
0
thomascorriente/janis-fusion
'use strict'; const apiai = require('apiai'); const express = require('express'); const bodyParser = require('body-parser'); const uuid = require('uuid'); const request = require('request'); const JSONbig = require('json-bigint'); const async = require('async'); const janis = require('janis'); const REST_PORT = (proc...
src/app.js
'use strict'; const apiai = require('apiai'); const express = require('express'); const bodyParser = require('body-parser'); const uuid = require('uuid'); const request = require('request'); const JSONbig = require('json-bigint'); const async = require('async'); const janis = require('janis'); const REST_PORT = (proc...
Update app.js
src/app.js
Update app.js
<ide><path>rc/app.js <ide> const FB_VERIFY_TOKEN = process.env.FB_VERIFY_TOKEN; <ide> const FB_PAGE_ACCESS_TOKEN = process.env.FB_PAGE_ACCESS_TOKEN; <ide> const FB_TEXT_LIMIT = 640; <add> <add>// App Secret can be retrieved from the App Dashboard <add>const APP_SECRET = "77d6c30390b30652169df4f4fe39196b"; <add> <add> <...
Java
apache-2.0
876041b395595fa2b0e7b8f1a9a75929d2f168f7
0
JeffreyLyonsD2L/phoenix,elilevine/apache-phoenix,hendriksaragih/phoenix,wangbin83-gmail-com/phoenix,linearregression/phoenix-1,jongyoul/phoenix,ayingshu/unionall,ayingshu/unionall,djh4230/Apache-Phoenix,SiftScience/phoenix,ankitsinghal/phoenix,jongyoul/phoenix,apache/phoenix,mbrukman/phoenix,7shurik/phoenix,hendriksara...
/* * 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 ...
phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.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 ...
PHOENIX-1470 amendment; fix test
phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java
PHOENIX-1470 amendment; fix test
<ide><path>hoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java <ide> assertEquals(1,cdA.getMaxVersions());// Overriden using WITH <ide> HColumnDescriptor cdB = descriptor.getFamily(cfB); <ide> // Allow KEEP_DELETED_CELLS to be false for VIEW <del> assertEquals(...
JavaScript
mit
37ac9ab5d3b7124ae1e16ea8811d19a389b38eef
0
isaacev/ArthurJS
var Gulp = require('gulp'); var GulpUtil = require('gulp-util'); var GulpArthur = require('gulp-arthur'); var GulpValidate = require('gulp-jsvalidate'); var Build = require('./build.js').build; // takes each *.arthur file in `/arthur/` and compiles // it to JavaScript, placing the output data inside // `/bin/modules/...
gulpfile.js
var Gulp = require('gulp'); var GulpUtil = require('gulp-util'); var GulpArthur = require('gulp-arthur'); var GulpValidate = require('gulp-jsvalidate'); var Build = require('./build.js').build; // takes each *.arthur file in `/arthur/` and compiles // it to JavaScript, placing the output data inside // `/bin/modules/...
clarify code purpose also add debugging in gulp.build
gulpfile.js
clarify code purpose
<ide><path>ulpfile.js <ide> // it to JavaScript, placing the output data inside <ide> // `/bin/modules/` directory <ide> Gulp.task('arthur', function () { <del> // Gulp.src('./arthur/*.arthur') <del> // .pipe(GulpArthur({ <del> // bare: true <del> // }).on('error', GulpUtil.log)) <del> // .pipe(Gulp.dest('./bin/mo...
Java
mit
81365f527afdd77568da313982a735dc50f84034
0
dafe/Sentiment,lukeherron/Sentiment,lukeherron/Sentiment,dafe/Sentiment
package com.gofish.sentiment.sentimentservice.job; import com.gofish.sentiment.sentimentservice.article.SentimentArticle; import io.vertx.codegen.annotations.DataObject; import io.vertx.core.json.JsonObject; /** * @author Luke Herron */ @DataObject(generateConverter = true) public class LinkerJob extends AbstractJo...
sentiment-service/src/main/java/com/gofish/sentiment/sentimentservice/job/LinkerJob.java
package com.gofish.sentiment.sentimentservice.job; import com.gofish.sentiment.sentimentservice.article.SentimentArticle; import io.vertx.codegen.annotations.DataObject; import io.vertx.core.json.JsonObject; /** * @author Luke Herron */ @DataObject(generateConverter = true) public class LinkerJob extends AbstractJo...
Adjusted job to retrieve abstract type 'payload' instead of the more specific 'article' from jobs JSON object.
sentiment-service/src/main/java/com/gofish/sentiment/sentimentservice/job/LinkerJob.java
Adjusted job to retrieve abstract type 'payload' instead of the more specific 'article' from jobs JSON object.
<ide><path>entiment-service/src/main/java/com/gofish/sentiment/sentimentservice/job/LinkerJob.java <ide> <ide> public LinkerJob(JsonObject json) { <ide> super(json.getString("jobId")); <del> article = json.getJsonObject("article"); <add> article = json.getJsonObject("payload"); <ide> <ide> ...
JavaScript
mit
3b58fdc6e78343b0324f8fa449f086be1c90dc74
0
jsonresume/registry-server,bartuspan/registry-server,vfulco/registry-server,bartuspan/registry-server,jsonresume/registry-server,bartuspan/registry-server,vfulco/registry-server,jsonresume/registry-server,vfulco/registry-server
var express = require("express"); var Mustache = require('mustache'); var resumeToText = require('resume-to-text'); var path = require('path'); var resumeToHTML = require('resume-to-html'); var resumeToMarkdown = require('resume-to-markdown'); var bodyParser = require('body-parser'); var bcrypt = require('bcrypt-nodejs...
server.js
var express = require("express"); var Mustache = require('mustache'); var resumeToText = require('resume-to-text'); var path = require('path'); var resumeToHTML = require('resume-to-html'); var resumeToMarkdown = require('resume-to-markdown'); var bodyParser = require('body-parser'); var bcrypt = require('bcrypt-nodejs...
Set a default URL for Mongo
server.js
Set a default URL for Mongo
<ide><path>erver.js <ide> var bcrypt = require('bcrypt-nodejs'); <ide> var gravatar = require('gravatar'); <ide> var app = express(); <del>var _ = require('lodash'); <add>var _ = require('lodash'); <ide> var postmark = require("postmark")(process.env.POSTMARK_API_KEY); <ide> var MongoClient = require('mongodb').Mongo...
Java
apache-2.0
deb4d42335c3211371559810f8c092a04686cca9
0
SerCeMan/intellij-community,asedunov/intellij-community,vvv1559/intellij-community,youdonghai/intellij-community,idea4bsd/idea4bsd,slisson/intellij-community,clumsy/intellij-community,xfournet/intellij-community,idea4bsd/idea4bsd,clumsy/intellij-community,muntasirsyed/intellij-community,caot/intellij-community,robovm/r...
package com.intellij.codeInsight.completion; import com.intellij.codeInsight.TailType; import com.intellij.codeInsight.lookup.LookupItem; import com.intellij.psi.*; import com.intellij.psi.filters.*; import com.intellij.psi.filters.classes.*; import com.intellij.psi.filters.element.ExcludeDeclaredFilter; import com.in...
source/com/intellij/codeInsight/completion/JavaCompletionData.java
package com.intellij.codeInsight.completion; import com.intellij.codeInsight.TailType; import com.intellij.codeInsight.lookup.LookupItem; import com.intellij.psi.*; import com.intellij.psi.filters.*; import com.intellij.psi.filters.classes.*; import com.intellij.psi.filters.element.ExcludeDeclaredFilter; import com.in...
Completion after annotations
source/com/intellij/codeInsight/completion/JavaCompletionData.java
Completion after annotations
<ide><path>ource/com/intellij/codeInsight/completion/JavaCompletionData.java <ide> END_OF_BLOCK, <ide> new LeftNeighbour(new OrFilter( <ide> new TextFilter(MODIFIERS_LIST), <add> new SuperParentFilter(new ClassFilter(PsiAnnotation.class)), <ide> new TokenTypeFilter...
Java
apache-2.0
0f991bd565679adb310a1e0718a18882523f2ac5
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
package io.quarkus.kubernetes.deployment; import static io.quarkus.kubernetes.deployment.Constants.DEFAULT_S2I_IMAGE_NAME; import static io.quarkus.kubernetes.deployment.Constants.DEPLOY; import static io.quarkus.kubernetes.deployment.Constants.DEPLOYMENT; import static io.quarkus.kubernetes.deployment.Constants.DEPLO...
extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
package io.quarkus.kubernetes.deployment; import static io.quarkus.kubernetes.deployment.Constants.DEFAULT_S2I_IMAGE_NAME; import static io.quarkus.kubernetes.deployment.Constants.DEPLOY; import static io.quarkus.kubernetes.deployment.Constants.DEPLOYMENT; import static io.quarkus.kubernetes.deployment.Constants.DEPLO...
fix: wrong value passed to working dir decorator
extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
fix: wrong value passed to working dir decorator
<ide><path>xtensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java <ide> }); <ide> <ide> config.getWorkingDir().ifPresent(w -> { <del> session.resources().decorate(target, new ApplyWorkingDirDecorator(name, DEPLOY)); <add> se...
Java
apache-2.0
50b124f6fdb2cfa496501781fa905b200bcb59c5
0
yuyijq/dubbo,yuyijq/dubbo,lovepoem/dubbo,aglne/dubbo,lovepoem/dubbo,fengyie007/dubbo,fengyie007/dubbo,JasonHZXie/dubbo,bpzhang/dubbo,alibaba/dubbo,aglne/dubbo,JasonHZXie/dubbo,qtvbwfn/dubbo,alibaba/dubbo,bpzhang/dubbo,qtvbwfn/dubbo,wuwen5/dubbo,wuwen5/dubbo,lovepoem/dubbo,aglne/dubbo,qtvbwfn/dubbo,fengyie007/dubbo,bpzh...
/* * 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 ...
dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/DubboInvokerAvilableTest.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 ...
ignore unstable test test_normal_channel_close_wait_gracefully
dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/DubboInvokerAvilableTest.java
ignore unstable test test_normal_channel_close_wait_gracefully
<ide><path>ubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/protocol/dubbo/DubboInvokerAvilableTest.java <ide> import org.junit.Assert; <ide> import org.junit.Before; <ide> import org.junit.BeforeClass; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> <ide> import java.lang.reflect.Field; <i...
Java
bsd-2-clause
d4f2753e0577142400abbfae6265970dd6ed39de
0
l2-/runelite,l2-/runelite,Sethtroll/runelite,runelite/runelite,runelite/runelite,runelite/runelite,Sethtroll/runelite
/* * Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, thi...
runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsPlugin.java
/* * Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, thi...
player-indicators: move menu logic to ClientTick
runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsPlugin.java
player-indicators: move menu logic to ClientTick
<ide><path>unelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsPlugin.java <ide> import static net.runelite.api.MenuAction.*; <ide> import net.runelite.api.MenuEntry; <ide> import net.runelite.api.Player; <del>import net.runelite.api.events.MenuEntryAdded; <add>import net.runelite....
Java
mit
b2fb149b00ccabd73e0386fc257c14c7f9a777f2
0
erfgoed-en-locatie/artsholland-platform,erfgoed-en-locatie/artsholland-platform,erfgoed-en-locatie/artsholland-platform,erfgoed-en-locatie/artsholland-platform,erfgoed-en-locatie/artsholland-platform
package org.waag.ah.rest.model; import java.util.ArrayList; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.ArrayUtils; import org.waag.ah.rest.RestParameters; public class SPARQLQuery { private static final String PAGING_PLACEMARK = "[[paging]]"; private static final String STAT...
artsholland-core/src/main/java/org/waag/ah/rest/model/SPARQLQuery.java
package org.waag.ah.rest.model; import java.util.ArrayList; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.ArrayUtils; import org.waag.ah.rest.RestParameters; public class SPARQLQuery { private static final String PAGING_PLACEMARK = "[[paging]]"; private static final String STAT...
ORDER BY is needed to group objects together for REST API JSON results.
artsholland-core/src/main/java/org/waag/ah/rest/model/SPARQLQuery.java
ORDER BY is needed to group objects together for REST API JSON results.
<ide><path>rtsholland-core/src/main/java/org/waag/ah/rest/model/SPARQLQuery.java <ide> + " [[filter]]" <ide> + " } [[paging]]" //ORDER BY ?object <ide> + " } [[language]]" <del> + "}"; // ORDER BY ?object ?p <add> + "} ORDER BY ?object ?p"; <ide> <ide> private static final String SPARQL_COUNT = ...
Java
apache-2.0
error: pathspec 'simulator/src/test/java/com/hazelcast/simulator/utils/ClassUtilsTest.java' did not match any file(s) known to git
cb171697a1e670e4236309529a4d4057b7a0cac0
1
jerrinot/hazelcast-stabilizer,hazelcast/hazelcast-simulator,hazelcast/hazelcast-simulator,pveentjer/hazelcast-simulator,jerrinot/hazelcast-stabilizer,hazelcast/hazelcast-simulator,pveentjer/hazelcast-simulator,Donnerbart/hazelcast-simulator,Donnerbart/hazelcast-simulator
package com.hazelcast.simulator.utils; import org.junit.Test; import static com.hazelcast.simulator.utils.ReflectionUtils.invokePrivateConstructor; public class ClassUtilsTest { @Test public void testConstructor() throws Exception { invokePrivateConstructor(ClassUtils.class); } }
simulator/src/test/java/com/hazelcast/simulator/utils/ClassUtilsTest.java
Fixed missing coverage of ClassUtils.
simulator/src/test/java/com/hazelcast/simulator/utils/ClassUtilsTest.java
Fixed missing coverage of ClassUtils.
<ide><path>imulator/src/test/java/com/hazelcast/simulator/utils/ClassUtilsTest.java <add>package com.hazelcast.simulator.utils; <add> <add>import org.junit.Test; <add> <add>import static com.hazelcast.simulator.utils.ReflectionUtils.invokePrivateConstructor; <add> <add>public class ClassUtilsTest { <add> <add> @Test...
Java
apache-2.0
38e17bfa6b97b5c751694caab572f02fd0c7224b
0
amidst/code-examples
package eu.amidst.core.examples.huginlink; import junit.framework.TestCase; import org.junit.Test; public class HuginConversionExampleTest extends TestCase { @Test public void test() throws Exception { try { HuginConversionExample.main(null); }catch (UnsatisfiedLinkError err) { }catch (NoClassDefFoundEr...
src/test/java/eu/amidst/core/examples/huginlink/HuginConversionExampleTest.java
package eu.amidst.core.examples.huginlink; import junit.framework.TestCase; import org.junit.Test; public class HuginConversionExampleTest extends TestCase { @Test public void test() throws Exception { try { HuginConversionExample.main(null); }catch (UnsatisfiedLinkError err) { } } }
Fixed NoClassDefFoundError in HuginConversionExample
src/test/java/eu/amidst/core/examples/huginlink/HuginConversionExampleTest.java
Fixed NoClassDefFoundError in HuginConversionExample
<ide><path>rc/test/java/eu/amidst/core/examples/huginlink/HuginConversionExampleTest.java <ide> HuginConversionExample.main(null); <ide> }catch (UnsatisfiedLinkError err) { <ide> <add> }catch (NoClassDefFoundError ex) { <add> <ide> } <ide> } <ide> }
Java
agpl-3.0
283999c87d2b5f28db933428eb28be0566bfa8be
0
scionaltera/emergentmud,scionaltera/emergentmud
/* * EmergentMUD - A modern MUD with a procedurally generated world. * Copyright (C) 2016-2017 Peter Keeler * * This file is part of EmergentMUD. * * EmergentMUD is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Softw...
src/test/java/com/emergentmud/core/resource/MainResourceTest.java
/* * EmergentMUD - A modern MUD with a procedurally generated world. * Copyright (C) 2016-2017 Peter Keeler * * This file is part of EmergentMUD. * * EmergentMUD is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Softw...
Fix up the tests.
src/test/java/com/emergentmud/core/resource/MainResourceTest.java
Fix up the tests.
<ide><path>rc/test/java/com/emergentmud/core/resource/MainResourceTest.java <ide> private HttpSession httpSession; <ide> <ide> @Mock <add> private HttpServletRequest httpServletRequest; <add> <add> @Mock <ide> private OAuth2Authentication principal; <ide> <ide> @Mock <ide> <ide> @Test <ide>...
Java
bsd-2-clause
5247e33e132f3e58c8b5fa94b229b6e667239807
0
keeguon/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,jruby/activereco...
/* **** BEGIN LICENSE BLOCK ***** * Copyright (c) 2006-2011 Nick Sieger <nick@nicksieger.com> * Copyright (c) 2006-2007 Ola Bini <ola.bini@gmail.com> * Copyright (c) 2008-2009 Thomas E Enebo <enebo@acm.org> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and as...
src/java/arjdbc/jdbc/RubyJdbcConnection.java
/* **** BEGIN LICENSE BLOCK ***** * Copyright (c) 2006-2011 Nick Sieger <nick@nicksieger.com> * Copyright (c) 2006-2007 Ola Bini <ola.bini@gmail.com> * Copyright (c) 2008-2009 Thomas E Enebo <enebo@acm.org> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and as...
due removed ThreadContext.createCallerBacktrace we need to re-invent it using reflection - provides us and maintains JRuby 1.6.8 - 1.7.4 compatibility
src/java/arjdbc/jdbc/RubyJdbcConnection.java
due removed ThreadContext.createCallerBacktrace we need to re-invent it using reflection - provides us and maintains JRuby 1.6.8 - 1.7.4 compatibility
<ide><path>rc/java/arjdbc/jdbc/RubyJdbcConnection.java <ide> import java.io.Reader; <ide> import java.io.StringReader; <ide> import java.lang.reflect.InvocationTargetException; <add>import java.lang.reflect.Method; <ide> import java.math.BigDecimal; <ide> import java.math.BigInteger; <ide> import java.sql.Array; <ide> ...
JavaScript
apache-2.0
1fa739607c6964fab2c04c7382d63d78d20dbd49
0
dollars0427/SQLwatcher
//Require Module var log4js = require('log4js'); var logger = log4js.getLogger('Logging'); var mysql = require('mysql'); var mailer = require('emailjs'); var promise = require('promised-io'); var when = promise.when; var fs = require('fs'); var settingPath = process.argv[2]; var queryListPath = process.argv[3]; if(!...
index.js
//Require Module var log4js = require('log4js'); var logger = log4js.getLogger('Logging'); var mysql = require('mysql'); var mailer = require('emailjs'); var promise = require('promised-io'); var when = promise.when; var fs = require('fs'); var settingPath = process.argv[2]; var queryListPath = process.argv[3]; if(!...
Can send warning email
index.js
Can send warning email
<ide><path>ndex.js <ide> subject: mailConfig.dead.subject <ide> } <ide> <del>var mailConnection = mailer.server.connect({ <del> user:mailConfig.server.user, <del> password:mailConfig.server.password, <del> host:mailConfig.server.host, <del> port:mailConfig.server.port, <del> ssl:mailConfig.server.s...
Java
bsd-3-clause
c0c22f9815acd496dc52ecb63917919f52600cb1
0
naixx/threetenbp,pepyakin/threetenbp,pepyakin/threetenbp,naixx/threetenbp,ThreeTen/threetenbp,ThreeTen/threetenbp,jnehlmeier/threetenbp,jnehlmeier/threetenbp
/* * Copyright (c) 2007, 2008, Stephen Colebourne & Michael Nascimento Santos * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain th...
src/main/java/javax/time/InstantProvider.java
/* * Copyright (c) 2007, 2008, Stephen Colebourne & Michael Nascimento Santos * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain th...
Tidy provider definition and implementation git-svn-id: 17e42e1b38baac66ab68ec9830049dead5ccbb9b@651 291d795c-afe8-5c46-8ee5-bf9dd72e1864
src/main/java/javax/time/InstantProvider.java
Tidy provider definition and implementation
<ide><path>rc/main/java/javax/time/InstantProvider.java <ide> */ <ide> package javax.time; <ide> <del>import javax.time.calendar.LocalTime; <del>import javax.time.calendar.TimeProvider; <ide> <ide> /** <ide> * Provides access to an instant on the time-line. <ide> * This is necessary to handle the case where the im...
Java
apache-2.0
4b5e60d8948051dac95a112f2ad0cb0f26c657ca
0
3dcitydb/importer-exporter,3dcitydb/importer-exporter,3dcitydb/importer-exporter
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
impexp-core/src/main/java/org/citydb/core/database/version/DefaultDatabaseVersionChecker.java
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
added support for connecting to 3DCityDB v4.3.0
impexp-core/src/main/java/org/citydb/core/database/version/DefaultDatabaseVersionChecker.java
added support for connecting to 3DCityDB v4.3.0
<ide><path>mpexp-core/src/main/java/org/citydb/core/database/version/DefaultDatabaseVersionChecker.java <ide> <ide> public class DefaultDatabaseVersionChecker implements DatabaseVersionChecker { <ide> private final DatabaseVersionSupport[] supportedVersions = new DatabaseVersionSupport[]{ <del> DatabaseVersionSuppo...
Java
mpl-2.0
2d4d3159861d658cbc00dda1a5f64d4cee9d0aaa
0
PawelGutkowski/openmrs-module-webservices.rest,PawelGutkowski/openmrs-module-webservices.rest,PawelGutkowski/openmrs-module-webservices.rest
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS...
omod-common/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/controller/BaseRestController.java
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS...
[RESTTWS-484] : Logging error for un-handled exception only for handleException() method in BaseRestController.class
omod-common/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/controller/BaseRestController.java
[RESTTWS-484] : Logging error for un-handled exception only for handleException() method in BaseRestController.class
<ide><path>mod-common/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/controller/BaseRestController.java <ide> import org.apache.commons.lang.StringUtils; <ide> import org.openmrs.api.APIAuthenticationException; <ide> import org.openmrs.api.context.Context; <add>import org.apache.commons.logging.Log; <add>im...
Java
bsd-3-clause
a617fd8e029f6ebbd1a331ce8aa8025b00f43c50
0
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
/* * Copyright 1997-2007 Unidata Program Center/University Corporation for * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307, * support@unidata.ucar.edu. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by *...
cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2VolumeScan.java
/* * Copyright 1997-2007 Unidata Program Center/University Corporation for * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307, * support@unidata.ucar.edu. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by *...
level2 high res. variable offset and scale
cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2VolumeScan.java
level2 high res. variable offset and scale
<ide><path>dm/src/main/java/ucar/nc2/iosp/nexrad2/Level2VolumeScan.java <ide> // data formats <ide> static public final String ARCHIVE2 = "ARCHIVE2"; <ide> static public final String AR2V0001 = "AR2V0001"; <add> static public final String AR2V0003 = "AR2V0003"; <ide> <ide> static private org.slf4j.Logger lo...
Java
apache-2.0
510e2247ec13ff2946610236a3407b6d7290ae16
0
aneznamova/java_pft
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.ContactData; import java.util.Arrays; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAsse...
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactInfoTest.java
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.ContactData; import java.util.Arrays; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; /** * Created by neznaa on ...
Добавлено предусловие для теста проверяющего корректность адреса, телефонов и почты
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactInfoTest.java
Добавлено предусловие для теста проверяющего корректность адреса, телефонов и почты
<ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactInfoTest.java <ide> package ru.stqa.pft.addressbook.tests; <ide> <add>import org.testng.annotations.BeforeMethod; <ide> import org.testng.annotations.Test; <ide> import ru.stqa.pft.addressbook.model.ContactData; <ide> <ide> * Created ...
Java
apache-2.0
bcefc15aacc5c2353b949570bdaad6311ddc5a84
0
neilellis/dollar,sillelien/dollar,sillelien/dollar,neilellis/dollar,neilellis/dollar,sillelien/dollar
/* * Copyright (c) 2014-2017 Neil Ellis * * 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 ...
dollar-examples/src/test/java/dollar/internal/runtime/script/ParserSlowTest.java
/* * Copyright (c) 2014-2017 Neil Ellis * * 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 ...
Better doc testing and adding air quality example
dollar-examples/src/test/java/dollar/internal/runtime/script/ParserSlowTest.java
Better doc testing and adding air quality example
<ide><path>ollar-examples/src/test/java/dollar/internal/runtime/script/ParserSlowTest.java <ide> @ValueSource( <ide> // "bulletin.ds", <ide> // "example.ds", <del> strings = {"slow/crime.ds", "slow/air_quality.ds", "slow/test_redis.ds", <add> strings = {"slow/air_quality....
Java
apache-2.0
1be3b8bf83c88abea93f6246643ddec21960ab32
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
/* * Copyright 2000-2017 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/gradle/src/org/jetbrains/plugins/gradle/frameworkSupport/BuildScriptDataBuilder.java
/* * Copyright 2000-2017 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...
Gradle: expose build script data builder gradle version (IDEA-188057)
plugins/gradle/src/org/jetbrains/plugins/gradle/frameworkSupport/BuildScriptDataBuilder.java
Gradle: expose build script data builder gradle version (IDEA-188057)
<ide><path>lugins/gradle/src/org/jetbrains/plugins/gradle/frameworkSupport/BuildScriptDataBuilder.java <ide> @NotNull <ide> public VirtualFile getBuildScriptFile() { <ide> return myBuildScriptFile; <add> } <add> <add> @NotNull <add> public GradleVersion getGradleVersion() { <add> return myGradleVersion; <...
JavaScript
apache-2.0
01826faf515650907f6b1c65891f6ef7e6a713fb
0
icfantv/deck,HaishiBai/deck,sgarlick987/deck,duftler/deck,ajordens/deck,icfantv/deck,spinnaker/deck,duftler/deck,spinnaker/deck,spinnaker/deck,sgarlick987/deck,zanthrash/deck-old,icfantv/deck,HaishiBai/deck,sgarlick987/deck,zanthrash/deck-1,spinnaker/deck,HaishiBai/deck,kenzanlabs/deck,zanthrash/deck-1,icfantv/deck,sga...
'use strict'; angular.module('deckApp.gce') .controller('gceCloneServerGroupCtrl', function($scope, $modalInstance, _, $q, $exceptionHandler, $state, accountService, orcaService, mortService, oortService, instanceTyp...
app/scripts/controllers/modal/gceCloneServerGroupCtrl.js
'use strict'; angular.module('deckApp.gce') .controller('gceCloneServerGroupCtrl', function($scope, $modalInstance, _, $q, $exceptionHandler, $state, accountService, orcaService, mortService, oortService, instanceTyp...
Now that we get back a list of image maps, instead of a list of simple strings, we need to collect the imageNames.
app/scripts/controllers/modal/gceCloneServerGroupCtrl.js
Now that we get back a list of image maps, instead of a list of simple strings, we need to collect the imageNames.
<ide><path>pp/scripts/controllers/modal/gceCloneServerGroupCtrl.js <ide> provider: $scope.command.selectedProvider, <ide> account: serverGroupCommand.credentials }) <ide> .then(function(images) { <del> $scope.gceImages = images; <add> $scope.gceImages = collectImageNames(images); <id...
Java
apache-2.0
1bb59de542385b09393aa4e80b21b4fe5fd63299
0
jonvestal/open-kilda,carmine/open-kilda,carmine/open-kilda,jonvestal/open-kilda,nikitamarchenko/open-kilda,telstra/open-kilda,carmine/open-kilda,carmine/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,carmine/open-kilda,nikitamarchenko/open-kilda,nikitamarchenko/open-kilda,nikitamarchenko/open-kilda,telstra/open-k...
/* Copyright 2017 Telstra Open Source * * 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...
services/wfm/src/main/java/org/openkilda/wfm/topology/flow/FlowTopology.java
/* Copyright 2017 Telstra Open Source * * 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...
Add missing ;
services/wfm/src/main/java/org/openkilda/wfm/topology/flow/FlowTopology.java
Add missing ;
<ide><path>ervices/wfm/src/main/java/org/openkilda/wfm/topology/flow/FlowTopology.java <ide> .fieldsGrouping(ComponentType.SPLITTER_BOLT.toString(), StreamType.CACHE_SYNC.toString(), fieldFlowId) <ide> .fieldsGrouping(ComponentType.TRANSACTION_BOLT.toString(), StreamType.STATUS.toString(...
Java
apache-2.0
eb292a8384dfacdc21b5fe758ef629a5cf111f9f
0
internetisalie/lua-for-idea,internetisalie/lua-for-idea,internetisalie/lua-for-idea,internetisalie/lua-for-idea
/* * Copyright 2010 Jon S Akhtar (Sylvanaar) * * 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 ...
src/lang/parser/kahlua/KahluaParser.java
/* * Copyright 2010 Jon S Akhtar (Sylvanaar) * * 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 ...
rework parsing of references. now all global and local names are references, individual fields are not
src/lang/parser/kahlua/KahluaParser.java
rework parsing of references. now all global and local names are references, individual fields are not
<ide><path>rc/lang/parser/kahlua/KahluaParser.java <ide> } <ide> <ide> void singlevar(ExpDesc var) { <add> <add> PsiBuilder.Marker ref = builder.mark(); <ide> PsiBuilder.Marker mark = builder.mark(); <ide> String varname = this.str_checkname(); <ide> <ide> } else { <ide> ...
Java
mit
8de48db7c5d178520179d1f853d0c1943fae09aa
0
ohtuprojekti/OKKoPa,ohtuprojekti/OKKoPa
package fi.helsinki.cs.okkopa; import com.unboundid.ldap.sdk.LDAPException; import fi.helsinki.cs.okkopa.database.FailedEmailDatabase; import fi.helsinki.cs.okkopa.database.QRCodeDatabase; import fi.helsinki.cs.okkopa.delete.ErrorPDFRemover; import fi.helsinki.cs.okkopa.delete.Remover; import fi.helsinki.cs.okkopa.mai...
src/main/java/fi/helsinki/cs/okkopa/OkkopaRunner.java
package fi.helsinki.cs.okkopa; import com.unboundid.ldap.sdk.LDAPException; import fi.helsinki.cs.okkopa.database.QRCodeDatabase; import fi.helsinki.cs.okkopa.delete.ErrorPDFRemover; import fi.helsinki.cs.okkopa.delete.Remover; import fi.helsinki.cs.okkopa.mail.read.EmailRead; import fi.helsinki.cs.okkopa.mail.send.Ex...
email retry to db
src/main/java/fi/helsinki/cs/okkopa/OkkopaRunner.java
email retry to db
<ide><path>rc/main/java/fi/helsinki/cs/okkopa/OkkopaRunner.java <ide> package fi.helsinki.cs.okkopa; <ide> <ide> import com.unboundid.ldap.sdk.LDAPException; <add>import fi.helsinki.cs.okkopa.database.FailedEmailDatabase; <ide> import fi.helsinki.cs.okkopa.database.QRCodeDatabase; <ide> import fi.helsinki.cs.okkopa.de...
Java
agpl-3.0
c0b5d28a01b4c008d2e9c006aa075d557e88876a
0
duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2020 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
src/main/java/ml/duncte123/skybot/commands/guild/mod/CleanupCommand.java
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2020 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
Force cleanup timeouts to -1, fixes DUNCTEBOT-G5
src/main/java/ml/duncte123/skybot/commands/guild/mod/CleanupCommand.java
Force cleanup timeouts to -1, fixes DUNCTEBOT-G5
<ide><path>rc/main/java/ml/duncte123/skybot/commands/guild/mod/CleanupCommand.java <ide> import net.dv8tion.jda.api.entities.TextChannel; <ide> import net.dv8tion.jda.api.exceptions.ErrorResponseException; <ide> import net.dv8tion.jda.api.requests.ErrorResponse; <add>import net.dv8tion.jda.api.requests.Request; <add>im...
Java
mit
2e7d9ecd3f13befa879eb9025dd3c054a6bbb616
0
Skaito/NppUDLThemeSwitcher
package lt.realmdev.nppudlthemeswitcher; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml....
src/main/java/lt/realmdev/nppudlthemeswitcher/UDLItem.java
package lt.realmdev.nppudlthemeswitcher; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.XMLConstants; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBu...
Remove unused imports
src/main/java/lt/realmdev/nppudlthemeswitcher/UDLItem.java
Remove unused imports
<ide><path>rc/main/java/lt/realmdev/nppudlthemeswitcher/UDLItem.java <ide> import java.util.Map; <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <del>import javax.xml.XMLConstants; <ide> import javax.xml.parsers.DocumentBuilder; <ide> import javax.xml.parsers.DocumentBuilderFactory; <ide> i...
Java
bsd-2-clause
8a06d5c11d1b1209f91aa387282e13afed31d5b0
0
imagej/imagej-common
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2016 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
src/test/java/net/imagej/table/DefaultResultsTableTest.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2016 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
Add tests for inserting a row/column to ResultsTable
src/test/java/net/imagej/table/DefaultResultsTableTest.java
Add tests for inserting a row/column to ResultsTable
<ide><path>rc/test/java/net/imagej/table/DefaultResultsTableTest.java <ide> } <ide> <ide> @Test <add> public void testInsertColumn() { <add> final ResultsTable table = createTable(); <add> final Double[] values = { -0.25, 0.5, 0.625, -1.25, 0.0, 0.0325, 100.5, <add> 13.25, 110.5, -2.25, 4.625, -3.0, 100.0, 1209....
Java
apache-2.0
ed01fad0c463afd2978553d3706840e4e89b635a
0
lalaji/carbon-apimgt,rswijesena/carbon-apimgt,chamindias/carbon-apimgt,chamindias/carbon-apimgt,laki88/carbon-apimgt,thilinicooray/carbon-apimgt,Niranjan-K/carbon-apimgt,sineth-neranjana/carbon-apimgt,tharikaGitHub/carbon-apimgt,sambaheerathan/carbon-apimgt,tharindu1st/carbon-apimgt,susinda/carbon-apimgt,pradeepmuruges...
/* * Copyright WSO2 Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ScopesIssuer.java
/* * Copyright WSO2 Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
removed scopes caching
components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ScopesIssuer.java
removed scopes caching
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/ScopesIssuer.java <ide> <ide> String consumerKey = tokReqMsgCtx.getOauth2AccessTokenReqDTO().getClientId(); <ide> String username = tokReqMsgCtx.getAuthorizedUser(); <del> <del> String ...
JavaScript
mit
8eb5c0241251334bb0f226195b53d56640f2aaf2
0
Sawtaytoes/Ghadyani-Framework-Webpack-React-Redux,Sawtaytoes/Ghadyani-Framework-Webpack-React-Redux
export default (reducer, initialState) => ( (state = initialState, action) => ( reducer[action.type] ? reducer[action.type](state, action) : state ) )
src/utils/createReducer.js
export default (reducer, initialState) => (state = initialState, action) => ( reducer[action.type] ? reducer[action.type](state, action) : state )
Minor formatting change in createReducer
src/utils/createReducer.js
Minor formatting change in createReducer
<ide><path>rc/utils/createReducer.js <del>export default (reducer, initialState) => (state = initialState, action) => ( <del> reducer[action.type] <del> ? reducer[action.type](state, action) <del> : state <add>export default (reducer, initialState) => ( <add> (state = initialState, action) => ( <add> reducer[action.ty...
JavaScript
mit
a88d0335003d117d1e37335170562207fa73d44c
0
mahonrig/glry,mahonrig/glry,mahonrig/glry
/* ToDo: -Implement photo gallery -About me page */ /* Create the ember application registered to a global variable */ window.Photoworks = Ember.Application.create(); /* Using local storage fixture adapter for now, change to RESTful */ Photoworks.PhotosAdapter = DS.FixtureAdapter.extend(); Photoworks.OptionsAdapter...
js/application.js
/* ToDo: */ /* Create the ember application registered to a global variable */ window.Photoworks = Ember.Application.create(); /* Using local storage fixture adapter for now, change to RESTful */ Photoworks.PhotosAdapter = DS.FixtureAdapter.extend(); Photoworks.OptionsAdapter = DS.FixtureAdapter.extend(); Photowork...
Updating Photo data.
js/application.js
Updating Photo data.
<ide><path>s/application.js <ide> /* <ide> ToDo: <del> <add> -Implement photo gallery <add> -About me page <ide> <ide> */ <ide> /* Create the ember application registered to a global variable */ <ide> { <ide> id: 1, <ide> type: 'Print', <add> size: '8x12', <add> price: 50 <add> }, <add> { <add> id: 2, <add> ...
Java
apache-2.0
7af38385c5d069bcec9bdfe3b8b1babaf65a6b59
0
apache/incubator-taverna-engine,apache/incubator-taverna-engine
/******************************************************************************* * Copyright (C) 2007 The University of Manchester * * Modifications to the initial code base are copyright of their * respective authors, or their employers as appropriate. * * This program is free software; you can redistrib...
credential-manager/src/main/java/net/sf/taverna/t2/security/credentialmanager/CredentialManager.java
/******************************************************************************* * Copyright (C) 2007 The University of Manchester * * Modifications to the initial code base are copyright of their * respective authors, or their employers as appropriate. * * This program is free software; you can redistrib...
corrected a typo in a comment git-svn-id: 43cdacd7b689315367422a18859344a18d686e0c@8606 bf327186-88b3-11dd-a302-d386e5130c1c
credential-manager/src/main/java/net/sf/taverna/t2/security/credentialmanager/CredentialManager.java
corrected a typo in a comment
<ide><path>redential-manager/src/main/java/net/sf/taverna/t2/security/credentialmanager/CredentialManager.java <ide> System.setProperty("javax.net.ssl.trustStore", truststoreFile.getAbsolutePath()); <ide> System.setProperty("javax.net.ssl.trustStorePassword", masterPassword); <ide> // Taverna distro for MAC conta...
Java
agpl-3.0
c97b6b7a392203764fe5e57f19dedfcdda64c4a0
0
Peergos/Peergos,Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos,ianopolous/Peergos
package peergos.server.tests; import org.junit.Assert; import peergos.server.*; import peergos.server.storage.ResetableFileInputStream; import peergos.shared.Crypto; import peergos.shared.NetworkAccess; import peergos.shared.crypto.symmetric.SymmetricKey; import peergos.shared.social.*; import peergos.shared.user.*; i...
src/peergos/server/tests/PeergosNetworkUtils.java
package peergos.server.tests; import org.junit.Assert; import peergos.server.*; import peergos.server.storage.ResetableFileInputStream; import peergos.shared.Crypto; import peergos.shared.NetworkAccess; import peergos.shared.crypto.symmetric.SymmetricKey; import peergos.shared.social.*; import peergos.shared.user.*; i...
Fix some timeline tests
src/peergos/server/tests/PeergosNetworkUtils.java
Fix some timeline tests
<ide><path>rc/peergos/server/tests/PeergosNetworkUtils.java <ide> <ide> // check 'a' can see the shared file in their social feed <ide> SocialFeed feed = a.getSocialFeed().join(); <del> List<SharedItem> items = feed.getShared(0, 1, a.crypto, a.network).join(); <add> int feedSize = 3; <add...
Java
apache-2.0
c3bd54045425930901062df9fe3da0a8b96fcd74
0
openfurther/further-open-core,openfurther/further-open-core
/** * Copyright (C) [2013] [The FURTHeR Project] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
fqe/fqe-ds-model/fqe-ds-further-model/src/main/java/edu/utah/further/fqe/ds/model/further/export/CsvExporterImpl.java
/** * Copyright (C) [2013] [The FURTHeR Project] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
CSV Export, Person refactor: add no-code columns to export
fqe/fqe-ds-model/fqe-ds-further-model/src/main/java/edu/utah/further/fqe/ds/model/further/export/CsvExporterImpl.java
CSV Export, Person refactor: add no-code columns to export
<ide><path>qe/fqe-ds-model/fqe-ds-further-model/src/main/java/edu/utah/further/fqe/ds/model/further/export/CsvExporterImpl.java <ide> */ <ide> private static final String NOT_FOUND = "NOT_FOUND"; <ide> <add> /** <add> * Strings used to find Demographic map entries <add> */ <add> public static final String GENDER...
Java
apache-2.0
dd3c0ffadb4aedfacb6f7f435ea3d07ec0db1c58
0
IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
snomed/com.b2international.snowowl.snomed.api.impl/src/com/b2international/snowowl/snomed/api/impl/traceability/SnomedTraceabilityChangeProcessor.java
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
[snomed] Also check if detached components included at least one item... ...of relevance in SnomedTraceabilityChangeProcessor
snomed/com.b2international.snowowl.snomed.api.impl/src/com/b2international/snowowl/snomed/api/impl/traceability/SnomedTraceabilityChangeProcessor.java
[snomed] Also check if detached components included at least one item...
<ide><path>nomed/com.b2international.snowowl.snomed.api.impl/src/com/b2international/snowowl/snomed/api/impl/traceability/SnomedTraceabilityChangeProcessor.java <ide> import java.util.TimeZone; <ide> <ide> import org.apache.lucene.document.Document; <add>import org.apache.lucene.search.Filter; <ide> import org.apache....
JavaScript
mit
d23d8ea288e4bb440d51ff3ecf32b271b3d698a5
0
wibron/helg
'use strict'; var assert = require('assert'), timeKeeper = require('timekeeper'), helg = require('./'); var wednesday = new Date(1414580400000), saturday = new Date(1414839600000), friday = new Date(1414771500000), sunday = new Date(1414926000000); describe('Helg', function () { describe('When ...
test.js
'use strict'; var assert = require('assert'), timeKeeper = require('timekeeper'), helg = require('./'); var wednesday = new Date(1414580400000), saturday = new Date(1414839600000), sunday = new Date(1414926000000), friday = new Date(1414771500000); describe('Helg', function () { describe('When ...
Swap lines
test.js
Swap lines
<ide><path>est.js <ide> <ide> var wednesday = new Date(1414580400000), <ide> saturday = new Date(1414839600000), <del> sunday = new Date(1414926000000), <del> friday = new Date(1414771500000); <add> friday = new Date(1414771500000), <add> sunday = new Date(1414926000000); <ide> <ide> describe('Helg', ...
Java
lgpl-2.1
ef7d5d5be7c4ea13d4353e2747b97f50d0505271
0
mediaworx/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,MenZil/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,ggiudetti/opencms-core,it-tavis/opencms-core,it-tavis/opencms-core,serrapos/opencms-core,MenZil/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,gallardo/opencms-cor...
/* * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/gwt/client/util/Attic/CmsDomUtil.java,v $ * Date : $Date: 2010/04/01 13:45:32 $ * Version: $Revision: 1.9 $ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (http...
src-modules/org/opencms/gwt/client/util/CmsDomUtil.java
/* * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/gwt/client/util/Attic/CmsDomUtil.java,v $ * Date : $Date: 2010/04/01 09:25:36 $ * Version: $Revision: 1.8 $ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (http...
new style values added
src-modules/org/opencms/gwt/client/util/CmsDomUtil.java
new style values added
<ide><path>rc-modules/org/opencms/gwt/client/util/CmsDomUtil.java <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/gwt/client/util/Attic/CmsDomUtil.java,v $ <del> * Date : $Date: 2010/04/01 09:25:36 $ <del> * Version: $Revision: 1.8 $ <add> * Date : $Date: 2010/04/01 13:45:32 $ <add>...
Java
apache-2.0
error: pathspec 'src/projet_poo2/Calcul.java' did not match any file(s) known to git
5093ddb43b089189aaa789da3a7f7659a91eaa4c
1
jeje22/projet_poo2
package projet_poo2; public class Calcul { public static boolean correlation() { boolean res=false; int N=IHM.pictures[0].width/2-1; int P=IHM.pictures[0].height/2-1; int K=(2*N+1)*(2*P+1); if(IHM.reference.get(0).size()==IHM.reference.get(1).size()) { for(int k=0;k<IHM.reference.get(0).size(...
src/projet_poo2/Calcul.java
ajout de calcul non fonctionnel
src/projet_poo2/Calcul.java
ajout de calcul non fonctionnel
<ide><path>rc/projet_poo2/Calcul.java <add>package projet_poo2; <add> <add>public class Calcul <add>{ <add> public static boolean correlation() <add> { <add> boolean res=false; <add> int N=IHM.pictures[0].width/2-1; <add> int P=IHM.pictures[0].height/2-1; <add> <add> int K=(2*N+1)*(2*P+1); <add> <add> <add> ...
JavaScript
mit
ac51da47deee0b55c93c15bd4ce93803df52c396
0
juco/tinker,foreachlt/tinker
var express = require('express') , app = express(); // Config app.set('port', process.env.PORT || 3000); app.set('secret', process.env.SECRET || 'tinker'); app.set('github_token', process.env.TOKEN || 'token'); // Routes app.get('/', function(req, res) { res.status(200).end(); }); app.post('/tinker', function(re...
index.js
var express = require('express') , app = express(); // Config app.set('port', process.env.PORT || 3000); app.set('secret', process.env.SECRET || 'tinker'); app.set('github_token', process.env.TOKEN || 'token'); // Routes app.get('/', function(req, res) { res.status(200).end(); }); app.get('/payload', function(re...
Minor
index.js
Minor
<ide><path>ndex.js <ide> res.status(200).end(); <ide> }); <ide> <del>app.get('/payload', function(req, res) { <del> res.status(200).end(); <del>}); <del> <del>app.get('/ping', function(req, res) { <add>app.post('/tinker', function(req, res) { <ide> res.status(200).end(); <ide> }); <ide>
Java
apache-2.0
dbe52b471c55af380860f1d473d2fa229fd4013f
0
eskatos/swing-on-steroids
package org.codeartisans.java.sos.threading; import com.google.inject.Inject; import com.google.inject.name.Named; import java.util.LinkedList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.codeartisans.java.toolbox.exceptions.NullArgumentException; public class DefaultWorkQueue implemen...
src/main/java/org/codeartisans/java/sos/threading/DefaultWorkQueue.java
package org.codeartisans.java.sos.threading; import com.google.inject.Inject; import com.google.inject.Singleton; import com.google.inject.name.Named; import java.util.LinkedList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.codeartisans.java.toolbox.exceptions.NullArgumentException; @Singleton...
removed a @Singleton annotation from DefaultWorkQueue
src/main/java/org/codeartisans/java/sos/threading/DefaultWorkQueue.java
removed a @Singleton annotation from DefaultWorkQueue
<ide><path>rc/main/java/org/codeartisans/java/sos/threading/DefaultWorkQueue.java <ide> package org.codeartisans.java.sos.threading; <ide> <ide> import com.google.inject.Inject; <del>import com.google.inject.Singleton; <ide> import com.google.inject.name.Named; <ide> import java.util.LinkedList; <ide> import org.slf4j...
Java
apache-2.0
90e5f442e0ae827f959d07b3fa191cecd98334a6
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
set a lower threshold for enterprise metrics
core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java
set a lower threshold for enterprise metrics
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java <ide> "emterprise.metrics.max", <ide> "Top limit of number of metrics that the enterprise edition can keep in memory", <ide> Integer.class, <del> 10000, <add> 2500, <ide> false, <ide> ...
JavaScript
mit
1d97976ec1072614358688e4b0b30968af4f40a1
0
hiulit/Phytoplankton,hiulit/Phytoplankton
Vue.component('menu-item', { props: ['menu'], template: '<li class="phytoplankton-menu__list__item">' + '<div class="phytoplankton-menu__list__item__header">' + '{{ menu.title }}' + '</div>' + '<ul class="phytoplankton-menu__list">' + '<li cl...
scripts/main.js
Vue.component('menu-item', { props: ['menu'], template: '<li class="phytoplankton-menu__list__item">' + '<div class="phytoplankton-menu__list__item__header">' + '{{ menu.title }}' + '</div>' + '<ul class="phytoplankton-menu__list">' + '<li cl...
Finishing menu
scripts/main.js
Finishing menu
<ide><path>cripts/main.js <ide> url: '', <ide> docs: '', <ide> code: '', <del> blocks: [] <add> blocks: [], <add> headings: [] <ide> }, <ide> beforeCreate: function () { <ide> console.log('beforeCreate'); <ide> pre[i].classList.add('line-numbers'); <ide> } <ide> <del> // funct...
Java
mit
cf4ec6c272ddc3fb49436d7c95d64cb9863b82a7
0
project-recoin/PybossaTwitterController,project-recoin/PybossaTwitterController
package sociam.pybossa; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.LinkedHashSet; i...
src/main/java/sociam/pybossa/TaskCreator.java
package sociam.pybossa; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.LinkedHashSet; i...
limit tasks retrieval to 200
src/main/java/sociam/pybossa/TaskCreator.java
limit tasks retrieval to 200
<ide><path>rc/main/java/sociam/pybossa/TaskCreator.java <ide> try { <ide> <ide> FindIterable<Document> iterable = binsDatabase.getCollection( <del> collectionName).find(); <add> collectionName).find().limit(200); <ide> if (iterable.first() != null) { <ide> iterable.forEach(new Block<Document>() { <...
JavaScript
mit
84b87f6f9848dfa3bc7e85a6b850630283a89d12
0
JakeChampion/polyfill-service,JakeChampion/polyfill-service
/* eslint-env mocha */ "use strict"; const axios = require("axios"); const proclaim = require("proclaim"); const host = require("../helpers").host; describe("https://github.com/Financial-Times/polyfill-service/issues/1922", function() { this.timeout(30000); describe(`GET ${host}/v3/normalise_querystring_parameters...
test/integration/regression/gh-1922.test.js
/* eslint-env mocha */ "use strict"; const axios = require("axios"); const proclaim = require("proclaim"); const host = require("../helpers").host; describe("https://github.com/Financial-Times/polyfill-service/issues/1922", function() { this.timeout(30000); describe(`GET ${host}/v3/normalise_querystring_parameters...
fix linting
test/integration/regression/gh-1922.test.js
fix linting
<ide><path>est/integration/regression/gh-1922.test.js <ide> this.timeout(30000); <ide> describe(`GET ${host}/v3/normalise_querystring_parameters_for_polyfill_bundle?callback=&compression=br&excludes=&features=IntersectionObserver%2Cdefault%2Cfetch&flags=&rum=0&ua=chrome%2F72.0.0&unknown=ignore&version=3.25.1`, functi...
Java
apache-2.0
b5b1f5960cca38ab82c3c3cefcf669de1dfe37b9
0
lucafavatella/intellij-community,salguarnieri/intellij-community,supersven/intellij-community,diorcety/intellij-community,lucafavatella/intellij-community,michaelgallacher/intellij-community,fitermay/intellij-community,michaelgallacher/intellij-community,TangHao1987/intellij-community,kool79/intellij-community,Lekanich...
package com.intellij.localvcs.integration; import com.intellij.localvcs.ILocalVcs; import com.intellij.openapi.vfs.VirtualFile; import java.io.IOException; // todo synchronization public abstract class ServiceState { protected ServiceStateHolder myHolder; protected ILocalVcs myVcs; protected IdeaGateway myGate...
LocalVcs/src/com/intellij/localvcs/integration/ServiceState.java
package com.intellij.localvcs.integration; import com.intellij.localvcs.ILocalVcs; import com.intellij.openapi.vfs.VirtualFile; import java.io.IOException; // todo synchronization public abstract class ServiceState { protected ServiceStateHolder myHolder; protected ILocalVcs myVcs; protected IdeaGateway myGate...
-more verbose exception logging
LocalVcs/src/com/intellij/localvcs/integration/ServiceState.java
-more verbose exception logging
<ide><path>ocalVcs/src/com/intellij/localvcs/integration/ServiceState.java <ide> } <ide> <ide> public void startRefreshing() { <del> throw new IllegalStateException(); <add> illegalState(); <ide> } <ide> <ide> public void finishRefreshing() { <del> throw new IllegalStateException(); <add> illegalS...
Java
apache-2.0
9cff3164ff568593c14e4e4906b93294251b3006
0
hbs/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
warp10/src/main/java/io/warp10/continuum/gts/GTSWrapperHelper.java
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
Added method rewrap
warp10/src/main/java/io/warp10/continuum/gts/GTSWrapperHelper.java
Added method rewrap
<ide><path>arp10/src/main/java/io/warp10/continuum/gts/GTSWrapperHelper.java <ide> <ide> return id; <ide> } <add> <add> /** <add> * Method used to rewrap a GTSWrapper, typically to change the compression settings. <add> * <add> * @param wrapper <add> * @param compress <add> * @param compratio <...
Java
apache-2.0
df126d73f88cf35680b8f9d5ee05bbf6e41da0ef
0
killjoy1221/HD-Font-Generator
package mnm.hdfontgen.pack; import mnm.hdfontgen.bitmap.BitmapFontGenerator; import mnm.hdfontgen.legacy.LegacyFontGenerator; public enum PackFormat { V1(1, "1.6.1", "1.8.9", LegacyFontGenerator::new), V2(2, "1.9", "1.10.2", LegacyFontGenerator::new), V3(3, "1.11", "1.12.2", LegacyFontGenerator::new), ...
src/main/java/mnm/hdfontgen/pack/PackFormat.java
package mnm.hdfontgen.pack; import mnm.hdfontgen.bitmap.BitmapFontGenerator; import mnm.hdfontgen.legacy.LegacyFontGenerator; public enum PackFormat { V1(1, "1.6.1", "1.8.9", LegacyFontGenerator::new), V2(2, "1.9", "1.10.2", LegacyFontGenerator::new), V3(3, "1.11", "1.12.2", LegacyFontGenerator::new), ...
Fix error when generating fonts for 1.17+
src/main/java/mnm/hdfontgen/pack/PackFormat.java
Fix error when generating fonts for 1.17+
<ide><path>rc/main/java/mnm/hdfontgen/pack/PackFormat.java <ide> V4(4, "1.13", "1.14.4", BitmapFontGenerator::new), <ide> V5(5, "1.15", "1.16.1", BitmapFontGenerator::new), <ide> V6(6, "1.16.2", "1.16.5", BitmapFontGenerator::new), <del> V7(7, "1.17", "?", BitmapFontGenerator::new), <add> V7(7, "1.17"...
Java
apache-2.0
403f22ac4e2b1ff1cd0ad6f0d465cedd08d8d3cf
0
googleinterns/step188-2020,googleinterns/step188-2020,googleinterns/step188-2020
package com.google.sps.data; import java.util.Set; public final class VolunteeringOpportunity { private String name; private Set<String> skillsRequired; private int numSpotsLeft; private Set<User> volunteers; public VolunteeringOpportunity( String name, Set<String> requiredSkills, int numSpotsLeft, S...
project/src/main/java/com/google/sps/data/VolunteeringOpportunity.java
package com.google.sps.data; import java.util.Set; public final class VolunteeringOpportunity { private String name; private Set<String> skillsRequired; private int numSpotsLeft; private Set<User> volunteers; public VolunteeringOpportunity( String name, Set<String> requiredSkills, int numSpotsLeft, ...
Fix style.
project/src/main/java/com/google/sps/data/VolunteeringOpportunity.java
Fix style.
<ide><path>roject/src/main/java/com/google/sps/data/VolunteeringOpportunity.java <ide> private Set<User> volunteers; <ide> <ide> public VolunteeringOpportunity( <del> String name, Set<String> requiredSkills, int numSpotsLeft, Set<User> volunteers) { <add> String name, Set<String> requiredSkills, int num...
JavaScript
apache-2.0
49a0765bd344e2aec32fda1b6512a7b2da863ce9
0
sumalla/speech-to-text-nodejs,cemoulto/speech-to-text-nodejs,olegka311/FirstKnApp,watson-developer-cloud/speech-to-text-nodejs,ReachingOut/speech-to-text-nodejs,ofer43211/speech-to-text-nodejs,shahnikita/speech-to-text-nodejs,abrichr/speech-to-text-nodejs,cemoulto/speech-to-text-nodejs,JeffreyTerry/butterfly,nothinkels...
/** * Copyright 2014 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
public/js/demo.js
/** * Copyright 2014 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Checkpoint commit; change init method to accept content type
public/js/demo.js
Checkpoint commit; change init method to accept content type
<ide><path>ublic/js/demo.js <ide> transcript = $('#text'), <ide> errorMsg = $('.errorMsg'); <ide> <del> // Test out CORS <del> // var url = 'https://stream-d.watsonplatform.net/speech-to-text-beta/api/v1/models'; <del> // var request = new XMLHttpRequest(); <del> // request.open("GET", url, true); <del> /...
JavaScript
apache-2.0
7bd15a439002d8ec322d964f9446ef7763f04265
0
mobyourlife/mobv3,mobyourlife/mobv3,mobyourlife/mobv3
'use strict'; var FB = require('fb'); var moment = require('moment'); var unirest = require('unirest'); var URL = require('url-parse'); var ua = require('universal-analytics'); var Domain = require('../../models/domain'); var Fanpage = require('../../models/fanpage'); var Feed = require('../../models/feed'); var Tick...
core/controllers/api/index.js
'use strict'; var FB = require('fb'); var moment = require('moment'); var unirest = require('unirest'); var URL = require('url-parse'); var ua = require('universal-analytics'); var Domain = require('../../models/domain'); var Fanpage = require('../../models/fanpage'); var Feed = require('../../models/feed'); var Tick...
Corrigindo caminho dos jobs.
core/controllers/api/index.js
Corrigindo caminho dos jobs.
<ide><path>ore/controllers/api/index.js <ide> <ide> /* jobs to be run after new website creation */ <ide> var jobs = []; <del>jobs.push(require('./jobs/new-site-created')); <del>jobs.push(require('./jobs/update-page-info')); <del>jobs.push(require('./jobs/update-profile-picture')); <del>jobs.push(require('./jobs/sync-...