lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
478162741df63d5516fa7e730c977472867fde7d
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-web/src/main/java/org/springframework/web/jsf/el/WebApplicationContextFacesELResolver.java
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC Issue: SPR-16543
spring-web/src/main/java/org/springframework/web/jsf/el/WebApplicationContextFacesELResolver.java
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
<ide><path>pring-web/src/main/java/org/springframework/web/jsf/el/WebApplicationContextFacesELResolver.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <...
JavaScript
agpl-3.0
f82b109fa0fcff5c87ccdd0e6162a48575e12a5a
0
OPEN-ENT-NG/springboard-opent-ent,OPEN-ENT-NG/springboard-open-ent,OPEN-ENT-NG/springboard-opent-ent,OPEN-ENT-NG/springboard-open-ent,OPEN-ENT-NG/springboard-opent-ent,OPEN-ENT-NG/springboard-open-ent
var gulp = require('gulp'); var less = require('gulp-less'); var bower = require('gulp-bower'); gulp.task('update-libs', function () { return bower() .pipe(gulp.dest('./assets/themes')); }); gulp.task('theme-leo', ['update-libs'], function () { gulp.src('./assets/themes/leo/default/*.less') .pipe...
gulpfile.js
var gulp = require('gulp'); var less = require('gulp-less'); var bower = require('gulp-bower'); gulp.task('update-libs', function () { return bower() .pipe(gulp.dest('./assets/themes')); }); gulp.task('theme-leo', ['update-libs'], function () { gulp.src('./assets/themes/leo/default/*.less') .pipe...
[evo] tech clean - push custom gulp tasks for local testing on themes
gulpfile.js
[evo] tech clean - push custom gulp tasks for local testing on themes
<ide><path>ulpfile.js <ide> .pipe(less()) <ide> .pipe(gulp.dest('./assets/themes/leo/dyslexic')); <ide> }); <add> <add>//copy themes elements on local to see tests <add>gulp.task('copy-theme-leo', function () { <add> return gulp.src(['../theme-leo/**/*']) <add> .pipe(gulp.dest('./assets/themes/leo'))...
Java
apache-2.0
e2944c37e4097eafddd61a20038bff1a6e9c4097
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-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-webmvc/src/main/java/org/springframework/web/servlet/DispatcherServlet.java
/* * Copyright 2002-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...
Make DispatcherServlet.properties loading lazy With #25209, DispatcherServlet.properties loading and parsing will be useless for most of use cases, and it requires configuration on GraalVM native images. The purpose of this issue to make such loading and parsing lazy, only invoked in getDefaultStrategies() if needed....
spring-webmvc/src/main/java/org/springframework/web/servlet/DispatcherServlet.java
Make DispatcherServlet.properties loading lazy
<ide><path>pring-webmvc/src/main/java/org/springframework/web/servlet/DispatcherServlet.java <ide> * @author Rob Harrop <ide> * @author Chris Beams <ide> * @author Rossen Stoyanchev <add> * @author Sebastien Deleuze <ide> * @see org.springframework.web.HttpRequestHandler <ide> * @see org.springframework.web.servle...
Java
apache-2.0
605511655e8306ecc0eb5c71df305337928ceb27
0
elastic/elasticsearch-river-twitter,elastic/elasticsearch-river-twitter
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
src/main/java/org/elasticsearch/river/twitter/TwitterRiver.java
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
Add profile pictures and retweets Relative to #19, we want to add extra fields: * profile pictures * retweets Closes #23. Closes #19.
src/main/java/org/elasticsearch/river/twitter/TwitterRiver.java
Add profile pictures and retweets Relative to #19, we want to add extra fields:
<ide><path>rc/main/java/org/elasticsearch/river/twitter/TwitterRiver.java <ide> builder.field("retweet_count", status.getRetweetCount()); <ide> } <ide> <add> if (status.isRetweet() && status.getRetweetedStatus() != null) { <add> builder.startObject...
Java
bsd-3-clause
14f8f221f8c42f4ada185860e20142928a48df32
0
CCM-Modding/Pay2Spawn
/* * The MIT License (MIT) * * Copyright (c) 2013 Dries K. Aka Dries007 and the CCM modding crew. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including witho...
src/main/java/ccm/pay2spawn/network/NbtRequestPacket.java
/* * The MIT License (MIT) * * Copyright (c) 2013 Dries K. Aka Dries007 and the CCM modding crew. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including witho...
Fix bug with nbtgrabber and the customentities
src/main/java/ccm/pay2spawn/network/NbtRequestPacket.java
Fix bug with nbtgrabber and the customentities
<ide><path>rc/main/java/ccm/pay2spawn/network/NbtRequestPacket.java <ide> <ide> public NbtRequestPacket(int entityId) <ide> { <del> this.type = Type.ITEM; <add> this.type = Type.ENTITY; <ide> this.request = true; <ide> this.entityId = entityId; <ide> } <ide> switch (ty...
Java
agpl-3.0
ad8439ff420205f9e4aac431894ca42575bf4440
0
VietOpenCPS/opencps-v2,VietOpenCPS/opencps-v2
package org.opencps.dossiermgt.listenner; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.opencps.dossiermgt.action.util.DossierLogUtils; import org.opencps.dossiermgt.model.Deliverable; import o...
modules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/listenner/DossierFileListenner.java
package org.opencps.dossiermgt.listenner; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.opencps.dossiermgt.action.util.DossierLogUtils; import org.opencps.dossiermgt.model.Deliverable; import o...
: DossierFileListener update Task-Url:
modules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/listenner/DossierFileListenner.java
: DossierFileListener update
<ide><path>odules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/listenner/DossierFileListenner.java <ide> String entryKey = entry.getKey(); <ide> <ide> String entryValue = StringPool.BLANK; <add> <add> _log.info("EntryKey"+entryKey); <ide> <ide> if (entryKey.startsWi...
Java
mit
49e61cd8bdd025bbd4ad9081e583f76b8f8fbd16
0
moltin/android-sdk
package moltin.android_sdk.endpoints; import android.os.Handler; import android.os.Message; import org.json.JSONObject; import java.util.Iterator; import java.util.UUID; import moltin.android_sdk.utilities.Constants; import moltin.android_sdk.utilities.Preferences; //handling the token expiration when calling end...
src/main/java/moltin/android_sdk/endpoints/Cart.java
package moltin.android_sdk.endpoints; import android.os.Handler; import android.os.Message; import org.json.JSONObject; import java.util.Iterator; import java.util.UUID; import moltin.android_sdk.utilities.Constants; import moltin.android_sdk.utilities.Preferences; //handling the token expiration when calling end...
Bug fix for cart modifier addition
src/main/java/moltin/android_sdk/endpoints/Cart.java
Bug fix for cart modifier addition
<ide><path>rc/main/java/moltin/android_sdk/endpoints/Cart.java <ide> <ide> JSONObject jsonMods = null; <ide> <del> Iterator<?> keys=mods.keys(); <del> while( keys.hasNext() ) <del> { <del> if(jsonMo...
Java
apache-2.0
a9dbcad013fe5ccdfefa71427700c026bd3760b3
0
liquibase/BACKUP_FROM_SVN,OculusVR/shanghai-liquibase,EVODelavega/liquibase,mortegac/liquibase,dprguard2000/liquibase,russ-p/liquibase,hbogaards/liquibase,AlisonSouza/liquibase,iherasymenko/liquibase,dyk/liquibase,fbiville/liquibase,NSIT/liquibase,adriens/liquibase,vbekiaris/liquibase,hbogaards/liquibase,Vampire/liquib...
package liquibase.migrator; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.expectLastCall; import static org.easymock.classextension.EasyMock.createMock; import static org.easymock.classextension.EasyMock.replay; import static org.easymock.classextension.EasyMock.reset; import s...
src/java-test/liquibase/migrator/MigratorTest.java
package liquibase.migrator; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.expectLastCall; import static org.easymock.classextension.EasyMock.createMock; import static org.easymock.classextension.EasyMock.replay; import static org.easymock.classextension.EasyMock.reset; import s...
Fixed a failing unit test due to the addition of Sybase as a supported DB git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@217 e6edf6fb-f266-4316-afb4-e53d95876a76
src/java-test/liquibase/migrator/MigratorTest.java
Fixed a failing unit test due to the addition of Sybase as a supported DB
<ide><path>rc/java-test/liquibase/migrator/MigratorTest.java <ide> @Test <ide> public void getImplementedDatabases() throws Exception { <ide> List<Database> databases = Arrays.asList(DatabaseFactory.getInstance().getImplementedDatabases()); <del> assertEquals(7, databases.size()); <add> as...
Java
mit
dab3bc7e36d1168d96b03453e32285b392149a74
0
demo-cards-trading-game/game
package demo; import demo.HandGui; import demo.Fallen.SimpleColorTableModel; import demo.DeckGui; import demo.CardGui; import javax.swing.JPanel; import javax.swing.JTextField; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.LinearGradientPaint; im...
src/demo/PlayerGui.java
package demo; import demo.HandGui; import demo.Fallen.SimpleColorTableModel; import demo.DeckGui; import demo.CardGui; import javax.swing.JPanel; import javax.swing.JTextField; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.LinearGradientPaint; im...
valudacion para que en la attack phase no se invoquen mas warriors
src/demo/PlayerGui.java
valudacion para que en la attack phase no se invoquen mas warriors
<ide><path>rc/demo/PlayerGui.java <ide> for (int i=0;i<5;i++) <ide> barriers.barriers[i].removeMouseListener(this); <ide> //disable hand <del> <add> for(int i=0;i<5;i++) <add> hand.handgui[i].Play.setEnabled(false); <ide> //enable field <ide> //enable battle phase <ide> if(t...
Java
apache-2.0
704d2344859fe5ac8aae8ac8216118a161e91315
0
trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,trekawek/jackrab...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlValidator.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 ...
OAK-51 : Implement JCR Access Control Management (WIP) git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1421965 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlValidator.java
OAK-51 : Implement JCR Access Control Management (WIP)
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/AccessControlValidator.java <ide> //----------------------------------------------------------< Validator >--- <ide> @Override <ide> public void propertyAdded(PropertyState after) throws CommitFailedException { <del> //...
Java
mit
f103d1ad7291fca9a970a96d8835726e903fa6ac
0
ttddyy/datasource-proxy,ttddyy/datasource-proxy
package net.ttddyy.dsproxy.listener.logging; import net.ttddyy.dsproxy.ExecutionInfo; import net.ttddyy.dsproxy.ExecutionInfoBuilder; import net.ttddyy.dsproxy.QueryInfo; import net.ttddyy.dsproxy.QueryInfoBuilder; import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.impl.NoOpLog; import org...
src/test/java/net/ttddyy/dsproxy/listener/logging/CommonsQueryLoggingListenerTest.java
package net.ttddyy.dsproxy.listener.logging; import net.ttddyy.dsproxy.ExecutionInfo; import net.ttddyy.dsproxy.ExecutionInfoBuilder; import net.ttddyy.dsproxy.QueryInfo; import net.ttddyy.dsproxy.QueryInfoBuilder; import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.impl.NoOpLog; import org...
Disable tests failing in travis
src/test/java/net/ttddyy/dsproxy/listener/logging/CommonsQueryLoggingListenerTest.java
Disable tests failing in travis
<ide><path>rc/test/java/net/ttddyy/dsproxy/listener/logging/CommonsQueryLoggingListenerTest.java <ide> import org.apache.commons.logging.impl.NoOpLog; <ide> import org.junit.After; <ide> import org.junit.Before; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> <ide> import java.util.ArrayList; <ide> ...
Java
apache-2.0
7b1f1bcfe68f0c49666d1f1754ce459aa6ea6db9
0
SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs
/* * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics * * 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...
tools/nibrs-staging-data/src/main/java/org/search/nibrs/stagingdata/service/summary/ReturnAFormService.java
/* * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics * * 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...
Adjust 13B and 13C's hierarchy status.
tools/nibrs-staging-data/src/main/java/org/search/nibrs/stagingdata/service/summary/ReturnAFormService.java
Adjust 13B and 13C's hierarchy status.
<ide><path>ools/nibrs-staging-data/src/main/java/org/search/nibrs/stagingdata/service/summary/ReturnAFormService.java <ide> partIOffensesMap.put("120", 6); <ide> partIOffensesMap.put("13A", 7); <ide> partIOffensesMap.put("13B", 8); <del> partIOffensesMap.put("13C", 8); <del> partIOffensesMap.put("220", 9); ...
Java
apache-2.0
213702051fb40532581941958283c61ecebd8fdc
0
steinarb/ukelonn,steinarb/ukelonn,steinarb/ukelonn
/* * Copyright 2018 Steinar Bang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
ukelonn.web.services/src/test/java/no/priv/bang/ukelonn/api/UkelonnRestApiServletTest.java
/* * Copyright 2018 Steinar Bang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Remove failing unit test of uncertain value intended to test failing login for the REST API
ukelonn.web.services/src/test/java/no/priv/bang/ukelonn/api/UkelonnRestApiServletTest.java
Remove failing unit test of uncertain value intended to test failing login for the REST API
<ide><path>kelonn.web.services/src/test/java/no/priv/bang/ukelonn/api/UkelonnRestApiServletTest.java <ide> } <ide> <ide> /** <del> * Shiro fails because there is no WebSubject bound to the thread. <del> * @throws Exception <del> */ <del> @Test <del> public void testLoginInternalServerError() ...
Java
apache-2.0
28df01e00bf1425fff53acfed60b062b072c3f05
0
MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Stack; import org.apache.commons.codec.digest.DigestUtils; ...
src/org/myrobotlab/service/NaturalReaderSpeech.java
package org.myrobotlab.service; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Stack; import org.apache.commons.codec.digest.DigestUtils; ...
give some hacked love to zombie naturalreader(alive again, not for long)
src/org/myrobotlab/service/NaturalReaderSpeech.java
give some hacked love to zombie naturalreader(alive again, not for long)
<ide><path>rc/org/myrobotlab/service/NaturalReaderSpeech.java <ide> transient public final static Logger log = LoggerFactory.getLogger(NaturalReaderSpeech.class); <ide> // default voice <ide> // TODO: natural reader has this voice.. there are others <del> // but for now.. only Ryan is wired in.. it maps to voice...
Java
lgpl-2.1
6b3beb13c50b1c466265830afef8fe1ae61009ea
0
jimregan/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool
/* LanguageTool, a natural language style checker * Copyright (C) 2020 Daniel Naber (http://www.danielnaber.de) * * 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 ...
languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/UpperCaseNgramRule.java
/* LanguageTool, a natural language style checker * Copyright (C) 2020 Daniel Naber (http://www.danielnaber.de) * * 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 ...
fix exceptions caused by parallel access to speller
languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/UpperCaseNgramRule.java
fix exceptions caused by parallel access to speller
<ide><path>anguagetool-language-modules/en/src/main/java/org/languagetool/rules/en/UpperCaseNgramRule.java <ide> && !nextIsOneOfThenUppercase(tokens, i, Arrays.asList("of")) <ide> && !tokenStr.matches("I") <ide> && !exceptions.contains(tokenStr) <del> && !isMisspelled(StringTools....
Java
apache-2.0
10ba61d2938e4724ae90b3ff9e49c9bc84b8ccae
0
linkedin/krati,jingwei/krati,jingwei/krati,jingwei/krati,linkedin/krati,linkedin/krati
/* * Copyright (c) 2010-2011 LinkedIn, 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 ...
src/retention/java/krati/retention/SimpleRetentionStoreWriter.java
/* * Copyright (c) 2010-2011 LinkedIn, 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 ...
Allow high water mark reset based on values from WaterMarksClock
src/retention/java/krati/retention/SimpleRetentionStoreWriter.java
Allow high water mark reset based on values from WaterMarksClock
<ide><path>rc/retention/java/krati/retention/SimpleRetentionStoreWriter.java <ide> /** <ide> * SimpleRetentionStoreWriter <ide> * <del> * @param <K> Key <del> * @param <V> Value <ide> * @version 0.4.2 <ide> * @author jwu <ide> * <ide> * <p> <ide> * 08/16, 2011 - Created <br/> <ide> * 10/17, 2011 - Fixed getLW...
Java
lgpl-2.1
3745f178a5ceb54f71ace3d94055c61396f7c8d8
0
levants/lightmare
package org.lightmare.jndi; import java.io.IOException; import java.util.Properties; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.spi.InitialContextFact...
src/main/java/org/lightmare/jndi/JndiManager.java
package org.lightmare.jndi; import java.io.IOException; import java.util.Properties; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.spi.InitialContextFact...
added comment on NamingUtils class method
src/main/java/org/lightmare/jndi/JndiManager.java
added comment on NamingUtils class method
<ide><path>rc/main/java/org/lightmare/jndi/JndiManager.java <ide> return context; <ide> } <ide> <add> /** <add> * Binds passed {@link Object} to {@link Context} by appropriate name <add> * <add> * @param name <add> * @param data <add> * @throws IOException <add> */ <ide> public voi...
Java
apache-2.0
9a6ae38f256327e474d81432e62fbd40d0c7391d
0
gkatsikas/onos,CNlukai/onos-gerrit-test,rvhub/onos,CNlukai/onos-gerrit-test,y-higuchi/onos,y-higuchi/onos,castroflavio/onos,zsh2938/onos,oeeagle/onos,chinghanyu/onos,Shashikanth-Huawei/bmp,LorenzReinhart/ONOSnew,sonu283304/onos,rvhub/onos,oplinkoms/onos,osinstom/onos,maheshraju-Huawei/actn,gkatsikas/onos,oplinkoms/onos...
/* * Copyright 2014-2015 Open Networking Laboratory * * 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 applicab...
core/api/src/main/java/org/onosproject/net/resource/BandwidthResource.java
/* * Copyright 2014-2015 Open Networking Laboratory * * 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 applicab...
Rename arguments to make its meaning clear Change-Id: I1d9d5f53318b4d252b0ed0cddfcb9bee0367bdd8
core/api/src/main/java/org/onosproject/net/resource/BandwidthResource.java
Rename arguments to make its meaning clear
<ide><path>ore/api/src/main/java/org/onosproject/net/resource/BandwidthResource.java <ide> /** <ide> * Creates a new instance with given bandwidth in bps. <ide> * <del> * @param bandwidth bandwidth value to be assigned <add> * @param bps bandwidth value to be assigned <ide> * @return {@link B...
JavaScript
agpl-3.0
5a17384bf0050925548858db6042ce456217bcd4
0
cecep-edu/edx-platform,cecep-edu/edx-platform,cecep-edu/edx-platform,cecep-edu/edx-platform,cecep-edu/edx-platform
define(["backbone", "backbone.associations"], function(Backbone){ var Topic = Backbone.AssociatedModel.extend({ defaults: function(){ return { name: "", description: "", order: this.collection ? this.collection.nextOrder(): 1 }; ...
cms/static/js/models/topic.js
define(["backbone", "backbone.associations"], function(Backbone){ var Topic = Backbone.AssociatedModel.extend({ defaults: function(){ return { name: "", description: "", order: this.collection ? this.collection.nextOrder(): 1 }; ...
Cambios para definir la colleccion syllabys en course_module
cms/static/js/models/topic.js
Cambios para definir la colleccion syllabys en course_module
<ide><path>ms/static/js/models/topic.js <ide> description: this.get('description') <ide> }; <ide> }, <add> <add> validate: function(attrs, options) { <add> if(!attrs.name && !attrs.description) { <add> return { <add> message: "Topic...
Java
lgpl-2.1
d56348b862dc2aee415b57c7c7de49fa81046222
0
danieljue/beast-mcmc,evolvedmicrobe/beast-mcmc,danieljue/beast-mcmc,danieljue/beast-mcmc,danieljue/beast-mcmc,danieljue/beast-mcmc,evolvedmicrobe/beast-mcmc,evolvedmicrobe/beast-mcmc,evolvedmicrobe/beast-mcmc,evolvedmicrobe/beast-mcmc
package dr.app.beagle.tools; import java.util.ArrayList; import java.util.List; import java.util.Locale; import beagle.Beagle; import beagle.BeagleFactory; import dr.app.beagle.evomodel.sitemodel.BranchSubstitutionModel; import dr.app.beagle.evomodel.sitemodel.EpochBranchSubstitutionModel; import dr.app.beagle.evomod...
src/dr/app/beagle/tools/BeagleSequenceSimulator.java
package dr.app.beagle.tools; import java.util.ArrayList; import java.util.List; import java.util.Locale; import beagle.Beagle; import beagle.BeagleFactory; import dr.app.beagle.evomodel.sitemodel.BranchSubstitutionModel; import dr.app.beagle.evomodel.sitemodel.EpochBranchSubstitutionModel; import dr.app.beagle.evomod...
epoch model simulation
src/dr/app/beagle/tools/BeagleSequenceSimulator.java
epoch model simulation
<ide><path>rc/dr/app/beagle/tools/BeagleSequenceSimulator.java <ide> this.treeModel = treeModel; <ide> this.gammaSiteRateModel = gammaSiteRateModel; <ide> this.sequenceLength = sequenceLength; <del> this.freqModel = freqModel; // gammaSiteRateModel.getSubstitutionModel().getFrequencyModel(); <add> this.freqMode...
Java
bsd-3-clause
aa5a8dd3ef24c68662f4770e1c8b3137a34a279e
0
asamgir/openspecimen,asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen
/** * <p>Title: SpecimenCollectionGroupAction Class> * <p>Description: SpecimenCollectionGroupAction initializes the fields in the * New Specimen Collection Group page.</p> * Copyright: Copyright (c) year * Company: Washington University, School of Medicine, St. Louis. * @author Ajay Sharma * @version...
WEB-INF/src/edu/wustl/catissuecore/action/SpecimenCollectionGroupAction.java
/** * <p>Title: SpecimenCollectionGroupAction Class> * <p>Description: SpecimenCollectionGroupAction initializes the fields in the * New Specimen Collection Group page.</p> * Copyright: Copyright (c) year * Company: Washington University, School of Medicine, St. Louis. * @author Ajay Sharma * @version...
Bug : 6412 :performance related. SVN-Revision: 10524
WEB-INF/src/edu/wustl/catissuecore/action/SpecimenCollectionGroupAction.java
Bug : 6412 :performance related.
<ide><path>EB-INF/src/edu/wustl/catissuecore/action/SpecimenCollectionGroupAction.java <ide> import org.apache.struts.action.ActionForward; <ide> import org.apache.struts.action.ActionMapping; <ide> <add>import edu.wustl.catissuecore.action.annotations.AnnotationConstants; <ide> import edu.wustl.catissuecore.actionFor...
JavaScript
apache-2.0
6519e360e05999c9803cce0b1903096e23e3ffe5
0
rullionsolutions/lazuli-data
"use strict"; var Data = require("lazuli-data/index.js"); /** * To represent a button */ module.exports = Data.Text.clone({ id: "ContextButton", css_type: "url", editable: false, // no reason to be editable... label: "", // Mainly just the column heading tb_size: "xs",...
fields_supl/ContextButton.js
"use strict"; var Data = require("lazuli-data/index.js"); /** * To represent a button */ module.exports = Data.Text.clone({ id: "ContextButton", css_type: "url", editable: false, // no reason to be editable... label: "", // Mainly just the column heading tb_size: "xs",...
add the 'btn-default' class to buttons for TB3
fields_supl/ContextButton.js
add the 'btn-default' class to buttons for TB3
<ide><path>ields_supl/ContextButton.js <ide> <ide> <ide> module.exports.define("getButtonCSSClass", function () { <del> var css_class = "btn btn-" + this.tb_size; <add> var css_class = "btn btn-default btn-" + this.tb_size; <ide> if (this.btn_css_class) { <ide> css_class += " " + this.btn_css_class;...
JavaScript
apache-2.0
a55146cf4ca18a4753544310cbdc565aa26ca89a
0
panox/AnimeHub,panox/AnimeHub
angular .module("animeHub") .controller("animesController", animesController); animesController.$inject =['$stateParams', 'Anime', 'Comment', 'TokenService']; function animesController($stateParams, Anime, Comment, TokenService){ // object saved as self var self = this; // decoded info of user self.userTo...
src/js/controllers/animesController.js
angular .module("animeHub") .controller("animesController", animesController); animesController.$inject =['$stateParams', 'Anime', 'Comment', 'TokenService']; function animesController($stateParams, Anime, Comment, TokenService){ // object saved as self var self = this; // decoded info of user self.userTo...
commnets array saved in variable
src/js/controllers/animesController.js
commnets array saved in variable
<ide><path>rc/js/controllers/animesController.js <ide> // delete comment <ide> self.removeComment = function(comment) { <ide> Comment.remove({id: comment._id}, function() { <del> var index = self.selectedAnime.comments.indexOf(comment); <del> self.selectedAnime.comments.splice(index, 1); <add> va...
Java
apache-2.0
6b90c0731cdcc9f1249501f455adfb6566ee5f6a
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.views; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.view.Display; import android.view.MotionEvent; import android.view.View; import android.view.WindowManager; import org...
app/src/org/commcare/views/DrawView.java
package org.commcare.views; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.view.Display; import android.view.MotionEvent; import android.view.View; import android.view.WindowManager; import org...
Rename variable
app/src/org/commcare/views/DrawView.java
Rename variable
<ide><path>pp/src/org/commcare/views/DrawView.java <ide> private final Paint paint; <ide> private final Paint pointPaint; <ide> private float mX, mY; <del> private Callback callback; <add> private Callback onViewDrawn; <ide> <ide> public DrawView(final Context c, Paint paint, Paint pointPaint) { ...
Java
mit
990803549d6d07ab623fc8a90fc00dc62cc9e36b
0
Nylle/JavaFixture
package com.github.nylle.javafixture; import com.github.nylle.javafixture.specimen.ArraySpecimen; import com.github.nylle.javafixture.specimen.CollectionSpecimen; import com.github.nylle.javafixture.specimen.EnumSpecimen; import com.github.nylle.javafixture.specimen.GenericSpecimen; import com.github.nylle.javafixture...
src/main/java/com/github/nylle/javafixture/SpecimenFactory.java
package com.github.nylle.javafixture; import com.github.nylle.javafixture.specimen.ArraySpecimen; import com.github.nylle.javafixture.specimen.CollectionSpecimen; import com.github.nylle.javafixture.specimen.EnumSpecimen; import com.github.nylle.javafixture.specimen.GenericSpecimen; import com.github.nylle.javafixture...
JAVAFIXTURE-20: reverted ObjectSpecimen-hack because it simply doesn't work
src/main/java/com/github/nylle/javafixture/SpecimenFactory.java
JAVAFIXTURE-20: reverted ObjectSpecimen-hack because it simply doesn't work
<ide><path>rc/main/java/com/github/nylle/javafixture/SpecimenFactory.java <ide> return new GenericSpecimen<>(type, ReflectionHelper.getGenericTypeClass(genericType, 0)); <ide> } <ide> <del> return new ObjectSpecimen<>(type, context, this); <del> <del> //throw new SpecimenException(Str...
Java
agpl-3.0
5028801ec8150bfc1d6add2356c81e2e27a19aa3
0
CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceeng...
package com.splicemachine.derby.impl.sql.execute; import java.util.List; import com.splicemachine.db.iapi.sql.execute.ResultSetFactory; import com.splicemachine.derby.impl.sql.execute.operations.*; import com.splicemachine.derby.impl.sql.execute.operations.batchonce.BatchOnceOperation; import com.splicemachine.derby....
splice_machine/src/main/java/com/splicemachine/derby/impl/sql/execute/SpliceGenericResultSetFactory.java
package com.splicemachine.derby.impl.sql.execute; import java.util.List; import com.splicemachine.db.iapi.sql.execute.ResultSetFactory; import com.splicemachine.derby.impl.sql.execute.operations.*; import com.splicemachine.derby.impl.sql.execute.operations.batchonce.BatchOnceOperation; import com.splicemachine.derby....
DB-4127: include plan for vti operation.
splice_machine/src/main/java/com/splicemachine/derby/impl/sql/execute/SpliceGenericResultSetFactory.java
DB-4127: include plan for vti operation.
<ide><path>plice_machine/src/main/java/com/splicemachine/derby/impl/sql/execute/SpliceGenericResultSetFactory.java <ide> int scanIsolationLevel, double optimizerEstimatedRowCount, <ide> double optimizerEstimatedCost, boolean isDerbyStyl...
Java
apache-2.0
29f271d1039e07d553a19ce04cc960ad6b351a8e
0
metaborg/spoofax-eclipse
package org.metaborg.spoofax.eclipse.editor; import java.awt.Color; import java.util.Collection; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.vfs2.FileObject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IProgr...
org.metaborg.spoofax.eclipse/src/main/java/org/metaborg/spoofax/eclipse/editor/MetaBorgEditor.java
package org.metaborg.spoofax.eclipse.editor; import java.awt.Color; import java.util.Collection; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.vfs2.FileObject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IProgr...
Reduce scheduling resources of editor update job when no analysis is required, reducing contention.
org.metaborg.spoofax.eclipse/src/main/java/org/metaborg/spoofax/eclipse/editor/MetaBorgEditor.java
Reduce scheduling resources of editor update job when no analysis is required, reducing contention.
<ide><path>rg.metaborg.spoofax.eclipse/src/main/java/org/metaborg/spoofax/eclipse/editor/MetaBorgEditor.java <ide> parseResultProcessor, analysisResultProcessor, this, input, eclipseResource, resource, document.get(), <ide> instantaneous, analysisDelayMs, analysis); <ide> final IScheduli...
Java
mit
b0b2711988e47ed9076271ce2da046d16a27a9aa
0
bpowers/doppio,plasma-umass/doppio,bpowers/doppio,plasma-umass/doppio,bpowers/doppio,plasma-umass/doppio
package classes.test; import java.util.zip.Inflater; import java.util.zip.Deflater; import java.io.IOException; import java.util.zip.DataFormatException; /** * Tests Doppio's natively implemented zip functions. */ class Zip { public static void main(String[] args) { try { // Encode a String into bytes Stri...
classes/test/Zip.java
package classes.test; import java.util.zip.Inflater; import java.util.zip.Deflater; import java.io.IOException; import java.util.zip.DataFormatException; /** * Tests Doppio's natively implemented zip functions. */ class Zip { public static void main(String[] args) { try { // Encode a String into bytes Stri...
Changed the input string to something that can actually be compressed... lol
classes/test/Zip.java
Changed the input string to something that can actually be compressed... lol
<ide><path>lasses/test/Zip.java <ide> public static void main(String[] args) { <ide> try { <ide> // Encode a String into bytes <del> String inputString = "This is my input string."; <add> String inputString = "blahblahblahblah"; <ide> byte[] input = inputString.getBytes("UTF-8"); <ide> int originalLengt...
Java
apache-2.0
008f60e14201f92ee26cca8da19884f16078cba2
0
hackbuteer59/sakai,ktakacs/sakai,conder/sakai,conder/sakai,wfuedu/sakai,willkara/sakai,colczr/sakai,surya-janani/sakai,surya-janani/sakai,OpenCollabZA/sakai,hackbuteer59/sakai,udayg/sakai,willkara/sakai,lorenamgUMU/sakai,buckett/sakai-gitflow,kingmook/sakai,liubo404/sakai,buckett/sakai-gitflow,liubo404/sakai,whumph/sak...
/******************************************************************************* * Copyright (c) 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community 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...
gradebook/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/ViewByStudentBean.java
/******************************************************************************* * Copyright (c) 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community 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...
SAK-23148 - Remove external group check property git-svn-id: 544c358cc09106d3ca69bf3799573b8ef390fbe0@118508 66ffb92e-73f9-0310-93c1-f5514f145a0a
gradebook/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/ViewByStudentBean.java
SAK-23148 - Remove external group check property
<ide><path>radebook/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/ViewByStudentBean.java <ide> i.remove(); <ide> } <ide> <del> boolean checkExternalGroups = ServerConfigurationService.getBoolean("gradebook.check.external.groups", false); <ide> i = gradeRows.iterator(); <del> if (checkE...
Java
apache-2.0
b364ac28aeeaa714c4b0969512a37393d9f83fdb
0
nishantmonu51/hive,b-slim/hive,alanfgates/hive,jcamachor/hive,sankarh/hive,b-slim/hive,vineetgarg02/hive,vergilchiu/hive,anishek/hive,sankarh/hive,anishek/hive,nishantmonu51/hive,vergilchiu/hive,sankarh/hive,jcamachor/hive,vergilchiu/hive,sankarh/hive,alanfgates/hive,sankarh/hive,lirui-apache/hive,anishek/hive,jcamacho...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
HIVE-4681 : Fix ORC TimestampTreeReader.nextVector() to handle milli-nano math corectly (Gopal V via Ashutosh Chauhan) git-svn-id: c099304d40fc5b90517fa4092b3ffe4a60a2490c@1490840 13f79535-47bb-0310-9956-ffa450edef68
ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java
HIVE-4681 : Fix ORC TimestampTreeReader.nextVector() to handle milli-nano math corectly (Gopal V via Ashutosh Chauhan)
<ide><path>l/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java <ide> nanoVector.isNull = result.isNull; <ide> nanos.nextVector(nanoVector, batchSize); <ide> <del> if (!(result.isRepeating && nanoVector.isRepeating)) { <del> <del> // Non repeating values preset in the vector. Itera...
Java
agpl-3.0
a4778a26880dd8cb167b5546aefbf2e2c4348e39
0
rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat
package roart.component; import java.time.LocalDate; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson...
iclij/iclij-core/src/main/java/roart/component/ComponentPredictor.java
package roart.component; import java.time.LocalDate; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson...
Predictor fix for improve disable aggregator ml if no confidence (I79).
iclij/iclij-core/src/main/java/roart/component/ComponentPredictor.java
Predictor fix for improve disable aggregator ml if no confidence (I79).
<ide><path>clij/iclij-core/src/main/java/roart/component/ComponentPredictor.java <ide> return list; <ide> } <ide> <add> @Override <add> public List<String>[] enableDisable(ComponentData param, List<Integer> positions) { <add> List[] list = new ArrayList[2]; <add> return list; <add> }...
JavaScript
mit
b72b07161a16d560807eaf96a647d51a6005089d
0
vaultah/se-questions-notifications
'use strict'; function SE_questions_check() { var copyright = $('#copyright'), link = $('a', 'li.youarehere'); return (copyright.length && copyright.html().indexOf('stack exchange inc') != -1 && link.length && link.attr('href').indexOf('/questions') != -1 && $('...
main.js
'use strict'; function SE_questions_check() { var copyright = $('#copyright'), link = $('a', 'li.youarehere'); return (copyright.length && copyright.html().indexOf('stack exchange inc') != -1 && link.length && link.attr('href').indexOf('/questions') != -1); } if (SE_quest...
Some minor improvements
main.js
Some minor improvements
<ide><path>ain.js <ide> 'use strict'; <del> <ide> <ide> function SE_questions_check() { <ide> var copyright = $('#copyright'), link = $('a', 'li.youarehere'); <ide> return (copyright.length && <ide> copyright.html().indexOf('stack exchange inc') != -1 && <ide> link.length && <del> ...
Java
apache-2.0
270db7829db664028204df2cdc89db4b59868551
0
wmaintw/DependencyCheck,adilakhter/DependencyCheck,stevespringett/DependencyCheck,awhitford/DependencyCheck,awhitford/DependencyCheck,recena/DependencyCheck,awhitford/DependencyCheck,jeremylong/DependencyCheck,colezlaw/DependencyCheck,hansjoachim/DependencyCheck,stefanneuhaus/DependencyCheck,stefanneuhaus/DependencyChe...
/* * This file is part of dependency-check-core. * * 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 ...
dependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/AssemblyAnalyzerTest.java
/* * This file is part of dependency-check-core. * * 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 ...
fixed teest case Former-commit-id: 7ced3ad498d077c8bed116c161744dd817250d96
dependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/AssemblyAnalyzerTest.java
fixed teest case
<ide><path>ependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/AssemblyAnalyzerTest.java <ide> try { <ide> // Have to make a NEW analyzer because during setUp, it would have gotten the correct one <ide> AssemblyAnalyzer aanalyzer = new AssemblyAnalyzer(); <add> ...
Java
apache-2.0
ec5d72fa9309e83f61fa93d4f5c7630d2a69db0a
0
MaTriXy/Renderers,pedrovgs/Renderers
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
sample/src/main/java/com/pedrogomez/renderers/sample/ui/RecyclerViewActivity.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
Fix some checkstyle issues
sample/src/main/java/com/pedrogomez/renderers/sample/ui/RecyclerViewActivity.java
Fix some checkstyle issues
<ide><path>ample/src/main/java/com/pedrogomez/renderers/sample/ui/RecyclerViewActivity.java <ide> import butterknife.Bind; <ide> import com.pedrogomez.renderers.AdapteeCollection; <ide> import com.pedrogomez.renderers.RVRendererAdapter; <del>import com.pedrogomez.renderers.Renderer; <ide> import com.pedrogomez.renderer...
JavaScript
mit
41d4bb4ebf41f8f3882e305c4093ff743f05892b
0
alexwuwei/201-First-Guessing-Game,alexwuwei/201-First-Guessing-Game
var userName = prompt("what is your name?"); var counter = 0; alert ("Hi there, " + userName + ". You will be asked 4 questions today (3 of them about this developer). Please answer 'Y' for yes and 'N' for No"); console.log("the user's name is " + userName); //First question block var questionOne = prompt("is my name ...
app.js
var userName = prompt("what is your name?"); var counter = 0; alert ("Hi there, " + userName + ". You will be asked 4 questions today (3 of them about this developer). Please answer 'Y' for yes and 'N' for No"); console.log("the user's name is " + userName); //First question block var questionOne = prompt("is my name ...
added final number question functionality, along with final congratulatory alert
app.js
added final number question functionality, along with final congratulatory alert
<ide><path>pp.js <ide> console.log(userName +" answered the question with " + bonusQuestion); <ide> var numberQuestionWrongCounter = 0; <ide> while (bonusQuestion != 6) { <del> alert("Wrong. So, so wrong. You've had " + numberQuestionWrongCounter + " wrong answers so far. Please take this more seriously a...
Java
apache-2.0
5b98e24f10d4c97d13bc2be35a2262b742e2f758
0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
/* * Copyright (c) OSGi Alliance (2004, 2015). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
osgi.specs/src/org/osgi/tools/xmldoclet/XmlDoclet.java
/* * Copyright (c) OSGi Alliance (2004, 2015). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
spec: Fix doclet to handle ? super T type wildcard bounds
osgi.specs/src/org/osgi/tools/xmldoclet/XmlDoclet.java
spec: Fix doclet to handle ? super T type wildcard bounds
<ide><path>sgi.specs/src/org/osgi/tools/xmldoclet/XmlDoclet.java <ide> import java.util.TreeSet; <ide> import java.util.regex.Matcher; <ide> import java.util.regex.Pattern; <add> <ide> import com.sun.javadoc.AnnotationDesc; <ide> import com.sun.javadoc.AnnotationTypeDoc; <ide> import com.sun.javadoc.AnnotationTypeEleme...
JavaScript
agpl-3.0
8b06a3f2f1ac3861ae353cc74e2ff02ecd951539
0
nextcloud/spreed,nextcloud/spreed,nextcloud/spreed
// TODO(fancycode): Should load through AMD if possible. /* global SimpleWebRTC, OC, OCA: false */ var webrtc; var spreedMappingTable = []; (function(OCA, OC) { 'use strict'; OCA.SpreedMe = OCA.SpreedMe || {}; /** * @private */ function openEventSource() { // Connect to the messages endpoint and pull for ...
js/webrtc.js
// TODO(fancycode): Should load through AMD if possible. /* global SimpleWebRTC, OC, OCA: false */ var webrtc; var spreedMappingTable = []; (function(OCA, OC) { 'use strict'; OCA.SpreedMe = OCA.SpreedMe || {}; /** * @private */ function openEventSource() { // Connect to the messages endpoint and pull for ...
Add opacity to avatars. Signed-off-by: Ivan Sein <a15f8b81a160b4eebe5c84e9e3b65c87b9b2f18e@nextcloud.com>
js/webrtc.js
Add opacity to avatars.
<ide><path>s/webrtc.js <ide> $(avatar).avatar(null, 128); <ide> } <ide> <add> $(avatar).css('opacity', '0.5'); <add> <ide> var avatarContainer = document.createElement('div'); <ide> avatarContainer.className = 'avatar-container'; <ide> avatarContainer.appendChild(avatar); <ide> case 'conn...
Java
apache-2.0
edec8ead31fce226325e3bb17e7196e1d2d2f148
0
l0s/fernet-java8,l0s/fernet-java8
/** Copyright 2017 Carlos Macasaet Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
fernet-java8/src/test/java/com/macasaet/fernet/example/rotation/RedisKeyManager.java
/** Copyright 2017 Carlos Macasaet Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
Fix compliation issues with upgrading to Jedis 3.x Addresses: #105
fernet-java8/src/test/java/com/macasaet/fernet/example/rotation/RedisKeyManager.java
Fix compliation issues with upgrading to Jedis 3.x
<ide><path>ernet-java8/src/test/java/com/macasaet/fernet/example/rotation/RedisKeyManager.java <ide> */ <ide> package com.macasaet.fernet.example.rotation; <ide> <del>import java.io.IOException; <ide> import java.util.Random; <ide> <ide> import javax.inject.Inject; <ide> transaction.lpush("fernet_key...
Java
mit
36e3d5d4b06088aa1871d7b9c28c98a8d09416d5
0
ryanpconnors/art-thief
package com.ryanpconnors.artthief.artgallery; import android.content.ContentValues; import android.content.Context; import android.content.ContextWrapper; import android.database.Cursor; import android.database.sqlite.SQLiteConstraintException; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bit...
app/src/main/java/com/ryanpconnors/artthief/artgallery/Gallery.java
package com.ryanpconnors.artthief.artgallery; import android.content.ContentValues; import android.content.Context; import android.content.ContextWrapper; import android.database.Cursor; import android.database.sqlite.SQLiteConstraintException; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bit...
Adds getter and setter for SortArtwork Table in Gallery.
app/src/main/java/com/ryanpconnors/artthief/artgallery/Gallery.java
Adds getter and setter for SortArtwork Table in Gallery.
<ide><path>pp/src/main/java/com/ryanpconnors/artthief/artgallery/Gallery.java <ide> import com.ryanpconnors.artthief.database.ArtWorkDbSchema; <ide> import com.ryanpconnors.artthief.database.ArtWorkDbSchema.ArtWorkTable; <ide> import com.ryanpconnors.artthief.database.ArtWorkDbSchema.InfoTable; <add>import com.ryanpcon...
Java
bsd-3-clause
869a7cba1e7677c0031902e33d877ad8380b1028
0
fabricebouye/gw2-sab
/* * Copyright (C) 2016 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package com.bouye.gw2.sab.scene.account.wallet; import api.web.gw2.mapping.core.JsonpContext; import api.web.gw2.mapping.v2.a...
gw2-sab-tests/src/com/bouye/gw2/sab/scene/account/wallet/TestWalletPane.java
/* * Copyright (C) 2016 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package com.bouye.gw2.sab.scene.account.wallet; import api.web.gw2.mapping.core.JsonpContext; import api.web.gw2.mapping.v2.a...
Added missing exception handler. Used a scheduled service instead of a service.
gw2-sab-tests/src/com/bouye/gw2/sab/scene/account/wallet/TestWalletPane.java
Added missing exception handler. Used a scheduled service instead of a service.
<ide><path>w2-sab-tests/src/com/bouye/gw2/sab/scene/account/wallet/TestWalletPane.java <ide> import java.util.Map; <ide> import java.util.Optional; <ide> import java.util.function.Function; <add>import java.util.logging.Level; <add>import java.util.logging.Logger; <ide> import java.util.stream.Collectors; <ide> import ...
Java
apache-2.0
7dc591fddc9334a4397e8c06ae801497ec96edb0
0
consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo
/* * Copyright 2000-2014 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...
modules/base/platform-impl/src/main/java/com/intellij/openapi/wm/impl/IdeMenuBar.java
/* * Copyright 2000-2014 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...
fix npe
modules/base/platform-impl/src/main/java/com/intellij/openapi/wm/impl/IdeMenuBar.java
fix npe
<ide><path>odules/base/platform-impl/src/main/java/com/intellij/openapi/wm/impl/IdeMenuBar.java <ide> return false; <ide> } <ide> <add> @Nullable <ide> private Component findActualComponent(MouseEvent mouseEvent) { <ide> Component component = mouseEvent.getComponent(); <add> if(component == null) { <ad...
Java
mit
3edcedf944488aa6905f56cceda6853957c83b28
0
bcgit/bc-java,bcgit/bc-java,bcgit/bc-java
package org.bouncycastle.openpgp; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.bounc...
pg/src/main/java/org/bouncycastle/openpgp/PGPSecretKeyRing.java
package org.bouncycastle.openpgp; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.bounc...
Add PGPSecretKeyRing.insertOrReplacePublicKey()
pg/src/main/java/org/bouncycastle/openpgp/PGPSecretKeyRing.java
Add PGPSecretKeyRing.insertOrReplacePublicKey()
<ide><path>g/src/main/java/org/bouncycastle/openpgp/PGPSecretKeyRing.java <ide> } <ide> <ide> /** <add> * Either replace the public key on the corresponding secret key in the key ring if present, <add> * or insert the public key as an extra public key in case that the secret ring does not <add> * c...
Java
apache-2.0
723652b545b98401b6df7343d274d3c70e931858
0
apache/commons-ognl,mohanaraosv/commons-ognl,apache/commons-ognl,mohanaraosv/commons-ognl
package org.apache.commons.ognl; /* * 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, Ve...
src/main/java/org/apache/commons/ognl/EvaluationPool.java
package org.apache.commons.ognl; /* * 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, Ve...
added evaluations list raw type, removed unneeded casts git-svn-id: 3629b0064825e9d7230d3d0196b9ea5edc1472c8@1126238 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/ognl/EvaluationPool.java
added evaluations list raw type, removed unneeded casts
<ide><path>rc/main/java/org/apache/commons/ognl/EvaluationPool.java <ide> <ide> public final class EvaluationPool <ide> { <del> private List evaluations = new ArrayList(); <add> private List<Evaluation> evaluations = new ArrayList<Evaluation>(); <ide> <ide> private int size = 0; <ide> <ide> <ide> ...
Java
apache-2.0
e08ad04c43c53ac8088b57bf8e293d35022bd227
0
Smartling/marketo-rest-sdk-java
package com.smartling.marketo.sdk.rest.transport; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableSet; import com.smartling.marketo.sdk.HasToBeMappedToJson; import com.smartling.marketo.sdk.MarketoApiException; imp...
src/main/java/com/smartling/marketo/sdk/rest/transport/JaxRsHttpCommandExecutor.java
package com.smartling.marketo.sdk.rest.transport; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableSet; import com.smartling.marketo.sdk.HasToBeMappedToJson; import com.smartling.marketo.sdk.MarketoApiException; imp...
MRKT-263 cleanup
src/main/java/com/smartling/marketo/sdk/rest/transport/JaxRsHttpCommandExecutor.java
MRKT-263 cleanup
<ide><path>rc/main/java/com/smartling/marketo/sdk/rest/transport/JaxRsHttpCommandExecutor.java <ide> final FormDataMultiPart multiPartEntity = new FormDataMultiPart(); <ide> <ide> for (Entry<String, Object> param : parameters.entrySet()) { <del>// FormDataBodyPart bodyPart = new FormDataBody...
Java
apache-2.0
25bfb552b1b1ad3c89ced07a89d6144b1fb9d722
0
stome/stomev1,stome/stomev1,stome/stomev1,stome/stomev1,stome/stomev1
import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ConcurrentHashMap; import java.sql.DriverManager; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.ut...
LinkProcessor.java
import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ConcurrentHashMap; import java.sql.DriverManager; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.ut...
Added handling for busy database which was causing general failures
LinkProcessor.java
Added handling for busy database which was causing general failures
<ide><path>inkProcessor.java <ide> return tags; <ide> } <ide> <add>// TODO 0: Create a version of this function which pulls multiple tags at once <ide> public Integer dbGetTagCount( String tagName, Tags selectedTags ) <ide> { <ide> String whereClause = "tag_id = " + dbGetTagId( tagName ); <...
Java
apache-2.0
98b60877b8d999611718b0cbf752ae26b1504f97
0
superm1a3/mamute,xdarklight/mamute,bradparks/mamute,bradparks/mamute,csokol/mamute,GEBIT/mamute,cristianospsp/mamute,shomabegoo/shomabegoo,JamesSullivan/mamute,JamesSullivan/mamute,superm1a3/mamute,shomabegoo/shomabegoo,c2tarun/mamute,dhieugo/mamute,jasonwjones/mamute,dhieugo/mamute,dhieugo/mamute,xdarklight/mamute,cae...
package br.com.caelum.brutal.model; import static br.com.caelum.brutal.infra.NormalizerBrutal.toSlug; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Lob; import javax.persistence.ManyToO...
src/main/java/br/com/caelum/brutal/model/Question.java
package br.com.caelum.brutal.model; import static br.com.caelum.brutal.infra.NormalizerBrutal.toSlug; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence...
dica do gui: não cabace, e se alguém usar o cara nulo? XD
src/main/java/br/com/caelum/brutal/model/Question.java
dica do gui: não cabace, e se alguém usar o cara nulo? XD
<ide><path>rc/main/java/br/com/caelum/brutal/model/Question.java <ide> <ide> import static br.com.caelum.brutal.infra.NormalizerBrutal.toSlug; <ide> <add>import java.util.ArrayList; <ide> import java.util.List; <ide> import javax.persistence.Entity; <ide> import javax.persistence.GeneratedValue; <ide> private User a...
Java
epl-1.0
4369acb657baf8e299df0d8dca46454001ab354f
0
rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse
package com.redhat.ceylon.eclipse.code.refactor; import static com.redhat.ceylon.compiler.java.codegen.CodegenUtil.getJavaNameOfDeclaration; import static com.redhat.ceylon.eclipse.util.DocLinks.nameRegion; import static com.redhat.ceylon.eclipse.util.Escaping.toInitialLowercase; import static com.redhat.ceylon.eclips...
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/refactor/RenameRefactoring.java
package com.redhat.ceylon.eclipse.code.refactor; import static com.redhat.ceylon.compiler.java.codegen.CodegenUtil.getJavaNameOfDeclaration; import static com.redhat.ceylon.eclipse.util.DocLinks.nameRegion; import static com.redhat.ceylon.eclipse.util.Escaping.toInitialLowercase; import static com.redhat.ceylon.eclips...
fix #1494
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/refactor/RenameRefactoring.java
fix #1494
<ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/refactor/RenameRefactoring.java <ide> import org.eclipse.core.runtime.IPath; <ide> import org.eclipse.core.runtime.IProgressMonitor; <ide> import org.eclipse.core.runtime.OperationCanceledException; <add>import org.eclipse.jdt.core.JavaCo...
Java
mit
c0648f73167d7bbede1692861e4a04381f06fd98
0
greenaddress/abcore,greenaddress/abcore
package com.greenaddress.abcore; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatAct...
app/src/main/java/com/greenaddress/abcore/MainActivity.java
package com.greenaddress.abcore; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatAct...
fix wrong user text
app/src/main/java/com/greenaddress/abcore/MainActivity.java
fix wrong user text
<ide><path>pp/src/main/java/com/greenaddress/abcore/MainActivity.java <ide> final TextView status = (TextView) activity.findViewById(R.id.textView); <ide> final Button button = (Button) activity.findViewById(R.id.button); <ide> button.setVisibility(View.GONE); <del> status.setText("Bitcoi...
Java
mit
8a44842e49806b83aea3881d8178efc3d4a250b0
0
kotogadekiru/ursula,kotogadekiru/ursula,kotogadekiru/ursula
package app.update; import app.util.*; import spark.*; import spark.template.freemarker.FreeMarkerEngine; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.*; import com.heroku.sdk.jdbc.DatabaseUrl; public class UpdateController { pr...
src/main/java/app/update/UpdateController.java
package app.update; import app.util.*; import spark.*; import spark.template.freemarker.FreeMarkerEngine; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.*; import com.heroku.sdk.jdbc.DatabaseUrl; public class UpdateController { pr...
add analitics header to update message
src/main/java/app/update/UpdateController.java
add analitics header to update message
<ide><path>rc/main/java/app/update/UpdateController.java <ide> private static final String MSG_PARAM = "mensaje"; <ide> private static final String LAS_VERSION_URL_PARAM = "lasVersionURL"; <ide> private static final String LAS_VERSION_NUMBER_PARAM = "lasVersionNumber"; <add> <add> private static final String header...
Java
apache-2.0
1090967f8af22b1801986ee39e1392738e8d3eea
0
tony810430/flink,sunjincheng121/flink,shaoxuan-wang/flink,mbode/flink,greghogan/flink,sunjincheng121/flink,kl0u/flink,sunjincheng121/flink,darionyaphet/flink,shaoxuan-wang/flink,StephanEwen/incubator-flink,greghogan/flink,lincoln-lil/flink,hequn8128/flink,godfreyhe/flink,StephanEwen/incubator-flink,apache/flink,hequn81...
/* * 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 ...
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/RestartStrategyResolving.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 ...
[hotfix][runtime] Add null check to RestartStrategyResolving
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/RestartStrategyResolving.java
[hotfix][runtime] Add null check to RestartStrategyResolving
<ide><path>link-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/RestartStrategyResolving.java <ide> package org.apache.flink.runtime.executiongraph.restart; <ide> <ide> import org.apache.flink.api.common.restartstrategy.RestartStrategies; <add> <add>import static org.apache.flink.util.Preconditio...
Java
apache-2.0
778cd9e77a7b67cd876aff2f8f337b91d182b9af
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.android.tasks; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.Hashtable; import ...
app/src/org/commcare/android/tasks/FormRecordCleanupTask.java
package org.commcare.android.tasks; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.Hashtable; import ...
line length
app/src/org/commcare/android/tasks/FormRecordCleanupTask.java
line length
<ide><path>pp/src/org/commcare/android/tasks/FormRecordCleanupTask.java <ide> public abstract class FormRecordCleanupTask<R> extends CommCareTask<Void, Integer, Integer,R> { <ide> private final Context context; <ide> private final CommCarePlatform platform; <del> <add> <ide> public static final int STAT...
Java
apache-2.0
2f12cf84566e60420bbdb327a80acf3eab7a5ad6
0
vvv1559/intellij-community,Lekanich/intellij-community,Lekanich/intellij-community,slisson/intellij-community,diorcety/intellij-community,ol-loginov/intellij-community,SerCeMan/intellij-community,robovm/robovm-studio,adedayo/intellij-community,dslomov/intellij-community,caot/intellij-community,ahb0327/intellij-communit...
/* * Copyright (c) 2000-2006 JetBrains s.r.o. All Rights Reserved. */ /* * Created by IntelliJ IDEA. * User: yole * Date: 15.11.2006 * Time: 20:20:15 */ package com.intellij.openapi.diff.impl.patch; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class PatchHunk { pri...
source/com/intellij/openapi/diff/impl/patch/PatchHunk.java
/* * Copyright (c) 2000-2006 JetBrains s.r.o. All Rights Reserved. */ /* * Created by IntelliJ IDEA. * User: yole * Date: 15.11.2006 * Time: 20:20:15 */ package com.intellij.openapi.diff.impl.patch; import java.util.ArrayList; import java.util.List; import java.util.Collections; public class PatchHunk { pri...
better diagnostics for context mismatch
source/com/intellij/openapi/diff/impl/patch/PatchHunk.java
better diagnostics for context mismatch
<ide><path>ource/com/intellij/openapi/diff/impl/patch/PatchHunk.java <ide> package com.intellij.openapi.diff.impl.patch; <ide> <ide> import java.util.ArrayList; <add>import java.util.Collections; <ide> import java.util.List; <del>import java.util.Collections; <ide> <ide> public class PatchHunk { <ide> private int m...
JavaScript
agpl-3.0
04b5dc39e29e1646ed4fa932ef95d2251ff9d1e9
0
matteo88/gasistafelice,feroda/gasistafelice,OrlyMar/gasistafelice,matteo88/gasistafelice,OrlyMar/gasistafelice,feroda/gasistafelice,OrlyMar/gasistafelice,matteo88/gasistafelice,michelesr/gasistafelice,michelesr/gasistafelice,kobe25/gasistafelice,kobe25/gasistafelice,kobe25/gasistafelice,michelesr/gasistafelice,befair/g...
jQuery.UIBlockStockList = jQuery.UIBlockWithList.extend({ init: function() { this._super("stocks", "table"); }, rendering_table_post_load_handler: function() { var block_obj = this; // Init dataTables var oTable = this.block_el.find('.dataTable').dataTable({ ...
gasistafelice/static/nui/blocks/stocks.js
jQuery.UIBlockStockList = jQuery.UIBlockWithList.extend({ init: function() { this._super("stocks", "table"); }, rendering_table_post_load_handler: function() { // Init dataTables var oTable = this.block_el.find('.dataTable').dataTable({ 'sPaginationType': 'full_nu...
Edit Supplier stock * Set MAX_FORMS
gasistafelice/static/nui/blocks/stocks.js
Edit Supplier stock
<ide><path>asistafelice/static/nui/blocks/stocks.js <ide> <ide> rendering_table_post_load_handler: function() { <ide> <add> var block_obj = this; <ide> // Init dataTables <ide> var oTable = this.block_el.find('.dataTable').dataTable({ <ide> 'sPaginationType': 'full_numbers',...
Java
apache-2.0
06175888b9a160361ec0dc2e3d82729d47029c86
0
jca02266/k-9,mawiegand/k-9,mawiegand/k-9,CodingRmy/k-9,sonork/k-9,XiveZ/k-9,github201407/k-9,moparisthebest/k-9,sonork/k-9,jberkel/k-9,msdgwzhy6/k-9,dgger/k-9,imaeses/k-9,439teamwork/k-9,XiveZ/k-9,konfer/k-9,leixinstar/k-9,moparisthebest/k-9,dhootha/k-9,rollbrettler/k-9,sebkur/k-9,GuillaumeSmaha/k-9,XiveZ/k-9,rishabhbi...
package com.fsck.k9; import java.io.File; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.SynchronousQueue; import android.app.Application; import android.content.ComponentName; import android.content.Context; ...
src/com/fsck/k9/K9.java
package com.fsck.k9; import java.io.File; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.SynchronousQueue; import android.app.Application; import android.content.ComponentName; import android.content.Context; ...
Enable system zoom and disable gestures by default.
src/com/fsck/k9/K9.java
Enable system zoom and disable gestures by default.
<ide><path>rc/com/fsck/k9/K9.java <ide> DEBUG = sprefs.getBoolean("enableDebugLogging", false); <ide> DEBUG_SENSITIVE = sprefs.getBoolean("enableSensitiveLogging", false); <ide> mAnimations = sprefs.getBoolean("animations", true); <del> mGesturesEnabled = sprefs.getBoolean("gesturesEnable...
JavaScript
mit
42b57adbe7a821fdcd42fd28441418c5929070d3
0
ello/webapp,ello/webapp,ello/webapp
import Immutable from 'immutable' import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import ArtistInviteContainer from '../../containers/ArtistInviteContainer' import CommentContainer from '../../containers/CommentContainer' import NotificationContainer from '../../containers/NotificationCo...
src/components/streams/StreamRenderables.js
import Immutable from 'immutable' import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import ArtistInviteContainer from '../../containers/ArtistInviteContainer' import CommentContainer from '../../containers/CommentContainer' import NotificationContainer from '../../containers/NotificationCo...
artist invites - enable grid view light box
src/components/streams/StreamRenderables.js
artist invites - enable grid view light box
<ide><path>rc/components/streams/StreamRenderables.js <ide> css({ margin: '0 auto' }), <ide> ) <ide> <add>class ArtistInviteSubmissionsAsGridSimple extends PureComponent { // eslint-disable-line max-len, react/no-multi-comp <add> static propTypes = { <add> submissionIds: PropTypes.object.isRequired, <add> tog...
Java
mit
0c9717342253cc8b9814d6bc7b5f2bff8e39f3b6
0
uprm-gaming/virtual-factory,uprm-gaming/virtual-factory,uprm-gaming/virtual-factory
package edu.uprm.gaming; import com.jme3.animation.AnimChannel; import com.jme3.animation.AnimControl; import com.jme3.animation.AnimEventListener; import com.jme3.app.Application; import com.jme3.app.SimpleApplication; import com.jme3.app.state.AbstractAppState; import com.jme3.app.state.AppStateManager; imp...
src/edu/uprm/gaming/GameEngine.java
package edu.uprm.gaming; import com.jme3.animation.AnimChannel; import com.jme3.animation.AnimControl; import com.jme3.animation.AnimEventListener; import com.jme3.app.Application; import com.jme3.app.SimpleApplication; import com.jme3.app.state.AbstractAppState; import com.jme3.app.state.AppStateManager; imp...
- Sample and temporary intro screen implemented.
src/edu/uprm/gaming/GameEngine.java
- Sample and temporary intro screen implemented.
<ide><path>rc/edu/uprm/gaming/GameEngine.java <ide> }); <ide> onActiveEffect(new EffectBuilder("gradient") { <ide> { <del> effectValue("offset", "0%", "color", "#66666fff"); <del> ef...
JavaScript
agpl-3.0
a7cd3adf1efdd4107a90fccd9b7215a2173cc726
0
Netsend/persdb,Netsend/persdb,Netsend/persdb,Netsend/PerspectiveDB,Netsend/PerspectiveDB,Netsend/PerspectiveDB
/** * Copyright 2015, 2016 Netsend. * * This file is part of PersDB. * * PersDB is free software: you can redistribute it and/or modify it under the * terms of the GNU Affero General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * v...
lib/merge_tree.js
/** * Copyright 2015, 2016 Netsend. * * This file is part of PersDB. * * PersDB is free software: you can redistribute it and/or modify it under the * terms of the GNU Affero General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * v...
refactor createLocalWriteStream Support merges and resolved merge conflicts as well.
lib/merge_tree.js
refactor createLocalWriteStream
<ide><path>ib/merge_tree.js <ide> }; <ide> <ide> /** <del> * Save a new version from the local perspective or a confirmation of a handled <del> * merge (that originated from a remote and exists in the stage) in the local tree. <add> * Save a new local version or a confirmation of a merge with a remote into the <add> *...
Java
lgpl-2.1
0916b0a9be1d2ef34783a997119563c438abe1f2
0
anddann/soot,plast-lab/soot,plast-lab/soot,mbenz89/soot,mbenz89/soot,xph906/SootNew,anddann/soot,cfallin/soot,anddann/soot,xph906/SootNew,mbenz89/soot,mbenz89/soot,cfallin/soot,xph906/SootNew,xph906/SootNew,cfallin/soot,plast-lab/soot,cfallin/soot,anddann/soot
package soot.toDex.instructions; import org.jf.dexlib.Code.Instruction; import org.jf.dexlib.Code.Opcode; import org.jf.dexlib.Code.Format.Instruction10t; import org.jf.dexlib.Code.Format.Instruction30t; import soot.toDex.SootToDexUtils; /** * The "10t" instruction format: It needs one 16-bit code unit, does not ha...
src/soot/toDex/instructions/Insn10t.java
package soot.toDex.instructions; import org.jf.dexlib.Code.Instruction; import org.jf.dexlib.Code.Opcode; import org.jf.dexlib.Code.Format.Instruction10t; import soot.toDex.SootToDexUtils; /** * The "10t" instruction format: It needs one 16-bit code unit, does not have any registers * and is used for jump targets ...
bug fix: if offset == 0, must use goto/32
src/soot/toDex/instructions/Insn10t.java
bug fix: if offset == 0, must use goto/32
<ide><path>rc/soot/toDex/instructions/Insn10t.java <ide> import org.jf.dexlib.Code.Instruction; <ide> import org.jf.dexlib.Code.Opcode; <ide> import org.jf.dexlib.Code.Format.Instruction10t; <add>import org.jf.dexlib.Code.Format.Instruction30t; <ide> <ide> import soot.toDex.SootToDexUtils; <ide> <ide> @Override <ide...
Java
lgpl-2.1
97b8bc59615d4da0c51a91fef22ab462a8d69766
0
checkstyle/checkstyle,rnveach/checkstyle,romani/checkstyle,checkstyle/checkstyle,romani/checkstyle,checkstyle/checkstyle,romani/checkstyle,rnveach/checkstyle,romani/checkstyle,rnveach/checkstyle,rnveach/checkstyle,checkstyle/checkstyle,rnveach/checkstyle,romani/checkstyle,checkstyle/checkstyle,rnveach/checkstyle,checks...
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2019 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
src/test/java/com/puppycrawl/tools/checkstyle/gui/ParseTreeTablePresentationTest.java
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2019 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
Issue #6821: resolve IDEA violations 'Cast conflicts with instanceof'
src/test/java/com/puppycrawl/tools/checkstyle/gui/ParseTreeTablePresentationTest.java
Issue #6821: resolve IDEA violations 'Cast conflicts with instanceof'
<ide><path>rc/test/java/com/puppycrawl/tools/checkstyle/gui/ParseTreeTablePresentationTest.java <ide> final Object child = new ParseTreeTablePresentation(null).getChild(tree, 1); <ide> Assert.assertTrue("Invalid child type", child instanceof DetailAST); <ide> Assert.assertEquals("Invalid child t...
Java
apache-2.0
c74987e89e5111c5be3057639942c8a59a2d4a09
0
Reidddddd/alluxio,aaudiber/alluxio,bf8086/alluxio,wwjiang007/alluxio,Alluxio/alluxio,maobaolong/alluxio,ShailShah/alluxio,ChangerYoung/alluxio,wwjiang007/alluxio,EvilMcJerkface/alluxio,wwjiang007/alluxio,jsimsa/alluxio,uronce-cc/alluxio,Alluxio/alluxio,uronce-cc/alluxio,jswudi/alluxio,jsimsa/alluxio,maobaolong/alluxio,...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
core/client/fs/src/main/java/alluxio/client/block/stream/BlockInStream.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Address comments
core/client/fs/src/main/java/alluxio/client/block/stream/BlockInStream.java
Address comments
<ide><path>ore/client/fs/src/main/java/alluxio/client/block/stream/BlockInStream.java <ide> */ <ide> @NotThreadSafe <ide> public class BlockInStream extends InputStream implements BoundedStream, Seekable, <del> PositionedReadable, Locatable{ <add> PositionedReadable, Locatable { <ide> /** The id of the block o...
Java
apache-2.0
705f2ced13613e9c1d3caa7c2c606bf560617e6c
0
pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus
/** * Copyright 2007-2008 University Of Southern California * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/edu/isi/pegasus/planner/refiner/InterPoolEngine.java
/** * Copyright 2007-2008 University Of Southern California * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
PM-833 handle staging site paths for dependant executables for the jobs also only in TransferEngine
src/edu/isi/pegasus/planner/refiner/InterPoolEngine.java
PM-833 handle staging site paths for dependant executables for the jobs also only in TransferEngine
<ide><path>rc/edu/isi/pegasus/planner/refiner/InterPoolEngine.java <ide> //accessible url <ide> fTx.addSource(tcEntry.getResourceId(), <ide> tcEntry.getPhysicalTransformation()); <add> <add>/* PM-833 handle sta...
Java
apache-2.0
653b74fe71cbe21634c38cc3b665db155668c3ed
0
subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai
package org.safehaus.subutai.core.environment.impl; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import org.mockito.Mock; import org.mockito.inv...
management/server/core/environment-manager/environment-manager-impl/src/test/java/org/safehaus/subutai/core/environment/impl/MockitoSelfTemporaryFileTest.java
package org.safehaus.subutai.core.environment.impl; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import org.mockito.Mock; import org.mockito.inv...
Core Unit Test
management/server/core/environment-manager/environment-manager-impl/src/test/java/org/safehaus/subutai/core/environment/impl/MockitoSelfTemporaryFileTest.java
Core Unit Test
<ide><path>anagement/server/core/environment-manager/environment-manager-impl/src/test/java/org/safehaus/subutai/core/environment/impl/MockitoSelfTemporaryFileTest.java <ide> public void testCapturingArguments() <ide> { <ide> <del> ArgumentCaptor<TestClass> argument = ArgumentCaptor.forClass( TestClass....
Java
mit
9a8995fe9022f97b390187b3bd09e75f83128e97
0
Mangopay/mangopay2-java-sdk,Mangopay/mangopay2-java-sdk
package com.mangopay.core; import com.google.gson.*; import com.mangopay.MangoPayApi; import com.mangopay.core.enumerations.PersonType; import com.mangopay.entities.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.lang.reflect.*; import java.net.HttpURLConnection; import java....
src/main/java/com/mangopay/core/RestTool.java
package com.mangopay.core; import com.google.gson.*; import com.mangopay.MangoPayApi; import com.mangopay.core.enumerations.PersonType; import com.mangopay.entities.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.lang.reflect.*; import java.net.HttpURLConnection; import java....
Remove whitespace from the content to parse.
src/main/java/com/mangopay/core/RestTool.java
Remove whitespace from the content to parse.
<ide><path>rc/main/java/com/mangopay/core/RestTool.java <ide> HashMap<String, Object> requestData = buildRequestData(classOfT, entity); <ide> <ide> Gson gson = new GsonBuilder().disableHtmlEscaping().create(); <add> requestData = requestData.trim(); <ide> ...
Java
bsd-3-clause
0deed10f5d9bf6722aee52e43791eb410546230b
0
digital-preservation/droid,adamretter/droid,adamretter/droid,digital-preservation/droid,adamretter/droid,digital-preservation/droid,digital-preservation/droid,digital-preservation/droid
/** * Copyright (c) 2019, The National Archives <pronom@nationalarchives.gsi.gov.uk> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * * Redistributions of source code must retain the...
droid-core/src/main/java/uk/gov/nationalarchives/droid/core/signature/compiler/ByteSequenceCompiler.java
/** * Copyright (c) 2019, The National Archives <pronom@nationalarchives.gsi.gov.uk> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * * Redistributions of source code must retain the...
Optimise single byte alternatives, and update documentation. * Single byte alternatives (01|02) are more efficient as the set [01 02] * Documentation for pre-processing of signature updated to clarify operation.
droid-core/src/main/java/uk/gov/nationalarchives/droid/core/signature/compiler/ByteSequenceCompiler.java
Optimise single byte alternatives, and update documentation.
<ide><path>roid-core/src/main/java/uk/gov/nationalarchives/droid/core/signature/compiler/ByteSequenceCompiler.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.Collections; <add>import java.util.HashSet; <ide> import java.util.List; <add>import java.util.Set; <ide> <ide> import net.byteseek.compiler...
Java
epl-1.0
3045df4e14b78f5ee5a0bffc222cfe71998c2f89
0
jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin
/******************************************************************************* * Copyright (c) 2017 Synopsys, Inc * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
src/main/java/jenkins/plugins/coverity/CoverityUtils.java
/******************************************************************************* * Copyright (c) 2017 Synopsys, Inc * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
Add warning message when trying to use an unknown tools installation for job tools override Fix: 108133
src/main/java/jenkins/plugins/coverity/CoverityUtils.java
Add warning message when trying to use an unknown tools installation for job tools override
<ide><path>rc/main/java/jenkins/plugins/coverity/CoverityUtils.java <ide> return (CoverityToolInstallation)installation.translate(node, environment, listener); <ide> } <ide> } <add> <add> final String warnMsg = "Attempted to use ...
Java
apache-2.0
ed6c3cf9331d5557bed2474a2111c8a1cea35e23
0
serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,Sargul/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2013-2015 Denis Forveille (titou10.titou10@gmail.com) * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
plugins/org.jkiss.dbeaver.ext.db2/src/org/jkiss/dbeaver/ext/db2/editors/DB2StructureAssistant.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2013-2015 Denis Forveille (titou10.titou10@gmail.com) * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
#2857 DB2: search logging fixed Former-commit-id: 846d65ca75c304275bdd30b253b8394581b084b9
plugins/org.jkiss.dbeaver.ext.db2/src/org/jkiss/dbeaver/ext/db2/editors/DB2StructureAssistant.java
#2857 DB2: search logging fixed
<ide><path>lugins/org.jkiss.dbeaver.ext.db2/src/org/jkiss/dbeaver/ext/db2/editors/DB2StructureAssistant.java <ide> public List<DBSObjectReference> findObjectsByMask(DBRProgressMonitor monitor, DBSObject parentObject, <ide> DBSObjectType[] objectTypes, String obj...
JavaScript
mit
f1b7844e62f84be2fef1211bff39babd936a38ae
0
johnheroy/weixin_api
var sha1 = require('sha1'), events = require('events'), emitter = new events.EventEmitter(), request = require('request'), xml2js = require('xml2js'); // 微信类 var Weixin = function() { this.data = ''; this.msgType = 'text'; this.fromUserName = ''; this.toUserName = ''; this.funcFlag = 0; } // 验证 Weixin.proto...
index.js
var sha1 = require('sha1'), events = require('events'), emitter = new events.EventEmitter(), request = require('request'), xml2js = require('xml2js'); // 微信类 var Weixin = function() { this.data = ''; this.msgType = 'text'; this.fromUserName = ''; this.toUserName = ''; this.funcFlag = 0; } // 验证 Weixin.proto...
Add utf-8 encoding to get request
index.js
Add utf-8 encoding to get request
<ide><path>ndex.js <ide> var accessTokenURL = "https://api.wechat.com/cgi-bin/token?grant_type=client_credential&appid="+APP_ID+"&secret="+APP_SECRET; <ide> var accessTokenOptions = { <ide> method: "GET", <add> encoding: "utf-8", <ide> url: accessTokenURL, <ide> }; <ide> console.log(accessTokenURL);
Java
apache-2.0
05a211f1f423ac98c53bfda63cae86c7fe3823ad
0
swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift...
// ---------------------------------------------------------------------- // This code is developed as part of the Java CoG Kit project // The terms of the license can be found at http://www.cogkit.org/license // This message may not be removed or altered. // ------------------------------------------------------------...
src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/grid/GridTransfer.java
// ---------------------------------------------------------------------- // This code is developed as part of the Java CoG Kit project // The terms of the license can be found at http://www.cogkit.org/license // This message may not be removed or altered. // ------------------------------------------------------------...
cwd applies to all relative dirs git-svn-id: 093fa4c7fa7b11ddcea9103fc581483144c30c11@1834 5b74d2a0-fa0e-0410-85ed-ffba77ec0bde
src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/grid/GridTransfer.java
cwd applies to all relative dirs
<ide><path>rc/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/grid/GridTransfer.java <ide> if (A_THIRDPARTY.isPresent(stack)) { <ide> fs.setThirdParty(TypeUtil.toBoolean(A_THIRDPARTY.getValue(stack))); <ide> } <del> else { <del> fs.setThirdPartyIfPossible(true); <del> ...
JavaScript
mit
4fd51111935e6cb7b03b7d999945220530f19b34
0
majestrate/nyaa,majestrate/nyaa,majestrate/nyaa,NyaaPantsu/nyaa,NyaaPantsu/nyaa,majestrate/nyaa,NyaaPantsu/nyaa,NyaaPantsu/nyaa
document.getElementsByClassName("form-torrent-name")[0].onkeyup = function(){ document.getElementsByClassName("table-torrent-name")[0].innerText = document.getElementsByClassName("form-torrent-name")[0].value; }; function UpdatePreviewCategory(){ document.getElementsByClassName("table-torrent-category")[0].cla...
public/js/kilo.js
document.getElementsByClassName("form-torrent-name")[0].onkeyup = function(){ document.getElementsByClassName("table-torrent-name")[0].innerText = document.getElementsByClassName("form-torrent-name")[0].value; }; function UpdatePreviewCategory(){ document.getElementsByClassName("table-torrent-category")[0].cla...
Update kilo.js
public/js/kilo.js
Update kilo.js
<ide><path>ublic/js/kilo.js <ide> } <ide> <ide> document.getElementsByClassName("form-torrent-remake")[0].onchange = function(){ <del> document.getElementsByClassName("table-torrent-thead")[0].className = "torrent-info table-torrent-thead" + (UserTrusted ? " trusted : "") + (document.getElementsByClassName("form-to...
Java
apache-2.0
d9ee264ecbe32caa4b4248e44926a15d2b33d919
0
VardanMatevosyan/Vardan-Git-Repository,VardanMatevosyan/Vardan-Git-Repository,VardanMatevosyan/Vardan-Git-Repository
package ru.matevosyan.store; import org.junit.Ignore; import org.junit.Test; import static org.junit.Assert.assertTrue; /** * testing JDBCConsoleApp class. * Created on 02.01.2018. * @author Matevosyan Vardan. * @version 1.0 */ public class JDBCConsoleAppTest { /** * Create table and insert N int val...
SQL_JDBC/4.JDBC/XML_with_JDBC/src/test/java/ru/matevosyan/store/JDBCConsoleAppTest.java
package ru.matevosyan.store; import org.junit.Test; import static org.junit.Assert.assertTrue; /** * testing JDBCConsoleApp class. * Created on 02.01.2018. * @author Matevosyan Vardan. * @version 1.0 */ public class JDBCConsoleAppTest { /** * Create table and insert N int values. */ @Test ...
ignore test XML_JDBC project
SQL_JDBC/4.JDBC/XML_with_JDBC/src/test/java/ru/matevosyan/store/JDBCConsoleAppTest.java
ignore test XML_JDBC project
<ide><path>QL_JDBC/4.JDBC/XML_with_JDBC/src/test/java/ru/matevosyan/store/JDBCConsoleAppTest.java <ide> package ru.matevosyan.store; <ide> <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> <ide> import static org.junit.Assert.assertTrue; <ide> * Create table and insert N int values. <ide> */ ...
Java
apache-2.0
f6db3e995f14ae2e6facb7719846fef4ae5f74e6
0
gravitee-io/gravitee-repository
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
src/main/java/io/gravitee/repository/log/model/Log.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
feat: Change ES mapping (request) to store security type / token instead of api key This closes gravitee-io/issues#1994
src/main/java/io/gravitee/repository/log/model/Log.java
feat: Change ES mapping (request) to store security type / token instead of api key
<ide><path>rc/main/java/io/gravitee/repository/log/model/Log.java <ide> private long apiResponseTime; <ide> private long requestContentLength; <ide> private long responseContentLength; <del> private String apiKey; <ide> private String plan; <ide> private String api; <ide> private String appli...
Java
apache-2.0
8847ea46945bb05badd1f116e0923bbdcc65c5c0
0
a-zuckut/k3po,justinma246/k3po,jfallows/k3po,nemigaservices/k3po,nemigaservices/k3po,sanjay-saxena/k3po,justinma246/k3po,mgherghe/k3po,mgherghe/k3po,sanjay-saxena/k3po,dpwspoon/k3po,jfallows/k3po,cmebarrow/k3po,StCostea/k3po,cmebarrow/k3po,a-zuckut/k3po,dpwspoon/k3po,k3po/k3po,StCostea/k3po,k3po/k3po
/* * Copyright 2014, Kaazing Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
driver/src/main/java/org/kaazing/k3po/driver/internal/control/handler/ControlServerHandler.java
/* * Copyright 2014, Kaazing Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Reinstated the latch in ControlServerHandler.whenAbortedOrFinished that I had erroneously thought was unnecessary, renaming it to oneTimeOnly to make its purpose clearer.
driver/src/main/java/org/kaazing/k3po/driver/internal/control/handler/ControlServerHandler.java
Reinstated the latch in ControlServerHandler.whenAbortedOrFinished that I had erroneously thought was unnecessary, renaming it to oneTimeOnly to make its purpose clearer.
<ide><path>river/src/main/java/org/kaazing/k3po/driver/internal/control/handler/ControlServerHandler.java <ide> import java.util.concurrent.BlockingQueue; <ide> import java.util.concurrent.CountDownLatch; <ide> import java.util.concurrent.LinkedBlockingQueue; <add>import java.util.concurrent.atomic.AtomicBoolean; <ide>...
Java
mit
d3643c00d1f6a563468c0de87b9b731163aecd4e
0
Socialate/furry-sniffle
package com.socialteinc.socialate; import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.TextUtils; imp...
app/src/main/java/com/socialteinc/socialate/ViewEditProfileActivity.java
package com.socialteinc.socialate; import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.text.TextUtils; imp...
Finished with Viewing and editing profile(frontend and backend)
app/src/main/java/com/socialteinc/socialate/ViewEditProfileActivity.java
Finished with Viewing and editing profile(frontend and backend)
<ide><path>pp/src/main/java/com/socialteinc/socialate/ViewEditProfileActivity.java <ide> String user_display = (String) dataSnapshot.child("displayName").getValue(); <ide> String user_name = (String) dataSnapshot.child("name").getValue(); <ide> String user_image = (String...
JavaScript
apache-2.0
97dea327a55179c4bd2645d70044c9262b76bead
0
zerovm/swift-browser,mgeisler/swift-browser,mindware/swift-browser,mgeisler/swift-browser,mindware/swift-browser,zerovm/swift-browser
'use strict'; function escape(string) { return string.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"); } function parseQueryString(qs) { var params = {}; var parts = qs.split('&'); for (var i = 0; i < parts.length; i++) { var keyvalue = parts[i].split('='); var key = decodeURIComponent(key...
app/js/test/swift-simulator.js
'use strict'; function escape(string) { return string.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"); } function parseQueryString(qs) { var params = {}; var parts = qs.split('&'); for (var i = 0; i < parts.length; i++) { var keyvalue = parts[i].split('='); var key = decodeURIComponent(key...
swift-sim: make deleteObject a method
app/js/test/swift-simulator.js
swift-sim: make deleteObject a method
<ide><path>pp/js/test/swift-simulator.js <ide> <ide> var prefix = escape(accountUrl() + '/'); <ide> this.listRegex = new RegExp(prefix + '(.*?)' + escape('?') + '(.*)'); <del> var objRegex = new RegExp(prefix + '(.*?)' + escape('/') + '(.*)'); <add> this.objRegex = new RegExp(prefix + '(.*?)' + escape('/...
Java
apache-2.0
f296eecca996e1a71884330e20388dd28ddc790b
0
shantanusharma/closure-compiler,Dominator008/closure-compiler,shantanusharma/closure-compiler,monetate/closure-compiler,ChadKillingsworth/closure-compiler,google/closure-compiler,anomaly/closure-compiler,MatrixFrog/closure-compiler,google/closure-compiler,anomaly/closure-compiler,ChadKillingsworth/closure-compiler,mone...
/* * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * ...
src/com/google/javascript/rhino/jstype/FunctionType.java
/* * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * ...
Improve the error message for a Preconditions check. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131979461
src/com/google/javascript/rhino/jstype/FunctionType.java
Improve the error message for a Preconditions check.
<ide><path>rc/com/google/javascript/rhino/jstype/FunctionType.java <ide> */ <ide> @Override <ide> public ObjectType getInstanceType() { <del> Preconditions.checkState(hasInstanceType()); <add> Preconditions.checkState(hasInstanceType(), "Expected a constructor; got %s", this); <ide> return typeOfThis.t...
JavaScript
mit
307fc3ddecd768a1a27c0273961504446cb48296
0
phetsims/perennial,phetsims/perennial,phetsims/perennial
// Copyright 2002-2015, University of Colorado Boulder /** * PhET build and deploy server. The server is designed to run on the same host as the production site (simian or figaro). *create * Starting and Stopping the Server * ================================ * * To start, stop, or restart the build server on fig...
js/build-server/build-server.js
// Copyright 2002-2015, University of Colorado Boulder /** * PhET build and deploy server. The server is designed to run on the same host as the production site (simian or figaro). *create * Starting and Stopping the Server * ================================ * * To start, stop, or restart the build server on fig...
added printout of error value
js/build-server/build-server.js
added printout of error value
<ide><path>s/build-server/build-server.js <ide> taskCallback( 'error running command ' + command + ': ' + err ); // build aborted, so take this build task off of the queue <ide> } <ide> else { <del> winston.log( 'error', 'error running command: ' + command + ' in ' + dir + '. build ab...
Java
apache-2.0
3456a539d1e9a24596524d06db6c5a54350da0c1
0
Netflix/dyno,balajivenki/dyno,jcacciatore/dyno,balajivenki/dyno,Netflix/dyno,jcacciatore/dyno
package com.netflix.dyno.jedis; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import redis.clients.jedis.BinaryClient.LIST_POSITION; import redis.clients.jedis.BitOP; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisCommand...
dyno-jedis/src/main/java/com/netflix/dyno/jedis/DynoJedisClient.java
package com.netflix.dyno.jedis; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import redis.clients.jedis.BinaryClient.LIST_POSITION; import redis.clients.jedis.BitOP; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisCommand...
added withPort(), which allows the port to be connected to be specified
dyno-jedis/src/main/java/com/netflix/dyno/jedis/DynoJedisClient.java
added withPort(), which allows the port to be connected to be specified
<ide><path>yno-jedis/src/main/java/com/netflix/dyno/jedis/DynoJedisClient.java <ide> private String clusterName; <ide> private ConnectionPoolConfigurationImpl cpConfig; <ide> private HostSupplier hostSupplier; <add> private int port = -1; <ide> <ide> public Builder() { <ide> } <ide> <ide> public Builde...
Java
apache-2.0
1680512b4c8ce8e699c9f7993cf613f71851c881
0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
tools/model-compiler/src/main/java/io/spine/tools/gradle/compiler/ProtocPluginImporter.java
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Improve diags
tools/model-compiler/src/main/java/io/spine/tools/gradle/compiler/ProtocPluginImporter.java
Improve diags
<ide><path>ools/model-compiler/src/main/java/io/spine/tools/gradle/compiler/ProtocPluginImporter.java <ide> import java.io.FileOutputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <add> <add>import static com.google.common.base.Preconditions.checkState; <ide> <ide> /** <ide> * A Gradle pl...
Java
apache-2.0
632f6cda7a36a5ca370f697ea6f130bebafd275e
0
tomgibara/ticket
/* * Copyright 2015 Tom Gibara * * 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/tomgibara/ticket/TicketFactory.java
/* * Copyright 2015 Tom Gibara * * 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 ...
Corrects generics within TicketFactory.
src/main/java/com/tomgibara/ticket/TicketFactory.java
Corrects generics within TicketFactory.
<ide><path>rc/main/java/com/tomgibara/ticket/TicketFactory.java <ide> private class Sequences implements TicketSequences<R> { <ide> <ide> @Override <del> public TicketSequence getSequence(TicketOrigin origin) { <add> public TicketSequence getSequence(TicketOrigin<R> origin) { <ide> return new Sequence(); <ide>...
Java
mit
a4e69ecfc0eae458731a983c9368bdf83fa0f248
0
SeriousDen/SKU-Range
range/src/main/java/com/github/seriousden/util/range/Range.java
package com.github.seriousden.util.range; /** * @author Demidov Denis | Astrosoft * @version 1.0 * @since 19.02.13 */ public class Range { }
Deleted the duplicated files.
range/src/main/java/com/github/seriousden/util/range/Range.java
Deleted the duplicated files.
<ide><path>ange/src/main/java/com/github/seriousden/util/range/Range.java <del>package com.github.seriousden.util.range; <del> <del>/** <del> * @author Demidov Denis | Astrosoft <del> * @version 1.0 <del> * @since 19.02.13 <del> */ <del>public class Range { <del>}
Java
apache-2.0
3753fb9b5d3461b542f313b26abb3668cc6333c4
0
pymjer/pentaho-kettle,mattyb149/pentaho-kettle,AliaksandrShuhayeu/pentaho-kettle,birdtsai/pentaho-kettle,EcoleKeine/pentaho-kettle,denisprotopopov/pentaho-kettle,pedrofvteixeira/pentaho-kettle,DFieldFL/pentaho-kettle,aminmkhan/pentaho-kettle,TatsianaKasiankova/pentaho-kettle,pavel-sakun/pentaho-kettle,akhayrutdinov/pen...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
core/src/org/pentaho/di/metastore/MetaStoreConst.java
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
[BACKLOG-1109] Updated the element ids to conform to naming convention
core/src/org/pentaho/di/metastore/MetaStoreConst.java
[BACKLOG-1109] Updated the element ids to conform to naming convention
<ide><path>ore/src/org/pentaho/di/metastore/MetaStoreConst.java <ide> public static final String DB_ATTR_ID_DESCRIPTION = "description"; <ide> public static final String DB_ATTR_ID_PLUGIN_ID = "plugin_id"; <ide> public static final String DB_ATTR_ID_ACCESS_TYPE = "access_type"; <del> public static final String D...
Java
mit
36f0722ab16c0d86cbffa86347d82b0240d63ba2
0
mribbons/react-native-oauth,mribbons/react-native-oauth,fullstackreact/react-native-oauth,fullstackreact/react-native-oauth,fullstackreact/react-native-oauth,mribbons/react-native-oauth
package io.fullstack.oauth; import im.delight.android.webview.AdvancedWebView; import android.app.Dialog; import android.net.Uri; import java.util.Set; import java.net.URL; import java.net.MalformedURLException; import android.text.TextUtils; import android.annotation.SuppressLint; import android.widget.LinearLayout;...
android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java
package io.fullstack.oauth; import im.delight.android.webview.AdvancedWebView; import android.app.Dialog; import android.net.Uri; import java.util.Set; import java.net.URL; import java.net.MalformedURLException; import android.text.TextUtils; import android.annotation.SuppressLint; import android.widget.LinearLayout;...
Set the user agent for web view
android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java
Set the user agent for web view
<ide><path>ndroid/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java <ide> mWebView.setVisibility(View.VISIBLE); <ide> mWebView.getSettings().setJavaScriptEnabled(true); <ide> mWebView.getSettings().setDomStorageEnabled(true); <add> mWebView.getSettings().setUserAgentString(...
JavaScript
mit
8d6f434ce68dd8fbdcdae536462f37b0cb17a1ac
0
portojs/portojs,portojs/portojs
/** * Created by Peter on 12.03.2015. */ ///---------------------NOTES-------------------------------------------- // simple notation //--- local explanation //+++ notes for later action //+++ deleted argument "enemies1", because I think info on enemies //+++ should be received from the location variable ///--------...
gamebook/js/functions_battle.js
/** * Created by Peter on 12.03.2015. */ ///---------------------NOTES-------------------------------------------- // simple notation //--- local explanation //+++ notes for later action //+++ deleted argument "enemies1", because I think info on enemies //+++ should be received from the location variable ///--------...
Gamebook day-66
gamebook/js/functions_battle.js
Gamebook day-66
<ide><path>amebook/js/functions_battle.js <ide> else { <ide> // find the shortest path <ide> var shortestPath = findPath(); <del> alert("Shortest path length: " + shortestPath.length); <add>// alert("Shortest path length: " + shortestPath.length); <add>// ...
Java
apache-2.0
f1e1eb013d05052a7993b002962824c867504ff9
0
robertmilowski/generator-jhipster,cbornet/generator-jhipster,gmarziou/generator-jhipster,xetys/generator-jhipster,mraible/generator-jhipster,mosoft521/generator-jhipster,mraible/generator-jhipster,dimeros/generator-jhipster,JulienMrgrd/generator-jhipster,dimeros/generator-jhipster,maniacneron/generator-jhipster,gmarzio...
package <%=packageName%>.security.jwt; import <%=packageName%>.config.JHipsterProperties; import java.util.*; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.authenticat...
generators/server/templates/src/main/java/package/security/jwt/_TokenProvider.java
package <%=packageName%>.security.jwt; import <%=packageName%>.config.JHipsterProperties; import java.util.*; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.authenticat...
With JWT, use a Spring Security User as principal instead of a String Fix #3259 #3278
generators/server/templates/src/main/java/package/security/jwt/_TokenProvider.java
With JWT, use a Spring Security User as principal instead of a String
<ide><path>enerators/server/templates/src/main/java/package/security/jwt/_TokenProvider.java <ide> import org.springframework.security.core.Authentication; <ide> import org.springframework.security.core.GrantedAuthority; <ide> import org.springframework.security.core.authority.SimpleGrantedAuthority; <add>import org.sp...
Java
bsd-2-clause
45a51492b5e53face43e0de8659c07c435cdb89b
0
scifio/scifio
// // FormatTools.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan, Eric Kjellman and Brian Loranger. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library ...
loci/formats/FormatTools.java
// // FormatTools.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan, Eric Kjellman and Brian Loranger. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library ...
Eliminate superfluous array allocation from raster/position methods.
loci/formats/FormatTools.java
Eliminate superfluous array allocation from raster/position methods.
<ide><path>oci/formats/FormatTools.java <ide> } <ide> <ide> /** <del> * Computes a unique 1-D index corresponding to the multidimensional <del> * position given in the pos array, using the specified lengths array <del> * as the maximum value at each positional dimension. <add> * Computes a unique 1-D index...
JavaScript
mit
b174e25aae95000a824464da399e924873a83b33
0
zefti/zefti-data-sources
var mongo = require('zefti-mongo'); var redis = require('zefti-redis'); var remote = require('zefti-remote'); var dynamo = require('zefti-dynamo'); var originSources = { dynamo : dynamo , mongo : mongo , redis : redis , remote : remote }; var readySources = {}; module.exports = function(dataSources){ for...
index.js
var mongo = require('zefti-mongo'); var redis = require('zefti-redis'); var remote = require('zefti-remote'); var originSources = { mongo : mongo , redis : redis , remote : remote }; var readySources = {}; module.exports = function(dataSources){ for (var dataSource in dataSources) { if (!readySources[d...
stuff
index.js
stuff
<ide><path>ndex.js <ide> var mongo = require('zefti-mongo'); <ide> var redis = require('zefti-redis'); <ide> var remote = require('zefti-remote'); <add>var dynamo = require('zefti-dynamo'); <ide> <ide> var originSources = { <del> mongo : mongo <add> dynamo : dynamo <add> , mongo : mongo <ide> , redis : redis ...
JavaScript
apache-2.0
f0c4473107d0c3589479809d8accd79b9c4dba08
0
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk
/* Copyright 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
src/Markdown.js
/* Copyright 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
tell markdown parser to ignore properly-formatted math tags
src/Markdown.js
tell markdown parser to ignore properly-formatted math tags
<ide><path>rc/Markdown.js <ide> // These types of node are definitely text <ide> const TEXT_NODES = ['text', 'softbreak', 'linebreak', 'paragraph', 'document']; <ide> <del>function is_math_node(node) { <del> return node != null && <del> node.literal != null && <del> node.literal.match(/^<((div|span) d...
Java
apache-2.0
cd2ce13c758877583411b02ed6dedca0049310cb
0
mesutcelik/hazelcast,emrahkocaman/hazelcast,Donnerbart/hazelcast,dbrimley/hazelcast,dbrimley/hazelcast,emrahkocaman/hazelcast,tkountis/hazelcast,emre-aydin/hazelcast,dsukhoroslov/hazelcast,lmjacksoniii/hazelcast,mesutcelik/hazelcast,juanavelez/hazelcast,tufangorel/hazelcast,Donnerbart/hazelcast,tkountis/hazelcast,tombu...
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
hazelcast/src/test/java/com/hazelcast/config/InvalidConfigurationTest.java
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Remove wan snapshot config test as related check is removed, resolves #7176
hazelcast/src/test/java/com/hazelcast/config/InvalidConfigurationTest.java
Remove wan snapshot config test as related check is removed, resolves #7176
<ide><path>azelcast/src/test/java/com/hazelcast/config/InvalidConfigurationTest.java <ide> import com.hazelcast.test.HazelcastParallelClassRunner; <ide> import com.hazelcast.test.annotation.ParallelTest; <ide> import com.hazelcast.test.annotation.QuickTest; <del>import org.junit.Ignore; <ide> import org.junit.Rule; <id...
JavaScript
mit
d63ae021e19ec78f8ce31b7e6786fd484d903fb1
0
stevenlundy/javascript-koans,stevenlundy/javascript-koans,stevenlundy/javascript-koans
var _; //globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried tom...
koans/AboutApplyingWhatWeHaveLearnt.js
var _; //globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried tom...
Added labels for alternate code for solving smallest multiple
koans/AboutApplyingWhatWeHaveLearnt.js
Added labels for alternate code for solving smallest multiple
<ide><path>oans/AboutApplyingWhatWeHaveLearnt.js <ide> <ide> it("should find the smallest number divisible by each of the numbers 1 to 20", function () { <ide> function smallestMultiple(num){ <del> /* <add> /* Functional <ide> _.range(1,num+1).map(function(a){ <ide> getPrimeFactors(a) <id...
JavaScript
apache-2.0
d1426897c4962570d7714c222f18096a05ca78c9
0
postmanlabs/postman-runtime,postmanlabs/postman-runtime
describe('HEAD requests', function () { var _ = require('lodash'), testrun; before(function (done) { this.run({ collection: { item: [{ request: { url: 'http://google.com', method: 'HEAD', ...
test/integration/sanity/head-request.test.js
describe('HEAD requests', function () { var _ = require('lodash'), testrun; before(function (done) { this.run({ collection: { item: [{ event: [{ listen: 'test', script: { ...
fixed head request tests
test/integration/sanity/head-request.test.js
fixed head request tests
<ide><path>est/integration/sanity/head-request.test.js <ide> this.run({ <ide> collection: { <ide> item: [{ <del> event: [{ <del> listen: 'test', <del> script: { <del> exec: 'tests["Status is 2...
JavaScript
bsd-2-clause
c3e019761666a73b1ae175cb1f52a3cd392f9b07
0
medseek-engineering/ih-elastic-client
'use strict'; var config = require('ih-config'); var Promise = require('bluebird'); var log = require('ih-log'); var http = require('q-io/http'); var _ = require('lodash'); var uuid = require('uuid'); var TTL_IN_MIN = 3; //TODO: make this optional/overridable from callers. //eliminates extra data being returned from ...
lib/index.js
'use strict'; var config = require('ih-config'); var Promise = require('bluebird'); var log = require('ih-log'); var http = require('q-io/http'); var _ = require('lodash'); var uuid = require('uuid'); var TTL_IN_MIN = 3; //TODO: make this optional/overridable from callers. //eliminates extra data being returned from ...
info level is too noisy
lib/index.js
info level is too noisy
<ide><path>ib/index.js <ide> <ide> function profileSearch(resp){ <ide> if (resp) { <del> log.info(profileMessage + ' timeonES=' + resp.took + 'ms'); <del> } <del> log.profile(profileMessage); <add> log.debug(profileMessage + ' timeonES=' + resp.took + 'ms'); <add> } <add> log.debug(profileM...
Java
apache-2.0
f24d3da809fc374860fa9e842ec47413942634c8
0
eFaps/eFapsApp-Commons
/* * Copyright 2003 - 2010 The eFaps Team * * 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 ...
src/main/efaps/ESJP/org/efaps/esjp/erp/Revision_Base.java
/* * Copyright 2003 - 2010 The eFaps Team * * 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 ...
- commons: making method public git-svn-id: d0df98c949fdb69ef14f59de83b688245b851982@12418 fee104cc-1dfa-8c0f-632d-d3b7e6b59fb0
src/main/efaps/ESJP/org/efaps/esjp/erp/Revision_Base.java
- commons: making method public
<ide><path>rc/main/efaps/ESJP/org/efaps/esjp/erp/Revision_Base.java <ide> final Instance _newDoc) <ide> throws EFapsException <ide> { <add> return getNextRevision(_parameter, _parameter.getInstance(), _newDoc); <add> } <add> <add> public Object getNextRevisi...
Java
mit
5d344227d7a4264f3e8c7175f5cf49172c7423d4
0
kosegdit/ptyxiakh
package ptyxiakh; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFormattedTextField; //import java.awt.event.ActionListener; import javax.swing.JFrame; import jav...
MainFrame.java
package ptyxiakh; import java.awt.Dimension; import java.awt.event.ActionEvent; //import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JLayeredPane; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPa...
NewRandomGraph method and Graph Properties window
MainFrame.java
NewRandomGraph method and Graph Properties window
<ide><path>ainFrame.java <ide> package ptyxiakh; <ide> <ide> import java.awt.Dimension; <add>import java.awt.FlowLayout; <ide> import java.awt.event.ActionEvent; <add>import java.awt.event.ActionListener; <add>import javax.swing.JButton; <add>import javax.swing.JDialog; <add>import javax.swing.JFormattedTextField; <id...
Java
apache-2.0
9d29fa99c0dbca6e6741ffb2532402113412db6f
0
imotSpot/imotSpot
package com.imotspot.dashboard.view.dashboard; import com.google.common.eventbus.Subscribe; import com.imotspot.dashboard.DashboardUI; import com.imotspot.dashboard.event.DashboardEvent.CloseOpenWindowsEvent; import com.imotspot.dashboard.event.DashboardEvent.NotificationsCountUpdatedEvent; import com.imotspot.dashboa...
src/main/java/com/imotspot/dashboard/view/dashboard/DashboardView.java
package com.imotspot.dashboard.view.dashboard; import com.google.common.eventbus.Subscribe; import com.imotspot.dashboard.DashboardUI; import com.imotspot.dashboard.event.DashboardEvent.CloseOpenWindowsEvent; import com.imotspot.dashboard.event.DashboardEvent.NotificationsCountUpdatedEvent; import com.imotspot.dashboa...
add zopim chat
src/main/java/com/imotspot/dashboard/view/dashboard/DashboardView.java
add zopim chat
<ide><path>rc/main/java/com/imotspot/dashboard/view/dashboard/DashboardView.java <ide> googleMap.setZoom(13); <ide> <ide> dashboardPanels.addComponent(googleMap); <add> // zopim chat <add> String script = "window.$zopim||(function(d,s){var z=$zopim=function(c){\n" + <add> "...
Java
apache-2.0
22cb1de663b77fc32686ab262f79bfa42537bb59
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.impl.search; import com.intellij.concurrency.AsyncFuture; import com.intellij.concurrency.AsyncUtil; import com.intellij.concurrency.JobLauncher; import...
platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.impl.search; import com.intellij.concurrency.AsyncFuture; import com.intellij.concurrency.AsyncUtil; import com.intellij.concurrency.JobLauncher; import...
PsiSearchHelperImpl: use already obtained indicator instead of obtaining it again and again
platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java
PsiSearchHelperImpl: use already obtained indicator
<ide><path>latform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java <ide> collectors.put(collector, processor); <ide> <ide> ProgressIndicator progress = getOrCreateIndicator(); <del> appendCollectorsFromQueryRequests(collectors); <add> appendCollectorsFromQueryRequests(progress, co...
Java
agpl-3.0
cc33f9bc1d99cc433402cbffc4a7bdc3c05cb651
0
barspi/jPOS-EE,jpos/jPOS-EE,jpos/jPOS-EE,barspi/jPOS-EE,jpos/jPOS-EE,jrfinc/jPOS-EE,barspi/jPOS-EE,jrfinc/jPOS-EE,jrfinc/jPOS-EE
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2019 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
modules/qi-core/src/main/java/org/jpos/qi/QIEntityView.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2019 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
Allow specific view to have three columns configurable through 00_qi.xml
modules/qi-core/src/main/java/org/jpos/qi/QIEntityView.java
Allow specific view to have three columns configurable through 00_qi.xml
<ide><path>odules/qi-core/src/main/java/org/jpos/qi/QIEntityView.java <ide> private ViewConfig viewConfig; <ide> private T bean; <ide> private FieldFactory fieldFactory; <add> private List<Layout> fieldsLayouts; <ide> <ide> <ide> public QIEntityView(Class<T> clazz, String name) { <ide> ...
Java
apache-2.0
ad9c45a50c4483cf3a5c9edee36dea9fda6b5ed4
0
JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse
package edu.harvard.iq.dataverse.dataaccess; import com.amazonaws.AmazonClientException; import com.amazonaws.SdkClientException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.regions....
src/main/java/edu/harvard/iq/dataverse/dataaccess/S3AccessIO.java
package edu.harvard.iq.dataverse.dataaccess; import com.amazonaws.AmazonClientException; import com.amazonaws.SdkClientException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.regions....
minor refactor to simplify logic and throw more clear error messages #3921
src/main/java/edu/harvard/iq/dataverse/dataaccess/S3AccessIO.java
minor refactor to simplify logic and throw more clear error messages #3921
<ide><path>rc/main/java/edu/harvard/iq/dataverse/dataaccess/S3AccessIO.java <ide> private AWSCredentials awsCredentials = null; <ide> private AmazonS3 s3 = null; <ide> private String bucketName = System.getProperty("dataverse.files.s3-bucket-name"); <del> private String s3FolderPath; <add> private Str...
JavaScript
mit
865f7314685e14f1ed267a64d2aba24d46576bf6
0
c9s/umobi,c9s/umobi,c9s/umobi
external/font/easytabs.js
(function($){$.fn.easyTabs=function(option){var param=jQuery.extend({fadeSpeed:"fast",defaultContent:1,activeClass:'active'},option);$(this).each(function(){var thisId="#"+this.id;if(param.defaultContent==''){param.defaultContent=1;} if(typeof param.defaultContent=="number") {var defaultTab=$(thisId+" .tabs li:eq("+(pa...
remove font/easytabs.js
external/font/easytabs.js
remove font/easytabs.js
<ide><path>xternal/font/easytabs.js <del>(function($){$.fn.easyTabs=function(option){var param=jQuery.extend({fadeSpeed:"fast",defaultContent:1,activeClass:'active'},option);$(this).each(function(){var thisId="#"+this.id;if(param.defaultContent==''){param.defaultContent=1;} <del>if(typeof param.defaultContent=="number"...
Java
apache-2.0
e2af69c4ff294afaf7bd1e4f0484b77fb10050af
0
vinumeris/lighthouse,mikelangley/lighthouse,vinumeris/lighthouse,mikelangley/lighthouse,mikelangley/lighthouse,mikelangley/lighthouse,digital-dreamer/lighthouse,vinumeris/lighthouse,vinumeris/lighthouse,digital-dreamer/lighthouse
package lighthouse.wallet; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.ImmutableList; import com.google.common.collect.Sets; import com.google.common.util.concurrent.AsyncFunction; import com.google.common.util.concurrent.FutureCallback; import c...
common/src/main/java/lighthouse/wallet/PledgingWallet.java
package lighthouse.wallet; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.ImmutableList; import com.google.common.collect.Sets; import com.google.common.util.concurrent.AsyncFunction; import com.google.common.util.concurrent.FutureCallback; import c...
Fix old reference to CC
common/src/main/java/lighthouse/wallet/PledgingWallet.java
Fix old reference to CC
<ide><path>ommon/src/main/java/lighthouse/wallet/PledgingWallet.java <ide> public boolean isWalletExtensionMandatory() { <ide> // Allow other apps to open these wallets. Of course those wallets will be downgraded automatically and <ide> // may have their pledges messed up/revoked, but in...
Java
mit
6aa28403ba7cedcecaa2e3826b958263879cad00
0
angusws/tcx2nikeplus,jasongdove/tcx2nikeplus,jasongdove/tcx2nikeplus,jasongdove/tcx2nikeplus,angusws/tcx2nikeplus
package com.awsmithson.tcx2nikeplus.servlet; import com.awsmithson.tcx2nikeplus.converter.Convert; import com.awsmithson.tcx2nikeplus.util.Util; import com.awsmithson.tcx2nikeplus.uploader.Upload; import com.awsmithson.tcx2nikeplus.util.Log; import com.google.gson.JsonObject; import java.io.File; import java.io.IOExce...
src/com/awsmithson/tcx2nikeplus/servlet/ConvertServlet.java
package com.awsmithson.tcx2nikeplus.servlet; import com.awsmithson.tcx2nikeplus.converter.Convert; import com.awsmithson.tcx2nikeplus.util.Util; import com.awsmithson.tcx2nikeplus.uploader.Upload; import com.awsmithson.tcx2nikeplus.util.Log; import com.google.gson.JsonObject; import java.io.File; import java.io.IOExce...
Fixed typo in debug statement.
src/com/awsmithson/tcx2nikeplus/servlet/ConvertServlet.java
Fixed typo in debug statement.
<ide><path>rc/com/awsmithson/tcx2nikeplus/servlet/ConvertServlet.java <ide> <ide> <ide> // If we have a tcx file to convert... <del> if ((garminTcxFile != null) && (garminTcxFile.exists())){ <add> if ((garminTcxFile != null) && (garminTcxFile.exists())) { <ide> log.out("Received convert-tcx-file reques...