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
mit
f8a2ad482f05b58bc7cd56bbf14b3360ff182e64
0
navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-...
/** * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * */ package com.microsoft.rest; import com.microsoft.rest.retry.RetryHandler; import com.microsoft.rest.serializer.JacksonMapperAdapter; import java.n...
client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java
/** * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * */ package com.microsoft.rest; import com.microsoft.rest.retry.RetryHandler; import com.microsoft.rest.serializer.JacksonMapperAdapter; import java.n...
Adding javadoc gen as a part of build since javadoc generation catches some of the checkstyle and reference issue
client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java
Adding javadoc gen as a part of build since javadoc generation catches some of the checkstyle and reference issue
<ide><path>lient-runtime/src/main/java/com/microsoft/rest/ServiceClient.java <ide> /** <ide> * Initializes a new instance of the ServiceClient class. <ide> * <add> * @param baseUrl the service base uri <add> * @param clientBuilder the http client builder <add> * @param restBuilder the retrofit...
Java
apache-2.0
2b78a3bf4d6d7cfa12a84de9ea9d0495eccf9a6f
0
thomasdarimont/keycloak,mhajas/keycloak,reneploetz/keycloak,hmlnarik/keycloak,gregjones60/keycloak,thomasdarimont/keycloak,didiez/keycloak,vmuzikar/keycloak,chameleon82/keycloak,lennartj/keycloak,iperdomo/keycloak,brat000012001/keycloak,ssilvert/keycloak,mhajas/keycloak,pfiled/keycloak,vmuzikar/keycloak,AOEpeople/keycl...
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Tweaks to tests that fail on travis
testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java
Tweaks to tests that fail on travis
<ide><path>estsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java <ide> <ide> Assert.assertEquals("bearer", tokenResponse.getTokenType()); <ide> <del> Assert.assertThat(token.getExpiration() - Time.currentTime(), allOf(greaterThanOrEqualTo(250), lessThanOrEqualTo(300))); ...
JavaScript
apache-2.0
91ae0b0a83565e66058afb76f331c702582c9ff6
0
netfishx/new_react_rockstar
ccc4a4b6-2f8c-11e5-bfe4-34363bc765d8
hello.js
ccbe666e-2f8c-11e5-8d25-34363bc765d8
ccc4a4b6-2f8c-11e5-bfe4-34363bc765d8
hello.js
ccc4a4b6-2f8c-11e5-bfe4-34363bc765d8
<ide><path>ello.js <del>ccbe666e-2f8c-11e5-8d25-34363bc765d8 <add>ccc4a4b6-2f8c-11e5-bfe4-34363bc765d8
Java
apache-2.0
4a6366321b6988810c6a4f0e41441210f5d7367e
0
yangfuhai/jboot,yangfuhai/jboot
/** * Copyright (c) 2015-2019, Michael Yang 杨福海 (fuhai999@gmail.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * U...
src/main/java/io/jboot/core/spi/JbootSpiLoader.java
/** * Copyright (c) 2015-2019, Michael Yang 杨福海 (fuhai999@gmail.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * U...
v2.0-rc.4
src/main/java/io/jboot/core/spi/JbootSpiLoader.java
v2.0-rc.4
<ide><path>rc/main/java/io/jboot/core/spi/JbootSpiLoader.java <ide> package io.jboot.core.spi; <ide> <ide> import io.jboot.utils.AnnotationUtil; <add>import io.jboot.utils.ClassScanner; <add>import io.jboot.utils.StrUtil; <ide> <ide> import java.util.Iterator; <add>import java.util.List; <ide> import java.util.Servic...
Java
bsd-3-clause
73c638710c4bd5b1fbe86ad8b455d6e80a6c6b52
0
Peragore/Team3373_2013
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
src/edu/wpi/first/wpilibj/templates/Team3373.java
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
added methods for shooter testing
src/edu/wpi/first/wpilibj/templates/Team3373.java
added methods for shooter testing
<ide><path>rc/edu/wpi/first/wpilibj/templates/Team3373.java <ide> *********************************/ <ide> <ide> <del> double ShooterSpeedStage2 = 0.1;//was StageTwoTalon.get() <del> double percentageScaler = 0.5; <add> double ShooterSpeedStage2 = 0;//was StageTwoTalon.get() <add> double percentageSc...
JavaScript
mit
2cc89968242f3c571e207ecb5720b738776bb5f8
0
olistik/poi-filters,olistik/poi-filters
// marker icons: https://www.mapbox.com/maki-icons (function() { var filters = null; var checkboxes = []; var map = null; var geojsonData = {}; var featureLayer = null; var mapboxSettings = { accessToken: "pk.eyJ1Ijoib2xpc3RpayIsImEiOiJjaW03a2lvd2MwMDBsdzhtNTZzeG9pYzFsIn0.EnuMVTEKyFfJN6XZhtLmIA", ...
application.js
// marker icons: https://www.mapbox.com/maki-icons (function() { var filters = null; var checkboxes = []; var map = null; var geojsonData = {}; var featureLayer = null; var mapboxSettings = { accessToken: "pk.eyJ1Ijoib2xpc3RpayIsImEiOiJjaW03a2lvd2MwMDBsdzhtNTZzeG9pYzFsIn0.EnuMVTEKyFfJN6XZhtLmIA", ...
shows fields only if present
application.js
shows fields only if present
<ide><path>pplication.js <ide> } <ide> } <ide> <add> function isPresent(string) { <add> return string !== undefined && string !== null && string.length > 0; <ide> } <ide> <ide> function fetchDataset(datasetUrl, callback) { <ide> var feature = marker.feature; <ide> <ide> var content = ""; <d...
Java
bsd-2-clause
03eecbb60e66da534a8105b8ba8728cf19dc12eb
0
oci-pronghorn/PronghornCompression
package com.ociweb.pronghorn.components.decompression; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertTrue; import java.util.concurrent.TimeUnit; import org.junit.Ignore; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.prongho...
src/test/java/com/ociweb/pronghorn/components/decompression/KanziDecompressionStageTest.java
package com.ociweb.pronghorn.components.decompression; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertTrue; import java.util.concurrent.TimeUnit; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.pronghorn.components.compression...
Disable unused Kansi feature in test.
src/test/java/com/ociweb/pronghorn/components/decompression/KanziDecompressionStageTest.java
Disable unused Kansi feature in test.
<ide><path>rc/test/java/com/ociweb/pronghorn/components/decompression/KanziDecompressionStageTest.java <ide> <ide> import java.util.concurrent.TimeUnit; <ide> <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> KanziDecompressi...
JavaScript
apache-2.0
36389a08a7fb3a5853422a25fa06e58aa4e94374
0
caneruguz/ember-preprints,baylee-d/ember-preprints,laurenrevere/ember-preprints,laurenrevere/ember-preprints,CenterForOpenScience/ember-preprints,CenterForOpenScience/ember-preprints,baylee-d/ember-preprints,caneruguz/ember-preprints
import Ember from 'ember'; import Analytics from '../mixins/analytics'; /** * @module ember-preprints * @submodule components */ /** * Displays active preprint providers in a horizontal carousel with five providers per slide. Does not auto-advance. * Handles display on two pages: index (lightLogo=true) and disco...
app/components/provider-carousel.js
import Ember from 'ember'; import Analytics from '../mixins/analytics'; /** * @module ember-preprints * @submodule components */ /** * Displays active preprint providers in a horizontal carousel with five providers per slide. Does not auto-advance. * Handles display on two pages: index (lightLogo=true) and disco...
Styling.
app/components/provider-carousel.js
Styling.
<ide><path>pp/components/provider-carousel.js <ide> return this.get('providers').length; <ide> }), <ide> numSlides: Ember.computed('numProviders', 'itemsPerSlide', function() { <del> return Math.ceil(this.get('numProviders')/this.get('itemsPerSlide')); <add> return Math.ceil(this.get('numP...
Java
apache-2.0
8360c86bc5d35c300f2b7b14dc15d3a24b71627a
0
GoogleCloudPlatform/appengine-plugins-core,GoogleCloudPlatform/appengine-plugins-core
/** * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
src/main/java/com/google/cloud/tools/app/impl/cloudsdk/CloudSdkAppEngineFlexibleStaging.java
/** * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
Ensure docker can read artifacts in flexible deploys (#89) This only affect posix systems.
src/main/java/com/google/cloud/tools/app/impl/cloudsdk/CloudSdkAppEngineFlexibleStaging.java
Ensure docker can read artifacts in flexible deploys (#89)
<ide><path>rc/main/java/com/google/cloud/tools/app/impl/cloudsdk/CloudSdkAppEngineFlexibleStaging.java <ide> import com.google.cloud.tools.app.api.deploy.AppEngineFlexibleStaging; <ide> import com.google.cloud.tools.app.api.deploy.StageFlexibleConfiguration; <ide> import com.google.common.base.Preconditions; <add>impor...
JavaScript
mit
d1908cf1e2d48f214914135f36758ef3d2d2532f
0
greeny/green.dj
/** * green.js - a plug.dj plugin * @licence MIT * @author greeny */ (function(){ if(typeof API === 'undefined') { alert('You are not at plug.dj. Please use this bookmark at plug.dj.\n\nYou can find more info at greeny.github.io/green.dj'); } if(typeof window.greenDj === 'undefined') { function GreenDjObject...
src/green.dj.js
/** * green.js - a plug.dj plugin * @licence MIT * @author greeny */ (function(){ if(typeof API === 'undefined') { alert('You are not at plug.dj. Please use this bookmark at plug.dj.\n\nYou can find more info at greeny.github.io/green.dj'); } if(typeof window.greenDj === 'undefined') { function GreenDjObject...
Added icons
src/green.dj.js
Added icons
<ide><path>rc/green.dj.js <ide> <ide> this.onUserVote = function(user, vote) { <ide> console.log(vote); <del> this.info(user.username + ' had ' + (vote === 1 ? '<span style="color: #90ad2f">Woot!</span>ed' : '<span style="color: #c42e3b;">Meh!</span>ed') + ' this song!', 'userVote'); <add> this.info('<i c...
Java
apache-2.0
49e995172a6be0459f7cd320c8fa9d2dc656c673
0
frasese/sakai,joserabal/sakai,zqian/sakai,willkara/sakai,frasese/sakai,frasese/sakai,ouit0408/sakai,duke-compsci290-spring2016/sakai,duke-compsci290-spring2016/sakai,willkara/sakai,joserabal/sakai,frasese/sakai,OpenCollabZA/sakai,ouit0408/sakai,duke-compsci290-spring2016/sakai,rodriguezdevera/sakai,duke-compsci290-spri...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
samigo/samigo-api/src/java/org/sakaiproject/tool/assessment/data/dao/grading/AssessmentGradingData.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
SAM-2717 - Handle copy of null grading attachments There is a setter for the grading attachment list on AssessmentGradingData, which wraps an underlying HashSet. When copying, for example, from AgentResults, where there are no attachments, the HashSet constructor on the null value throws an InvocationTargetException, ...
samigo/samigo-api/src/java/org/sakaiproject/tool/assessment/data/dao/grading/AssessmentGradingData.java
SAM-2717 - Handle copy of null grading attachments
<ide><path>amigo/samigo-api/src/java/org/sakaiproject/tool/assessment/data/dao/grading/AssessmentGradingData.java <ide> <ide> public void setAssessmentGradingAttachmentList( <ide> List<AssessmentGradingAttachment> assessmentGradingAttachmentList) { <del> Set<AssessmentGradingAttachment> assessmentGradingAttachmen...
Java
agpl-3.0
07ea1e5adf300573b22ca87e1f18013b3d52c846
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
03a7964e-2e60-11e5-9284-b827eb9e62be
hello.java
03a22d44-2e60-11e5-9284-b827eb9e62be
03a7964e-2e60-11e5-9284-b827eb9e62be
hello.java
03a7964e-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>03a22d44-2e60-11e5-9284-b827eb9e62be <add>03a7964e-2e60-11e5-9284-b827eb9e62be
Java
mit
error: pathspec 'src/test/java/nl/github/martijn9612/fishy/position/DrawPositionTest.java' did not match any file(s) known to git
0ec4416a58d1dcf57dced62b31041e0fbe2615ce
1
martijn9612/fishy
package nl.github.martijn9612.fishy.position; import junit.framework.TestCase; import static org.mockito.Mockito.mock; import org.junit.Test; import org.newdawn.slick.Graphics; import org.newdawn.slick.Image; public class DrawPositionTest extends TestCase { private int posX; private int posY; private Dr...
src/test/java/nl/github/martijn9612/fishy/position/DrawPositionTest.java
add DrawPositionTest, 100% coverage <testing
src/test/java/nl/github/martijn9612/fishy/position/DrawPositionTest.java
add DrawPositionTest, 100% coverage <testing
<ide><path>rc/test/java/nl/github/martijn9612/fishy/position/DrawPositionTest.java <add>package nl.github.martijn9612.fishy.position; <add> <add>import junit.framework.TestCase; <add>import static org.mockito.Mockito.mock; <add> <add>import org.junit.Test; <add>import org.newdawn.slick.Graphics; <add>import org.newdawn...
Java
apache-2.0
b6b65e389bedae8a2a0a316bc7f3e1da2aef98a8
0
aertoria/opennlp,jsubercaze/opennlp-tools-steroids,jsubercaze/opennlp-tools-steroids,aertoria/opennlp,jsubercaze/opennlp-tools-steroids,Eagles2F/opennlp,Eagles2F/opennlp,aertoria/opennlp,Eagles2F/opennlp
/* * 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 ...
opennlp-maxent/src/main/java/opennlp/maxent/TrainEval.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 ...
OPENNLP-369 Now using for each loop. Thanks to Aliaksandr Autayeu for providing patch. git-svn-id: 924c1ce098d5c0cf43d98e06e1f2b659f3b417ce@1200826 13f79535-47bb-0310-9956-ffa450edef68
opennlp-maxent/src/main/java/opennlp/maxent/TrainEval.java
OPENNLP-369 Now using for each loop. Thanks to Aliaksandr Autayeu for providing patch.
<ide><path>pennlp-maxent/src/main/java/opennlp/maxent/TrainEval.java <ide> Event[] events = (e.getEventCollector(r)).getEvents(true); <ide> //MaxentModel model = e.getModel(dir, name); <ide> String negOutcome = e.getNegativeOutcome(); <del> for(int i=0; i<events.length; i++) { <del> String guess = <del> model.g...
Java
mit
66cf0b65962f40ca0e053b9a0a603eaf156c8567
0
DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier
package com.google.refine.importers; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.nio.CharBuffer; import com.google.refine.importing.FormatG...
main/src/com/google/refine/importers/TextFormatGuesser.java
package com.google.refine.importers; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.nio.CharBuffer; import com.google.refine.importing.FormatG...
Fixed Issue 449: Uncaught exception from Excel importer. git-svn-id: 434d687192588585fc4b74a81d202f670dfb77fb@2245 7d457c2a-affb-35e4-300a-418c747d4874
main/src/com/google/refine/importers/TextFormatGuesser.java
Fixed Issue 449: Uncaught exception from Excel importer.
<ide><path>ain/src/com/google/refine/importers/TextFormatGuesser.java <ide> <ide> int totalBytes = 0; <ide> int bytes; <del> int lineBreaks = 0; <add> int openBraces = 0; <add> int closeBraces = 0; <add> int ope...
JavaScript
apache-2.0
371c0e6aea893c7dbf91b0c75cbecb2ba87b5465
0
bisone/saiku,bisone/saiku,bisone/saiku,bisone/saiku,bisone/saiku,bisone/saiku
/* * Copyright 2012 OSBI 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 a...
js/saiku/views/Table.js
/* * Copyright 2012 OSBI 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 a...
fixes
js/saiku/views/Table.js
fixes
<ide><path>s/saiku/views/Table.js <ide> clicked_cell: function(event) { <ide> var self = this; <ide> <del> if (this.workspace.query.get('type') != 'QM' || Settings.MODE == "table") { <add> if (/*this.workspace.query.get('type') != 'QM' || */Settings.MODE == "table") { <ide> return...
Java
epl-1.0
39a97f53eabe47c765456b22f5d12069fda3862e
0
rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt
/*********************************************************************** * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExtendedPropertyEditorComposite.java
/*********************************************************************** * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
Fix the bug: The background of the contents which are not selected are black in Custom Properties(26572).
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExtendedPropertyEditorComposite.java
Fix the bug: The background of the contents which are not selected are black in Custom Properties(26572).
<ide><path>hart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExtendedPropertyEditorComposite.java <ide> import org.eclipse.swt.custom.TableEditor; <ide> import org.eclipse.swt.events.SelectionEvent; <ide> import org.eclipse.swt.events.SelectionListener; <del>import org.eclipse.swt.gr...
Java
lgpl-2.1
dc4512e8393186523969f15f6a2ef51db72d2792
0
brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty
/* * BRLTTY - A background process providing access to the console screen (when in * text mode) for a blind person using a refreshable braille display. * * Copyright (C) 1995-2013 by The BRLTTY Developers. * * BRLTTY comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under the terms o...
Android/Application/src/org/a11y/brltty/android/SimpleBrailleRenderer.java
/* * BRLTTY - A background process providing access to the console screen (when in * text mode) for a blind person using a refreshable braille display. * * Copyright (C) 1995-2013 by The BRLTTY Developers. * * BRLTTY comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under the terms o...
Rendering of multi-line virtual screen elements could fail. (dm) git-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@6927 91a5dbb7-01b9-0310-9b5f-b28072856b6e
Android/Application/src/org/a11y/brltty/android/SimpleBrailleRenderer.java
Rendering of multi-line virtual screen elements could fail. (dm)
<ide><path>ndroid/Application/src/org/a11y/brltty/android/SimpleBrailleRenderer.java <ide> <ide> for (CharSequence line : lines) { <ide> StringBuilder sb = new StringBuilder(); <del> if (row < rows.size()) sb.append(rows.get(row)); <add> while (row >= rows.size()) rows.add("...
Java
apache-2.0
ab1b48cc7d91500fdd62e225200285b8e8c2055f
0
IBM-MIL/CafeJava
/* * Licensed Materials - Property of IBM * © Copyright IBM Corporation 2015. All Rights Reserved. */ package com.ibm.mil.cafejava; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.gson.Gson; import com.google.gson.JsonElement...
cafejava/src/main/java/com/ibm/mil/cafejava/CafeJava.java
/* * Licensed Materials - Property of IBM * © Copyright IBM Corporation 2015. All Rights Reserved. */ package com.ibm.mil.cafejava; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.gson.Gson; import com.google.gson.JsonElement...
Clarify intent of parseNestedJson logic with comments
cafejava/src/main/java/com/ibm/mil/cafejava/CafeJava.java
Clarify intent of parseNestedJson logic with comments
<ide><path>afejava/src/main/java/com/ibm/mil/cafejava/CafeJava.java <ide> String json = wlResponse.getResponseJSON().toString(); <ide> JsonObject jsonObject = new JsonParser().parse(json).getAsJsonObject(); <ide> <add> // For each member name, fetch the object it maps to until you reach the fina...
JavaScript
mit
468ab59420ea7989cc473c193a96e0702953d3a6
0
SerkanSipahi/app-decorators,SerkanSipahi/app-decorators
// internal libs import { Router } from 'src/apps/router'; import { XRegExp } from 'src/libs/dependencies'; import { Event } from 'test/mocks/event'; import { Location } from 'test/mocks/location'; describe('Class Router', () => { describe('_isDynamicURL method', () => { it('should return true if has variable in...
test/libs/router.spec.js
// internal libs import { Router } from 'src/apps/router'; import { XRegExp } from 'src/libs/dependencies'; import { Event } from 'test/mocks/event'; import { Location } from 'test/mocks/location'; describe('Class Router', () => { describe('_isDynamicURL method', () => { it('should return true if has variable in...
test/libs/router.spec.js: implement test for Router.prototype._constructDynamicURL
test/libs/router.spec.js
test/libs/router.spec.js: implement test for Router.prototype._constructDynamicURL
<ide><path>est/libs/router.spec.js <ide> <ide> }); <ide> <add> describe('_constructDynamicURL', () => { <add> <add> it('should construct url by passt dynamic routename', () => { <add> <add> // setup <add> let routeObject = null; <add> let router = Router.create(); <add> router._addRoute('/person/{{name}}/{{...
Java
apache-2.0
92bcbe52c1e8b9e920b94bfb157c1f420e0a4c0a
0
googlegsa/documentum
// Copyright 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
test/com/google/enterprise/adaptor/documentum/DocumentumAdaptorTest.java
// Copyright 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
Fix broken tests. Fix tests broken in rebase master patch set of previous commit 947a674. Code review: https://codereview.appspot.com/309550043/
test/com/google/enterprise/adaptor/documentum/DocumentumAdaptorTest.java
Fix broken tests.
<ide><path>est/com/google/enterprise/adaptor/documentum/DocumentumAdaptorTest.java <ide> @Test <ide> public void testUpdateAclsFirstRowFailure() throws Exception { <ide> String dateStr = getNowPlusMinutes(5); <del> insertAclAudit("123", "234", "4501081f80000100", "dm_save", dateStr); <add> insertAclAudit(...
Java
apache-2.0
error: pathspec 'pax-web-tomcat/src/main/java/org/ops4j/pax/web/service/tomcat/OSGiMemoryRealm.java' did not match any file(s) known to git
93a2ae621b2e9f666ad0a53291a5aedd99c74f5c
1
lostiniceland/org.ops4j.pax.web,lostiniceland/org.ops4j.pax.web
package org.ops4j.pax.web.service.tomcat; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Enumeration; import org.apache.catalina.LifecycleException; ...
pax-web-tomcat/src/main/java/org/ops4j/pax/web/service/tomcat/OSGiMemoryRealm.java
[PAXWEB-601] - TOMCAT: SecurityConstraingMapping needs to be set ...
pax-web-tomcat/src/main/java/org/ops4j/pax/web/service/tomcat/OSGiMemoryRealm.java
[PAXWEB-601] - TOMCAT: SecurityConstraingMapping needs to be set ...
<ide><path>ax-web-tomcat/src/main/java/org/ops4j/pax/web/service/tomcat/OSGiMemoryRealm.java <add>package org.ops4j.pax.web.service.tomcat; <add> <add>import java.io.IOException; <add>import java.io.InputStream; <add>import java.net.MalformedURLException; <add>import java.net.URL; <add>import java.security.MessageDiges...
Java
apache-2.0
63828ad32813f63ac94ee2bcf93c5217e0fa8d0c
0
AKSW/sml-converters,AKSW/sml-converters
package org.aksw.sml.converters.r2rml2sml; import java.util.HashSet; import java.util.Set; import org.aksw.sml.converters.vocabs.RR; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.RDFNode; import com.hp.hpl.jena.rdf.model.Resource; public class TriplesMap { private Model model; pri...
src/main/java/org/aksw/sml/converters/r2rml2sml/TriplesMap.java
package org.aksw.sml.converters.r2rml2sml; import java.util.HashSet; import java.util.Set; import org.aksw.sml.converters.vocabs.RR; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.RDFNode; import com.hp.hpl.jena.rdf.model.Resource; public class TriplesMap { private Model model; pri...
method renaming in TriplesMap - declared getSubject method to be deprecated since I find it misleading: when calling triplesMap.getSubject() one could expect to get the subject map - introduced a method named getResource being a copy of getSubject hoping that calling triplesMap.getResource() better reflects that...
src/main/java/org/aksw/sml/converters/r2rml2sml/TriplesMap.java
method renaming in TriplesMap
<ide><path>rc/main/java/org/aksw/sml/converters/r2rml2sml/TriplesMap.java <ide> /** <ide> * @return the subject <ide> */ <add> @Deprecated <ide> public Resource getSubject() { <add> return subject; <add> } <add> <add> /** <add> * Returns the actual triples map resource <add> * ...
Java
apache-2.0
dda5ae7dfe37540d8f09407a8b55c328ec49b22c
0
hhshuai/concurrentlinkedhashmap,sdslnmd/concurrentlinkedhashmap,ben-manes/concurrentlinkedhashmap,songchuanyuan66/concurrentlinkedhashmap,mapiman/concurrentlinkedhashmap,rzel/concurrentlinkedhashmap,easyfmxu/concurrentlinkedhashmap,Tradeshift/concurrentlinkedhashmap
/* * Copyright 2011 Benjamin Manes * * 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 ...
unittest/src/java/com/googlecode/concurrentlinkedhashmap/MemoryLeakTest.java
/* * Copyright 2011 Benjamin Manes * * 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 ...
Add catchup to test, but disabled. Reminder for investigating why it can't keep up. git-svn-id: 907e4e34b61c8b36c3c46852ca75613c7936718f@592 52670e78-85c4-11dd-9ffd-cdf95c2cae98
unittest/src/java/com/googlecode/concurrentlinkedhashmap/MemoryLeakTest.java
Add catchup to test, but disabled. Reminder for investigating why it can't keep up.
<ide><path>nittest/src/java/com/googlecode/concurrentlinkedhashmap/MemoryLeakTest.java <ide> import org.testng.annotations.Test; <ide> <ide> import java.text.NumberFormat; <add>import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.ScheduledExecutorS...
Java
apache-2.0
2c72b14e9f75dca6433f90322ba0c64c53edbaa6
0
researchgate/kafka-metamorph
package net.researchgate.kafka.metamorph.kafka09; import net.researchgate.kafka.metamorph.AbstractKafkaPartitionConsumerTest; import net.researchgate.kafka.metamorph.KafkaTestContext; import net.researchgate.kafka.metamorph.PartitionConsumer; import net.researchgate.kafka.metamorph.kafka09.utils.Kafka09TestContext; im...
metamorph-kafka-09/src/test/java/net/researchgate/kafka/metamorph/kafka09/Kafka09PartitionConsumerTest.java
package net.researchgate.kafka.metamorph.kafka09; import net.researchgate.kafka.metamorph.AbstractKafkaPartitionConsumerTest; import net.researchgate.kafka.metamorph.KafkaTestContext; import net.researchgate.kafka.metamorph.PartitionConsumer; import net.researchgate.kafka.metamorph.kafka09.utils.Kafka09TestContext; im...
Copied implementation for Kafka 09 producer
metamorph-kafka-09/src/test/java/net/researchgate/kafka/metamorph/kafka09/Kafka09PartitionConsumerTest.java
Copied implementation for Kafka 09 producer
<ide><path>etamorph-kafka-09/src/test/java/net/researchgate/kafka/metamorph/kafka09/Kafka09PartitionConsumerTest.java <ide> import net.researchgate.kafka.metamorph.PartitionConsumer; <ide> import net.researchgate.kafka.metamorph.kafka09.utils.Kafka09TestContext; <ide> import org.apache.kafka.clients.consumer.ConsumerCo...
Java
apache-2.0
640e54f3517b47a8ef1e088539ca6541742bee8b
0
wisgood/hive,asonipsl/hive,asonipsl/hive,WANdisco/amplab-hive,asonipsl/hive,wisgood/hive,winningsix/hive,WANdisco/hive,asonipsl/hive,WANdisco/amplab-hive,WANdisco/hive,winningsix/hive,WANdisco/amplab-hive,WANdisco/hive,WANdisco/hive,WANdisco/amplab-hive,wisgood/hive,winningsix/hive,wisgood/hive,asonipsl/hive,winningsix...
/** * 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...
jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.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-2577: Expose the HiveConf in HiveConnection API (Nicolas Lalevee via Ashutosh Chauhan) git-svn-id: c2303eb81cb646bce052f55f7f0d14f181a5956c@1304068 13f79535-47bb-0310-9956-ffa450edef68
jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java
HIVE-2577: Expose the HiveConf in HiveConnection API (Nicolas Lalevee via Ashutosh Chauhan)
<ide><path>dbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java <ide> <ide> package org.apache.hadoop.hive.jdbc; <ide> <add>import org.apache.hadoop.hive.conf.HiveConf; <ide> import org.apache.hadoop.hive.metastore.api.MetaException; <ide> import org.apache.hadoop.hive.service.HiveClient; <ide> import org.apa...
JavaScript
agpl-3.0
7d24c5fda24abccd712a6df8002b62955d2f83a4
0
grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana
define([ 'jquery', 'lodash', ], function($, _) { 'use strict'; var kbn = {}; kbn.valueFormats = {}; ///// HELPER FUNCTIONS ///// kbn.round_interval = function(interval) { switch (true) { // 0.5s case (interval <= 500): return 100; // 0.1s // 5s case (interval <= 5000): ...
public/app/components/kbn.js
define([ 'jquery', 'lodash', ], function($, _) { 'use strict'; var kbn = {}; kbn.valueFormats = {}; ///// HELPER FUNCTIONS ///// kbn.round_interval = function(interval) { switch (true) { // 0.5s case (interval <= 500): return 100; // 0.1s // 5s case (interval <= 5000): ...
Add fixedUnit format builder.
public/app/components/kbn.js
Add fixedUnit format builder.
<ide><path>ublic/app/components/kbn.js <ide> <ide> ///// FORMAT FUNCTION CONSTRUCTORS ///// <ide> <add> kbn.formatBuilders = {}; <add> <add> // Formatter which always appends a fixed unit string to the value. No <add> // scaling of the value is performed. <add> kbn.formatBuilders.fixedUnit = function(unit, sepa...
JavaScript
isc
dadd060a7cf45ad64b264447aba67b05b50ebfb2
0
bhj/karaoke-forever,bhj/karaoke-forever
const db = require('sqlite') const squel = require('squel') const debug = require('debug') const log = debug('app:library:get') /** * Gets all artists/songs without detailed media info * (suitable for pushing out to non-admin users) * * @return {[object]} Results normalized by artist and song */ async fu...
server/lib/getLibrary.js
const db = require('sqlite') const squel = require('squel') const debug = require('debug') const log = debug('app:library:get') async function getLibrary (find = {}, providerData = false) { let artists = { result: [], entities: {} } let songs = { result: [], entities: {} } // first query: so...
Initial rewrite of getLibrary for the new media table
server/lib/getLibrary.js
Initial rewrite of getLibrary for the new media table
<ide><path>erver/lib/getLibrary.js <ide> const debug = require('debug') <ide> const log = debug('app:library:get') <ide> <del>async function getLibrary (find = {}, providerData = false) { <del> let artists = { <add>/** <add> * Gets all artists/songs without detailed media info <add> * (suitable for pushing out to non...
Java
apache-2.0
15fb9c2d495f9c1f5f21bdd02aca815800f230a2
0
hortonworks/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak
package com.sequenceiq.cloudbreak.service.stack.connector.gcc; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.google.api.services.compute.model.Operation; import com.sequenceiq.cloudbreak.logger.MDCBuilder; import com.s...
src/main/java/com/sequenceiq/cloudbreak/service/stack/connector/gcc/GccResourceCheckerStatus.java
package com.sequenceiq.cloudbreak.service.stack.connector.gcc; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.google.api.services.compute.model.Operation; import com.sequenceiq.cloudbreak.logger.MDCBuilder; import com.s...
CLOUD-306 fixed opertaion analyze
src/main/java/com/sequenceiq/cloudbreak/service/stack/connector/gcc/GccResourceCheckerStatus.java
CLOUD-306 fixed opertaion analyze
<ide><path>rc/main/java/com/sequenceiq/cloudbreak/service/stack/connector/gcc/GccResourceCheckerStatus.java <ide> Operation execute = null; <ide> try { <ide> execute = gccResourceReadyPollerObject.getZoneOperations().execute(); <del> <del> if (execute.getHttpErrorStatusCode() != n...
Java
apache-2.0
1dace9037fa38babe3048bc05669951a654b08be
0
digipost/digg
/** * Copyright (C) Posten Norge AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
src/main/java/no/digipost/jdbc/Mappers.java
/** * Copyright (C) Posten Norge AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Adds mappers for nullable (`Optional`) primitive types
src/main/java/no/digipost/jdbc/Mappers.java
Adds mappers for nullable (`Optional`) primitive types
<ide><path>rc/main/java/no/digipost/jdbc/Mappers.java <ide> import java.sql.ResultSet; <ide> import java.sql.Timestamp; <ide> import java.time.Instant; <add>import java.util.Optional; <ide> <add>import static java.util.Optional.empty; <ide> import static java.util.Optional.ofNullable; <ide> <ide> /** <ide> /** @s...
JavaScript
epl-1.0
7dcd6a4cdbdb1c3d93cd46c5ca4a143b4312ce30
0
codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2013] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to ...
app/site/scripts/models/account.js
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2013] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to ...
IDEX-541; fix acount;
app/site/scripts/models/account.js
IDEX-541; fix acount;
<ide><path>pp/site/scripts/models/account.js <ide> <ide> // Returns true if User has WS with tariff plan <ide> supportTab : function(){ <del><<<<<<< HEAD <ide> var getAccountUrl = "/api/account/subscriptions"; <ide> var paid = false; <ide> $.ajax(...
Java
apache-2.0
0d21a2b7a8d250972b46dfa07ff15ff65ab5542a
0
ogcs/Okra-Ax
/* * Copyright 2016 - 2026 TinyZ. * * 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 ...
okra-ax-inner/src/main/java/org/ogcs/ax/component/AxProperties.java
/* * Copyright 2016 - 2026 TinyZ. * * 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 ...
调整AxProperties结构
okra-ax-inner/src/main/java/org/ogcs/ax/component/AxProperties.java
调整AxProperties结构
<ide><path>kra-ax-inner/src/main/java/org/ogcs/ax/component/AxProperties.java <ide> * 生成全服唯一ID <ide> */ <ide> public static long id() { <del> return ((AxProperties.axId & 0xFFFF) << 48) | (((System.currentTimeMillis() / 1000) & 0x00000000FFFFFFFFL) << 16) | (ATOMIC_INTEGER.getAndIncrement() & 0x000...
Java
apache-2.0
9df8dac295c875ee3395d78a2bab3cda0c3c9ddd
0
sijie/bookkeeper,ivankelly/bookkeeper,sijie/bookkeeper,sijie/bookkeeper,sijie/bookkeeper,apache/bookkeeper,ivankelly/bookkeeper,sijie/bookkeeper,sijie/bookkeeper,sijie/bookkeeper,apache/bookkeeper,sijie/bookkeeper,ivankelly/bookkeeper,apache/bookkeeper,apache/bookkeeper,apache/bookkeeper,apache/bookkeeper
/* * * 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"); y...
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieClient.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"); y...
Avoid acquiring closeLock.readLock() on every add/read operation In the `BookieClient`, we are always acquiring a readlock when grabbing a connection to use for sending a write/read request. The lock is the `closeLock` and it's only acquired in "write" mode when the `BookKeeper` instance is closed. The problem with ...
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieClient.java
Avoid acquiring closeLock.readLock() on every add/read operation
<ide><path>ookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieClient.java <ide> package org.apache.bookkeeper.proto; <ide> <ide> import static com.google.common.base.Charsets.UTF_8; <add>import static org.apache.bookkeeper.util.SafeRunnable.safeRun; <ide> <ide> import com.google.common.collect.Lists; <i...
Java
mit
f9b11cdd609e12849df15bbb08792f10fc8cc7d0
0
braintree/braintree_android,braintree/braintree_android,braintree/braintree_android,braintree/braintree_android
package com.braintreepayments.api; import android.app.Activity; import android.os.SystemClock; import android.support.test.espresso.web.webdriver.Locator; import android.support.test.runner.AndroidJUnit4; import android.test.suitebuilder.annotation.LargeTest; import android.test.suitebuilder.annotation.MediumTest; im...
BraintreeApi/src/androidTest/java/com/braintreepayments/api/ThreeDSecureVerificationTest.java
package com.braintreepayments.api; import android.app.Activity; import android.app.KeyguardManager; import android.content.Context; import android.os.SystemClock; import android.support.test.espresso.web.webdriver.Locator; import android.support.test.runner.AndroidJUnit4; import android.test.suitebuilder.annotation.La...
Remove unnecessary call to disable keyguard in test
BraintreeApi/src/androidTest/java/com/braintreepayments/api/ThreeDSecureVerificationTest.java
Remove unnecessary call to disable keyguard in test
<ide><path>raintreeApi/src/androidTest/java/com/braintreepayments/api/ThreeDSecureVerificationTest.java <ide> package com.braintreepayments.api; <ide> <ide> import android.app.Activity; <del>import android.app.KeyguardManager; <del>import android.content.Context; <ide> import android.os.SystemClock; <ide> import andro...
Java
mit
error: pathspec 'src/main/java/org/zalando/logbook/Obfuscator.java' did not match any file(s) known to git
dac9da328d09923028c7e84a26a0f2e4f565aee4
1
zalando/logbook,zalando/logbook,zalando/logbook
package org.zalando.logbook; import java.util.Objects; import java.util.function.BiPredicate; import java.util.function.Predicate; // TODO implement // TODO find a nice way for body obfuscation @FunctionalInterface public interface Obfuscator { String obfuscate(final String key, final String value); static ...
src/main/java/org/zalando/logbook/Obfuscator.java
Added obfuscator interface
src/main/java/org/zalando/logbook/Obfuscator.java
Added obfuscator interface
<ide><path>rc/main/java/org/zalando/logbook/Obfuscator.java <add>package org.zalando.logbook; <add> <add>import java.util.Objects; <add>import java.util.function.BiPredicate; <add>import java.util.function.Predicate; <add> <add>// TODO implement <add>// TODO find a nice way for body obfuscation <add>@FunctionalInterfac...
Java
mit
159ed5ef8b069329031784a3a185651c0ad9a465
0
SpongePowered/Sponge,SpongePowered/SpongeCommon,clienthax/SpongeCommon,Grinch/SpongeCommon,clienthax/SpongeCommon,SpongePowered/SpongeCommon,kenzierocks/SpongeCommon,DDoS/SpongeCommon,Grinch/SpongeCommon,SpongePowered/Sponge,kenzierocks/SpongeCommon,JBYoshi/SpongeCommon,SpongePowered/Sponge,sanman00/SpongeCommon,DDoS/S...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/common/mixin/core/entity/MixinEntityLiving.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Fix living entities not moving.
src/main/java/org/spongepowered/common/mixin/core/entity/MixinEntityLiving.java
Fix living entities not moving.
<ide><path>rc/main/java/org/spongepowered/common/mixin/core/entity/MixinEntityLiving.java <ide> @Mixin(EntityLiving.class) <ide> public abstract class MixinEntityLiving extends MixinEntityLivingBase implements Agent { <ide> <del> private static final String WORLD_FIELD = "Lnet/minecraft/entity/EntityLiving;worldObj...
JavaScript
agpl-3.0
c18a5c4a33eca4997e8304f8c3faebfff2791415
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
72e24740-2e63-11e5-9284-b827eb9e62be
helloWorld.js
72dc8ec2-2e63-11e5-9284-b827eb9e62be
72e24740-2e63-11e5-9284-b827eb9e62be
helloWorld.js
72e24740-2e63-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>72dc8ec2-2e63-11e5-9284-b827eb9e62be <add>72e24740-2e63-11e5-9284-b827eb9e62be
JavaScript
mit
dd70ab33889a64630a271c92ded7f29ef9e773dc
0
ColorfulCakeChen/query-submit-canvas,ColorfulCakeChen/query-submit-canvas
export { Base, Root }; import * as Pool from "../Pool.js"; /** * The base class representing a object could be recycled (i.e. disposed without release its main object memory for re-using in the * future). * * Every sub-class of this Recyclable.Base MUST define a static propery named Pool which is usually an insta...
CNN/util/Recyclable/Recyclable_Base.js
export { Base, Root }; import * as Pool from "../Pool.js"; /** * The base class representing a object could be recycled (i.e. disposed without release its main object memory for re-using in the * future). * * Every sub-class of this Recyclable.Base MUST define a static propery named Pool which is usually an insta...
Update Recyclable_Base.js
CNN/util/Recyclable/Recyclable_Base.js
Update Recyclable_Base.js
<ide><path>NN/util/Recyclable/Recyclable_Base.js <ide> * Almost the same as Recyclable.Base class except its parent class is fixed to Object. In other words, caller can not specify the <ide> * parent class of Recyclable.Root (so it is named "Root" which can not have parent class). <ide> */ <del>class Root extends Ba...
Java
apache-2.0
153cab14101625739623a77d82cdb80329869783
0
DenverM80/ds3_java_sdk,SpectraLogic/ds3_java_sdk,DenverM80/ds3_java_sdk,rpmoore/ds3_java_sdk,SpectraLogic/ds3_java_sdk,SpectraLogic/ds3_java_sdk,RachelTucker/ds3_java_sdk,rpmoore/ds3_java_sdk,rpmoore/ds3_java_sdk,DenverM80/ds3_java_sdk,DenverM80/ds3_java_sdk,RachelTucker/ds3_java_sdk,RachelTucker/ds3_java_sdk,RachelTuc...
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic 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. A copy of the License i...
ds3-sdk/src/main/java/com/spectralogic/ds3client/utils/SafeStringManipulation.java
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic 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. A copy of the License i...
Updated query param encoding to encode semi-colon
ds3-sdk/src/main/java/com/spectralogic/ds3client/utils/SafeStringManipulation.java
Updated query param encoding to encode semi-colon
<ide><path>s3-sdk/src/main/java/com/spectralogic/ds3client/utils/SafeStringManipulation.java <ide> /** <ide> * Specified as query safe characters in spec https://tools.ietf.org/html/rfc3986#section-3.4 <ide> * with the following exceptions: <del> * Encoding: "&", ":", "+", "=" as they have special me...
Java
lgpl-2.1
682679c9312a8fe75ab95f2ad0053c9ad8b856f8
0
netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration
/* File: $Id$ * Revision: $Revision$ * Author: $Author$ * Date: $Date$ * * The Netarchive Suite - Software to harvest and preserve websites * Copyright 2004-2010 Det Kongelige Bibliotek and Statsbiblioteket, Denmark * * This library is free software; you can redistribut...
src/dk/netarkivet/archive/bitarchive/distribute/BatchMessage.java
/* File: $Id$ * Revision: $Revision$ * Author: $Author$ * Date: $Date$ * * The Netarchive Suite - Software to harvest and preserve websites * Copyright 2004-2010 Det Kongelige Bibliotek and Statsbiblioteket, Denmark * * This library is free software; you can redistribut...
Remove superfluous comment line
src/dk/netarkivet/archive/bitarchive/distribute/BatchMessage.java
Remove superfluous comment line
<ide><path>rc/dk/netarkivet/archive/bitarchive/distribute/BatchMessage.java <ide> * @param job The batch job to be executed <ide> * @param replicaId id of this replica. <ide> * @param batchId The id for the process which runs the batchjob. <del> * @param arguments The arguments for initialising the ...
Java
mit
ab41a4b90bf5ace0850e683ee5a3bc4e5befebcd
0
coopernurse/barrister-maven
package com.bitmechanic.barrister.maven; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import j...
src/main/java/com/bitmechanic/barrister/maven/Idl2JavaMaven.java
package com.bitmechanic.barrister.maven; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import j...
null guard on this.exclude
src/main/java/com/bitmechanic/barrister/maven/Idl2JavaMaven.java
null guard on this.exclude
<ide><path>rc/main/java/com/bitmechanic/barrister/maven/Idl2JavaMaven.java <ide> <ide> private Set<String> excludeFiles() { <ide> HashSet<String> set = new HashSet<String>(); <del> for (String fname : this.exclude.split(",")) { <del> set.add(fname); <add> if (this.exclude != null) ...
Java
epl-1.0
0ac08a172e1d71608e326dec48534de5928b289c
0
junit-team/junit-lambda,sbrannen/junit-lambda
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
junit5-api/src/main/java/org/junit/gen5/api/DynamicTest.java
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
Add missing preconditions to DynamicTest()
junit5-api/src/main/java/org/junit/gen5/api/DynamicTest.java
Add missing preconditions to DynamicTest()
<ide><path>unit5-api/src/main/java/org/junit/gen5/api/DynamicTest.java <ide> private final Executable executable; <ide> <ide> public DynamicTest(String displayName, Executable executable) { <del> this.displayName = displayName; <del> this.executable = executable; <add> this.displayName = Preconditions.notBlank(di...
JavaScript
mit
d033b1acc16e1395aacfb55dad9566e3ed9b214b
0
milankinen/react-combinators
import {Observable, Subject} from "rx" import React from "react" import {keys, values, zip, zipObject} from "../util" export default function createComponent(renderFn) { return React.createClass({ getInitialState() { const propsSubjects = zipObject(keys(this.props), values(this.props).map(() => new Subjec...
src/rx/createComponent.js
import {Observable, Subject} from "rx" import React from "react" import {keys, values, zip, zipObject} from "../util" export default function createComponent(renderFn) { return React.createClass({ getInitialState() { const propsSubjects = zipObject(keys(this.props), values(this.props).map(() => new Subjec...
Share Rx component props
src/rx/createComponent.js
Share Rx component props
<ide><path>rc/rx/createComponent.js <ide> <ide> const propsS = <ide> zipObject(keys(this.props), zip(values(propsSubjects), values(this.props)).map(([subject, initial]) => ( <del> subject.startWith(initial).distinctUntilChanged() <add> subject.startWith(initial).distinctUntilChanged().s...
Java
apache-2.0
c3ae7406ce932a49dbde53fa9a79f5e4c49f7d27
0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
/* * Copyright 2017 Crown Copyright * * 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...
stroom-dashboard/stroom-dashboard-client/src/main/java/stroom/dashboard/client/query/QueryPresenter.java
/* * Copyright 2017 Crown Copyright * * 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...
Sort query field picker in case-insensitive order
stroom-dashboard/stroom-dashboard-client/src/main/java/stroom/dashboard/client/query/QueryPresenter.java
Sort query field picker in case-insensitive order
<ide><path>troom-dashboard/stroom-dashboard-client/src/main/java/stroom/dashboard/client/query/QueryPresenter.java <ide> } <ide> } <ide> } <del> fields.sort(Comparator.comparing(AbstractField::getName)); <add> fields.sort(Comparator.comparing(AbstractField::getName, Str...
Java
mit
41a04b0017fa623b71dfd081495f082bda07210f
0
Ordinastie/MalisisCore
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
src/main/java/net/malisis/core/util/multiblock/MultiBlock.java
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
Added cleanup of ORIGIN data if no Multiblock is found at the origin position
src/main/java/net/malisis/core/util/multiblock/MultiBlock.java
Added cleanup of ORIGIN data if no Multiblock is found at the origin position
<ide><path>rc/main/java/net/malisis/core/util/multiblock/MultiBlock.java <ide> import java.util.Map; <ide> <ide> import net.malisis.core.MalisisCore; <add>import net.malisis.core.block.IBlockComponent; <ide> import net.malisis.core.block.component.DirectionalComponent; <ide> import net.malisis.core.util.BlockPosUtils;...
Java
agpl-3.0
e8fd450392d807f399f90afb48dae452ff3505a2
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
76f1a28e-2e60-11e5-9284-b827eb9e62be
hello.java
76ec3ed4-2e60-11e5-9284-b827eb9e62be
76f1a28e-2e60-11e5-9284-b827eb9e62be
hello.java
76f1a28e-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>76ec3ed4-2e60-11e5-9284-b827eb9e62be <add>76f1a28e-2e60-11e5-9284-b827eb9e62be
JavaScript
isc
9630d92e0a567176730721b6ccba450dbd3a27c0
0
wilsonianb/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib
#!/usr/bin/env node var Transaction = require('../src/js/ripple/transaction').Transaction; var argv = process.argv.slice(2); var verbose; var secret; var tx_json; if (~argv.indexOf('-v')){ argv.splice(argv.indexOf('-v'), 1); verbose = true; } secret = argv.shift(); tx_json = argv.shift(); if (tx_json === '-'...
bin/rsign.js
#!/usr/bin/env node var Transaction = require('../src/js/ripple/transaction').Transaction; var argv = process.argv.slice(2); var verbose; var secret; var tx_json; if (~argv.indexOf('-v')){ argv.splice(argv.indexOf('-v')); verbose = true; } secret = argv.shift(); tx_json = argv.shift(); if (tx_json === '-') {...
Fix bin/rsign example sequence
bin/rsign.js
Fix bin/rsign example sequence
<ide><path>in/rsign.js <ide> var tx_json; <ide> <ide> if (~argv.indexOf('-v')){ <del> argv.splice(argv.indexOf('-v')); <add> argv.splice(argv.indexOf('-v'), 1); <ide> verbose = true; <ide> } <ide> <ide> Destination: 'r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV', <ide> Amount: '200000000', <ide> Fee: '10'...
JavaScript
bsd-3-clause
7e032ea97408ceaf7e23b489151473520f803298
0
LocalData/localdata-dashboard,LocalData/localdata-dashboard
/*jslint nomen: true */ /*globals define: true */ define([ // Libraries 'jquery', 'lib/lodash', 'backbone', 'lib/leaflet/leaflet.google', 'moment', 'lib/tinypubsub', // LocalData 'settings', 'api', // Models 'models/responses' ], function($, _, Backbone, L, moment, events, settings, api, Res...
js/views/map.js
/*jslint nomen: true */ /*globals define: true */ define([ // Libraries 'jquery', 'lib/lodash', 'backbone', 'lib/leaflet/leaflet.google', 'moment', 'lib/tinypubsub', // LocalData 'settings', 'api', // Models 'models/responses' ], function($, _, Backbone, L, moment, events, settings, api, Res...
Style / comment improvements
js/views/map.js
Style / comment improvements
<ide><path>s/views/map.js <ide> <ide> }, this); <ide> <del> <ide> // fitBounds fails if there aren't any results, hence this test: <ide> try { <del> console.log("Fitting bounds"); <del> console.log(this.map); <del> console.log(this.parcelsLayerGroup); <del> <ide> this.ma...
Java
bsd-3-clause
24dc9fa2711cf139daa212716a923a6bb3911107
0
hoijui/JavaOSC
/* * Copyright (C) 2001, C. Ramakrishnan / Illposed Software. * All rights reserved. * * This code is licensed under the BSD 3-Clause license. * See file LICENSE (or LICENSE.html) for more information. */ package com.illposed.osc.transport.udp; import com.illposed.osc.OSCBundle; import com.illposed.osc.OSCMessa...
modules/core/src/test/java/com/illposed/osc/transport/udp/OSCPortTest.java
/* * Copyright (C) 2001, C. Ramakrishnan / Illposed Software. * All rights reserved. * * This code is licensed under the BSD 3-Clause license. * See file LICENSE (or LICENSE.html) for more information. */ package com.illposed.osc.transport.udp; import com.illposed.osc.OSCBundle; import com.illposed.osc.OSCMessa...
OSCPortTest: fix formatting [minor] [test]
modules/core/src/test/java/com/illposed/osc/transport/udp/OSCPortTest.java
OSCPortTest: fix formatting [minor] [test]
<ide><path>odules/core/src/test/java/com/illposed/osc/transport/udp/OSCPortTest.java <ide> <ide> @After <ide> public void tearDown() throws Exception { <add> <ide> receiver.close(); <ide> sender.close(); <add> <ide> // wait a bit after closing the receiver, <ide> // because (some) operating systems need some...
Java
bsd-3-clause
e6f20c3150ef89ced3b3ed646e328efd8a22e7ae
0
Monsters-308/FRC2017,Monsters-308/FRC2017
package org.usfirst.frc308.FRC2017.commands; import org.usfirst.frc308.FRC2017.Robot; import org.usfirst.frc308.FRC2017.RobotConstants; import org.usfirst.frc308.FRC2017.utils.MathUtils; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.networktables.Networ...
src/org/usfirst/frc308/FRC2017/commands/AutonomousRotateToTarget.java
package org.usfirst.frc308.FRC2017.commands; import org.usfirst.frc308.FRC2017.Robot; import org.usfirst.frc308.FRC2017.RobotConstants; import org.usfirst.frc308.FRC2017.utils.MathUtils; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.networktables.Networ...
Vision update :money_with_wings:
src/org/usfirst/frc308/FRC2017/commands/AutonomousRotateToTarget.java
Vision update
<ide><path>rc/org/usfirst/frc308/FRC2017/commands/AutonomousRotateToTarget.java <ide> <ide> public class AutonomousRotateToTarget extends Command { <ide> <del> boolean shouldRetry = false; <del> boolean isFinished = false; <del> <del> private Timer timer; <add> private double rot; <add> <add> public Aut...
Java
apache-2.0
563aee685218abbfe71873de6c1be9c11ff14f72
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.ide.actions.searcheverywhere; import com.google.common.collect.Lists; import com.intellij.codeInsight.hint.HintUtil; import com.intellij.execution.runners.Ex...
platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.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.ide.actions.searcheverywhere; import com.google.common.collect.Lists; import com.intellij.codeInsight.hint.HintUtil; import com.intellij.execution.runners.Ex...
IDEA-193398
platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java
IDEA-193398
<ide><path>latform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java <ide> JPanel suggestionsPanel = createSuggestionsPanel(); <ide> <ide> myResultsList.setModel(myListModel); <add> myResultsList.setFocusable(false); <ide> myResultsList.setCellRenderer(new CompositeCellRend...
Java
apache-2.0
3de5f8834255dd6b8edb760f1467cf3a87bb28ce
0
sculptor/sculptor,sculptor/sculptor,sculptor/sculptor
package org.sculptor.example.helloworld.milkyway.serviceapi; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import org.junit.Test; import org.sculptor.example.helloworld.milkyway.domain.Moon; import org.sculptor.example.helloworld.milkyway.domain.Planet; import org.sculptor...
sculptor-example/helloworld-example/helloworld/src/test/java/org/sculptor/example/helloworld/milkyway/serviceapi/PlanetServiceTest.java
package org.sculptor.example.helloworld.milkyway.serviceapi; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import org.junit.Test; import org.sculptor.example.helloworld.milkyway.domain.Moon; import org.sculptor.example.helloworld.milkyway.domain.Planet; import org.sculptor...
refactors expected exception into Junit annotation
sculptor-example/helloworld-example/helloworld/src/test/java/org/sculptor/example/helloworld/milkyway/serviceapi/PlanetServiceTest.java
refactors expected exception into Junit annotation
<ide><path>culptor-example/helloworld-example/helloworld/src/test/java/org/sculptor/example/helloworld/milkyway/serviceapi/PlanetServiceTest.java <ide> import org.sculptor.framework.domain.PagingParameter; <ide> import org.sculptor.framework.test.AbstractDbUnitJpaTests; <ide> import org.springframework.beans.factory.an...
JavaScript
apache-2.0
32ee37d723c6fa97aaa53a3062f0c5d66a2f92bd
0
wenhuizhang/flowsim,flowgrammable/flowsim,wenhuizhang/flowsim,flowgrammable/flowsim
var assert = require('assert'); var msg = require('../msg.js'); var testAdapter = require('./testAdapter.js'); var controller = require('../controller.js')(testAdapter); var events = require('../../../events.js'); //----------------------------------------------------------------------------- // Create Packet Control...
src/backend/rest/packet/test/controllerTest.js
var assert = require('assert'); var msg = require('../msg.js'); var testAdapter = require('./testAdapter.js'); var controller = require('../controller.js')(testAdapter); var events = require('../../../events.js'); //----------------------------------------------------------------------------- // Create Packet Control...
Adding destroy test
src/backend/rest/packet/test/controllerTest.js
Adding destroy test
<ide><path>rc/backend/rest/packet/test/controllerTest.js <ide> controller.module.auth.update(session, 'PUT', {}, data, '127.0.0.1', testId); <ide> }); <ide> it('Test if method is not PUT', function(done){ <del> var testId = 'testerID2'; <add> var testId = 'testerID9'; <ide> var session = { subscriber_id...
JavaScript
mit
44642b52c002f825b4cb4bbe3e6bad1e0a7b0afe
0
yoannisj/gulp-wires
'use-strict'; // require dependencies // -------------------- // node modules var path = require('path'); var stripPath = require('strip-path'); var _ = require('lodash'); var expander = require('expander'); var globule = require('globule'); var arrayify = require('array-ify'); var isGlob = require('is-glob'); var gl...
index.js
'use-strict'; // require dependencies // -------------------- // node modules var path = require('path'); var stripPath = require('strip-path'); var _ = require('lodash'); var expander = require('expander'); var globule = require('globule'); var arrayify = require('array-ify'); var isGlob = require('is-glob'); var gl...
use plumber by default
index.js
use plumber by default
<ide><path>ndex.js <ide> var stream = _gulpAPI.src.call(gulp, globs, options); <ide> <ide> // automatically run plumber in debug mode <del> if (wires.config.debug) { <del> var plumberOpts = options.plumber || wires.config.plumber || {}; <del> <add> var plumberOpts = options.plumber || wires.config.p...
Java
apache-2.0
d7b1f3c272310ce46075ad9e41925c2d4577016f
0
Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
#8489 Search in output console Former-commit-id: 4067ca2e26257fb082f9f15e7d3ac80f5e8cd413
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java
#8489 Search in output console
<ide><path>lugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java <ide> private boolean lastFocusInEditor = true; <ide> @Override <ide> public IFindReplaceTarget getTarget() { <del> CTabItem activeResultsTab = getActiveResultsTab(); <del> ...
JavaScript
mit
b7e8725e70235412e7c33830a2bb3f01f12042e0
0
pdanpdan/quasar,quasarframework/quasar,quasarframework/quasar,pdanpdan/quasar,fsgiudice/quasar,rstoenescu/quasar-framework,pdanpdan/quasar,pdanpdan/quasar,rstoenescu/quasar-framework,quasarframework/quasar,rstoenescu/quasar-framework,fsgiudice/quasar,quasarframework/quasar,fsgiudice/quasar
import History from '../plugins/history' export default { data () { return { inFullscreen: false } }, watch: { $route () { this.exitFullscreen() } }, methods: { toggleFullscreen () { if (this.inFullscreen) { this.exitFullscreen() } else { this...
src/mixins/fullscreen.js
import History from '../plugins/history' export default { data () { return { inFullscreen: false } }, watch: { $route () { this.__exitFullscreen() } }, methods: { toggleFullscreen () { if (this.inFullscreen) { this.exitFullscreen() } else { th...
[Fix] mixins/fullscreen.js: __exitFullscreen in $route watcher (#1342) mixins/fullscreen.js: Fix name __exitFullscreen in $route watcher
src/mixins/fullscreen.js
[Fix] mixins/fullscreen.js: __exitFullscreen in $route watcher (#1342)
<ide><path>rc/mixins/fullscreen.js <ide> }, <ide> watch: { <ide> $route () { <del> this.__exitFullscreen() <add> this.exitFullscreen() <ide> } <ide> }, <ide> methods: {
Java
lgpl-2.1
4cf16a59a9d7d8204823160956b95a2a48992e6e
0
drhee/toxoMine,drhee/toxoMine,Arabidopsis-Information-Portal/intermine,drhee/toxoMine,JoeCarlson/intermine,joshkh/intermine,JoeCarlson/intermine,drhee/toxoMine,Arabidopsis-Information-Portal/intermine,drhee/toxoMine,JoeCarlson/intermine,JoeCarlson/intermine,tomck/intermine,justincc/intermine,joshkh/intermine,tomck/inte...
package org.intermine.web; /* * Copyright (C) 2002-2005 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.html. *...
intermine/src/java/org/intermine/web/Constants.java
package org.intermine.web; /* * Copyright (C) 2002-2005 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.html. *...
Constants to do with polling a query.
intermine/src/java/org/intermine/web/Constants.java
Constants to do with polling a query.
<ide><path>ntermine/src/java/org/intermine/web/Constants.java <ide> public static final String ERRORS = "ERRORS"; <ide> <ide> /** <del> * The name of the property that is set to TRUE in the PortalQuery Action to indicate to the <del> * ObjectDetailsController that we have come from a portal page. <add>...
Java
apache-2.0
56c8534f6f8c582e9e10dae569831a022d749715
0
HanSolo/Enzo
/* * Copyright (c) 2013 by Gerrit Grunwald * * 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/java/eu.hansolo.enzo/heatcontrol/skin/HeatControlSkin.java
/* * Copyright (c) 2013 by Gerrit Grunwald * * 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...
cosmetics
src/main/java/eu.hansolo.enzo/heatcontrol/skin/HeatControlSkin.java
cosmetics
<ide><path>rc/main/java/eu.hansolo.enzo/heatcontrol/skin/HeatControlSkin.java <ide> private static final double MINIMUM_WIDTH = 50; <ide> private static final double MINIMUM_HEIGHT = 50; <ide> private static final double MAXIMUM_WIDTH = 1024; <del> private static final double MAXIMUM_HEIGHT = 1...
Java
apache-2.0
c6395ba55348c2938051b4e979fc8997a2dd4a37
0
josephcsible/GravityBox
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
src/com/ceco/lollipop/gravitybox/ModLauncher.java
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * 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 * * ...
Launcher: adjusted for compatibility with Google App 5.23.19 Action to show app drawer doesn't seem to work anymore. Although proper method is called for sure, app drawer just won't show. Looks like this action is now strongly bound to all apps button interaction.
src/com/ceco/lollipop/gravitybox/ModLauncher.java
Launcher: adjusted for compatibility with Google App 5.23.19 Action to show app drawer doesn't seem to work anymore. Although proper method is called for sure, app drawer just won't show. Looks like this action is now strongly bound to all apps button interaction.
<ide><path>rc/com/ceco/lollipop/gravitybox/ModLauncher.java <ide> import android.content.IntentFilter; <ide> import android.os.Bundle; <ide> import android.view.View; <add>import android.widget.Toast; <ide> import de.robv.android.xposed.XC_MethodHook; <ide> import de.robv.android.xposed.XSharedPreferences; <ide> import...
JavaScript
mit
7d6df48dfebbf5f00c3bf775183280be5db45e75
0
mcanthony/dygraphs,mcanthony/dygraphs,pshevtsov/dygraphs,panuhorsmalahti/dygraphs,jmptrader/dygraphs,kbaggott/dygraphs,witsa/dygraphs,panuhorsmalahti/dygraphs,kbaggott/dygraphs,vhotspur/dygraphs,Yong-Lee/dygraphs,danvk/dygraphs,reinert/dygraphs,mcanthony/dygraphs,jmptrader/dygraphs,timeu/dygraphs,klausw/dygraphs,pshevt...
/** * @license * Copyright 2006 Dan Vanderkam (danvdk@gmail.com) * MIT-licensed (http://opensource.org/licenses/MIT) */ /** * @fileoverview Creates an interactive, zoomable graph based on a CSV file or * string. Dygraph can handle multiple series with or without error bars. The * date/value ranges will be autom...
dygraph.js
/** * @license * Copyright 2006 Dan Vanderkam (danvdk@gmail.com) * MIT-licensed (http://opensource.org/licenses/MIT) */ /** * @fileoverview Creates an interactive, zoomable graph based on a CSV file or * string. Dygraph can handle multiple series with or without error bars. The * date/value ranges will be autom...
Resize event causes several event handlers to be be added. Make the events private, and prevent multiple registration.
dygraph.js
Resize event causes several event handlers to be be added. Make the events private, and prevent multiple registration.
<ide><path>ygraph.js <ide> <ide> var dygraph = this; <ide> <del> this.mouseMoveHandler = function(e) { <del> dygraph.mouseMove_(e); <del> }; <del> this.addEvent(this.mouseEventElement_, 'mousemove', this.mouseMoveHandler); <del> <del> this.mouseOutHandler = function(e) { <del> dygraph.mouseOut_(e); <del> ...
Java
apache-2.0
6fc6e4881c22d44ec757137882f6de4b23ebdd94
0
magnet/bnd,psoreide/bnd,mcculls/bnd,magnet/bnd,magnet/bnd,mcculls/bnd,mcculls/bnd,psoreide/bnd,lostiniceland/bnd,lostiniceland/bnd,lostiniceland/bnd,psoreide/bnd
package aQute.bnd.osgi.repository; import java.io.InputStream; import java.net.URI; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import o...
biz.aQute.bndlib/src/aQute/bnd/osgi/repository/XMLResourceParser.java
package aQute.bnd.osgi.repository; import java.io.InputStream; import java.net.URI; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import o...
[repository] add static function to get Resource from URI Signed-off-by: Raymond Auge <365ed8f198099d0d7be69a289ff98f85e62ba00d@liferay.com>
biz.aQute.bndlib/src/aQute/bnd/osgi/repository/XMLResourceParser.java
[repository] add static function to get Resource from URI
<ide><path>iz.aQute.bndlib/src/aQute/bnd/osgi/repository/XMLResourceParser.java <ide> final private URI url; <ide> <ide> private int depth; <add> <add> public static List<Resource> getResources(URI uri) throws Exception { <add> try (XMLResourceParser parser = new XMLResourceParser(uri)) { <add> return par...
Java
apache-2.0
3d701102173e1b3ec7aaa16c60472ce874e19a44
0
wso2/carbon-device-mgt,madhawap/carbon-device-mgt,madhawap/carbon-device-mgt,rasika90/carbon-device-mgt,prithvi66/carbon-device-mgt,sameeragunarathne/carbon-device-mgt,dilee/carbon-device-mgt,sameeragunarathne/carbon-device-mgt,dilee/carbon-device-mgt,geethkokila/carbon-device-mgt,hasuniea/carbon-device-mgt,dilee/carbo...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * you may obtain a copy of the License at * * http://www.apache.org/...
components/device-mgt/org.wso2.carbon.device.mgt.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * you may obtain a copy of the License at * * http://www.apache.org/...
Test cases for getNextPendingOperation method.
components/device-mgt/org.wso2.carbon.device.mgt.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java
Test cases for getNextPendingOperation method.
<ide><path>omponents/device-mgt/org.wso2.carbon.device.mgt.api/src/test/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceAgentServiceTest.java <ide> Mockito.reset(this.deviceManagementProviderService); <ide> Mockito.reset(this.deviceAccessAuthorizationService); <ide> } <add> <ide> @Test(...
JavaScript
apache-2.0
5da423862c8d4f8978bdc2ee7942a75b3d0071b9
0
rweverwijk/photoGraph,rweverwijk/photoGraph,rweverwijk/photoGraph
var _ = require('underscore'); var neo4j = require("neo4j"); var db = new neo4j.GraphDatabase('http://localhost:7474'); exports.getRandomPhotos = function(options, callback) { var queryPartial = [ 'MATCH (p:Photo)', 'WITH p', 'MATCH (p)-[:HAS_TAG]->(t)', 'WITH p, collect(t.name) as t', 'WITH p,t, rand() as...
photo.js
var _ = require('underscore'); var neo4j = require("neo4j"); var db = new neo4j.GraphDatabase('http://localhost:7474'); exports.getRandomPhotos = function(options, callback) { var queryPartial = [ 'MATCH (p:Photo)', 'WITH p', 'MATCH (p)-[:HAS_TAG]->(t)', 'WITH p, collect(t.name) as t', 'WITH p,t, rand() as...
all photos should not filter on a tag
photo.js
all photos should not filter on a tag
<ide><path>hoto.js <ide> <ide> exports.getAllPhotos = function(callback) { <ide> var query = [ <del> 'MATCH (p:Photo)--(:Tag {name: "06_juni"})', <add> 'MATCH (p:Photo)', <ide> 'RETURN p.fileName as fileName, p.directory as directory, p.location as location', <ide> ].join('\n'); <ide>
Java
lgpl-2.1
80eba0f8d7a0b977c2bba1464ddcedb832a0fba7
0
gillg/qz-print,dsanders11/qz-print,klabarge/qz-print,tresf/qz-print,gillg/qz-print,lzpfmh/qz-print,klabarge/qz-print,cbondo/qz-print,klabarge/qz-print,dsanders11/qz-print,dsanders11/qz-print,lzpfmh/qz-print,klabarge/qz-print,gillg/qz-print,gillg/qz-print,cbondo/qz-print,dsanders11/qz-print,dsanders11/qz-print,lzpfmh/qz...
/** * @author Tres Finocchiaro * * Copyright (C) 2013 Tres Finocchiaro, QZ Industries * * IMPORTANT: This software is dual-licensed * * LGPL 2.1 This is free software. This software and source code are released * under the "LGPL 2.1 License". A copy of this license should be distributed * with this software. h...
qz-print/src/qz/PrintApplet.java
/** * @author Tres Finocchiaro * * Copyright (C) 2013 Tres Finocchiaro, QZ Industries * * IMPORTANT: This software is dual-licensed * * LGPL 2.1 This is free software. This software and source code are released * under the "LGPL 2.1 License". A copy of this license should be distributed * with this software. h...
Fixes Chrome 36/bug #33
qz-print/src/qz/PrintApplet.java
Fixes Chrome 36/bug #33
<ide><path>z-print/src/qz/PrintApplet.java <ide> public class PrintApplet extends Applet implements Runnable { <ide> <ide> private static final AtomicReference<Thread> thisThread = new AtomicReference<Thread>(null); <del> public static final String VERSION = "1.8.5"; <add> public static final String VERSION ...
JavaScript
agpl-3.0
52b1f737c501cb31b114a5d8207a2c1fa1228e4b
0
agoravoting/agora-core-view,agoravoting/agora-core-view
angular.module('avRegistration') .directive('avLogin', ['Authmethod', 'Patterns', '$location', '$parse', '$state', '$cookies', '$i18next', function(Authmethod, Patterns, $location, $parse, $state, $cookies, $i18next) { // we use it as something similar to a controller here function link(scope, element, attrs)...
avRegistration/login-directive/login-directive.js
angular.module('avRegistration') .directive('avLogin', ['Authmethod', '$location', '$parse', '$state', '$cookies', '$i18next', function(Authmethod, $location, $parse, $state, $cookies, $i18next) { // we use it as something similar to a controller here function link(scope, element, attrs) { var splitUr...
Used patterns service in login-directive.
avRegistration/login-directive/login-directive.js
Used patterns service in login-directive.
<ide><path>vRegistration/login-directive/login-directive.js <ide> angular.module('avRegistration') <del> .directive('avLogin', ['Authmethod', '$location', '$parse', '$state', '$cookies', '$i18next', function(Authmethod, $location, $parse, $state, $cookies, $i18next) { <add> .directive('avLogin', ['Authmethod', 'Patte...
Java
mit
6eba5a87bc82bcc4895486e3905b10cd0956b142
0
damianszczepanik/jenkins,keyurpatankar/hudson,v1v/jenkins,goldchang/jenkins,deadmoose/jenkins,tfennelly/jenkins,pselle/jenkins,CodeShane/jenkins,olivergondza/jenkins,kohsuke/hudson,alvarolobato/jenkins,rlugojr/jenkins,FarmGeek4Life/jenkins,recena/jenkins,everyonce/jenkins,deadmoose/jenkins,guoxu0514/jenkins,SebastienGl...
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe, Olivier Lamy * * 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 Softwar...
maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe, Olivier Lamy * * 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 Softwar...
[FIXED JENKINS-15292] Revert "setting maven home is enough for global settings to be m.getHome()/conf/settings.xml" This reverts commit 51d5220f6c19c4e7d5c35a07b62219472b2a7870. hudson.maven.MavenUtil#createEmbedder set GlobalSettingsFile to MavenHome/conf/settings.xml by default so I can't explain this regression
maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
[FIXED JENKINS-15292] Revert "setting maven home is enough for global settings to be m.getHome()/conf/settings.xml"
<ide><path>aven-plugin/src/main/java/hudson/maven/RedeployPublisher.java <ide> String privateRepository = null; <ide> FilePath remoteSettingsFromConfig = null; <ide> <del> File tmpSettings = null; <add> File tmpSettings = File.createTempFile( "jenkins", "temp-settings.xml" ); <ide...
Java
mit
37e8eee877d4bbe54c99c21d300212fc1e0c60e4
0
DevPhilB/Algorithms_and_Data_Structures
package problemset4; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; /** * Program takes a natural number (n) from user input, calculates the amount of all points on the * path to this point (0, 0) -> (n, n) and prints it out. * * @author ...
src/problemset4/PathNodes.java
package problemset4; /** * Program takes a natural number (n) from user input, * calculates the amount of all points on the path to this point (0, 0) -> (n, n) * and prints it out. * * @author Philipp Backes, 191710 * @author Homa Alavi, 191720 * @author Jannis Scholz, 191481 * */ public class PathNodes { ...
Solved exercise 1
src/problemset4/PathNodes.java
Solved exercise 1
<ide><path>rc/problemset4/PathNodes.java <ide> package problemset4; <ide> <add>import java.io.BufferedReader; <add>import java.io.IOException; <add>import java.io.InputStreamReader; <add>import java.math.BigInteger; <add> <ide> /** <del> * Program takes a natural number (n) from user input, <del> * calculates the amo...
Java
apache-2.0
5888371402b67a5a308bb11d6790594acb868820
0
gpolitis/jitsi-videobridge,davidertel/jitsi-videobridge,matteocampana/jitsi-videobridge,parlaylabs/jitsi-videobridge,matteocampana/jitsi-videobridge,matteocampana/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,davidertel/jitsi-videobridge,jitsi/jitsi-videobridge,parlaylabs/jit...
/* * Copyright @ 2015 Atlassian Pty 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 ag...
src/main/java/org/jitsi/videobridge/IceUdpTransportManager.java
/* * Copyright @ 2015 Atlassian Pty 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 ag...
Simplifies and/or clarifies and manually formats source code, mostly for readability (while reading the source code in the context of early DTLS support).
src/main/java/org/jitsi/videobridge/IceUdpTransportManager.java
Simplifies and/or clarifies and manually formats source code, mostly for readability (while reading the source code in the context of early DTLS support).
<ide><path>rc/main/java/org/jitsi/videobridge/IceUdpTransportManager.java <ide> /** <ide> * Whether we're using rtcp-mux or not. <ide> */ <del> private boolean rtcpmux = false; <add> private boolean rtcpmux; <ide> <ide> /** <ide> * The <tt>SctpConnection</tt> instance, if any, added as a <...
Java
mit
3afad6499be2d6c47b003b72f350899938fa97df
0
GluuFederation/oxCore,madumlao/oxCore
package org.xdi.service.cache; import net.spy.memcached.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author yuriyz on 02/02/2017. */ public class MemcachedProvider extends AbstractCacheProvider<MemcachedClient> { private static final Logger log = LoggerFactory.getLogger(MemcachedProvider....
oxService/src/main/java/org/xdi/service/cache/MemcachedProvider.java
package org.xdi.service.cache; import net.spy.memcached.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author yuriyz on 02/02/2017. */ public class MemcachedProvider extends AbstractCacheProvider<MemcachedClient> { private static final Logger log = LoggerFactory.getLogger(MemcachedProvider....
memcached : added test connection method
oxService/src/main/java/org/xdi/service/cache/MemcachedProvider.java
memcached : added test connection method
<ide><path>xService/src/main/java/org/xdi/service/cache/MemcachedProvider.java <ide> } <ide> <ide> client = new MemcachedClient(connectionFactory, AddrUtil.getAddresses(memcachedConfiguration.getServers())); <add> testConnection(); <ide> log.debug("MemcachedProvider start...
Java
apache-2.0
df347868c4e68f0c1ec59a69a765e13ac699e3ff
0
hs-web/hsweb-framework,asiaon123/hsweb-framework,asiaon123/hsweb-framework,hs-web/hsweb-framework,hs-web/hsweb-framework,asiaon123/hsweb-framework
/* * Copyright 2016 http://www.hswebframework.org * * 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...
hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimplePersonService.java
/* * Copyright 2016 http://www.hswebframework.org * * 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...
修复变更了人员权限缓存未清除问题
hsweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimplePersonService.java
修复变更了人员权限缓存未清除问题
<ide><path>sweb-system/hsweb-system-organizational/hsweb-system-organizational-service/hsweb-system-organizational-service-simple/src/main/java/org/hswebframework/web/service/organizational/simple/SimplePersonService.java <ide> @Override <ide> @Caching(evict = { <ide> @CacheEvict(key = "'id:'+#resul...
Java
bsd-2-clause
6a4fb301f4b0337f2c8b7e8769805939d2a22076
0
carlosrafaelgn/FPlayAndroid,carlosrafaelgn/FPlayAndroid,carlosrafaelgn/FPlayAndroid
// // FPlayAndroid is distributed under the FreeBSD License // // Copyright (c) 2013-2014, Carlos Rafael Gimenes das Neves // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributi...
src/br/com/carlosrafaelgn/fplay/WidgetMain.java
// // FPlayAndroid is distributed under the FreeBSD License // // Copyright (c) 2013-2014, Carlos Rafael Gimenes das Neves // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributi...
Checking if appWidgetManager is null (it is null on devices without a home screen, like Android Things)
src/br/com/carlosrafaelgn/fplay/WidgetMain.java
Checking if appWidgetManager is null (it is null on devices without a home screen, like Android Things)
<ide><path>rc/br/com/carlosrafaelgn/fplay/WidgetMain.java <ide> } <ide> <ide> public static void updateWidgets() { <del> if (appWidgetManager == null) <add> if (appWidgetManager == null) { <ide> appWidgetManager = AppWidgetManager.getInstance(Player.theApplication); <add> if (appWidgetManager == null) <add> ...
Java
epl-1.0
c56e416bc4788556e59e9aa0a7321324544a9577
0
takari/takari-lifecycle
package io.takari.maven.plugins.compile; import static io.takari.maven.testing.TestResources.assertFileContents; import static io.takari.maven.testing.TestResources.cp; import static io.takari.maven.testing.TestResources.rm; import static io.takari.maven.testing.TestResources.touch; import java.io.File; import java.i...
takari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/AnnotationProcessingTest.java
package io.takari.maven.plugins.compile; import static io.takari.maven.testing.TestResources.assertFileContents; import static io.takari.maven.testing.TestResources.cp; import static io.takari.maven.testing.TestResources.rm; import static io.takari.maven.testing.TestResources.touch; import java.io.File; import java.i...
added compile sourcepath incremental test Signed-off-by: Igor Fedorenko <78b6854e22ab09d4ae3dac29b92052963103b33e@ifedorenko.com>
takari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/AnnotationProcessingTest.java
added compile sourcepath incremental test
<ide><path>akari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/AnnotationProcessingTest.java <ide> import org.junit.runners.Parameterized.Parameters; <ide> <ide> import io.takari.maven.plugins.compile.AbstractCompileMojo.Proc; <add>import io.takari.maven.plugins.compile.javac.CompilerJavac; <ide> impo...
Java
apache-2.0
d4218476af1c940837b88928dbc2047123e501c8
0
gemmellr/qpid-jms,tabish121/qpid-jms,apache/qpid-jms,andrew-buckley/qpid-jms,andrew-buckley/qpid-jms,gemmellr/qpid-jms,tabish121/qpid-jms,apache/qpid-jms,avranju/qpid-jms,avranju/qpid-jms
/** * 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...
qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.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...
Fix some issues found with Findbugs
qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
Fix some issues found with Findbugs
<ide><path>pid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java <ide> destroyResource(connectionInfo); <ide> } <ide> <del> if (clientIdSet) { <del> connectionInfo.setClientId(null); <del> clientIdSet = false; <add> synchronized (this) { <add> ...
Java
mit
edb6c01c7212b66eaa337fc59863f8b7b46185ad
0
HasMuh/MontyHacksProject
ExampleOfJava.java
public class Example { public static void main(String[] args) { System.out.println("This is a java file"); } }
Delete ExampleOfJava.java
ExampleOfJava.java
Delete ExampleOfJava.java
<ide><path>xampleOfJava.java <del>public class Example <del>{ <del> public static void main(String[] args) <del> { <del> System.out.println("This is a java file"); <del> } <del>}
JavaScript
apache-2.0
fac1a431ef8a779ca674236cd6366cc34b6d3380
0
entrylabs/entryjs,entrylabs/entryjs,entrylabs/entryjs
Entry.Comment = class Comment { dragMode = Entry.DRAG_MODE_NONE; offsetX = 50; offsetY = 10; constructor(block, board) { Entry.Model(this, false); if (!board.svgCommentGroup) { return; } const { comment, view } = block; const { svgGroup } = view || {...
src/playground/comment.js
Entry.Comment = class Comment { dragMode = Entry.DRAG_MODE_NONE; offsetX = 50; offsetY = 10; constructor(block, board) { Entry.Model(this, false); if (!board.svgCommentGroup) { return; } const { comment, view } = block; const { svgGroup } = view || {...
edit comment line start position
src/playground/comment.js
edit comment line start position
<ide><path>rc/playground/comment.js <ide> document.ontouchmove = this.mouseMove; <ide> document.onmouseup = this.mouseUp; <ide> document.ontouchend = this.mouseUp; <add> console.log(x, this.startX); <ide> this.dragInstance = new Entry.DragInstance({ <del> ...
Java
epl-1.0
9e03eede8b00f447894bb5a3b96f6e1a46b1511b
0
jcryptool/core,jcryptool/core,jcryptool/core,jcryptool/core,jcryptool/core
// -----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2020 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 whic...
org.jcryptool.crypto.keystore/src/org/jcryptool/crypto/keystore/ui/views/nodes/keys/KeyPairNode.java
// -----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2020 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 whic...
remove "Key Pair" qualification from keystore view entries
org.jcryptool.crypto.keystore/src/org/jcryptool/crypto/keystore/ui/views/nodes/keys/KeyPairNode.java
remove "Key Pair" qualification from keystore view entries
<ide><path>rg.jcryptool.crypto.keystore/src/org/jcryptool/crypto/keystore/ui/views/nodes/keys/KeyPairNode.java <ide> public KeyPairNode(IKeyStoreAlias privateAlias, IKeyStoreAlias publicAlias) { <ide> super( <ide> getOperation(privateAlias, publicAlias) <del> + Message...
Java
apache-2.0
0cb69836f91e39cc7dff5c2f695687981fd869a9
0
clibois/wss4j,clibois/wss4j,asoldano/wss4j,apache/wss4j,jimma/wss4j,asoldano/wss4j,jimma/wss4j,apache/wss4j
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/ReferenceListProcessor.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
[CXF-497] - Remove the EncryptedAssertion wrapper after decrypting git-svn-id: 10bc45916fe30ae642aa5037c9a4b05727bba413@1589701 13f79535-47bb-0310-9956-ffa450edef68
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/ReferenceListProcessor.java
[CXF-497] - Remove the EncryptedAssertion wrapper after decrypting
<ide><path>s-security-dom/src/main/java/org/apache/wss4j/dom/processor/ReferenceListProcessor.java <ide> } <ide> <ide> if (parent.getLocalName().equals(WSConstants.ENCRYPTED_HEADER) <del> && parent.getNamespaceURI().equals(WSConstants.WSSE11_NS)) { <add> && parent.getNames...
Java
apache-2.0
84ac7bf322c61a768d0eda97e81a0a22fe0919af
0
kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig
/* * 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 ...
src/org/apache/pig/backend/hadoop/executionengine/spark/SparkUtil.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 ...
PIG-4610: Enable TestOrcStorage unit test in spark mode (Liyun via Xuefu) git-svn-id: d317905e1b1233abb7022f5914f79c3119e04b87@1686962 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/pig/backend/hadoop/executionengine/spark/SparkUtil.java
PIG-4610: Enable TestOrcStorage unit test in spark mode (Liyun via Xuefu)
<ide><path>rc/org/apache/pig/backend/hadoop/executionengine/spark/SparkUtil.java <ide> <ide> import java.io.IOException; <ide> import java.util.List; <add>import java.util.Random; <add>import java.util.UUID; <ide> <ide> import org.apache.hadoop.mapred.JobConf; <ide> import org.apache.pig.backend.hadoop.datastorage.Co...
JavaScript
mit
75196c75f27bbfa4d9d55aa0cffb1d3dd8ec4e84
0
heyimalex/reselect-map,heyimalex/reselect-map
import Immutable from 'immutable' import { createArraySelector, createObjectSelector, createListSelector, createMapSelector, } from '../src' describe('createArraySelector', () => { test('basic array selector', () => { const sel = createArraySelector( state => state, (element) => element * 5...
test/selectors.test.js
import Immutable from 'immutable' import { createArraySelector, createObjectSelector, createListSelector, createMapSelector, } from '../src' describe('createArraySelector', () => { test('basic array selector', () => { const sel = createArraySelector( state => state, (element) => element * 5...
Fix tests to work with 3.x Version 3.x of reselect takes the input argument equality into account when deciding whether to recompute. Unfortunately, some of the tests mutated the value passed to the selector, so the selector wouldn't update when it should have. This commit changes the updates to be "immutable" and the...
test/selectors.test.js
Fix tests to work with 3.x
<ide><path>est/selectors.test.js <ide> expect(sel(state)).toEqual([1, 2, 3, 4]) <ide> expect(sel.recomputations()).toBe(4) <ide> <del> state.numbers = [1, 2, 3, 4] <del> expect(sel(state)).toEqual([1, 2, 3, 4]) <del> expect(sel.recomputations()).toBe(4) <del> <del> state.mul1 = 2; <add> state = ...
Java
apache-2.0
498f19b7d245ece3c657b10678d9a236be717ea3
0
qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,WANdisco/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,gerrit-review/gerrit,WANdisco/gerrit,gerrit-review/gerrit,WANdisco/gerrit,gerrit-review/gerrit,Gerrit...
// Copyright (C) 2008 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
gerrit-server/src/main/java/com/google/gerrit/server/git/LocalDiskRepositoryManager.java
// Copyright (C) 2008 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Don't use namesUpdateLock when scanning for project names The names collection is not updated from the list() method so we also don't need to lock it. Further, the list() method is normally only called from the loader of the project_list cache and Guava already takes care that only one thread loads the cache entry. C...
gerrit-server/src/main/java/com/google/gerrit/server/git/LocalDiskRepositoryManager.java
Don't use namesUpdateLock when scanning for project names
<ide><path>errit-server/src/main/java/com/google/gerrit/server/git/LocalDiskRepositoryManager.java <ide> // The results of this method are cached by ProjectCacheImpl. Control only <ide> // enters here if the cache was flushed by the administrator to force <ide> // scanning the filesystem. Don't rely on the ...
Java
mit
6452611298e047e6403f6a952f3f910802db6d63
0
mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb
package edu.mit.csail.db.ml.util; import edu.mit.csail.db.ml.conf.ModelDbConfig; import com.mongodb.MongoClient; import com.mongodb.MongoException; import com.mongodb.WriteConcern; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import com.mongodb...
server/src/main/java/edu/mit/csail/db/ml/util/MongoDBContext.java
package edu.mit.csail.db.ml.util; import com.mongodb.MongoClient; import com.mongodb.MongoException; import com.mongodb.WriteConcern; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import com.mongodb.DBCursor; import com.mongodb.ServerAddress; i...
Get MongoDB to connect
server/src/main/java/edu/mit/csail/db/ml/util/MongoDBContext.java
Get MongoDB to connect
<ide><path>erver/src/main/java/edu/mit/csail/db/ml/util/MongoDBContext.java <ide> package edu.mit.csail.db.ml.util; <add>import edu.mit.csail.db.ml.conf.ModelDbConfig; <ide> <ide> import com.mongodb.MongoClient; <ide> import com.mongodb.MongoException; <ide> DB db = mongoClient.getDB("test"); <ide> ...
JavaScript
mit
229a9826495665456ff847ffd6b88b43f9ce9be3
0
tbai/resume,tbai/resume
/** * This is my personal resume, check the link below if you prefer to read it in the * website or if you need to print a copy. * * @link http://resume.tiagobai.com */ /**********************************************************************************/ let name = "TIAGO XAVIER BAI"; /*************************...
js/resume.js
/** * This is my personal resume, check the link below if you prefer to read it in the * website or if you need to print a copy. * * @link http://resume.tiagobai.com */ /**********************************************************************************/ let name = "TIAGO XAVIER BAI"; /*************************...
Updating summary
js/resume.js
Updating summary
<ide><path>s/resume.js <ide> ]; <ide> <ide> let summary = ` <del> Software Engineer specialized in Front End development. <ide> I work for HP since 2006 on R&D Projects, writing and designing advanced web <del> applications and cloud-based systems. I am a fast and competent Full Stack <add> applications and cloud...
Java
apache-2.0
8bb2aa89836f2f465c6cea7dad5aed32c676ee2a
0
dain/presto,losipiuk/presto,losipiuk/presto,11xor6/presto,Praveen2112/presto,ebyhr/presto,treasure-data/presto,smartnews/presto,losipiuk/presto,treasure-data/presto,Praveen2112/presto,11xor6/presto,martint/presto,electrum/presto,treasure-data/presto,erichwang/presto,hgschmie/presto,11xor6/presto,losipiuk/presto,martint...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-tests/src/test/java/io/prestosql/tests/TestQueryPlanDeterminism.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Disable testLargeIn in plan determinism tester This test is inherently expensive. Running it multiple times causes build times to increased significantly.
presto-tests/src/test/java/io/prestosql/tests/TestQueryPlanDeterminism.java
Disable testLargeIn in plan determinism tester
<ide><path>resto-tests/src/test/java/io/prestosql/tests/TestQueryPlanDeterminism.java <ide> import io.prestosql.testing.MaterializedResult; <ide> import io.prestosql.testing.TestingAccessControlManager; <ide> import org.intellij.lang.annotations.Language; <add>import org.testng.SkipException; <ide> import org.testng.an...
JavaScript
agpl-3.0
826adc3a88ea7a9d10c4a460e650abb69a7760ae
0
timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW
var EventEmitter = require("events").EventEmitter; var exec = require('child_process').exec; require('rootpath')(); var camera = require('camera/camera.js'); var db = require('system/db.js'); var motion = require('motion/motion.js'); var image = require('camera/image/image.js'); var exp = require('intervalometer/exposu...
intervalometer/intervalometer.js
var EventEmitter = require("events").EventEmitter; var exec = require('child_process').exec; require('rootpath')(); var camera = require('camera/camera.js'); var db = require('system/db.js'); var motion = require('motion/motion.js'); var image = require('camera/image/image.js'); var exp = require('intervalometer/exposu...
bugfixes
intervalometer/intervalometer.js
bugfixes
<ide><path>ntervalometer/intervalometer.js <ide> var motor = parts[1]; <ide> console.log("KF: Moving " + motorId + " by " + move + " steps"); <ide> if (motion.status.available) { <del> motion.move(driver, motor, move, function() { <add> ...
Java
apache-2.0
50cce6c9c898517365cbd6cd0e4b3e197ed3233d
0
opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga
package org.opencb.opencga.app.migrations.v2_4_2.catalog; import com.mongodb.client.model.Projections; import com.mongodb.client.model.UpdateOneModel; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.bson.Document; import org.opencb.biodata.models.clinical...
opencga-app/src/main/java/org/opencb/opencga/app/migrations/v2_4_2/catalog/AddClinicalDiscussion.java
package org.opencb.opencga.app.migrations.v2_4_2.catalog; import com.mongodb.client.model.Projections; import com.mongodb.client.model.UpdateOneModel; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.bson.Document; import org.opencb.biodata.models.clinical...
app: improve migration, #TASK-1472
opencga-app/src/main/java/org/opencb/opencga/app/migrations/v2_4_2/catalog/AddClinicalDiscussion.java
app: improve migration, #TASK-1472
<ide><path>pencga-app/src/main/java/org/opencb/opencga/app/migrations/v2_4_2/catalog/AddClinicalDiscussion.java <ide> private Document migrateDiscussion(Document document, String author) { <ide> Object discussion = document.get("discussion"); <ide> if (discussion == null || discussion instanceof Str...
Java
bsd-2-clause
805d5fe73c5328f62ec55eaa4189b4537e323872
0
jason-p-pickering/chailmis-android,clintonhealthaccess/chailmis-android,clintonhealthaccess/chailmis-android,jason-p-pickering/chailmis-android,jason-p-pickering/chailmis-android,jason-p-pickering/chailmis-android,clintonhealthaccess/chailmis-android,jason-p-pickering/chailmis-android,clintonhealthaccess/chailmis-andro...
package org.clintonhealthaccess.lmis.app; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.view.Menu; import android.view.MenuItem; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; import com.jjoe64...
app/src/main/java/org/clintonhealthaccess/lmis/app/HomeActivity.java
package org.clintonhealthaccess.lmis.app; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.view.Menu; import android.view.MenuItem; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; import com.jjoe64...
Inlining variable
app/src/main/java/org/clintonhealthaccess/lmis/app/HomeActivity.java
Inlining variable
<ide><path>pp/src/main/java/org/clintonhealthaccess/lmis/app/HomeActivity.java <ide> import com.jjoe64.graphview.GraphViewSeries; <ide> <ide> import java.util.ArrayList; <add>import java.util.Collections; <ide> <ide> import roboguice.activity.RoboActionBarActivity; <ide> import roboguice.inject.InjectView; <ide> publ...
Java
apache-2.0
6cfb32a6a34439438673f6fa2354ca50e5717043
0
NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra
/* ### * IP: GHIDRA * * 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 writin...
Ghidra/Debug/Framework-Debugging/src/test/java/ghidra/dbg/testutil/DebuggerConsole.java
/* ### * IP: GHIDRA * * 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 writin...
GP-0: Fixed debugger model testing under gradle
Ghidra/Debug/Framework-Debugging/src/test/java/ghidra/dbg/testutil/DebuggerConsole.java
GP-0: Fixed debugger model testing under gradle
<ide><path>hidra/Debug/Framework-Debugging/src/test/java/ghidra/dbg/testutil/DebuggerConsole.java <ide> try { <ide> while (!closed) { <ide> String line = reader.readLine(); <add> if (line == null) { <add> // NB. EOF happens immediately under Gradle <add> return; <add> } <ide> if (interpreter ...
Java
apache-2.0
17eebad73642562593f2d887d23b8a5ff927c3d8
0
huangll/elasticsearch-hadoop,jasontedor/elasticsearch-hadoop,nfouka/elasticsearch-hadoop,Gavin-Yang/elasticsearch-hadoop,puneetjaiswal/elasticsearch-hadoop,xjrk58/elasticsearch-hadoop,girirajsharma/elasticsearch-hadoop,samkohli/elasticsearch-hadoop,pranavraman/elasticsearch-hadoop,costin/elasticsearch-hadoop,lgscofield...
/* * Copyright 2013 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 applica...
src/test/java/org/elasticsearch/hadoop/integration/hive/HiveSuite.java
/* * Copyright 2013 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 applica...
organize imports
src/test/java/org/elasticsearch/hadoop/integration/hive/HiveSuite.java
organize imports
<ide><path>rc/test/java/org/elasticsearch/hadoop/integration/hive/HiveSuite.java <ide> import org.elasticsearch.hadoop.integration.Provisioner; <ide> import org.elasticsearch.hadoop.util.StringUtils; <ide> import org.elasticsearch.hadoop.util.TestSettings; <del>import org.junit.Before; <ide> import org.junit.BeforeClas...
Java
bsd-3-clause
692c936dba3ea3af068d0d26bd241944fa59642e
0
erikhofer/GrowthLectures,erikhofer/GrowthLectures,erikhofer/GrowthLectures
package com.xinra.growthlectures.entity; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.Query; import org.springframework.beans.factory.annotation.Autowired; public class LectureRepositoryImpl implements AbstractLectureRepository...
src/main/groovy/com/xinra/growthlectures/entity/LectureRepositoryImpl.java
package com.xinra.growthlectures.entity; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.Query; import org.springframework.beans.factory.annotation.Autowired; public class LectureRepositoryImpl implements AbstractLectureRepository...
FIxed SQL queries. #19
src/main/groovy/com/xinra/growthlectures/entity/LectureRepositoryImpl.java
FIxed SQL queries. #19
<ide><path>rc/main/groovy/com/xinra/growthlectures/entity/LectureRepositoryImpl.java <ide> OrderBy orderBy, boolean decending) { <ide> Map<String, Object> parameters = new HashMap<>(); <ide> parameters.put("categorySlug", categorySlug); <del> return searchInternal(parameters, " l.category.slug = :categ...
JavaScript
isc
89961f822abc23fa57fae8515fcbb427f64613bc
0
Parkjeahwan/awegeeks,zealord/gatewayd,xdv/gatewayd,xdv/gatewayd,crazyquark/gatewayd,whotooktwarden/gatewayd,crazyquark/gatewayd,whotooktwarden/gatewayd,Parkjeahwan/awegeeks,zealord/gatewayd
var RippleRestClient = require('ripple-rest-client'); var uuid = require('node-uuid'); var config = require(__dirname+'/../../config/config.js'); var rippleRestClient = new RippleRestClient({ account: config.get('COLD_WALLET') }); function fundHotWallet(payment, callback) { var options = ...
lib/api/fund_hot_wallet.js
var RippleRestClient = require('ripple-rest-client'); var ripple = require(__dirname+'/../ripple/'); var uuid = require('node-uuid'); var async = require('async'); var config = require(__dirname+'/../../config/config.js'); var rippleRestClient = new RippleRestClient({ ...
[TASK] remove unused modules
lib/api/fund_hot_wallet.js
[TASK] remove unused modules
<ide><path>ib/api/fund_hot_wallet.js <ide> var RippleRestClient = require('ripple-rest-client'); <del>var ripple = require(__dirname+'/../ripple/'); <ide> var uuid = require('node-uuid'); <del>var async = require('async'); <ide> var config = require(__dirname+'/../../conf...
Java
apache-2.0
0da20a5c80a8313f2629134716cf985d1df24271
0
orientechnologies/orientdb,sanyaade-g2g-repos/orientdb,tempbottle/orientdb,joansmith/orientdb,rprabhat/orientdb,orientechnologies/orientdb,wouterv/orientdb,tempbottle/orientdb,mmacfadden/orientdb,wouterv/orientdb,allanmoso/orientdb,wyzssw/orientdb,wouterv/orientdb,allanmoso/orientdb,wyzssw/orientdb,mmacfadden/orientdb,...
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
fixed issue #4207 - Exception on executing UPDATE statement in Function in SQL language
core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java
fixed issue #4207 - Exception on executing UPDATE statement in Function in SQL language
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java <ide> import com.orientechnologies.orient.core.storage.ORecordDuplicatedException; <ide> import com.orientechnologies.orient.core.tx.OTransaction; <ide> <del>import javax.script.Bindings; <del>import javax.script....
Java
bsd-3-clause
965cc6213fb6b5934c231a9296584891929de182
0
NCIP/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers
package gov.nih.nci.cabig.caaers.accesscontrol.query.impl; import gov.nih.nci.cabig.caaers.accesscontrol.BaseSecurityFilterer; import gov.nih.nci.cabig.caaers.dao.OrganizationDao; import gov.nih.nci.cabig.caaers.dao.StudySiteDao; import gov.nih.nci.cabig.caaers.dao.UserDao; import gov.nih.nci.cabig.caaers.dao.query.HQ...
caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/accesscontrol/query/impl/CaaersOrganizationIdFetcherImpl.java
package gov.nih.nci.cabig.caaers.accesscontrol.query.impl; import gov.nih.nci.cabig.caaers.accesscontrol.BaseSecurityFilterer; import gov.nih.nci.cabig.caaers.dao.OrganizationDao; import gov.nih.nci.cabig.caaers.dao.StudySiteDao; import gov.nih.nci.cabig.caaers.dao.UserDao; import gov.nih.nci.cabig.caaers.domain.Organ...
CAAERS-3879 updated the organization id fetcher SVN-Revision: 12577
caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/accesscontrol/query/impl/CaaersOrganizationIdFetcherImpl.java
CAAERS-3879 updated the organization id fetcher
<ide><path>aAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/accesscontrol/query/impl/CaaersOrganizationIdFetcherImpl.java <ide> import gov.nih.nci.cabig.caaers.dao.OrganizationDao; <ide> import gov.nih.nci.cabig.caaers.dao.StudySiteDao; <ide> import gov.nih.nci.cabig.caaers.dao.UserDao; <add>import gov.nih.nc...
Java
agpl-3.0
5084e518a82834e9fc7a5b25aeeb06b952f6de4a
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
3db96cc6-2e61-11e5-9284-b827eb9e62be
hello.java
3db4025e-2e61-11e5-9284-b827eb9e62be
3db96cc6-2e61-11e5-9284-b827eb9e62be
hello.java
3db96cc6-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>3db4025e-2e61-11e5-9284-b827eb9e62be <add>3db96cc6-2e61-11e5-9284-b827eb9e62be
Java
apache-2.0
69204842741a860b42aa81488c4133400ab1318a
0
marcbux/Hi-WAY
/******************************************************************************* * In the Hi-WAY project we propose a novel approach of executing scientific * workflows processing Big Data, as found in NGS applications, on distributed * computational infrastructures. The Hi-WAY software stack comprises the func- * ...
hiway-core/src/main/java/de/huberlin/wbi/hiway/am/galaxy/GalaxyTaskInstance.java
/******************************************************************************* * In the Hi-WAY project we propose a novel approach of executing scientific * workflows processing Big Data, as found in NGS applications, on distributed * computational infrastructures. The Hi-WAY software stack comprises the func- * ...
GAM Bugfix with optional (and unused) files
hiway-core/src/main/java/de/huberlin/wbi/hiway/am/galaxy/GalaxyTaskInstance.java
GAM Bugfix with optional (and unused) files
<ide><path>iway-core/src/main/java/de/huberlin/wbi/hiway/am/galaxy/GalaxyTaskInstance.java <ide> */ <ide> public void addToolState(String tool_state) { <ide> String tool_state_json = tool_state; <add> tool_state_json = tool_state_json.replaceAll("\"null\"", "\"\""); <ide> // replace "{ }" "[ ]" with { } [ ] <id...
JavaScript
mit
25f432ffab4166fe777900ca307eaf1bbbcf7d7a
0
BrianSipple/ember-cli,buschtoens/ember-cli,runspired/ember-cli,fpauser/ember-cli,Turbo87/ember-cli,ember-cli/ember-cli,akatov/ember-cli,BrianSipple/ember-cli,pixelhandler/ember-cli,patocallaghan/ember-cli,josemarluedke/ember-cli,mike-north/ember-cli,twokul/ember-cli,xtian/ember-cli,pixelhandler/ember-cli,rtablada/ember...
'use strict'; var isDarwin = /darwin/i.test(require('os').type()); var debug = require('debug')('ember-cli:utilities/attempt-metadata-index-file'); /* * Writes a `.metadata_never_index` file to the specified folder if running on OS X. * * This hints to spotlight that this folder should not be indexed. * * @param...
lib/utilities/attempt-never-index.js
'use strict'; var isDarwin = /darwin/i.test(require('os').type()); var debug = require('debug')('ember-cli:utilities/attempt-metadata-index-file'); module.exports = function(dir) { var path = dir + '/.metadata_never_index'; if (!isDarwin) { debug('not darwin, skipping %s (which hints to spotlight to prevent ...
utilities/attempt-never-index: Add doc comment
lib/utilities/attempt-never-index.js
utilities/attempt-never-index: Add doc comment
<ide><path>ib/utilities/attempt-never-index.js <ide> var isDarwin = /darwin/i.test(require('os').type()); <ide> var debug = require('debug')('ember-cli:utilities/attempt-metadata-index-file'); <ide> <add>/* <add> * Writes a `.metadata_never_index` file to the specified folder if running on OS X. <add> * <add> * This h...
Java
apache-2.0
ac83291942650a4bd329c73d2b302e4dde5313e1
0
khituras/elasticsearch-mapper-preanalyzed
/* * 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/index/plugin/mapper/preanalyzed/PreAnalyzedFieldMapper.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...
Fixed an NPE due to autoboxing
src/main/java/org/elasticsearch/index/plugin/mapper/preanalyzed/PreAnalyzedFieldMapper.java
Fixed an NPE due to autoboxing
<ide><path>rc/main/java/org/elasticsearch/index/plugin/mapper/preanalyzed/PreAnalyzedFieldMapper.java <ide> private FieldType fieldTypeText; <ide> private FieldType fieldTypeTokenStream; <ide> <del> protected PreAnalyzedFieldMapper(Names names, float boost, FieldType fieldType, boolean docValues, <add> protected Pre...
JavaScript
mit
8d11f2a6c0d367d8eb20987f54c18f98ff6f08b3
0
rolemos/angular-timer,lvpeng/angular-timer,siddii/angular-timer,Jeremy017/angular-timer,justicart/angular-timer,RobinHerzog/angular-timer,DarthVanger/angular-timer,hloni2major/angular-timer,DarthVanger/angular-timer,WillianPaiva/angular-timer,maccode/angular-timer,WillianPaiva/angular-timer,staff0rd/angular-timer,surya...
module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loa...
Gruntfile.js
module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loa...
add bower components inside gruntFile
Gruntfile.js
add bower components inside gruntFile
<ide><path>runtfile.js <ide> banner: '<%= meta.banner %>' <ide> }, <ide> src: [ <del> 'app/**/*.js' <add> 'bower_components/jquery/jquery.min.js', <add> 'bower_components/angular/angular.min.js', <add> 'bower_components/bootstrap/docs/assets/js/bootstrap....
Java
agpl-3.0
error: pathspec 'desktop/src/main/java/nl/mpi/kinnate/kindata/VisiblePanelSetting.java' did not match any file(s) known to git
736236afc887fa7dfb59570b48d10b1734389184
1
PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.kindata; import javax.xml.bind.annotation.XmlAttribute; /** * Document : VisiblePanelSetting * Created on : Sept 25, 2011, 12:02:44 PM * Author : Peter Withers */ public class VisiblePanelSetting { public enum PanelType { KinTypeStrings, KinTerms, Arch...
desktop/src/main/java/nl/mpi/kinnate/kindata/VisiblePanelSetting.java
Added stored data structure so that the shown panels can be saved in the drawing; eg if only the kin type strings panel is visible on save then only that panel will be visible on open.
desktop/src/main/java/nl/mpi/kinnate/kindata/VisiblePanelSetting.java
Added stored data structure so that the shown panels can be saved in the drawing; eg if only the kin type strings panel is visible on save then only that panel will be visible on open.
<ide><path>esktop/src/main/java/nl/mpi/kinnate/kindata/VisiblePanelSetting.java <add>package nl.mpi.kinnate.kindata; <add> <add>import javax.xml.bind.annotation.XmlAttribute; <add> <add>/** <add> * Document : VisiblePanelSetting <add> * Created on : Sept 25, 2011, 12:02:44 PM <add> * Author : Peter Withers <ad...
Java
mit
12df7030106c30488d94268f654f380753c241c4
0
vnadgir-ef/vertx-jersey,christianbellinaef/vertx-jersey,englishtown/vertx-jersey,ef-labs/vertx-jersey,vnadgir-ef/vertx-jersey,christianbellinaef/vertx-jersey,englishtown/vertx-jersey,ef-labs/vertx-jersey
/* * The MIT License (MIT) * Copyright © 2013 Englishtown <opensource@englishtown.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitatio...
src/main/java/com/englishtown/vertx/jersey/impl/DefaultJerseyHandlerConfigurator.java
/* * The MIT License (MIT) * Copyright © 2013 Englishtown <opensource@englishtown.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitatio...
Fixed typo in message
src/main/java/com/englishtown/vertx/jersey/impl/DefaultJerseyHandlerConfigurator.java
Fixed typo in message
<ide><path>rc/main/java/com/englishtown/vertx/jersey/impl/DefaultJerseyHandlerConfigurator.java <ide> JsonArray resources = config.getArray(CONFIG_RESOURCES, null); <ide> <ide> if (resources == null || resources.size() == 0) { <del> throw new RuntimeException("At lease one resource package n...
JavaScript
mit
bb2df2abc06dbe8f1408995051b1a3eaedf2ea37
0
konfirm/konflux,konfirm/konflux,daanvanham/konflux,daanvanham/konflux
/* * __ Konflux (version 0.2.5, rev 331) - a javascript helper library * /\_\ * /\/ / / Copyright 2012-2013, Konfirm (Rogier Spieker) * \ / / Releases under the MIT license * \/_/ More information: http://konfirm.net/konflux */ ;(function(window, undefined){ "use strict"; var doc...
konflux.js
/** * __ Konflux (version 0.2.4, rev 317) - a javascript helper library * /\_\ * /\/ / / Copyright 2012-2013, Konfirm (Rogier Spieker) * \ / / Releases under the MIT license * \/_/ More information: http://konfirm.net/konflux */ ;(function(window, undefined){ "use strict"; var do...
General * bumped version to 0.2.5 * aligned docblocks + added hasProperty function kxBrowser + added 'feature' method (including its internal 'hasFeature' function), to test wether or not a certain feature is available + added 'prefix' method (including its internal 'vendorPrefix' function), to obtain the proper vendo...
konflux.js
General * bumped version to 0.2.5 * aligned docblocks + added hasProperty function
<ide><path>onflux.js <del>/** <del> * __ Konflux (version 0.2.4, rev 317) - a javascript helper library <add>/* <add> * __ Konflux (version 0.2.5, rev 331) - a javascript helper library <ide> * /\_\ <ide> * /\/ / / Copyright 2012-2013, Konfirm (Rogier Spieker) <ide> * \ / / Releases ...