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
JavaScript
apache-2.0
669149936b3ca8444311becd7c942f7583bded0a
0
foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.medusa', name: 'MedusaAdapterDAO', extends: 'foam.dao.ProxyDAO', implements: [ // 'foam.nanos.boot.NSpecAware', ], documentation: `Create a medus...
src/foam/nanos/medusa/MedusaAdapterDAO.js
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.medusa', name: 'MedusaAdapterDAO', extends: 'foam.dao.ProxyDAO', implements: [ // 'foam.nanos.boot.NSpecAware', ], documentation: `Create a medus...
Add additional PMs
src/foam/nanos/medusa/MedusaAdapterDAO.js
Add additional PMs
<ide><path>rc/foam/nanos/medusa/MedusaAdapterDAO.js <ide> <ide> ClusterCommand cmd = new ClusterCommand(x, getNSpec().getName(), DOP.PUT, obj); <ide> getLogger().debug("put", "client", "cmd", obj.getProperty("id"), "send"); <add> PM pm = PM.create(x, this.getClass().getSimpleName(), "cmd"); <ide> ...
Java
apache-2.0
7e9cafd80c0fdf899ac1622b4a364fba39d52505
0
rukor/Hystrix,tvaughan77/Hystrix,davidkarlsen/Hystrix,hcheung/Hystrix,pcssi/Hystrix,npccsb/Hystrix,liyuqi/Hystrix,liyuqi/Hystrix,jforge/Hystrix,justinjose28/Hystrix,mebigfatguy/Hystrix,mattrjacobs/Hystrix,davidkarlsen/Hystrix,justinjose28/Hystrix,agentgt/Hystrix,Siddartha07/Hystrix,mickdwyer/Hystrix,jordancheah/Hystrix...
/** * Copyright 2012 Netflix, 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...
hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java
/** * Copyright 2012 Netflix, 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...
Do not record execution duration in the case of a timeout as it may override the duration stored previously by the timer tick
hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java
Do not record execution duration in the case of a timeout as it may override the duration stored previously by the timer tick
<ide><path>ystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java <ide> <ide> @Override <ide> public R call() throws Exception { <add> boolean recordDuration = true; <ide> try { <ide> // assign 'callingThread' to our...
Java
mit
8307cecfc2521dd55717621b3c84d6a48bad1481
0
PLOS/wombat,PLOS/wombat,PLOS/wombat,PLOS/wombat
package org.ambraproject.wombat.service.remote; import org.ambraproject.wombat.model.SearchFilter; import org.ambraproject.wombat.model.SearchFilterFactory; import org.springframework.beans.factory.annotation.Autowired; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util...
src/main/java/org/ambraproject/wombat/service/remote/SearchFilterService.java
package org.ambraproject.wombat.service.remote; import org.ambraproject.wombat.model.SearchFilter; import org.ambraproject.wombat.model.SearchFilterFactory; import org.springframework.beans.factory.annotation.Autowired; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util...
DPRO-1502: Remove state from SearchFilterService to avoid race conditions Kept each instance of the 'filters' field as a local variable, so that two threads sharing the service bean won't assign to it concurrently.
src/main/java/org/ambraproject/wombat/service/remote/SearchFilterService.java
DPRO-1502: Remove state from SearchFilterService to avoid race conditions
<ide><path>rc/main/java/org/ambraproject/wombat/service/remote/SearchFilterService.java <ide> <ide> private final String JOURNAL = "journal"; <ide> <del> private Map<String, SearchFilter> filters; <del> <ide> private final String JOURNAL_FACET_FIELD = "cross_published_journal_name"; <ide> <ide> public Map<?,?...
Java
apache-2.0
error: pathspec 'intro-to-java/src/main/java/eca/util/UserInputUtil.java' did not match any file(s) known to git
414d1ba69e2222f1b02fb64e71216d296caa71de
1
Ben-Woolley/java-for-beginners
package eca.util; import java.util.Scanner; public class UserInputUtil { private static final Scanner SCANNER = new Scanner(System.in); public static String readLine() { return SCANNER.nextLine(); } public static Integer readInteger() { String lineAsString = SCANNER.nextLine(); ...
intro-to-java/src/main/java/eca/util/UserInputUtil.java
Create UserInputUtil so students can get stuff from the console easily.
intro-to-java/src/main/java/eca/util/UserInputUtil.java
Create UserInputUtil so students can get stuff from the console easily.
<ide><path>ntro-to-java/src/main/java/eca/util/UserInputUtil.java <add>package eca.util; <add> <add>import java.util.Scanner; <add> <add>public class UserInputUtil { <add> <add> private static final Scanner SCANNER = new Scanner(System.in); <add> <add> public static String readLine() { <add> return SCANNER...
Java
apache-2.0
691002c9591bdfe2b32137fb2b0466c0f0a957f3
0
yokmama/honki_android
package com.yokmama.learn10.chapter09.lesson40; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx....
Chapter09/Lesson40/core/src/com/yokmama/learn10/chapter09/lesson40/MyGdxGame.java
package com.yokmama.learn10.chapter09.lesson40; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Animation; import com.badlogic.gdx.graph...
OrthoraphicCameraで多解像度対応
Chapter09/Lesson40/core/src/com/yokmama/learn10/chapter09/lesson40/MyGdxGame.java
OrthoraphicCameraで多解像度対応
<ide><path>hapter09/Lesson40/core/src/com/yokmama/learn10/chapter09/lesson40/MyGdxGame.java <ide> import com.badlogic.gdx.Gdx; <ide> import com.badlogic.gdx.graphics.Color; <ide> import com.badlogic.gdx.graphics.GL20; <add>import com.badlogic.gdx.graphics.OrthographicCamera; <ide> import com.badlogic.gdx.graphics.Textu...
Java
apache-2.0
20a02f60720ce4d614a773c387fc70f408f30e38
0
FHannes/intellij-community,xfournet/intellij-community,ivan-fedorov/intellij-community,FHannes/intellij-community,asedunov/intellij-community,blademainer/intellij-community,ibinti/intellij-community,mglukhikh/intellij-community,youdonghai/intellij-community,youdonghai/intellij-community,MER-GROUP/intellij-community,jag...
package org.jetbrains.idea.svn.properties; import com.intellij.openapi.diagnostic.Attachment; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.vcs.VcsException; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jetbrains.idea.svn.SvnUtil; import o...
plugins/svn4idea/src/org/jetbrains/idea/svn/properties/CmdPropertyClient.java
package org.jetbrains.idea.svn.properties; import com.intellij.openapi.diagnostic.Attachment; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.vcs.VcsException; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jetbrains.idea.svn.SvnUtil; import o...
IDEA-141977 IDEA-141935 IDEA-141979 Fixed "property not found" error handling (that could be thrown by svn 1.9 command line client)
plugins/svn4idea/src/org/jetbrains/idea/svn/properties/CmdPropertyClient.java
IDEA-141977 IDEA-141935 IDEA-141979 Fixed "property not found" error handling (that could be thrown by svn 1.9 command line client)
<ide><path>lugins/svn4idea/src/org/jetbrains/idea/svn/properties/CmdPropertyClient.java <ide> import org.jetbrains.idea.svn.SvnUtil; <ide> import org.jetbrains.idea.svn.api.BaseSvnClient; <ide> import org.jetbrains.idea.svn.api.Depth; <del>import org.jetbrains.idea.svn.commandLine.Command; <del>import org.jetbrains.ide...
JavaScript
mit
013dc444023a8d46afd1218f02f79edea3ee47eb
0
larsonjj/yeogurt-dashboard-example,larsonjj/yeogurt-dashboard-example
'use strict'; export default class Header { constructor() { console.log('Header module'); } }
src/_modules/header/header.js
'use strict'; var init = function() { // Intialize module }; module.exports = init;
Update header.js
src/_modules/header/header.js
Update header.js
<ide><path>rc/_modules/header/header.js <ide> 'use strict'; <ide> <del>var init = function() { <del> // Intialize module <del>}; <del> <del>module.exports = init; <del> <add>export default class Header { <add> constructor() { <add> console.log('Header module'); <add> } <add>}
JavaScript
mit
7cbf20654b761d8b267630bdf82cccc2a3b8dd52
0
charredgrass/raocsgo-discord-bot,charredgrass/raocsgo-discord-bot
//text modifiers function center(text, space) { if (text.length > space) return text.substring(0, space); let empty = space - text.length; return " ".repeat(Math.floor(empty / 2)) + text + " ".repeat(Math.ceil(empty / 2)); } function generateGrave(name, subn, lines) { let ret = "``` ________________\n"...
lib/utils.js
//text modifiers function center(text, space) { if (text.length > space) return text.substring(0, space); let empty = space - text.length; return " ".repeat(Math.floor(empty / 2)) + text + " ".repeat(Math.ceil(empty / 2)); } function generateGrave(name, subn, lines) { let ret = "``` ________________\n"...
export flagify
lib/utils.js
export flagify
<ide><path>ib/utils.js <ide> generateGrave, <ide> getNextRaidTime, <ide> timeTil, <del> millisToMinutes <add> millisToMinutes, <add> flagify <ide> };
Java
mit
781a6d576ca1c0f3c65cd92f0c03119ef27efbef
0
pangratz/physiotoolkit-wrapper,pangratz/physiotoolkit-wrapper
package at.jku.pervasive.ecg.wfdb; import java.io.File; import org.joda.time.LocalTime; public class HrvTest extends PhysioToolkitTestCase { public void testBaseDirectoryForRecord() throws Exception { File chf03 = getWFDBFile("/chf03.dat"); HRVOptions options = new HRVOptions("chf03", "ecg"); options....
src/test/java/at/jku/pervasive/ecg/wfdb/HrvTest.java
package at.jku.pervasive.ecg.wfdb; import java.io.File; import org.joda.time.LocalTime; public class HrvTest extends PhysioToolkitTestCase { public void testBaseDirectoryForRecord() throws Exception { File chf03 = getWFDBFile("/chf03.dat"); HRVOptions options = new HRVOptions("chf03", "ecg"); options....
fix failing tests by removing "test" file from HeartMan
src/test/java/at/jku/pervasive/ecg/wfdb/HrvTest.java
fix failing tests by removing "test" file from HeartMan
<ide><path>rc/test/java/at/jku/pervasive/ecg/wfdb/HrvTest.java <ide> assertNotNull(hrv); <ide> assertEquals(0.892769, hrv.getAVNN(), 0.000001D); <ide> assertEquals(0.0612485, hrv.getSDNN(), 0.000001D); <del> } <del> <del> public void testHrv() throws Exception { <del> File testFile = getWFDBFile("/test...
Java
apache-2.0
4d9e0cae641b3e22142f0b8183729bb77028d581
0
wso2-extensions/identity-governance
/* * * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/signup/UserSelfRegistrationManager.java
/* * * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
Not set account_unlocked after confirming the email
components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/signup/UserSelfRegistrationManager.java
Not set account_unlocked after confirming the email
<ide><path>omponents/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/signup/UserSelfRegistrationManager.java <ide> //Set account verified time claim. <ide> userClaims.put(IdentityRecoveryConstants.ACCOUNT_CONFIRMED_TIME_CLAIM, Instant.now().toString()); <ide> <del> ...
Java
bsd-3-clause
22bb08f7b5b7f39dac33db535809681a4d9cc3f7
0
UndefinedOffset/eclipse-silverstripedt
package ca.edchipman.silverstripepdt.language; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import org.eclipse.core.fil...
ca.edchipman.silverStripePDT/src/ca/edchipman/silverstripepdt/language/LanguageModelContainer.java
package ca.edchipman.silverstripepdt.language; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import org.eclipse.core.fil...
Removed unused todo
ca.edchipman.silverStripePDT/src/ca/edchipman/silverstripepdt/language/LanguageModelContainer.java
Removed unused todo
<ide><path>a.edchipman.silverStripePDT/src/ca/edchipman/silverstripepdt/language/LanguageModelContainer.java <ide> update=(sourceVersionString==null || targetVersionString==null); <ide> if(!update) { <ide> update = !sourceVersionString.equals(targetVersion...
Java
apache-2.0
84b20d1c18558f38ccd22e7b34da4966042a630e
0
zrccxyb62/hadoop,zrccxyb62/hadoop,zrccxyb62/hadoop,zrccxyb62/hadoop,zrccxyb62/hadoop,zrccxyb62/hadoop,zrccxyb62/hadoop
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
HDFS-10945. Fix the Findbugwaring FSNamesystem#renameTo() in branch-2. Contributed by Brahma Reddy Battula.
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
HDFS-10945. Fix the Findbugwaring FSNamesystem#renameTo() in branch-2. Contributed by Brahma Reddy Battula.
<ide><path>adoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java <ide> if (success) { <ide> getEditLog().logSync(); <ide> } <del> logAuditEvent(success, "rename", src, dst, <del> ret == null ? null : ret.auditStat); <add> logAuditEvent(success, ...
Java
bsd-3-clause
7e522e3570c639ab1ed3f1a12f62b61b0bf07d76
0
GerdHolz/TOVAL
/* * Copyright (c) 2015, Thomas Stocker * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the disclaimer * below) provided that the following conditions are met: * * * Redistributions of source code must ret...
src/de/invation/code/toval/os/WindowsRegistry.java
/* * Copyright (c) 2015, Thomas Stocker * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the disclaimer * below) provided that the following conditions are met: * * * Redistributions of source code must ret...
- transferred method declarations from static fields to an enumeration
src/de/invation/code/toval/os/WindowsRegistry.java
- transferred method declarations from static fields to an enumeration
<ide><path>rc/de/invation/code/toval/os/WindowsRegistry.java <ide> private static final int ERROR_FILE_NOT_FOUND = 2; <ide> private static final int ERROR_SUCCESS = 0; <ide> <del> private static final Method REG_CLOSE_KEY = getMethod("WindowsRegCloseKey", int.class); <del> private static final Method REG...
JavaScript
apache-2.0
ccd3449fc451ae0b6e3a48ab01a74d02318e3dc2
0
rschacher777/catalog-api-toolchain-demo-1455025323651,hmagph/catalog-api-toolchain-demo-1455632226036,hmagph/catalog-api-feb11-06-master,skaegi/catalog-api-demo3-1455257362088,hmagph/catalog-api-toolchain-demo-1455543618362,vjkaranth/catalog-api-toolchain-proof-of-concept,hmagph/catalog-api-toolchain-demo-feb10-02maste...
var express = require('express'); var bodyParser = require('body-parser'); var cfenv = require("cfenv"); var path = require('path'); var cors = require('cors');l //Setup Cloudant Service. var appEnv = cfenv.getAppEnv(); cloudantService = appEnv.getService("myMicroservicesCloudant"); var items = require('./routes/items...
app.js
var express = require('express'); var bodyParser = require('body-parser'); var cfenv = require("cfenv"); var path = require('path'); var cors = require('cors'); //Setup Cloudant Service. var appEnv = cfenv.getAppEnv(); cloudantService = appEnv.getService("myMicroservicesCloudant"); var items = require('./routes/items'...
comment out loadTest endpoint
app.js
comment out loadTest endpoint
<ide><path>pp.js <ide> var bodyParser = require('body-parser'); <ide> var cfenv = require("cfenv"); <ide> var path = require('path'); <del>var cors = require('cors'); <add>var cors = require('cors');l <ide> <ide> //Setup Cloudant Service. <ide> var appEnv = cfenv.getAppEnv(); <ide> app.get('/db/:option', items.dbOptio...
Java
apache-2.0
cc8463611001d57b379cbc5d85e25378b6caa6a0
0
ouit0408/sakai,conder/sakai,ouit0408/sakai,zqian/sakai,bzhouduke123/sakai,hackbuteer59/sakai,duke-compsci290-spring2016/sakai,zqian/sakai,frasese/sakai,kwedoff1/sakai,surya-janani/sakai,OpenCollabZA/sakai,clhedrick/sakai,puramshetty/sakai,lorenamgUMU/sakai,Fudan-University/sakai,kwedoff1/sakai,conder/sakai,puramshetty/...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/util/DateHandlerWithNull.java $ * $Id: DateHandlerWithNull.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $ ***************...
samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/util/DateHandlerWithNull.java
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/util/DateHandlerWithNull.java $ * $Id: DateHandlerWithNull.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $ ***************...
SAK-6379 git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@16928 66ffb92e-73f9-0310-93c1-f5514f145a0a
samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/util/DateHandlerWithNull.java
SAK-6379
<ide><path>amigo/samigo-services/src/java/org/sakaiproject/tool/assessment/util/DateHandlerWithNull.java <ide> { "--", "1", "2", "3", "4", "5", "6", "7", "8", "9", " 10", "11", "12" }; <ide> private String[] hourArray = <ide> { <del> new String("01"), new String("02"), new String("03"), new String("04"), <del>...
Java
apache-2.0
c2b3720387f352f41befceafc4f5902e98738215
0
dbeaver/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * 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/LICE...
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLAutoIndentStrategy.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * 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/LICE...
#5994 Ignore keywords inside comment blocks Former-commit-id: 37fcd679bda4f6911033981ca8769fca66c86444
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLAutoIndentStrategy.java
#5994 Ignore keywords inside comment blocks
<ide><path>lugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLAutoIndentStrategy.java <ide> import org.jkiss.dbeaver.model.preferences.DBPPreferenceStore; <ide> import org.jkiss.dbeaver.model.sql.SQLConstants; <ide> import org.jkiss.dbeaver.model.sql.SQLSyntaxManager; <add>import org...
Java
apache-2.0
815ef8eda1c38149c655ca3a8332701a08095b68
0
sajithar/carbon-uuf,Shan1024/carbon-uuf,wso2/carbon-uuf,Shan1024/carbon-uuf,manuranga/carbon-uuf,manuranga/carbon-uuf,manuranga/carbon-uuf,rasika90/carbon-uuf,rasika90/carbon-uuf,this/carbon-uuf,sajithar/carbon-uuf,Shan1024/carbon-uuf,wso2/carbon-uuf,rasika90/carbon-uuf,wso2/carbon-uuf,this/carbon-uuf,manuranga/carbon-...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
uuf-core/src/main/java/org/wso2/carbon/uuf/internal/UUFAppDeployer.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
corrected log in 'init' method in UUFAppDeployer class
uuf-core/src/main/java/org/wso2/carbon/uuf/internal/UUFAppDeployer.java
corrected log in 'init' method in UUFAppDeployer class
<ide><path>uf-core/src/main/java/org/wso2/carbon/uuf/internal/UUFAppDeployer.java <ide> <ide> @Override <ide> public void init() { <del> log.info("UUFAppDeployer initialized." + this.hashCode()); <add> log.debug("UUFAppDeployer initialized."); <ide> } <ide> <ide> @Override
Java
mit
eb89ad2affc34ba93280d0e59c4251339328f75c
0
Math-Man/CodeDay,Math-Man/CodeDay,Math-Man/CodeDay
package tc.core; import javafx.scene.input.KeyCode; import processing.core.PApplet; public class AppletMain extends PApplet { int[][] ints; final int SHIFT_AMOUNT = 8; final double MOUSE_THRESHOLD = 0.05; final int WINDOWSIZE_X = 500; final int WINDOWSIZE_Y = 380; int BOARD_SIZE = 1000; int OFFSE...
Projects/ProcessingScroll/AppletMain.java
package tc.core; import javafx.scene.input.KeyCode; import processing.core.PApplet; public class AppletMain extends PApplet { public void settings() { size(512,512); } int[][] ints; final int SHIFT_AMOUNT = 8; final double MOUSE_THRESHOLD = 0.05; int OFFSETX = 0; int OFFSETY = 0; final int BOARD_S...
added error checks in couple places ok I am done.
Projects/ProcessingScroll/AppletMain.java
added error checks in couple places
<ide><path>rojects/ProcessingScroll/AppletMain.java <ide> public class AppletMain extends PApplet <ide> { <ide> <del> public void settings() <del> { <del> size(512,512); <del> } <ide> <ide> int[][] ints; <ide> final int SHIFT_AMOUNT = 8; <ide> final double MOUSE_THRESHOLD = 0.05; <add> final int WINDOWS...
Java
mit
7a4818a2a237438e0bf09b65bf24dfd4f4d57a18
0
reasonml-editor/reasonml-idea-plugin,giraud/reasonml-idea-plugin,reasonml-editor/reasonml-idea-plugin,giraud/reasonml-idea-plugin,giraud/reasonml-idea-plugin
package com.reason.bs.annotations; import java.util.ArrayList; import java.util.List; // TODO: delete that class class LineNumbering { private List<Integer> lineIndex = new ArrayList<>(); LineNumbering(CharSequence buffer) { this.lineIndex.add(0); int i = 0; while (i < buffer.length(...
src/main/java/com/reason/bs/annotations/LineNumbering.java
package com.reason.bs.annotations; import java.util.ArrayList; import java.util.List; // TODO: delete that class class LineNumbering { private List<Integer> lineIndex = new ArrayList<>(); LineNumbering(CharSequence buffer) { this.lineIndex.add(0); int i = 0; while (i < buffer.length(...
fix a potential stacktrace
src/main/java/com/reason/bs/annotations/LineNumbering.java
fix a potential stacktrace
<ide><path>rc/main/java/com/reason/bs/annotations/LineNumbering.java <ide> } <ide> <ide> Integer positionToOffset(int line, int col) { <del> return this.lineIndex.get(line) + col; <add> int size = this.lineIndex.size(); <add> return this.lineIndex.get((size <= line) ? size - 1 : line) + co...
Java
agpl-3.0
7d83f8cb0add87561a09b3cd717e23247426b5cd
0
geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-client-gwt2,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-server,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt2,geomajas/geomajas-project-client-gwt
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2011 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
plugin/geomajas-widget-advancedviews/advancedviews-gwt/src/main/java/org/geomajas/widget/advancedviews/client/widget/ExpandingThemeWidget.java
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2011 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
GAV-8: hide on moveout
plugin/geomajas-widget-advancedviews/advancedviews-gwt/src/main/java/org/geomajas/widget/advancedviews/client/widget/ExpandingThemeWidget.java
GAV-8: hide on moveout
<ide><path>lugin/geomajas-widget-advancedviews/advancedviews-gwt/src/main/java/org/geomajas/widget/advancedviews/client/widget/ExpandingThemeWidget.java <ide> <ide> import com.google.gwt.core.client.GWT; <ide> import com.google.gwt.event.shared.HandlerRegistration; <add>import com.smartgwt.client.core.Rectangle; <ide>...
Java
mit
181ce9b3bcdf993636bd13fd4588d77276432be7
0
CannibalVox/BetterStorage,TehStoneMan/BetterStorageToo,AnodeCathode/BetterStorage,Bunsan/BetterStorage,KingDarkLord/BetterStorage,skyem123/BetterStorage,copygirl/BetterStorage,RX14/BetterStorage,TehStoneMan/BetterStorage,Adaptivity/BetterStorage
package net.mcft.copy.betterstorage.item.cardboard; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.mcft.copy.betterstorage.api.crafting.ICraftingSource; import net.mcft.copy.betterstorage.api.crafting....
src/main/java/net/mcft/copy/betterstorage/item/cardboard/CardboardEnchantmentRecipe.java
package net.mcft.copy.betterstorage.item.cardboard; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.mcft.copy.betterstorage.api.crafting.ICraftingSource; import net.mcft.copy.betterstorage.api.crafting....
Organize cardboard ench. recipe and raise cost
src/main/java/net/mcft/copy/betterstorage/item/cardboard/CardboardEnchantmentRecipe.java
Organize cardboard ench. recipe and raise cost
<ide><path>rc/main/java/net/mcft/copy/betterstorage/item/cardboard/CardboardEnchantmentRecipe.java <ide> public class CardboardEnchantmentRecipe implements IStationRecipe { <ide> <ide> @Override <del> public boolean matches(ItemStack[] input) { return (getRecipeInfo(input, true) != null); } <add> public boolean matc...
Java
mit
error: pathspec 'src/main/java/leetcode/Problem909.java' did not match any file(s) known to git
0a7c72dae97c2d1ed1b8645b2fca98847c9ead09
1
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
package leetcode; /** * https://leetcode.com/problems/snakes-and-ladders/ */ public class Problem909 { public int snakesAndLadders(int[][] board) { // TODO return 0; } public static void main(String[] args) { Problem909 prob = new Problem909(); System.out.println(prob.sna...
src/main/java/leetcode/Problem909.java
Skeleton for problem 909
src/main/java/leetcode/Problem909.java
Skeleton for problem 909
<ide><path>rc/main/java/leetcode/Problem909.java <add>package leetcode; <add> <add>/** <add> * https://leetcode.com/problems/snakes-and-ladders/ <add> */ <add>public class Problem909 { <add> public int snakesAndLadders(int[][] board) { <add> // TODO <add> return 0; <add> } <add> <add> public stat...
Java
apache-2.0
b323ce15c6bfcd0368d692d8e57c8482ee41dcac
0
CMPUT301W14T07/Team7Project,CMPUT301W14T07/Team7Project
package ca.ualberta.team7project.cache; import java.util.ArrayList; import java.util.Collection; import java.util.UUID; import android.content.Context; import ca.ualberta.team7project.models.ThreadModel; import ca.ualberta.team7project.network.ThreadFetcher.SortMethod; /** * Helper class, Cache programming interfa...
Team7Project/src/ca/ualberta/team7project/cache/CacheOperation.java
package ca.ualberta.team7project.cache; import java.util.ArrayList; import java.util.Collection; import java.util.UUID; import android.content.Context; import ca.ualberta.team7project.models.ThreadModel; import ca.ualberta.team7project.network.ThreadFetcher.SortMethod; /** * Helper class, Cache programming interfa...
took out some comments
Team7Project/src/ca/ualberta/team7project/cache/CacheOperation.java
took out some comments
<ide><path>eam7Project/src/ca/ualberta/team7project/cache/CacheOperation.java <ide> public static int BY_PARENTID = 1; <ide> public static int BY_ITSELFID = 2; <ide> public static int BY_TOPICID =3; <del> <del> /* <del> [We need to do the following] <del> <del> Search By: <del> +own UUID's (for favorites) <del> -n...
Java
apache-2.0
42dde42f8938428c6f2c63084b4086d82764c535
0
MatthewTamlin/Spyglass
package com.matthewtamlin.spyglass.processor.code_generation.do_invocation_generator; import com.google.testing.compile.CompilationRule; import com.google.testing.compile.JavaFileObjects; import com.matthewtamlin.avatar.element_supplier.IdBasedElementSupplier; import com.matthewtamlin.spyglass.processor.code_generatio...
processor/src/test/java/com/matthewtamlin/spyglass/processor/code_generation/do_invocation_generator/TestDoInvocationGenerator.java
package com.matthewtamlin.spyglass.processor.code_generation.do_invocation_generator; import com.google.testing.compile.CompilationRule; import com.google.testing.compile.JavaFileObjects; import com.matthewtamlin.avatar.element_supplier.IdBasedElementSupplier; import com.matthewtamlin.spyglass.processor.code_generatio...
Refactoring
processor/src/test/java/com/matthewtamlin/spyglass/processor/code_generation/do_invocation_generator/TestDoInvocationGenerator.java
Refactoring
<ide><path>rocessor/src/test/java/com/matthewtamlin/spyglass/processor/code_generation/do_invocation_generator/TestDoInvocationGenerator.java <ide> <ide> @Test <ide> public void testGetMethod_callHandler_noArgs() { <del> doCallHandlerTestForElementWithId("call handler, no args"); <add> doTestForCallHandlerElementW...
Java
apache-2.0
01d3aedd0430f067e83f8fb8d48bc5063dc6ba31
0
samthor/intellij-community,samthor/intellij-community,FHannes/intellij-community,asedunov/intellij-community,kdwink/intellij-community,fitermay/intellij-community,lucafavatella/intellij-community,petteyg/intellij-community,allotria/intellij-community,TangHao1987/intellij-community,Lekanich/intellij-community,SerCeMan/i...
package com.intellij.openapi.util; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class Version implements Comparable<Version> { public final int major; public final int minor; public final int bugfix; public Version(int major, int minor, int bugfix) { this.bu...
platform/util/src/com/intellij/openapi/util/Version.java
package com.intellij.openapi.util; import org.jetbrains.annotations.Nullable; public class Version { public final int major; public final int minor; public final int bugfix; public Version(int major, int minor, int bugfix) { this.bugfix = bugfix; this.minor = minor; this.major = major; } pub...
OC-10346 AppCode marks available API as not available for deployment target 10.10
platform/util/src/com/intellij/openapi/util/Version.java
OC-10346 AppCode marks available API as not available for deployment target 10.10
<ide><path>latform/util/src/com/intellij/openapi/util/Version.java <ide> package com.intellij.openapi.util; <ide> <add>import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <ide> <del>public class Version { <add>public class Version implements Comparable<Version> { <ide> public ...
Java
mit
1d4672319fec7781bca14447bf3ab92a4540c986
0
AvaIre/AvaIre,AvaIre/AvaIre
package com.avairebot.orion.commands.fun; import com.avairebot.orion.Orion; import com.avairebot.orion.contracts.commands.AbstractCommand; import com.avairebot.orion.factories.RequestFactory; import com.avairebot.orion.requests.Response; import com.avairebot.orion.requests.service.GfycatService; import net.dv8tion.jda...
src/main/java/com/avairebot/orion/commands/fun/GfycatCommand.java
package com.avairebot.orion.commands.fun; import com.avairebot.orion.Orion; import com.avairebot.orion.contracts.commands.AbstractCommand; import com.avairebot.orion.factories.RequestFactory; import com.avairebot.orion.requests.Response; import com.avairebot.orion.requests.service.GfycatService; import net.dv8tion.jda...
Limit gfycat command usage to twice every five seconds
src/main/java/com/avairebot/orion/commands/fun/GfycatCommand.java
Limit gfycat command usage to twice every five seconds
<ide><path>rc/main/java/com/avairebot/orion/commands/fun/GfycatCommand.java <ide> } <ide> <ide> @Override <add> public List<String> getMiddleware() { <add> return Arrays.asList("throttle:user,2,5"); <add> } <add> <add> @Override <ide> public boolean onCommand(Message message, String[] args)...
Java
apache-2.0
error: pathspec 'tests/junit/org/jgroups/protocols/UNICAST_ContentionTest.java' did not match any file(s) known to git
904231547fa07a202a67768b9edeb39b66abb40a
1
danberindei/JGroups,ligzy/JGroups,deepnarsay/JGroups,rhusar/JGroups,dimbleby/JGroups,pruivo/JGroups,rpelisse/JGroups,tristantarrant/JGroups,kedzie/JGroups,ibrahimshbat/JGroups,ibrahimshbat/JGroups,ibrahimshbat/JGroups,rhusar/JGroups,vjuranek/JGroups,pferraro/JGroups,Sanne/JGroups,TarantulaTechnology/JGroups,vjuranek/JG...
package org.jgroups.protocols; import org.jgroups.*; import org.jgroups.util.Util; import org.testng.annotations.Test; import org.testng.annotations.AfterMethod; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicInteger; /** * Tests for contention on UNICAST, measured by the numb...
tests/junit/org/jgroups/protocols/UNICAST_ContentionTest.java
forward-ported test for UNICAST contention, from 2.6 (https://jira.jboss.org/jira/browse/JGRP-1043)
tests/junit/org/jgroups/protocols/UNICAST_ContentionTest.java
forward-ported test for UNICAST contention, from 2.6 (https://jira.jboss.org/jira/browse/JGRP-1043)
<ide><path>ests/junit/org/jgroups/protocols/UNICAST_ContentionTest.java <add>package org.jgroups.protocols; <add> <add> <add>import org.jgroups.*; <add>import org.jgroups.util.Util; <add>import org.testng.annotations.Test; <add>import org.testng.annotations.AfterMethod; <add> <add>import java.util.concurrent.CountDownL...
Java
apache-2.0
a44ae07bf9a8d6d56f43a940995a0b4bea08673f
0
ibinti/intellij-community,caot/intellij-community,signed/intellij-community,fitermay/intellij-community,tmpgit/intellij-community,lucafavatella/intellij-community,vvv1559/intellij-community,ftomassetti/intellij-community,izonder/intellij-community,ThiagoGarciaAlves/intellij-community,youdonghai/intellij-community,semon...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/vcs-log/impl/src/com/intellij/vcs/log/data/ContainingBranchesGetter.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
[vcs-log] remove volatiles and ensure that everything is called from EDT; also inline underused method
platform/vcs-log/impl/src/com/intellij/vcs/log/data/ContainingBranchesGetter.java
[vcs-log] remove volatiles and ensure that everything is called from EDT; also inline underused method
<ide><path>latform/vcs-log/impl/src/com/intellij/vcs/log/data/ContainingBranchesGetter.java <ide> <ide> @NotNull private final SequentialLimitedLifoExecutor<Task> myTaskExecutor; <ide> @NotNull private final VcsLogDataHolder myDataHolder; <del> @NotNull private volatile SLRUMap<Hash, List<String>> myCache = creat...
Java
bsd-2-clause
34f938a38c32dbb96d92191194e309af71aeb253
0
scifio/scifio
// // VisBio.java // /* VisBio application for visualization of multidimensional biological image data. Copyright (C) 2002-@year@ Curtis Rueden. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eithe...
loci/visbio/VisBio.java
// // VisBio.java // /* VisBio application for visualization of multidimensional biological image data. Copyright (C) 2002-@year@ Curtis Rueden. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eithe...
Tweak version detection.
loci/visbio/VisBio.java
Tweak version detection.
<ide><path>oci/visbio/VisBio.java <ide> /** Application version (of the form "#.##"). */ <ide> public static final String VERSION = <ide> V.equals("@visbio" + ".version@") ? "(internal build)" : <del> (V.substring(0, V.length() - 2) + "." + V.substring(V.length() - 2)); <add> (V.substring(0, 1) + "." + V....
Java
mit
error: pathspec 'Test115.java' did not match any file(s) known to git
ba343a92fb6f99096e1ce2bec929119bf9271f82
1
kakuilan/javapro
//BigDecimal类 import java.math.BigDecimal; public class Test115 { public static void main(String[] args) { BigDecimal f1 = new BigDecimal("0.05"); BigDecimal f2 = BigDecimal.valueOf(0.01); BigDecimal f3 = new BigDecimal(0.05); System.out.println("使用String作为BigDecimal构造器参数"); System.out.println("0.05 + 0.01 ...
Test115.java
BigDecimal类
Test115.java
BigDecimal类
<ide><path>est115.java <add>//BigDecimal类 <add>import java.math.BigDecimal; <add>public class Test115 { <add> public static void main(String[] args) { <add> BigDecimal f1 = new BigDecimal("0.05"); <add> BigDecimal f2 = BigDecimal.valueOf(0.01); <add> BigDecimal f3 = new BigDecimal(0.05); <add> <add> System.out.prin...
Java
agpl-3.0
b73ce14474e83d38d823bb410e21ac2772517a3f
0
VietOpenCPS/opencps-v2,VietOpenCPS/opencps-v2
package org.graphql.api.controller.impl; import com.google.gson.Gson; import com.liferay.document.library.kernel.model.DLFileEntry; import com.liferay.document.library.kernel.service.DLAppLocalServiceUtil; import com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil; import com.liferay.document.libra...
wars/v1/src/main/java/org/graphql/api/controller/impl/RestfulController.java
package org.graphql.api.controller.impl; import com.google.gson.Gson; import com.liferay.document.library.kernel.model.DLFileEntry; import com.liferay.document.library.kernel.service.DLAppLocalServiceUtil; import com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil; import com.liferay.petra.string.S...
Update rest avatar and cer
wars/v1/src/main/java/org/graphql/api/controller/impl/RestfulController.java
Update rest avatar and cer
<ide><path>ars/v1/src/main/java/org/graphql/api/controller/impl/RestfulController.java <ide> import com.liferay.document.library.kernel.model.DLFileEntry; <ide> import com.liferay.document.library.kernel.service.DLAppLocalServiceUtil; <ide> import com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil;...
Java
mit
6c9de137db1c77f0b47d5f9d73b4e645ee498836
0
VerbalExpressions/JavaVerbalExpressions,gufengwyx8/JavaVerbalExpressions,VerbalExpressions/JavaVerbalExpressions
package ru.lanwen.verbalregex; import static java.lang.String.valueOf; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class VerbalExpression { private final Pattern pattern; public static class Builder { private StringBuild...
src/main/java/ru/lanwen/verbalregex/VerbalExpression.java
package ru.lanwen.verbalregex; import static java.lang.String.valueOf; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class VerbalExpression { private final Pattern pattern; public static class Builder { private StringBuild...
Added missing Macintosh line break
src/main/java/ru/lanwen/verbalregex/VerbalExpression.java
Added missing Macintosh line break
<ide><path>rc/main/java/ru/lanwen/verbalregex/VerbalExpression.java <ide> * @return this builder <ide> */ <ide> public Builder lineBreak() { <del> return this.add("(?:\\n|(?:\\r\\n))"); <add> return this.add("(?:\\n|(?:\\r\\n)|(?:\\r\\r))"); <ide> } <ide> <ide> ...
JavaScript
mit
a08617629dee4a4c87144c6572b6597cdc67f196
0
showpad/karma-rollup-preprocessor,jlmakes/karma-rollup-preprocessor,jlmakes/karma-rollup-preprocessor
'use strict'; var rollup = require('rollup').rollup; function createPreprocessor (config, logger) { var log = logger.create('preprocessor.rollup'); var cache; config = config || {}; function preprocess (content, file, done) { log.debug('Processing %s', file.originalPath); try { config.entry = file.orig...
src/index.js
'use strict'; var rollup = require('rollup').rollup; function createPreprocessor (config, logger) { var log = logger.create('preprocessor.rollup'); var cache; config = config || {}; function preprocess (content, file, done) { log.debug('Processing %s', file.originalPath); try { config.entry = file.orig...
add new line after inline source maps
src/index.js
add new line after inline source maps
<ide><path>rc/index.js <ide> cache = bundle; <ide> <ide> if (config.sourceMap === 'inline') { <del> var url = generated.map.toUrl(); <del> processed += '\n' + '//# sourceMappingURL=' + url; <add> processed += '\n' + '//# sourceMappingURL=' + generated.map.toUrl() + '\n'; <ide> } <ide> <ide> ...
Java
lgpl-2.1
1676fc45357f1412718158642da75d4844fa07de
0
esig/dss,zsoltii/dss,alisdev/dss,zsoltii/dss,openlimit-signcubes/dss,openlimit-signcubes/dss,alisdev/dss,esig/dss
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
dss-spi/src/main/java/eu/europa/esig/dss/DSSUtils.java
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
Instead of storing a static CertificateFactory started using CertificateFactory.getInstance() every time it's needed
dss-spi/src/main/java/eu/europa/esig/dss/DSSUtils.java
Instead of storing a static CertificateFactory started using CertificateFactory.getInstance() every time it's needed
<ide><path>ss-spi/src/main/java/eu/europa/esig/dss/DSSUtils.java <ide> <ide> private static final BouncyCastleProvider securityProvider = new BouncyCastleProvider(); <ide> <del> private static final CertificateFactory certificateFactory; <del> <ide> public static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; <ide> ...
JavaScript
mit
b6cacca1a9785ce4b3a4ed2df0f48dc5eb02757b
0
tuvokki/hunaJS,tuvokki/hunaJS
var gulp = require('gulp'), argv = require('yargs').argv, cache = require('gulp-cache'), concat = require('gulp-concat'), del = require('del'), gulpif = require('gulp-if'), gutil = require('gulp-util') notify = require('gulp-notify'), plumber = require('gulp-plumber'), q = require('q...
gulpfile.js
var gulp = require('gulp'), argv = require('yargs').argv, cache = require('gulp-cache'), concat = require('gulp-concat'), del = require('del'), gulpif = require('gulp-if'), gutil = require('gulp-util') notify = require('gulp-notify'), plumber = require('gulp-plumber'), q = require('q...
Remove huna.min.js from index fixes #39
gulpfile.js
Remove huna.min.js from index fixes #39
<ide><path>ulpfile.js <ide> // add livereload script to the index.html <ide> gulp.src([options.src + 'index.html']) <ide> .pipe(gulpif(argv.dev, replace(/app.min.js/g, 'app.js'))) <add> .pipe(gulpif(argv.nohuna, replace('<script src=\'js/huna.min.js\'></script>', ''))) <ide> .pipe(replace(/(\<\/body\>)/g, "...
Java
apache-2.0
7adc9320a0c21e9edb96ab8ff72fad29ed64d49c
0
Stuey86/android-maven-plugin,kevinsawicki/maven-android-plugin,b-cuts/android-maven-plugin,b-cuts/android-maven-plugin,wskplho/android-maven-plugin,mitchhentges/android-maven-plugin,secondsun/maven-android-plugin,Cha0sX/android-maven-plugin,xiaojiaqiao/android-maven-plugin,psorobka/android-maven-plugin,hgl888/android-m...
/* * Copyright (C) 2009, 2010 Jayway AB * Copyright (C) 2007-2008 JVending Masa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
src/main/java/com/jayway/maven/plugins/android/AbstractEmulatorMojo.java
/* * Copyright (C) 2009, 2010 Jayway AB * Copyright (C) 2007-2008 JVending Masa * * 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 * ...
updated the VB script to use full paths
src/main/java/com/jayway/maven/plugins/android/AbstractEmulatorMojo.java
updated the VB script to use full paths
<ide><path>rc/main/java/com/jayway/maven/plugins/android/AbstractEmulatorMojo.java <ide> String uniqueWindowTitle = "MavenAndroidPlugin-AVD" + parsedAvd; <ide> writer.println("Dim oShell"); <ide> writer.println("Set oShell = WScript.CreateObject(\"WScript.shell\")"); <del> String cmd = "cmd.exe /X /...
Java
apache-2.0
2c2b608466045f36802a6ac58d871c8c74a909be
0
AArhin/head,jpodeszwik/mifos,jpodeszwik/mifos,maduhu/head,maduhu/head,AArhin/head,maduhu/head,jpodeszwik/mifos,AArhin/head,AArhin/head,maduhu/head,maduhu/head,jpodeszwik/mifos,AArhin/head
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/lsim/CreateLSIMClientLoanAccountTest.java
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
MIFOSTEST-124 enabled
acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/lsim/CreateLSIMClientLoanAccountTest.java
MIFOSTEST-124 enabled
<ide><path>cceptanceTests/src/test/java/org/mifos/test/acceptance/loan/lsim/CreateLSIMClientLoanAccountTest.java <ide> } <ide> <ide> // http://mifosforge.jira.com/browse/MIFOSTEST-124 <del> @Test(enabled=false) // TODO js - make it no_db_unit <ide> public void VerifyGracePeriodEffectOnLoanSchedule() thr...
Java
mit
f41eef2bbc2f0650f4ed5cc8a67c7c706f693149
0
inaturalist/iNaturalistAndroid,inaturalist/iNaturalistAndroid,budowski/iNaturalistAndroid,inaturalist/iNaturalistAndroid,inaturalist/iNaturalistAndroid
package org.inaturalist.android; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; i...
iNaturalist/src/main/java/org/inaturalist/android/ObservationViewerActivity.java
package org.inaturalist.android; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; i...
Fix #196 - use the server's quality_grade when displaying the quality score for an observation
iNaturalist/src/main/java/org/inaturalist/android/ObservationViewerActivity.java
Fix #196 - use the server's quality_grade when displaying the quality score for an observation
<ide><path>Naturalist/src/main/java/org/inaturalist/android/ObservationViewerActivity.java <ide> private static int DATA_QUALITY_CASUAL_GRADE = 0; <ide> private static int DATA_QUALITY_NEEDS_ID = 1; <ide> private static int DATA_QUALITY_RESEARCH_GRADE = 2; <add> <add> private static String QUALITY_GRADE_...
JavaScript
mit
ac72a6af5a7db71938e17adecbd44a622f1bf9f8
0
vaspoul/render.diagrams,vaspoul/render.diagrams
function Graphics(canvas) { var canvas = canvas; var context = canvas.getContext('2d'); var canvasW = canvas.width; var canvasH = canvas.height; var canvasAspect = canvasW / canvasH; function drawLine(a,b,color,width,dash) { if (typeof(color) === "undefined") color = "#000000"; if (typeof(width) === "un...
lib/graphics.js
function Graphics(canvas) { var canvas = canvas; var context = canvas.getContext('2d'); var canvasW = canvas.width; var canvasH = canvas.height; var canvasAspect = canvasW / canvasH; function drawLine(a,b,color,width,dash) { if (typeof(color) === "undefined") color = "#000000"; if (typeof(width) === "un...
Performance improvements
lib/graphics.js
Performance improvements
<ide><path>ib/graphics.js <ide> if (typeof(dash) === "undefined") <ide> dash = []; <ide> <del> context.save(); <add> //context.save(); <ide> context.lineWidth = width; <ide> context.strokeStyle = color; <ide> context.setLineDash(dash); <ide> context.lineTo(b.x,b.y); <ide> context.stroke(); <ide> <del...
JavaScript
apache-2.0
3f0915a836fa97bc4bff9dec6a153a6742d7a6b8
0
mcanthony/moonstone,enyojs/moonstone,mcanthony/moonstone,mcanthony/moonstone
(function (enyo, scope) { /** * {@link moon.Divider} is a simply styled component that may be used as a separator * between groups of components. * * @class moon.Divider * @mixes moon.MarqueeSupport * @mixes moon.MarqueeItem * @ui * @public */ enyo.kind( /** @lends moon.Divider.prototype */ { /** * @p...
source/Divider.js
(function (enyo, scope) { /** * {@link moon.Divider} is a simply styled component that may be used as a separator * between groups of components. * * @class moon.Divider * @mixes moon.MarqueeSupport * @mixes moon.MarqueeItem * @ui * @public */ enyo.kind( /** @lends moon.Divider.prototype */ { /** * @p...
BHV-12598: Using the enyo.inherit pattern. Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
source/Divider.js
BHV-12598: Using the enyo.inherit pattern.
<ide><path>ource/Divider.js <ide> /** <ide> * @private <ide> */ <del> contentChanged: function () { <del> this.inherited(arguments); <del> this.content = this.content.split(' ').map(enyo.cap).join(' '); <del> } <add> contentChanged: enyo.inherit(function (sup) { <add> return function () { <add> sup.ap...
JavaScript
mit
21004479bde2249e02b042524992832e3170799f
0
ghyonimor/webapp
/* globals UTILS */ /*================================================ TABS BEHAVIOR. ================================================*/ var tabsObj = { init: function() { UTILS.addEvent(window, 'hashchange', tabsObj.hash.bind(tabsObj)); this.importData(); this.hash(); UTILS.addEvent(document, 'keydown', f...
js/main.js
/* globals UTILS */ /*================================================ AJAX NOTIFICATION. ================================================*/ UTILS.ajax('../Web-App/data/notification.txt', { method: 'GET', done: function (response) { if (response && response !== '') { var message = UTILS.qs('.notifications');...
refactoring
js/main.js
refactoring
<ide><path>s/main.js <ide> /* globals UTILS */ <del> <del>/*================================================ <del>AJAX NOTIFICATION. <del>================================================*/ <del> <del>UTILS.ajax('../Web-App/data/notification.txt', { <del> <del> method: 'GET', <del> <del> done: function (response) { <del...
Java
apache-2.0
d314477643430c24c5f1bec266a58482ca5e5b75
0
sdgdsffdsfff/mmt,sdgdsffdsfff/mmt,cjm0000000/mmt,cjm0000000/mmt,sdgdsffdsfff/mmt
package lemon.shared.toolkit.secure; import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.crypto.BadPaddingException; import javax.crypto.Cipher...
shared/src/main/java/lemon/shared/toolkit/secure/SecureUtil.java
package lemon.shared.toolkit.secure; import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.crypto.BadPaddingException; import javax.crypto.Cipher...
fixed bug: AES can not decrypt on linux.
shared/src/main/java/lemon/shared/toolkit/secure/SecureUtil.java
fixed bug: AES can not decrypt on linux.
<ide><path>hared/src/main/java/lemon/shared/toolkit/secure/SecureUtil.java <ide> import javax.crypto.NoSuchPaddingException; <ide> import javax.crypto.SecretKey; <ide> import javax.crypto.spec.SecretKeySpec; <add> <add>import lemon.shared.entity.MMTCharset; <ide> <ide> import org.apache.commons.logging.Log; <ide> impo...
Java
mpl-2.0
a903db88c3a4265479b0cf51e382181e5ff249eb
0
SlalomConsulting/sutr-io,SlalomConsulting/sutr-io
package com.slalom.aws.avs.sutr.actions; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.slalom.aws.avs.sutr.SutrPluginUtil; import com.slalom.aws.avs.sutr.actions.exceptions.SutrGeneratorException; import co...
src/com/slalom/aws/avs/sutr/actions/GenerateVoiceModel.java
package com.slalom.aws.avs.sutr.actions; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.slalom.aws.avs.sutr.SutrPluginUtil; import com.slalom.aws.avs.sutr.actions.exceptions.SutrGeneratorException; import co...
Show message when ASK model complete.
src/com/slalom/aws/avs/sutr/actions/GenerateVoiceModel.java
Show message when ASK model complete.
<ide><path>rc/com/slalom/aws/avs/sutr/actions/GenerateVoiceModel.java <ide> WriteContentToFile(buildIntent, intentPath); <ide> WriteContentToFile(buildUtterances, utterancesPath); <ide> <del> <add> ActionUtil.ShowInfoMessage("ASK model generated.", e); <ide> <ide> } catch (S...
Java
apache-2.0
c6c6978e4391bdb8024621fa96ccd233cb76067d
0
cxfeng1/incubator-weex,alibaba/weex,axbing/weex,cxfeng1/weex,MrRaindrop/incubator-weex,zhangquan/weex,miomin/incubator-weex,boboning/weex,Hanks10100/incubator-weex,KalicyZhou/incubator-weex,leoward/incubator-weex,weexteam/incubator-weex,weexteam/incubator-weex,lvscar/weex,erha19/incubator-weex,sospartan/weex,alibaba/we...
/** * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condi...
android/sdk/src/main/java/com/taobao/weex/ui/view/WXScrollView.java
/** * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condi...
[android] bugfix rename interface
android/sdk/src/main/java/com/taobao/weex/ui/view/WXScrollView.java
[android] bugfix rename interface
<ide><path>ndroid/sdk/src/main/java/com/taobao/weex/ui/view/WXScrollView.java <ide> } <ide> int newPosition = getScrollY(); <ide> if (mInitialPosition - newPosition == 0) {//has stopped <del> onScrollStoped(WXScrollView.this, getScrollX(), getScrollY()); <add> onScrollStopped(W...
Java
bsd-3-clause
11bbaac20f888e7a98226db70ec2732eae7eb4a5
0
Clashsoft/Dyvil,Clashsoft/Dyvil
package dyvil.tools.compiler.transform; import dyvil.tools.parsing.lexer.BaseSymbols; import dyvil.tools.parsing.lexer.Tokens; import dyvil.tools.parsing.token.IToken; import dyvil.tools.parsing.token.InferredSemicolon; public final class SemicolonInference { private SemicolonInference() { // no instances } p...
src/compiler/dyvil/tools/compiler/transform/SemicolonInference.java
package dyvil.tools.compiler.transform; import dyvil.tools.parsing.lexer.BaseSymbols; import dyvil.tools.parsing.lexer.Tokens; import dyvil.tools.parsing.token.IToken; import dyvil.tools.parsing.token.InferredSemicolon; public final class SemicolonInference { private SemicolonInference() { // no instances } p...
Improve Semicolon Inference performance comp: Improved Semicolon Inference performance by merging the inference and linker loops.
src/compiler/dyvil/tools/compiler/transform/SemicolonInference.java
Improve Semicolon Inference performance
<ide><path>rc/compiler/dyvil/tools/compiler/transform/SemicolonInference.java <ide> IToken next = first.next(); <ide> while (next.type() != Tokens.EOF) <ide> { <add> next.setPrev(prev); <ide> inferSemicolon(prev, next); <del> prev = next; <del> next = next.next(); <del> } <del> <del> prev = first; <d...
Java
apache-2.0
0d8f422c894e3392f4f91e89392c6d10dd430424
0
OpherV/gitflow4idea,SharkMachine/gitflow4idea
package gitflow.ui; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.DialogWrapper; import com.intellij.openapi.ui.ValidationInfo; import java.util.List; import javax.swing.*; import git4idea.repo.GitRepository; import gitflow.Gitflow; import gitflow.GitflowBranchUtil; /** * Base class ...
src/gitflow/ui/AbstractBranchStartDialog.java
package gitflow.ui; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.DialogWrapper; import com.intellij.openapi.ui.ValidationInfo; import java.util.List; import javax.swing.*; import git4idea.repo.GitRepository; import gitflow.Gitflow; import gitflow.GitflowBranchUtil; /** * Base class ...
AbstractBranchStartDialog: Removed unused fields and adjusted field naming
src/gitflow/ui/AbstractBranchStartDialog.java
AbstractBranchStartDialog: Removed unused fields and adjusted field naming
<ide><path>rc/gitflow/ui/AbstractBranchStartDialog.java <ide> private JComboBox<ComboEntry> branchFromCombo; <ide> private JLabel branchNameLabel; <ide> <del> private GitRepository repository; <del> private Gitflow gitflow; <ide> private Project project; <del> private GitflowBranchUtil util; <add>...
Java
mit
cdbc3f7d67cfd28d32e7dd36cc6c6c1d07456650
0
lz1asl/CaveSurvey,lz1asl/CaveSurvey,lz1asl/CaveSurvey,lz1asl/CaveSurvey
package com.astoev.cave.survey.util; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.os.StatFs; import ...
src/main/java/com/astoev/cave/survey/util/FileStorageUtil.java
package com.astoev.cave.survey.util; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.os.StatFs; import ...
test ExternalStoragePublicDirectory
src/main/java/com/astoev/cave/survey/util/FileStorageUtil.java
test ExternalStoragePublicDirectory
<ide><path>rc/main/java/com/astoev/cave/survey/util/FileStorageUtil.java <ide> File storageHome = null; <ide> <ide> // try to find writable folder <del> if (isExternalStorageWritable()) { // external storage <add> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { <add> ...
Java
unlicense
cb56420e5e359251dcffe458518336335487d041
0
stefvanschie/buildinggame
package me.stefvanschie.buildinggame.managers.arenas; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.configuration.file.YamlConfiguration; import me.stefvanschie.buildinggame.Main; import me.stefvanschie.buildinggame.managers.files.SettingsManager; import me.stefvanschie.buildinggame.utils.Ar...
me/stefvanschie/buildinggame/managers/arenas/LobbyManager.java
package me.stefvanschie.buildinggame.managers.arenas; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.configuration.file.YamlConfiguration; import me.stefvanschie.buildinggame.managers.files.SettingsManager; import me.stefvanschie.buildinggame.utils.Arena; import me.stefvanschie.buildinggame.u...
LobbyManager.java
me/stefvanschie/buildinggame/managers/arenas/LobbyManager.java
LobbyManager.java
<ide><path>e/stefvanschie/buildinggame/managers/arenas/LobbyManager.java <ide> import org.bukkit.Location; <ide> import org.bukkit.configuration.file.YamlConfiguration; <ide> <add>import me.stefvanschie.buildinggame.Main; <ide> import me.stefvanschie.buildinggame.managers.files.SettingsManager; <ide> import me.stefvan...
Java
apache-2.0
b9b484de543f648178bec46394bd58465493fd86
0
andreiserea/arquillian-core,lordofthejars/arquillian-core,Kast0rTr0y/arquillian-core,MatousJobanek/arquillian-core,wildfly/arquillian-core,arquillian/arquillian-core,bartoszmajsak/arquillian-core,MatousJobanek/arquillian-core,aslakknutsen/arquillian-core,topicusonderwijs/arquillian-core,bartoszmajsak/arquillian-core,rh...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
api/src/main/java/org/jboss/arquillian/api/DeploymentTarget.java
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
Fix import
api/src/main/java/org/jboss/arquillian/api/DeploymentTarget.java
Fix import
<ide><path>pi/src/main/java/org/jboss/arquillian/api/DeploymentTarget.java <ide> import java.lang.annotation.Documented; <ide> import java.lang.annotation.ElementType; <ide> import java.lang.annotation.Retention; <add>import java.lang.annotation.Target; <ide> <ide> /** <ide> * DeploymentTarget <ide> */ <ide> @Docume...
Java
apache-2.0
9ab550089bc7a9b6df71e2670ba0689f7479ea49
0
LeeKyoungIl/cachemem
package com.leekyoungil.cachemem.socket; import com.leekyoungil.cachemem.CacheMem; import com.leekyoungil.cachemem.memcached.MemcachedControl; import com.leekyoungil.cachemem.memcached.MemcachedResult; import java.io.*; import java.net.Socket; import java.net.SocketException; import java.util.HashMap; /** * Created...
cachemem_server/src/main/java/com/leekyoungil/cachemem/socket/ClientHandler.java
package com.leekyoungil.cachemem.socket; import com.leekyoungil.cachemem.CacheMem; import com.leekyoungil.cachemem.memcached.MemcachedControl; import com.leekyoungil.cachemem.memcached.MemcachedResult; import java.io.*; import java.net.Socket; import java.net.SocketException; import java.util.HashMap; /** * Created...
Update ClientHandler.java
cachemem_server/src/main/java/com/leekyoungil/cachemem/socket/ClientHandler.java
Update ClientHandler.java
<ide><path>achemem_server/src/main/java/com/leekyoungil/cachemem/socket/ClientHandler.java <ide> this.conn = conn; <ide> try { <ide> this.conn.setSendBufferSize(CacheMem.BUFF_SIZE); <del> this.conn.setReceiveBufferSize(CacheMem.BUFF_SIZE); <ide> this.conn.setKeepAlive(...
Java
apache-2.0
313e788981fa2d0d09d92120fa5ec932e99e0870
0
wso2/carbon-data,chanikag/carbon-data,chanikag/carbon-data,wso2/carbon-data,wso2/carbon-data,chanikag/carbon-data
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/odata/MongoDataHandler.java
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Modify deleteEntityInTable(String tableName, ODataEntry entity)
components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/odata/MongoDataHandler.java
Modify deleteEntityInTable(String tableName, ODataEntry entity)
<ide><path>omponents/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/odata/MongoDataHandler.java <ide> * @param entity Entity <ide> * @throws ODataServiceFault <ide> */ <del> public boolean deleteEntityInTable(String tableName, ODataEntry entity) { <a...
JavaScript
mit
f446725c0446f31829c3a32efef86b99473a9b9e
0
MModal/licode,jcague/licode,yangjinecho/licode,lodoyun/licode,lodoyun/licode,lynckia/licode,lynckia/licode,lodoyun/licode,MModal/licode,lodoyun/licode,jcague/licode,conclave/licode,yangjinecho/licode,lynckia/licode,conclave/licode,MModal/licode,jcague/licode,lodoyun/licode,lodoyun/licode,yangjinecho/licode,conclave/lic...
/*global require, exports, console*/ var db = require('./dataBase').db; var BSON = require('mongodb').BSONPure; /* * Gets a list of the services in the data base. */ exports.getList = function (callback) { "use strict"; db.services.find({}).toArray(function (err, services) { if (err || !services) { ...
nuve/nuveAPI/mdb/serviceRegistry.js
/*global require, exports, console*/ var db = require('./dataBase').db; var BSON = require('mongodb').BSONPure; /* * Gets a list of the services in the data base. */ exports.getList = function (callback) { "use strict"; db.services.find({}).toArray(function (err, services) { if (err || !services) { ...
Added some debugging logs in nuve
nuve/nuveAPI/mdb/serviceRegistry.js
Added some debugging logs in nuve
<ide><path>uve/nuveAPI/mdb/serviceRegistry.js <ide> "use strict"; <ide> hasService(id, function (hasS) { <ide> if (hasS) { <del> db.services.remove({_id: new BSON.ObjectID(id)}, unction (error, saved) { <add> db.services.remove({_id: new BSON.ObjectID(id)}, function (error, saved) ...
JavaScript
mit
c720fe7215a2ca130ced0e860d15f5459ea3e21d
0
Compsight/CornClicker,Compsight/CornClicker
var PLAYER; const PRICE = { teenagers: 20, kettles: 50, theaters: 250 } function raiseTeenagerPrice(num) { for (var index = num; index > 0; index--){ PRICE.teenagers *= 1.01; } PRICE.teenagers = Math.ceil(PRICE.teenagers) } function raiseKettlePrice(num) { for (var index = num; index > 0; index--){...
js/counter.js
var PLAYER; const PRICE = { teenagers: 20, kettles: 50, theaters: 250 } function raiseTeenagerPrice(num) { for (var index = num; index > 0; index--){ PRICE.teenagers *= 1.01; } PRICE.teenagers = Math.ceil(PRICE.teenagers) } function raiseKettlePrice(num) { for (var index = num; index > 0; index--){...
Fixed functions that were lost in the merge conflict
js/counter.js
Fixed functions that were lost in the merge conflict
<ide><path>s/counter.js <ide> function startGame() { <ide> PLAYER = new Player() <ide> PLAYER.load() <add> setInterval(earnPointsPerSecond, 1000) <ide> updateUI() <ide> } <del> <add>const STARTING_POINTS = 1000 <ide> <ide> class Player { <ide> constructor() { <del> this.points = 0 <add> this.points = ST...
Java
apache-2.0
a866efbb7db928958bd1b93d33650acae03fd6fd
0
Eva1123/robotium,RobotiumTech/robotium,MattGong/robotium,luohaoyu/robotium,zhic5352/robotium,SinnerSchraderMobileMirrors/robotium,NetEase/robotium,shibenli/robotium,hypest/robotium,luohaoyu/robotium,pefilekill/robotiumCode,pefilekill/robotiumCode,zhic5352/robotium,lgs3137/robotium,XRacoon/robotiumEx,acanta2014/robotium...
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.Button; import android.widget.CheckBox; import android.widget.Edit...
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.Button; import android.widget.CheckBox; import android.widget.Edit...
Updated description
robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
Updated description
<ide><path>obotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java <ide> * <ide> * solo.clickOnText(&quot;Categories&quot;); <ide> * solo.clickOnText(&quot;Other&quot;); <add> * solo.clickInList(1); <add> * solo.scrollDown(); <ide> * solo.clickOnButton(&quot;Edit&quot;); <del> * solo.Text(&quot;Edit W...
Java
apache-2.0
c253f5ff73b1828de026f69f6846e1b85087b056
0
madmax983/h2o-3,pchmieli/h2o-3,YzPaul3/h2o-3,printedheart/h2o-3,printedheart/h2o-3,pchmieli/h2o-3,brightchen/h2o-3,YzPaul3/h2o-3,bospetersen/h2o-3,datachand/h2o-3,PawarPawan/h2o-v3,madmax983/h2o-3,pchmieli/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-dev,datachand/h2o-3,junwucs/h2o-3,nilbody/h2o-3,weaver-viii/h2o-3,...
package hex; import water.*; import water.fvec.Frame; import water.util.TwoDimTable; import java.util.Arrays; import java.util.Comparator; /** Container to hold the metric for a model as scored on a specific frame. * * The MetricBuilder class is used in a hot inner-loop of a Big Data pass, and * when given a cl...
h2o-core/src/main/java/hex/ModelMetrics.java
package hex; import water.*; import water.fvec.Frame; import water.util.TwoDimTable; import java.util.Arrays; import java.util.Comparator; /** Container to hold the metric for a model as scored on a specific frame. * * The MetricBuilder class is used in a hot inner-loop of a Big Data pass, and * when given a cl...
PUBDEV-1791: Fix model metrics printout.
h2o-core/src/main/java/hex/ModelMetrics.java
PUBDEV-1791: Fix model metrics printout.
<ide><path>2o-core/src/main/java/hex/ModelMetrics.java <ide> @Override public String toString() { <ide> StringBuilder sb = new StringBuilder(); <ide> sb.append("Model Metrics Type: " + this.getClass().getSimpleName().substring(12) + "\n"); <del> sb.append(" Description: " + _description == null ? "N/A" : _...
Java
apache-2.0
2af41c1457e4a82a58692e79d5d844388e09d8bf
0
jahlborn/jackcess
/* Copyright (c) 2005 Health Market Science, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is dis...
src/java/com/healthmarketscience/jackcess/Database.java
/* Copyright (c) 2005 Health Market Science, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is dis...
make read-only logic slightly cleaner git-svn-id: 3a2409cd0beef11b2606a17fdc4e1262b30a237e@102 f203690c-595d-4dc9-a70b-905162fa7fd2
src/java/com/healthmarketscience/jackcess/Database.java
make read-only logic slightly cleaner
<ide><path>rc/java/com/healthmarketscience/jackcess/Database.java <ide> throw new FileNotFoundException("given file does not exist: " + mdbFile); <ide> } <ide> return new Database(openChannel(mdbFile, <del> (mdbFile.canWrite() && !readOnly))); <add> ...
Java
apache-2.0
51778547fa0d02a7fc507c7db788053173f018d3
0
PaulGladoon/java_tests,PaulGladoon/java_tests
package qa.softwaretesting.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import qa.softwaretesting.addressbook.model.ContactData; import qa.softwaretesting.addressbook.model.Contacts; import qa.softwaretesting.addressbook.model.GroupData; i...
addressbook-web-tests/src/test/java/qa/softwaretesting/addressbook/tests/DeleteContactFromGroupTests.java
package qa.softwaretesting.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import qa.softwaretesting.addressbook.model.ContactData; import qa.softwaretesting.addressbook.model.Contacts; import qa.softwaretesting.addressbook.model.GroupData; i...
16 Final
addressbook-web-tests/src/test/java/qa/softwaretesting/addressbook/tests/DeleteContactFromGroupTests.java
16 Final
<ide><path>ddressbook-web-tests/src/test/java/qa/softwaretesting/addressbook/tests/DeleteContactFromGroupTests.java <ide> Groups groupAfter = app.db().conGroup(); <ide> <ide> int max = 0; <del> for (GroupData g : groupAfter) { <add> for (GroupData g : groupBefore) { <ide> if (g.getId() > max) { <id...
Java
epl-1.0
363de5f680738596ac3c9a74e3197b1d6f63914d
0
Snickermicker/smarthome,Snickermicker/smarthome,Snickermicker/smarthome,Snickermicker/smarthome
/** * Copyright (c) 2014,2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is av...
bundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/binding/ThingHandler.java
/** * Copyright (c) 2014,2018 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is av...
fix thing handler's "set callback" documentation (#6503) The callback is removed after the thing handler has been disposed. The calling order of initialize, set callback and dispose of the thing handler implementation is: registerAndInitializeHandler registerHandler doRegisterHandler ...
bundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/binding/ThingHandler.java
fix thing handler's "set callback" documentation (#6503)
<ide><path>undles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/binding/ThingHandler.java <ide> * <p> <ide> * The callback is added after the handler instance has been tracked by the framework and before <ide> * {@link #initialize()} is called. The callback is remov...
JavaScript
mit
9db2c7dc0a56bd6533f359180c65943f36581ade
0
dongliu/traveler,iTerminate/traveler,iTerminate/traveler,iTerminate/traveler,iTerminate/traveler,dongliu/traveler,dongliu/traveler
// Copyright 2008 Steven Bazyl // Copyright 2013 Dong Liu // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
public/dependencies/binder.js
// Copyright 2008 Steven Bazyl // Copyright 2013 Dong Liu // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
get type from standard type for number
public/dependencies/binder.js
get type from standard type for number
<ide><path>ublic/dependencies/binder.js <ide> Binder.TypeRegistry = { <ide> 'string': { <ide> format: function(value) { <del> return value ? String(value) : ''; <add> return value == null ? '' : String(value); <ide> }, <ide> parse: function(value) { <ide> return value ? value : null; <ide...
Java
mit
51af62c512110d57ee38bb3dd8f589bcb11bb259
0
AlexPedroIgor/JC2
package game; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Scanner; import engine.*; public class Story { public Story() { String gamePath = System.getProperty(...
src/game/Story.java
package game; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Scanner; import engine.*; public class Story { public Story() { String gamePath = System.getProperty("user.dir"); String dataPath = gamePa...
Troca da codificação da leitura dos arquivos de história para UTF
src/game/Story.java
Troca da codificação da leitura dos arquivos de história para UTF
<ide><path>rc/game/Story.java <ide> package game; <ide> import java.io.BufferedReader; <del>import java.io.FileReader; <add>import java.io.InputStreamReader; <add>import java.io.FileInputStream; <ide> import java.io.IOException; <ide> import java.util.ArrayList; <ide> import java.util.Collection; <ide> <ide> private...
JavaScript
agpl-3.0
6ea97f9a815770515b697f192110f544616d41db
0
telefonicaid/iotagent-node-lib,telefonicaid/iotagent-node-lib,telefonicaid/iotagent-node-lib
/* * Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-iotagent-lib * * fiware-iotagent-lib is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either versio...
test/unit/ngsiv2/ngsiService/queryDeviceInformationInCb-test.js
/* * Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-iotagent-lib * * fiware-iotagent-lib is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either versio...
Remove unused import
test/unit/ngsiv2/ngsiService/queryDeviceInformationInCb-test.js
Remove unused import
<ide><path>est/unit/ngsiv2/ngsiService/queryDeviceInformationInCb-test.js <ide> */ <ide> <ide> const iotAgentLib = require('../../../../lib/fiware-iotagent-lib'); <del>const utils = require('../../../tools/utils'); <ide> const should = require('should'); <ide> const logger = require('logops'); <ide> const nock = requ...
Java
apache-2.0
a9aa8f408974ae94bf017fee3aa4ce83f19388e1
0
spring-cloud/spring-cloud-zookeeper,spring-cloud/spring-cloud-zookeeper
/* * Copyright 2015-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ZookeeperConfigDataLoader.java
/* * Copyright 2015-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
removes options for boot 2.4 since 3.1.x requires boot 2.6
spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ZookeeperConfigDataLoader.java
removes options for boot 2.4 since 3.1.x requires boot 2.6
<ide><path>pring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ZookeeperConfigDataLoader.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.Collections; <del>import java.util.EnumSet; <ide> import java.util.List; <ide> <ide> import org.apache.commons.logging.Log; <id...
Java
apache-2.0
49a8f19b4c65aa3ec3b3f71ee11fe2c61bfa4b31
0
idekerlab/KEGGscape,idekerlab/KEGGscape,parvathisudha/KEGGscape,parvathisudha/KEGGscape
package org.cytoscape.keggscape.internal.read.kgml; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; ...
src/main/java/org/cytoscape/keggscape/internal/read/kgml/KGMLMapper.java
package org.cytoscape.keggscape.internal.read.kgml; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; ...
fixed edge connection problem
src/main/java/org/cytoscape/keggscape/internal/read/kgml/KGMLMapper.java
fixed edge connection problem
<ide><path>rc/main/java/org/cytoscape/keggscape/internal/read/kgml/KGMLMapper.java <ide> import org.cytoscape.keggscape.internal.generated.Reaction; <ide> import org.cytoscape.keggscape.internal.generated.Relation; <ide> import org.cytoscape.keggscape.internal.generated.Substrate; <add>import org.cytoscape.keggscape.in...
Java
apache-2.0
697baf9733315b5ce7f33b43111950bf5bedf38e
0
reportportal/commons-dao
/* * Copyright 2018 EPAM Systems * * 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/com/epam/ta/reportportal/binary/DataStoreService.java
/* * Copyright 2018 EPAM Systems * * 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 ...
DataStoreService#delete safe on null
src/main/java/com/epam/ta/reportportal/binary/DataStoreService.java
DataStoreService#delete safe on null
<ide><path>rc/main/java/com/epam/ta/reportportal/binary/DataStoreService.java <ide> } <ide> <ide> public void delete(String filePath) { <del> <del> dataStore.delete(dataEncoder.decode(filePath)); <add> if (filePath != null) { <add> dataStore.delete(dataEncoder.decode(filePath)); <add> } <ide> } <ide> <ide> p...
Java
apache-2.0
75a3b0b314d714ad9640666c3ec06edfc987a0d6
0
icarus-sullivan/approuter
package icarus.io.router.api; import android.content.Context; import android.content.Intent; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Vector; import icarus.io.router.annotation.Route; import icarus.io.router.mixin.RouteMixin; /** ...
approuter/src/main/java/icarus/io/router/api/RouteBuilder.java
package icarus.io.router.api; import android.content.Context; import android.content.Intent; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Vector; import icarus.io.router.annotation.Route; import icarus.io.router.mixin.RouteMixin; /** ...
Update RouteBuilder.java Adding paramaterized mixin
approuter/src/main/java/icarus/io/router/api/RouteBuilder.java
Update RouteBuilder.java
<ide><path>pprouter/src/main/java/icarus/io/router/api/RouteBuilder.java <ide> mixin.onNewIntent( intent ); <ide> } <ide> <add> if( args.length != null && args.length > 0 ) { <add> RouteMixin rm = null; <add> for( Object o : args ) { <add> ...
Java
mit
26ed107b92f98441d38db303a54a4e17fab5658e
0
CS2103AUG2016-F11-C1/main,CS2103AUG2016-F11-C1/main,ChaseYaoCong/main
package seedu.todo.controllers; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.joestelmach.natty.DateGroup; import com.joestelmach.natty.Parser; import seedu.todo.commons.exceptions.UnmatchedQuotesExcep...
src/main/java/seedu/todo/controllers/ListController.java
package seedu.todo.controllers; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import com.joestelmach.natty.DateGroup; import com.joestelmach.natty.Parser; import seedu.todo.commons.exceptions.UnmatchedQuotesExcep...
refactoring with better error message
src/main/java/seedu/todo/controllers/ListController.java
refactoring with better error message
<ide><path>rc/main/java/seedu/todo/controllers/ListController.java <ide> return ; <ide> } <ide> <add> boolean isExactCommand = parseExactListCommand(parsedResult); <add> <ide> // Task or event? <ide> boolean listAll = parseListAllType(parsedResult); <ide> ...
Java
apache-2.0
error: pathspec 'translator/src/main/java/com/google/devtools/j2objc/ast/package-info.java' did not match any file(s) known to git
49ba180d5282ec95e1dc3281c63cf00d000f8c51
1
hambroperks/j2objc,ZouQingcang/MyProject,hambroperks/j2objc,ZouQingcang/MyProject,hambroperks/j2objc,csripada/j2objc,Sellegit/j2objc,jiachenning/j2objc,ZouQingcang/MyProject,ZouQingcang/MyProject,Sellegit/j2objc,Sellegit/j2objc,hambroperks/j2objc,hambroperks/j2objc,jiachenning/j2objc,gank0326/j2objc,jiachenning/j2objc,...
/* * 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 * distributed u...
translator/src/main/java/com/google/devtools/j2objc/ast/package-info.java
Adds a package-info.java file to the ast package. Change on 2014/07/16 by kstanger <kstanger@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=71288779
translator/src/main/java/com/google/devtools/j2objc/ast/package-info.java
Adds a package-info.java file to the ast package. Change on 2014/07/16 by kstanger <kstanger@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=71288779
<ide><path>ranslator/src/main/java/com/google/devtools/j2objc/ast/package-info.java <add>/* <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the License at <add> * <add> * http://www.apache.o...
Java
mit
2d3400fb1137e6dc0199691871e5f93957341cd8
0
gammaker/atom,gammaker/atom,gammaker/atom
package ru.atom.geometry; /** * Created by gammaker on 01.03.2017. */ public class Bar implements Collider { private int left; private int bottom; private int width; private int height; public Bar(int x1, int y1, int x2, int y2) { setFromCorners(x1, y1, x2, y2); } public Bar...
lecture02/src/main/java/ru/atom/geometry/Bar.java
package ru.atom.geometry; /** * Created by gammaker on 01.03.2017. */ public class Bar implements Collider { public int left; public int bottom; public int width; public int height; public Bar(int x1, int y1, int x2, int y2) { left = x1; bottom = y1; width = x2 - x1; ...
Bar fields now private, added getters and setters
lecture02/src/main/java/ru/atom/geometry/Bar.java
Bar fields now private, added getters and setters
<ide><path>ecture02/src/main/java/ru/atom/geometry/Bar.java <ide> * Created by gammaker on 01.03.2017. <ide> */ <ide> public class Bar implements Collider { <del> public int left; <del> public int bottom; <del> public int width; <del> public int height; <add> private int left; <add> private int bott...
Java
apache-2.0
15aee7403d5fec48f4e715243f10dedd4c60c4eb
0
Rajith90/carbon-apimgt,uvindra/carbon-apimgt,fazlan-nazeem/carbon-apimgt,isharac/carbon-apimgt,fazlan-nazeem/carbon-apimgt,chamilaadhi/carbon-apimgt,malinthaprasan/carbon-apimgt,bhathiya/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,ruks/carbon-apimgt,chamilaadhi/carbon-apimgt,bhathiya/carbon-apimgt,malinthaprasan/car...
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you under the Apache License, *Version 2.0 (the "License"); you may not use this file except *in compliance with the License. *You may obtain a copy of the License at * *http://www.apache.org/lic...
components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/util/APIKeyMgtUtil.java
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you under the Apache License, *Version 2.0 (the "License"); you may not use this file except *in compliance with the License. *You may obtain a copy of the License at * *http://www.apache.org/lic...
fix for https://github.com/wso2/product-apim/issues/4846
components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/util/APIKeyMgtUtil.java
fix for https://github.com/wso2/product-apim/issues/4846
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/util/APIKeyMgtUtil.java <ide> <ide> boolean cacheEnabledKeyMgt = APIKeyMgtDataHolder.getKeyCacheEnabledKeyMgt(); <ide> <del> if (cacheKey != null) { <del> if (log.isDebugEnabled()) { <del> ...
Java
mit
9d3e665affc49124a3baa066e3e57c8ed171d1de
0
shu3/FatCatMOD
package fatcat.ai; import java.util.List; import fatcat.EntityFatCat; import fatcat.EntityItemUnko; import fatcat.FatCatMod; import fatcat.ItemFatCatUnko; import fatcat.ItemFurball; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.EntityAIBase; import net.minec...
src/main/java/fatcat/ai/EntityAIEatEntityItem.java
package fatcat.ai; import java.util.List; import fatcat.EntityFatCat; import fatcat.EntityItemUnko; import fatcat.FatCatMod; import fatcat.ItemFatCatUnko; import fatcat.ItemFurball; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.EntityAIBase; import net.minec...
食べ物への当たり判定をボックスで見るようにした。体の成長に応じて食べ物への当たり判定が効かなくなったため。
src/main/java/fatcat/ai/EntityAIEatEntityItem.java
食べ物への当たり判定をボックスで見るようにした。体の成長に応じて食べ物への当たり判定が効かなくなったため。
<ide><path>rc/main/java/fatcat/ai/EntityAIEatEntityItem.java <ide> import net.minecraft.item.ItemLead; <ide> import net.minecraft.item.ItemNameTag; <ide> import net.minecraft.item.ItemReed; <add>import net.minecraft.util.AxisAlignedBB; <ide> import net.minecraft.util.EnumParticleTypes; <ide> <ide> // Find near food en...
JavaScript
mit
8674a9c46c97de580cca33bee7053d1029c34cbb
0
burasme/responsive_email,burasme/responsive_email
var emailData = new Array(); function getMessages() { $.getJSON("https://morning-falls-3769.herokuapp.com/api/messages", function(data) { index = 0; $.each(data, function(id, from, to, cc, subject, body) { emailData[index] = new Array(); emailData[index][0] = data[index].id; emailData[index...
js/global.js
var emailData = new Array(); function getMessages() { $.getJSON("https://morning-falls-3769.herokuapp.com/api/messages", function(data) { index = 0; $.each(data, function(id, from, to, cc, subject, body) { emailData[index] = new Array(); emailData[index][0] = data[index].id; emailData[index...
Removed "from" a tag and click event: not needed.
js/global.js
Removed "from" a tag and click event: not needed.
<ide><path>s/global.js <ide> + "<strong class='subject_title'>Subject: </strong>" <ide> + "<span class='subject'>" + data[index].subject + "</span>" <ide> + "<strong class='from_title'>From: </strong>" <del> + "<a class='from' href='#'>" + data[index].from + "</a></div>").appendTo("#messages"...
Java
apache-2.0
0bfa9159e3bed62e0228e2b28a2081633d772dc5
0
sja/netty,andsel/netty,lznhust/netty,kvr000/netty,mx657649013/netty,djchen/netty,carl-mastrangelo/netty,imangry/netty-zh,BrunoColin/netty,s-gheldd/netty,luyiisme/netty,jenskordowski/netty,brennangaunce/netty,fengjiachun/netty,zzcclp/netty,louxiu/netty,clebertsuconic/netty,afredlyj/learn-netty,mx657649013/netty,carlbai/...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
codec/src/main/java/io/netty/handler/codec/compression/SnappyFramedEncoder.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Do not attempt to compress trailing data that is less than the MIN_COMPRESSIBLE_LENGTH
codec/src/main/java/io/netty/handler/codec/compression/SnappyFramedEncoder.java
Do not attempt to compress trailing data that is less than the MIN_COMPRESSIBLE_LENGTH
<ide><path>odec/src/main/java/io/netty/handler/codec/compression/SnappyFramedEncoder.java <ide> if (dataLength > MIN_COMPRESSIBLE_LENGTH) { <ide> for (;;) { <ide> final int lengthIdx = out.writerIndex() + 1; <add> if (dataLength < MIN_COMPRESSIBLE_LENGTH) { <add> ...
Java
apache-2.0
3e73be9ce33048cac675b91ac31a13eee267752d
0
thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS
/* * Copyright 2016 Thomas Krause <thomaskrause@posteo.de>. * * 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...
graphannis-api/src/main/java/org/corpus_tools/graphannis/QueryToJSON.java
/* * Copyright 2016 Thomas Krause <thomaskrause@posteo.de>. * * 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...
Serialize meta-date into JSON
graphannis-api/src/main/java/org/corpus_tools/graphannis/QueryToJSON.java
Serialize meta-date into JSON
<ide><path>raphannis-api/src/main/java/org/corpus_tools/graphannis/QueryToJSON.java <ide> mapper.registerModule(jaxbModule); <ide> mapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY); <ide> <del> if(metaData != null && !metaData.isEmpty()) <del> { <del> throw new AnnisQLSyntaxExcepti...
Java
apache-2.0
a5f304022722aa9316a786b254891a34901a8276
0
petteyg/intellij-community,kdwink/intellij-community,michaelgallacher/intellij-community,jagguli/intellij-community,wreckJ/intellij-community,ivan-fedorov/intellij-community,samthor/intellij-community,pwoodworth/intellij-community,slisson/intellij-community,muntasirsyed/intellij-community,TangHao1987/intellij-community...
package com.intellij.tasks.jira; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonObject; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.io.StreamUtil; import com.intellij.openapi.util.text.StringUti...
plugins/tasks/tasks-core/jira/src/com/intellij/tasks/jira/JiraRepository.java
package com.intellij.tasks.jira; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonObject; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.io.StreamUtil; import com.intellij.openapi.util.text.StringUti...
Use HttpMethod#hasBeenUsed to prevent NPE, if server response was not received
plugins/tasks/tasks-core/jira/src/com/intellij/tasks/jira/JiraRepository.java
Use HttpMethod#hasBeenUsed to prevent NPE, if server response was not received
<ide><path>lugins/tasks/tasks-core/jira/src/com/intellij/tasks/jira/JiraRepository.java <ide> public static final String REST_API_PATH = "/rest/api/latest"; <ide> <ide> private static final boolean DEBUG_SOAP = Boolean.getBoolean("tasks.jira.soap"); <add> private static final boolean REDISCOVER_API = Boolean.getB...
Java
mit
ee94b9bcb7fac906fcf99150021ece4257460c8a
0
Steven-N-Hart/vcf-miner,Steven-N-Hart/vcf-miner,Steven-N-Hart/vcf-miner,Steven-N-Hart/vcf-miner,Steven-N-Hart/vcf-miner
package edu.mayo.ve.VCFParser; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.mongodb.*; import com.mongodb.util.JSON; import com.tinkerpop.pipes.util.Pipeline; import edu.mayo.TypeAhead.TypeAhead; import edu.mayo.concurrency.exceptions.ProcessTerminatedEx...
src/test/java/edu/mayo/ve/VCFParser/VCFParserITCase.java
package edu.mayo.ve.VCFParser; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.mongodb.*; import com.mongodb.util.JSON; import com.tinkerpop.pipes.util.Pipeline; import edu.mayo.TypeAhead.TypeAhead; import edu.mayo.concurrency.exceptions.ProcessTerminatedEx...
commenting out failed test to see if it builds otherwise git-svn-id: 3727a5fd490da57ffbb4efc8eef39fd409567e2c@18129 8f329c14-d232-4f17-8684-7ee34322b8dc
src/test/java/edu/mayo/ve/VCFParser/VCFParserITCase.java
commenting out failed test to see if it builds otherwise
<ide><path>rc/test/java/edu/mayo/ve/VCFParser/VCFParserITCase.java <ide> <ide> private Mongo m = MongoConnection.getMongo(); <ide> String VCF = "src/test/resources/testData/TNBC_Cases_Controls.snpeff.annotation.vcf"; <del> @Test <add> //@Test <ide> public void testParse() throws Exception { <ide> ...
Java
bsd-2-clause
93d42db2636c83c62330d855dd743db79b24c9d3
0
ansell/csvsum,ansell/csvsum
/** * */ package com.github.ansell.csvsum; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.script.Invocable; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; /** * A mapping definition f...
src/main/java/com/github/ansell/csvsum/CSVMapping.java
/** * */ package com.github.ansell.csvsum; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.script.Invocable; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; /** * A mapping definition f...
Extract the script manager for efficiency
src/main/java/com/github/ansell/csvsum/CSVMapping.java
Extract the script manager for efficiency
<ide><path>rc/main/java/com/github/ansell/csvsum/CSVMapping.java <ide> protected static final String NEW_FIELD = "NewField"; <ide> protected static final String MAPPING = "Mapping"; <ide> <add> private static final ScriptEngineManager SCRIPT_MANAGER = new ScriptEngineManager(); <add> <add> <ide> static final CSVM...
JavaScript
mit
39024c35a62c1e8045f064447409f226f759647f
0
tgriesser/lodash,cgvarela/underscore,studiowangfei/lodash,lekoaf/lodash,aziz-boudi4/underscore,AneesMohammed/lodash,naoina/lodash,Lottid/lodash,ajefremovs/lodash,beenlee/underscore,kwangkim/underscore,lqjack/underscore,zhangguangyong/lodash,bailus/underscore,Yangani/underscore,javiosyc/lodash,oss6/underscore,ThiagoGarc...
// Underscore.js // (c) 2010 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the terms of the MIT license. // Portions of Underscore are inspired by or borrowed from Prototype.js, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and documentation: // h...
underscore.js
// Underscore.js // (c) 2010 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the terms of the MIT license. // Portions of Underscore are inspired by or borrowed from Prototype.js, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and documentation: // h...
waypoint commit on the big merge
underscore.js
waypoint commit on the big merge
<ide><path>nderscore.js <ide> <ide> // Quick regexp-escaping function, because JS doesn't have RegExp.escape(). <ide> var escapeRegExp = function(s) { return s.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1'); }; <del> <add> <ide> // Save bytes in the minified (but not gzipped) version: <del> var Array_Prototype = ...
JavaScript
mit
5a3550d46be6e9b6c127fd3b7271da7c7e30de30
0
rlugojr/cytoscape.js,rlugojr/cytoscape.js
'use strict'; var is = require( '../../../is' ); var util = require( '../../../util' ); var math = require( '../../../math' ); var Event = require( '../../../event' ); var BRp = {}; BRp.registerBinding = function( target, event, handler, useCapture ){ var args = Array.prototype.slice.apply( arguments, [1] ); // co...
src/extensions/renderer/base/load-listeners.js
'use strict'; var is = require( '../../../is' ); var util = require( '../../../util' ); var math = require( '../../../math' ); var Event = require( '../../../event' ); var BRp = {}; BRp.registerBinding = function( target, event, handler, useCapture ){ var args = Array.prototype.slice.apply( arguments, [1] ); // co...
Chrome/Mac supports pinch-to-zoom but it can jump a bit at the end #1559
src/extensions/renderer/base/load-listeners.js
Chrome/Mac supports pinch-to-zoom but it can jump a bit at the end #1559
<ide><path>rc/extensions/renderer/base/load-listeners.js <ide> r.redraw(); <ide> }, 150 ); <ide> <del> var diff = e.deltaY / -250 || e.wheelDeltaY / 1000 || e.wheelDelta / 1000; <add> var diff; <add> <add> if( e.deltaY != null ){ <add> diff = e.deltaY / -250; <add> } else if( e...
JavaScript
mit
801e5bfdee85355c06e26a50778f3cdfde16faff
0
cppctamber/ccpwgl,ccpgames/ccpwgl
/** * RenderMode * @typedef {(device.RM_ANY|device.RM_OPAQUE|device.RM_DECAL|device.RM_TRANSPARENT|device.RM_ADDITIVE|device.RM_DEPTH|device.RM_FULLSCREEN)} RenderMode */ window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.m...
src/core/Tw2Device.js
/** * RenderMode * @typedef {(device.RM_ANY|device.RM_OPAQUE|device.RM_DECAL|device.RM_TRANSPARENT|device.RM_ADDITIVE|device.RM_DEPTH|device.RM_FULLSCREEN)} RenderMode */ window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.m...
Fixed comment formatting Tw2Device - Fixed comment formatting
src/core/Tw2Device.js
Fixed comment formatting Tw2Device
<ide><path>rc/core/Tw2Device.js <ide> this.RM_DEPTH = 4; <ide> this.RM_FULLSCREEN = 5; <ide> <del> this.RS_ZENABLE = 7; /* D3DZBUFFERTYPE (or TRUE/FALSE for legacy) */ <del> this.RS_FILLMODE = 8; /* D3DFILLMODE */ <del> this.RS_SHADEMODE = 9; /* D3DSHADEMODE */ <del> this.RS_ZWRITEENABLE = 14; /* T...
Java
apache-2.0
f341812ab057958d4ac5d93c35faf140fa347b70
0
delkyd/hawtjms,delkyd/hawtjms,fusesource/hawtjms
/** * 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...
hawtjms-discovery/src/test/java/org/hawtjms/provider/discovery/JmsDiscoveryProviderTest.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...
Add new test
hawtjms-discovery/src/test/java/org/hawtjms/provider/discovery/JmsDiscoveryProviderTest.java
Add new test
<ide><path>awtjms-discovery/src/test/java/org/hawtjms/provider/discovery/JmsDiscoveryProviderTest.java <ide> import io.hawtjms.provider.DefaultProviderListener; <ide> import io.hawtjms.provider.discovery.DiscoveryProviderFactory; <ide> <add>import java.io.IOException; <ide> import java.net.URI; <ide> <ide> import org...
Java
apache-2.0
7c464bde160633240fefe034ea7533ec0a42613e
0
igniterealtime/Openfire,Gugli/Openfire,speedy01/Openfire,magnetsystems/message-openfire,guusdk/Openfire,akrherz/Openfire,igniterealtime/Openfire,akrherz/Openfire,Gugli/Openfire,guusdk/Openfire,magnetsystems/message-openfire,igniterealtime/Openfire,Gugli/Openfire,GregDThomas/Openfire,speedy01/Openfire,magnetsystems/mess...
/** * $RCSfile: $ * $Revision: $ * $Date: $ * * Copyright (C) 2005-2008 Jive Software. 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.apach...
src/java/org/jivesoftware/openfire/pubsub/PubSubPersistenceManager.java
/** * $RCSfile: $ * $Revision: $ * $Date: $ * * Copyright (C) 2005-2008 Jive Software. 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.apach...
OF-205 Changed transaction control for several methods for persistence. Also reversed the search order for loading items to compliant with the spec. git-svn-id: 2e83ce7f183c9abd424edb3952fab2cdab7acd7f@13306 b35dd754-fafc-0310-a699-88a17e54d16e
src/java/org/jivesoftware/openfire/pubsub/PubSubPersistenceManager.java
OF-205 Changed transaction control for several methods for persistence. Also reversed the search order for loading items to compliant with the spec.
<ide><path>rc/java/org/jivesoftware/openfire/pubsub/PubSubPersistenceManager.java <ide> "DELETE FROM ofPubsubSubscription WHERE serviceID=? AND nodeID=?"; <ide> private static final String LOAD_ITEMS = <ide> "SELECT id,jid,creationDate,payload FROM ofPubsubItem " + <del> "WHERE se...
JavaScript
mit
497607b14034c1a1ae267377b418069dba1d041c
0
CCLDESTY/xml3d.js,xml3d/xml3d.js,ariyapour/xml3d.js,CCLDESTY/xml3d.js,ariyapour/xml3d.js,Fiware/webui.Xml3d.js,xml3d/xml3d.js,Fiware/webui.Xml3d.js
var Frustum = require("../tools/frustum.js").Frustum; var XC = require("../../../xflow/interface/constants.js"); var DataNode = require("../../../xflow/interface/graph.js").DataNode; var InputNode = require("../../../xflow/interface/graph.js").InputNode; var BufferEntry = require("../../../xflow/interface/data.js").Buf...
src/renderer/renderer/lights/light-models.js
var Frustum = require("../tools/frustum.js").Frustum; var XC = require("../../../xflow/interface/constants.js"); var DataNode = require("../../../xflow/interface/graph.js").DataNode; var InputNode = require("../../../xflow/interface/graph.js").InputNode; var BufferEntry = require("../../../xflow/interface/data.js").Buf...
fixed refactoring bug
src/renderer/renderer/lights/light-models.js
fixed refactoring bug
<ide><path>rc/renderer/renderer/lights/light-models.js <ide> <ide> getLightData: function (target, offset) { <ide> var matrix = target["matrix"].subarray(offset * 16, offset * 16 + 16); <del> this.getLightViewMatrix(matrix); <add> this.getLightViewProjectionMatrix(matrix); <ide> } <ide> ...
JavaScript
mit
0c9c348bcb7f7d645baf423b04e335289529924f
0
nizihabi/engine,maxwellalive/engine,sereepap2029/playcanvas,RainsSoft/engine,sanyaade-teachings/engine,maxwellalive/engine,3DGEOM/engine,horryq/engine-1,guycalledfrank/engine,SuperStarPL/engine,shinate/engine,MicroWorldwide/PlayCanvas,H1Gdev/engine,horryq/engine-1,shinate/engine,guycalledfrank/engine,sereepap2029/playc...
pc.extend(pc.fw, function () { /** * @component * @name pc.fw.CollisionMeshComponent * @constructor Create a new CollisionMeshComponent * @class A box-shaped collision volume. use this in conjunction with a RigidBodyComponent to make a Box that can be simulated using the physics engine. * @...
src/framework/components/physics/collision/collisionmesh_component.js
pc.extend(pc.fw, function () { /** * @component * @name pc.fw.CollisionMeshComponent * @constructor Create a new CollisionMeshComponent * @class A box-shaped collision volume. use this in conjunction with a RigidBodyComponent to make a Box that can be simulated using the physics engine. * @...
Fix collision mesh generation based on new JSON format. --HG-- branch : feature/json-loader
src/framework/components/physics/collision/collisionmesh_component.js
Fix collision mesh generation based on new JSON format.
<ide><path>rc/framework/components/physics/collision/collisionmesh_component.js <ide> } <ide> <ide> var indices = new Uint16Array(ib.lock()); <del> var numTriangles = indices.length / 3; <add> var numTriangles = mesh.primitive[0].count / 3; ...
Java
apache-2.0
31e509ade72c1f3e10480517d9e7f9d736cedf6d
0
3dcitydb/importer-exporter,3dcitydb/importer-exporter,3dcitydb/importer-exporter
/* * This file is part of the 3D City Database Importer/Exporter. * Copyright (c) 2007 - 2011 * Institute for Geodesy and Geoinformation Science * Technische Universitaet Berlin, Germany * http://www.gis.tu-berlin.de/ * * The 3D City Database Importer/Exporter program is free software: * you can redistr...
src/de/tub/citydb/db/kmlExporter/TileQueries.java
/* * This file is part of the 3D City Database Importer/Exporter. * Copyright (c) 2007 - 2011 * Institute for Geodesy and Geoinformation Science * Technische Universitaet Berlin, Germany * http://www.gis.tu-berlin.de/ * * The 3D City Database Importer/Exporter program is free software: * you can redistr...
Bugfix for wrong join statement.
src/de/tub/citydb/db/kmlExporter/TileQueries.java
Bugfix for wrong join statement.
<ide><path>rc/de/tub/citydb/db/kmlExporter/TileQueries.java <ide> "ORDER BY ts.building_id"; <ide> <ide> private static final String QUERY_GEOMETRY_LOD1_GET_BUILDING_DATA = <del> "SELECT sg.geometry, ts.type, sg.id " + <add> "SELECT sg.geometry, NULL as type, sg.id " + <ide> "FROM SURFACE_GEOMETRY sg, CITYOBJEC...
Java
lgpl-2.1
error: pathspec 'CytoscapeMenuBar.java' did not match any file(s) known to git
c689be6e4135a42b1c03c43607f591b5d7c00787
1
cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl
package org.cytoscape.internal.view; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import javax.swing.Action; import javax.swing.JCheckBoxMenuItem; import ja...
CytoscapeMenuBar.java
add customizable menubar
CytoscapeMenuBar.java
add customizable menubar
<ide><path>ytoscapeMenuBar.java <add>package org.cytoscape.internal.view; <add> <add>import java.io.File; <add>import java.io.IOException; <add>import java.nio.charset.Charset; <add>import java.nio.file.Files; <add>import java.util.HashMap; <add>import java.util.HashSet; <add>import java.util.List; <add>import java.uti...
JavaScript
mit
a5961bfad173f4e8e421b2d8c77f955412d5bd80
0
KanoYugoro/hubot-rss-poller
import NodePie from 'nodepie'; import request from 'request-promise'; export default function getFeed(options) { let lastTime = new Date().getTime(); async function checkFeed() { const time = new Date().getTime(); options.robot.logger.debug(`Checking ${options.name || 'unnamed feed'} at ${time}`); cons...
src/rss-feed-poller.js
import NodePie from 'nodepie'; import request from 'request-promise'; export default function getFeed(options) { let lastTime = 0; async function checkFeed() { const time = new Date().getTime(); options.robot.logger.debug(`Checking ${options.name || 'unnamed feed'} at ${time}`); const env = process.env...
Update poller script to use publish time Rather than use the last update time. Also updated poller script to only search for things that are newer than the run time of the script
src/rss-feed-poller.js
Update poller script to use publish time
<ide><path>rc/rss-feed-poller.js <ide> import request from 'request-promise'; <ide> <ide> export default function getFeed(options) { <del> let lastTime = 0; <add> let lastTime = new Date().getTime(); <ide> async function checkFeed() { <ide> const time = new Date().getTime(); <ide> options.robot.logger.debu...
Java
apache-2.0
08a36b9034b657f238b5a48608a256477ed8d61f
0
gy6221/S1-Next,ykrank/S1-Next,floating-cat/S1-Next,superpig11/S1-Next,ykrank/S1-Next,ykrank/S1-Next,suafeng/S1-Next
package cl.monsoon.s1next.view.activity; import android.Manifest; import android.app.DownloadManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.databinding.DataBindingUtil; import android.net.Uri; import android.os.Bundle; import android.os....
app/src/main/java/cl/monsoon/s1next/view/activity/GalleryActivity.java
package cl.monsoon.s1next.view.activity; import android.Manifest; import android.app.DownloadManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.databinding.DataBindingUtil; import android.net.Uri; import android.os.Bundle; import android.os....
Clarify why we use `CoordinatorLayout` in `GalleryActivity`
app/src/main/java/cl/monsoon/s1next/view/activity/GalleryActivity.java
Clarify why we use `CoordinatorLayout` in `GalleryActivity`
<ide><path>pp/src/main/java/cl/monsoon/s1next/view/activity/GalleryActivity.java <ide> ((ViewGroup.MarginLayoutParams) v.getLayoutParams()).topMargin = <ide> insets.getSystemWindowInsetTop(); <ide> <del> // see CoordinatorLayout#setWindowInsets(WindowInsetsCompat) <del> ...
Java
apache-2.0
6ca21e87ed60638f8d54472466a258cbb72fd1d1
0
arquillian/arquillian-container-undertow
package org.arquillian.undertow; import static org.junit.Assert.assertThat; import static org.hamcrest.CoreMatchers.is; import static io.undertow.Handlers.path; import static io.undertow.Handlers.websocket; import io.undertow.websockets.WebSocketConnectionCallback; import io.undertow.websockets.core.AbstractReceiveLis...
undertow-embedded/src/test/java/org/arquillian/undertow/EmbeddedUndertowClientWebSocketContainerTest.java
package org.arquillian.undertow; import static org.junit.Assert.assertThat; import static org.hamcrest.CoreMatchers.is; import static io.undertow.Handlers.path; import static io.undertow.Handlers.websocket; import io.undertow.websockets.WebSocketConnectionCallback; import io.undertow.websockets.core.AbstractReceiveLis...
resolves issue #2 by using ArquillianResource in test
undertow-embedded/src/test/java/org/arquillian/undertow/EmbeddedUndertowClientWebSocketContainerTest.java
resolves issue #2 by using ArquillianResource in test
<ide><path>ndertow-embedded/src/test/java/org/arquillian/undertow/EmbeddedUndertowClientWebSocketContainerTest.java <ide> AsyncHttpClient c = new AsyncHttpClient(); <ide> <ide> WebSocket websocket = c <del> .prepareGet("ws://localhost:8080/myapp") <add> .prepareGet("ws://"+url.getHost()+":"+url.getPort()+"/m...
Java
mit
1bf69eacd1bf72006933937578852711f1930052
0
GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.ws.rs; import org.gluu.oxauth.BaseTest; import org.gluu.oxauth.client.*; import org.gluu.oxauth.client.model.authorize.Claim; import org.gluu.oxauth....
Client/src/test/java/org/gluu/oxauth/ws/rs/OpenIDRequestObjectHttpTest.java
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.ws.rs; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.fail; import jav...
test(oxauth): fixed request file method failure (#1727)
Client/src/test/java/org/gluu/oxauth/ws/rs/OpenIDRequestObjectHttpTest.java
test(oxauth): fixed request file method failure (#1727)
<ide><path>lient/src/test/java/org/gluu/oxauth/ws/rs/OpenIDRequestObjectHttpTest.java <ide> <ide> package org.gluu.oxauth.ws.rs; <ide> <del>import static org.testng.Assert.assertEquals; <del>import static org.testng.Assert.assertNotNull; <del>import static org.testng.Assert.fail; <del> <del>import java.io.BufferedWri...
Java
apache-2.0
aa7759bd739e3c7093143f049d1238adf123b331
0
dannil/scb-java-client,dannil/scb-api,dannil/scb-java-client
/* * Copyright 2016 Daniel Nilsson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
src/main/java/com/github/dannil/scbjavaclient/model/AbstractValueModel.java
/* * Copyright 2016 Daniel Nilsson * * 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 to foreach-loop
src/main/java/com/github/dannil/scbjavaclient/model/AbstractValueModel.java
Changed to foreach-loop
<ide><path>rc/main/java/com/github/dannil/scbjavaclient/model/AbstractValueModel.java <ide> * @return the value node <ide> */ <ide> public ValueNode<V> getValue(String key) { <del> for (int i = 0; i < this.valueNodes.size(); i++) { <del> ValueNode<V> v = this.valueNodes.get(i); <add> for (ValueNode<V> v : this...
JavaScript
mit
f6f7399333f0f01b7ccb3875ed73dbc126560b02
0
jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator,jadedResearcher/SBURBSimulator
function Aftermath(session){ this.session = session; this.canRepeat = false; this.playerList = []; //what players are already in the medium when i trigger? this.trigger = function(playerList){ this.playerList = playerList; return true; //this should never be in the main array. call manually. } this.democra...
javascripts/Scenes/Aftermath.js
function Aftermath(session){ this.session = session; this.canRepeat = false; this.playerList = []; //what players are already in the medium when i trigger? this.trigger = function(playerList){ this.playerList = playerList; return true; //this should never be in the main array. call manually. } this.democra...
oh god, my true purpose has finally been revealed. troll kid rock is so great
javascripts/Scenes/Aftermath.js
oh god, my true purpose has finally been revealed. troll kid rock is so great
<ide><path>avascripts/Scenes/Aftermath.js <ide> tmpStatHolder.power =mvp.getStat("power") * this.session.players.length; //this will be a challenge. <ide> tmpStatHolder.grist = 100000000; <ide> tmpStatHolder.RELATIONSHIPS = -100; //not REAL relationships, but real enough for our purposes. <del> var purpleFrog = ne...
Java
apache-2.0
8b54ec62f748df0cad33c1f9b0261f5ce2e93719
0
fabric8io/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client
/* * Copyright (C) 2016 Original Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
annotator/src/main/java/me/snowdrop/servicecatalog/ServiceCatalogTypeAnnotator.java
/* * Copyright (C) 2016 Original Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
fix: Align annotator with the kubernetes-model annotator (set editable to false).
annotator/src/main/java/me/snowdrop/servicecatalog/ServiceCatalogTypeAnnotator.java
fix: Align annotator with the kubernetes-model annotator (set editable to false).
<ide><path>nnotator/src/main/java/me/snowdrop/servicecatalog/ServiceCatalogTypeAnnotator.java <ide> clazz.annotate(EqualsAndHashCode.class); <ide> try { <ide> JAnnotationUse buildable = clazz.annotate(Buildable.class) <del> .param("editableEnabled", true) <add> ...
Java
mpl-2.0
a67cffaf8a67eb0d001fd886e2027a74db6c11bb
0
richardwilkes/gcs,richardwilkes/gcs
/* * Copyright (c) 1998-2016 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public License, * version 2.0. If a copy of the MPL was not distributed with this file, You * can obtain one at http://mozilla.org/MPL/2.0/. * * This Source Code Form is "Incom...
src/com/trollworks/gcs/character/CharacterSheet.java
/* * Copyright (c) 1998-2016 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public License, * version 2.0. If a copy of the MPL was not distributed with this file, You * can obtain one at http://mozilla.org/MPL/2.0/. * * This Source Code Form is "Incom...
Stop losing focus for simple actions.
src/com/trollworks/gcs/character/CharacterSheet.java
Stop losing focus for simple actions.
<ide><path>rc/com/trollworks/gcs/character/CharacterSheet.java <ide> String focusKey = null; <ide> PageAssembler pageAssembler; <ide> <del> if (focus instanceof PageField) { <del> focusKey = ((PageField) focus).getConsumedType(); <add> if (UIUtilities.getSelfOrAncestorOfType(focus, CharacterSheet.class) == thi...
Java
apache-2.0
f5590fed7fb2d03b89f1d282ca12c1e1edbd7328
0
davidwatkins73/waltz-dev,kamransaleem/waltz,khartec/waltz,khartec/waltz,kamransaleem/waltz,khartec/waltz,kamransaleem/waltz,khartec/waltz,davidwatkins73/waltz-dev,davidwatkins73/waltz-dev,davidwatkins73/waltz-dev,kamransaleem/waltz
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
waltz-data/src/main/java/com/khartec/waltz/data/app_group/AppGroupOrganisationalUnitDao.java
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
Added DDL and updated DAO/Model/Services #4876
waltz-data/src/main/java/com/khartec/waltz/data/app_group/AppGroupOrganisationalUnitDao.java
Added DDL and updated DAO/Model/Services
<ide><path>altz-data/src/main/java/com/khartec/waltz/data/app_group/AppGroupOrganisationalUnitDao.java <ide> .id(r.getValue(ORGANISATIONAL_UNIT.ID)) <ide> .name(r.getValue(ORGANISATIONAL_UNIT.NAME)) <ide> .description(r.getValue(ORGANISATIONAL_UNIT...
Java
mit
bd809214b3155601f80cf14e7b90524cdf983156
0
jimkyndemeyer/js-graphql-intellij-plugin,jimkyndemeyer/js-graphql-intellij-plugin,jimkyndemeyer/js-graphql-intellij-plugin
/* * Copyright (c) 2018-present, Jim Kynde Meyer * All rights reserved. * <p> * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.intellij.lang.jsgraphql.ide.project.schemastatus; import com.intellij.icons.AllIcons; import com...
src/main/com/intellij/lang/jsgraphql/ide/project/schemastatus/GraphQLSchemasPanel.java
/* * Copyright (c) 2018-present, Jim Kynde Meyer * All rights reserved. * <p> * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.intellij.lang.jsgraphql.ide.project.schemastatus; import com.intellij.icons.AllIcons; import com...
Updated schema panel refresh to use IDE idle status to reduce editor lag during schema discovery (#164)
src/main/com/intellij/lang/jsgraphql/ide/project/schemastatus/GraphQLSchemasPanel.java
Updated schema panel refresh to use IDE idle status to reduce editor lag during schema discovery (#164)
<ide><path>rc/main/com/intellij/lang/jsgraphql/ide/project/schemastatus/GraphQLSchemasPanel.java <ide> package com.intellij.lang.jsgraphql.ide.project.schemastatus; <ide> <ide> import com.intellij.icons.AllIcons; <add>import com.intellij.ide.IdeEventQueue; <ide> import com.intellij.ide.actions.ContextHelpAction; <ide>...
JavaScript
mit
89c22241f22c97d1c7da2ffb841bcdeb39780bf5
0
prateek1095/Tweetheat,prateek1095/Tweetheat
var app = angular.module('tweet-heatmap', ['daterangepicker']); app.controller('search', function ($scope, $http) { $scope.datePicker = {startDate: null, endDate: null}; $scope.loaded = false; $scope.data = new ol.source.Vector(); // Create new map map = new ol.Map({ target: 'map', layers: [ ...
js/tweet-heatmap.js
var app = angular.module('tweet-heatmap', ['daterangepicker']); app.controller('search', function ($scope, $http) { $scope.datePicker = {startDate: null, endDate: null}; $scope.loaded = false; $scope.data = new ol.source.Vector(); // Create new map map = new ol.Map({ target: 'map', layers: [ ...
changed
js/tweet-heatmap.js
changed
<ide><path>s/tweet-heatmap.js <ide> $scope.search = function() { <ide> query = $scope.query; <ide> if (!query) { <del> return; <add> console.log("Enter a tag or a query"); <ide> } <ide> <ide> var startDatetime, endDatetime;
Java
apache-2.0
93412bcd8b4c646a77d4629a93aa8f638aab3048
0
iafek/kiji-mapreduce,kijiproject/kiji-mapreduce,kijiproject/kiji-mapreduce,kijiproject/kiji-mapreduce,iafek/kiji-mapreduce
kiji-mapreduce-cassandra/src/test/java/org/kiji/mapreduce/framework/IntegrationTestCassandraKijiTableInputFormat.java
/** * (c) Copyright 2013 WibiData, Inc. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * 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...
KIJIMR-300. Disable IntegrationTestCassandraKijiTableInputFormat until we understand why it fails on Jenkins issue: https://jira.kiji.org/browse/KIJIMR-300 review: https://review.kiji.org/r/2104
kiji-mapreduce-cassandra/src/test/java/org/kiji/mapreduce/framework/IntegrationTestCassandraKijiTableInputFormat.java
KIJIMR-300. Disable IntegrationTestCassandraKijiTableInputFormat until we understand why it fails on Jenkins
<ide><path>iji-mapreduce-cassandra/src/test/java/org/kiji/mapreduce/framework/IntegrationTestCassandraKijiTableInputFormat.java <del>/** <del> * (c) Copyright 2013 WibiData, Inc. <del> * <del> * See the NOTICE file distributed with this work for additional <del> * information regarding copyright ownership. <del> * <del...
JavaScript
apache-2.0
d2e12e79a6f1eeb66eaf589cd750737d7b119d21
0
luiseduardohdbackup/falcor,luiseduardohdbackup/falcor,bbss/falcor,Netflix/falcor,nimamehanian/falcor,nimamehanian/falcor,samarpanda/falcor,bertjwregeer/falcor,yuyokk/falcor,sorrycc/falcor,sposam/falcor,jondlm/falcor,jcouyang/falcor,daannijkamp/falcor,silky/falcor,michaelbpaulson/falcor,Siddartha07/falcor,kk9599/falcor,...
var Rx = require("falcor-observable"); var Observable = Rx.Observable; var Disposable = Rx.Disposable; var IdempotentResponse = require("falcor/response/IdempotentResponse"); var array_map = require("falcor/support/array-map"); var array_concat = require("falcor/support/array-concat"); var is_function = require("falc...
lib/response/GetResponse.js
var Rx = require("falcor-observable"); var Observable = Rx.Observable; var Disposable = Rx.Disposable; var IdempotentResponse = require("falcor/response/IdempotentResponse"); var array_map = require("falcor/support/array-map"); var array_concat = require("falcor/support/array-concat"); var is_function = require("falc...
Removes the errorSelector and comparator from GetResponse setting in its requestedMissingPaths.
lib/response/GetResponse.js
Removes the errorSelector and comparator from GetResponse setting in its requestedMissingPaths.
<ide><path>ib/response/GetResponse.js <ide> set_json_graph_as_json_dense(model, [{ <ide> paths: requestedMissingPaths, <ide> jsonGraph: envelope.jsonGraph || envelope.jsong || envelope.values || envelope.value <del> ...
Java
agpl-3.0
dfc6187dde99fe402a99561bd4121dffe579f2dd
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
518ecaa2-2e61-11e5-9284-b827eb9e62be
hello.java
5189595a-2e61-11e5-9284-b827eb9e62be
518ecaa2-2e61-11e5-9284-b827eb9e62be
hello.java
518ecaa2-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>5189595a-2e61-11e5-9284-b827eb9e62be <add>518ecaa2-2e61-11e5-9284-b827eb9e62be
Java
mit
01d815fbb6cdb2ece4899d3585a5afdfe9597e6b
0
JavaEden/Orchid-Core,JavaEden/Orchid-Core,JavaEden/OrchidCore,JavaEden/OrchidCore,JavaEden/OrchidCore
package com.eden.orchid.api.theme.models; import com.eden.common.util.EdenUtils; import com.eden.orchid.api.options.OptionsHolder; import com.eden.orchid.api.options.annotations.AllOptions; import com.eden.orchid.api.options.annotations.Description; import com.eden.orchid.api.options.annotations.Option; import lombok....
OrchidCore/src/main/java/com/eden/orchid/api/theme/models/Social.java
package com.eden.orchid.api.theme.models; import com.eden.common.util.EdenUtils; import com.eden.orchid.api.options.OptionsHolder; import com.eden.orchid.api.options.annotations.AllOptions; import com.eden.orchid.api.options.annotations.Description; import com.eden.orchid.api.options.annotations.Option; import lombok....
Update Social.java Removed google plus from social model. I am not sure where the font awesome is hosted, but I don't think removing it there would make a huge difference.
OrchidCore/src/main/java/com/eden/orchid/api/theme/models/Social.java
Update Social.java
<ide><path>rchidCore/src/main/java/com/eden/orchid/api/theme/models/Social.java <ide> @Option <ide> @Description("Your GitHub username.") <ide> public String github; <del> <del> @Option <del> @Description("Your Google+ username.") <del> public String googlePlus; <ide> <ide> @Option <ide> @...