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
6a93dd378f8f0ab5fa03f3b1f0d1ce391fc99363
0
trendrr/strest-server,trendrr/strest-server
/** * */ package com.trendrr.strest.contrib.filters; import java.io.UnsupportedEncodingException; import java.util.Collection; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jboss.netty.handler.codec.http.HttpHeaders; import org.jboss.netty.handler.codec.http.HttpRe...
src/com/trendrr/strest/contrib/filters/JsonpFilter.java
/** * */ package com.trendrr.strest.contrib.filters; import java.io.UnsupportedEncodingException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jboss.netty.handler.codec.http.HttpHeaders; import org.jboss.netty.handler.codec.http.HttpResponse; import com.trendrr.s...
add callback as a possible jsonp param
src/com/trendrr/strest/contrib/filters/JsonpFilter.java
add callback as a possible jsonp param
<ide><path>rc/com/trendrr/strest/contrib/filters/JsonpFilter.java <ide> package com.trendrr.strest.contrib.filters; <ide> <ide> import java.io.UnsupportedEncodingException; <add>import java.util.Collection; <ide> <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.logging.LogFactory; <ide> im...
Java
apache-2.0
080e83aedab127410ef62cf4722cb9e4a0354f04
0
UweTrottmann/SeriesGuide,epiphany27/SeriesGuide,hoanganhx86/SeriesGuide,artemnikitin/SeriesGuide,UweTrottmann/SeriesGuide,r00t-user/SeriesGuide,0359xiaodong/SeriesGuide
package com.battlelancer.seriesguide.ui; import com.actionbarsherlock.app.SherlockListFragment; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInflater; import com.actionbarsherlock.view.MenuItem; import com.battlelancer.seriesguide.Constants; import com.battlelancer.seriesguide...
SeriesGuide/src/com/battlelancer/seriesguide/ui/SeasonsFragment.java
package com.battlelancer.seriesguide.ui; import com.actionbarsherlock.app.SherlockListFragment; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInflater; import com.actionbarsherlock.view.MenuItem; import com.battlelancer.seriesguide.Constants; import com.battlelancer.seriesguide...
Simplify updating of sorting for SeasonsFragment.
SeriesGuide/src/com/battlelancer/seriesguide/ui/SeasonsFragment.java
Simplify updating of sorting for SeasonsFragment.
<ide><path>eriesGuide/src/com/battlelancer/seriesguide/ui/SeasonsFragment.java <ide> private void updatePreferences() { <ide> final SharedPreferences prefs = PreferenceManager <ide> .getDefaultSharedPreferences(getActivity()); <del> if (prefs.getString(SeriesGuidePreferences.KEY_SEASO...
JavaScript
mit
f24f30da1c4cb9b43194b9e4774dc51ad5c00521
0
gethuman/pancakes
/** * Author: Jeff Whelpley * Date: 2/6/15 * * Page helper this should be kept in sync with the client side PageHelper */ var utils = require('./utensils'); function PageHelper(routeHelper) { this.routeHelper = routeHelper; this.apps = {}; this.clientRegistrations = []; } /** * Register a function w...
lib/page.helper.js
/** * Author: Jeff Whelpley * Date: 2/6/15 * * Page helper this should be kept in sync with the client side PageHelper */ var utils = require('./utensils'); function PageHelper(routeHelper) { this.routeHelper = routeHelper; this.apps = {}; this.clientRegistrations = []; } /** * Register a function w...
fixing closure issue with page helper
lib/page.helper.js
fixing closure issue with page helper
<ide><path>ib/page.helper.js <ide> * @param func <ide> */ <ide> PageHelper.prototype.register = function register(appName, routeName, funcName, func) { <add> var me = this; <ide> <ide> // app and route name could be dot notation, so make them camel case <ide> appName = utils.getCamelCase(appName); <ide> ...
Java
mit
9d5e31d347aa7362700fa83c49f331d3a6a5dda1
0
TarkanAl-Kazily/2015-Recycle-Rush,Spartronics4915/2015-Recycle-Rush,ClioBatali/2015-Recycle-Rush,NoahLevine/2015-Recycle-Rush
// RobotBuilder Version: 1.5 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
RobotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/Robot.java
// RobotBuilder Version: 1.5 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
Called SendUserMessage.displayMessage() in Robot.java
RobotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/Robot.java
Called SendUserMessage.displayMessage() in Robot.java
<ide><path>obotCode/MecanumDrive/src/org/usfirst/frc4915/MecanumDrive/Robot.java <ide> autonomousCommand = new AutonomousCommand(); <ide> <ide> // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS <add> <add> <add> // Test for sending messages to smart dashboard <add> ...
Java
mit
390fce2d96aad063233059ba8667e0dfc4cc8a83
0
arz-latte/latte-rodeo,arz-latte/latte-rodeo,arz-latte/latte-rodeo
package at.arz.latte.rodeo.release.admin; import java.util.Objects; import javax.inject.Inject; import javax.validation.constraints.NotNull; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotati...
latte-rodeo/src/at/arz/latte/rodeo/release/admin/CreateRelease.java
package at.arz.latte.rodeo.release.admin; import java.util.Objects; import javax.inject.Inject; import javax.validation.constraints.NotNull; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotati...
add check if release already exist
latte-rodeo/src/at/arz/latte/rodeo/release/admin/CreateRelease.java
add check if release already exist
<ide><path>atte-rodeo/src/at/arz/latte/rodeo/release/admin/CreateRelease.java <ide> import javax.xml.bind.annotation.XmlRootElement; <ide> import javax.xml.bind.annotation.XmlTransient; <ide> <add>import at.arz.latte.rodeo.api.ObjectExists; <ide> import at.arz.latte.rodeo.api.RodeoCommand; <ide> import at.arz.latte.ro...
Java
apache-2.0
f3084d3ce17c56c46b083d5c6f65c3dd03229e72
0
apache/ignite,samaitra/ignite,xtern/ignite,samaitra/ignite,daradurvs/ignite,andrey-kuznetsov/ignite,xtern/ignite,SomeFire/ignite,daradurvs/ignite,chandresh-pancholi/ignite,ascherbakoff/ignite,SomeFire/ignite,NSAmelchev/ignite,xtern/ignite,SomeFire/ignite,daradurvs/ignite,apache/ignite,NSAmelchev/ignite,ascherbakoff/ign...
/* * 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 ...
modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.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 ...
IGNITE-12051 Update javadoc for the IgniteKernal class - Fixes #6760. Signed-off-by: ipavlukhin <4841c80ed1a4aa0a4968d5ecef8445ba95c2dda4@gmail.com>
modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
IGNITE-12051 Update javadoc for the IgniteKernal class - Fixes #6760.
<ide><path>odules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java <ide> import org.apache.ignite.DataRegionMetricsAdapter; <ide> import org.apache.ignite.DataStorageMetrics; <ide> import org.apache.ignite.DataStorageMetricsAdapter; <add>import org.apache.ignite.Ignite; <ide> import org.apache.ignite.Ign...
JavaScript
mit
331f6a217c2b33aaa44b1171c376fdefd25b3c78
0
ticketmaster-api/ticketmaster-api.github.io,romil93/ticketmaster-api.github.io,ticketmaster-api/ticketmaster-api.github.io,ticketmaster-api/ticketmaster-api.github.io,romil93/ticketmaster-api.github.io,romil93/ticketmaster-api.github.io,ticketmaster-api/ticketmaster-api.github.io,ticketmaster-api/ticketmaster-api.githu...
$(document).ready(function() { var getInnerText = function (element) { var html = element.find("code")[0].outerHTML; var proxyItem = document.createElement("div"); proxyItem.innerHTML = html; return proxyItem.textContent; }; var createButton = fu...
scripts/components/request-response.js
$(document).ready(function() { var getInnerText = function (element) { var html = element.find("code")[0].outerHTML; var proxyItem = document.createElement("div"); proxyItem.innerHTML = html; return proxyItem.textContent; }; var createButton = fu...
Changelog
scripts/components/request-response.js
Changelog
<ide><path>cripts/components/request-response.js <ide> $(".fs-modal #modal-title").html(title); <ide> $(".fs-modal .modal-body").html(content); <ide> <del> $(".fs-modal .modal-body").delegate(".reqres a", "click", function() { <add> $(".fs-modal .modal-body").delegate(".re...
Java
apache-2.0
29e3909c5bb767d711ee64be92107592a68df036
0
myrrix/myrrix-recommender,myrrix/myrrix-recommender
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
client/src/net/myrrix/client/ClientRecommender.java
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Add option to ignore HTTPS cert server for testing git-svn-id: f7ac9ee3e7208fd97c9a3deb5e52ce295d20494a@180 0d189622-dca1-7e23-9e30-e8815eb7bd2f
client/src/net/myrrix/client/ClientRecommender.java
Add option to ignore HTTPS cert server for testing
<ide><path>lient/src/net/myrrix/client/ClientRecommender.java <ide> * <ul> <ide> * <li>{@code client.connection.close}: Causes the client to request no HTTP keep-alive. This can avoid <ide> * running out of local sockets on the client side during load testing, but should not otherwise be set.</li> <add> * <li...
Java
apache-2.0
3958f0ae7d51c6669d3596ea706e02ded3fd381c
0
benbenw/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,benbenw/jmeter
/* * 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 ...
src/core/org/apache/jmeter/gui/action/SearchTreeDialog.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 ...
Bug 63203 - Unit Tests : Replace use of @Deprecated by @VisibleForTesting for methods/constructors/classes made public for Unit Testing only Bugzilla Id: 63203 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1854263 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: 269c8e9f6e6d35caa631fd7cab82a921a1cb6...
src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java
Bug 63203 - Unit Tests : Replace use of @Deprecated by @VisibleForTesting for methods/constructors/classes made public for Unit Testing only Bugzilla Id: 63203
<ide><path>rc/core/org/apache/jmeter/gui/action/SearchTreeDialog.java <ide> import org.apache.jmeter.gui.tree.JMeterTreeNode; <ide> import org.apache.jmeter.testelement.TestElement; <ide> import org.apache.jmeter.util.JMeterUtils; <add>import org.apache.jorphan.documentation.VisibleForTesting; <ide> import org.apache.j...
Java
lgpl-2.1
a1b3c5ca9e75e602314ef9579bd03bc728cd791c
0
4ment/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,maxbiostat/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,maxbiostat/beast-mcmc,maxbiostat/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,bea...
/* * BeagleSequenceSimulatorParser.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can red...
src/dr/app/beagle/tools/parsers/BeagleSequenceSimulatorParser.java
/* * BeagleSequenceSimulatorParser.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can red...
Additional output to screen for sequence simulation.
src/dr/app/beagle/tools/parsers/BeagleSequenceSimulatorParser.java
Additional output to screen for sequence simulation.
<ide><path>rc/dr/app/beagle/tools/parsers/BeagleSequenceSimulatorParser.java <ide> // TODO: what about 'every'? <ide> <ide> int partitionSiteCount = (partition.to - partition.from) +1; <del> <del>// System.out.println("SCRAAAAAM:" + partitionSiteCount); <d...
JavaScript
mit
b020cb1ee61c3483d0fa2a3714f514c89beff250
0
tangrams/tangram,tangrams/tangram
import Scene from '../src/scene'; import * as URLs from '../src/utils/urls'; /* Special web worker treatment: - Custom worker build to use the Babel runtime (since there seem to be issues w/multiple instances of the polyfill getting instantiated on each test run otherwise). - Stub the worker so that...
test/helpers.js
import Scene from '../src/scene'; /* Special web worker treatment: - Custom worker build to use the Babel runtime (since there seem to be issues w/multiple instances of the polyfill getting instantiated on each test run otherwise). - Stub the worker so that we only load it once, to avoid flooding co...
tests: don't revoke object URLs TODO: find a better solution, this is a quick fix for "The operation is insecure" errors in karma/sauce
test/helpers.js
tests: don't revoke object URLs TODO: find a better solution, this is a quick fix for "The operation is insecure" errors in karma/sauce
<ide><path>est/helpers.js <ide> import Scene from '../src/scene'; <add>import * as URLs from '../src/utils/urls'; <ide> <ide> /* <ide> Special web worker treatment: <ide> URL.createObjectURL(new Blob([workerBody], { type: 'application/javascript' })) <ide> ); <ide> <add>sinon.stub(URLs, 'revokeObjectURL').ret...
Java
mit
247bb8ee6c65d74f040d915674984ebed97b0bc7
0
open-keychain/spongycastle,Skywalker-11/spongycastle,Skywalker-11/spongycastle,open-keychain/spongycastle,Skywalker-11/spongycastle,open-keychain/spongycastle,bcgit/bc-java,bcgit/bc-java,bcgit/bc-java
package org.bouncycastle.asn1.x509; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.ASN1Primitive; /** * The KeyPurposeId object. * <pre> * KeyPurposeId ::= OBJECT IDENTIFIER * * id-kp ::= OBJECT IDENTIFIER { iso(1) identified-organ...
core/src/main/java/org/bouncycastle/asn1/x509/KeyPurposeId.java
package org.bouncycastle.asn1.x509; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.ASN1Primitive; /** * The KeyPurposeId object. * <pre> * KeyPurposeId ::= OBJECT IDENTIFIER * * id-kp ::= OBJECT IDENTIFIER { iso(1) identified-organ...
Added toString() method.
core/src/main/java/org/bouncycastle/asn1/x509/KeyPurposeId.java
Added toString() method.
<ide><path>ore/src/main/java/org/bouncycastle/asn1/x509/KeyPurposeId.java <ide> { <ide> return id.getId(); <ide> } <add> <add> public String toString() <add> { <add> return id.toString(); <add> } <ide> }
Java
agpl-3.0
f7f4385d5d4fac6336f53fb0d5c7538d7c73769e
0
Heiner1/AndroidAPS,MilosKozak/AndroidAPS,jotomo/AndroidAPS,Heiner1/AndroidAPS,PoweRGbg/AndroidAPS,winni67/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,PoweRGbg/AndroidAPS,PoweRGbg/AndroidAPS,jotomo/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS,winni67/AndroidAPS,MilosKozak/AndroidAPS
package info.nightscout.androidaps.plugins.IobCobCalculator; import android.os.SystemClock; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.util.LongSparseArray; import com.squareup.otto.Subscribe; import org.json.JSONArray; import org.slf4j.Logger; im...
app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java
package info.nightscout.androidaps.plugins.IobCobCalculator; import android.os.SystemClock; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.util.LongSparseArray; import com.squareup.otto.Subscribe; import org.json.JSONArray; import org.slf4j.Logger; im...
cleanup
app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java
cleanup
<ide><path>pp/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java <ide> //log.debug(">>> getAutosensData Cache hit " + data.log(time)); <ide> return data; <ide> } else { <del> if (time > now) { <del> ...
Java
agpl-3.0
6a3e352b058ee51e371f504bea1cae096a5788a9
0
mbenguig/scheduling,ShatalovYaroslav/scheduling,laurianed/scheduling,paraita/scheduling,zeineb/scheduling,youribonnaffe/scheduling,tobwiens/scheduling,lpellegr/scheduling,fviale/scheduling,ShatalovYaroslav/scheduling,sgRomaric/scheduling,yinan-liu/scheduling,tobwiens/scheduling,zeineb/scheduling,laurianed/scheduling,sg...
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2007 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
src/Examples/org/objectweb/proactive/examples/userguide/distributedprimes/PrimeManager.java
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2007 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
bug fix to clear the answers vector git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@8047 28e8926c-6b08-0410-baaa-805c5e19b8d6
src/Examples/org/objectweb/proactive/examples/userguide/distributedprimes/PrimeManager.java
bug fix to clear the answers vector
<ide><path>rc/Examples/org/objectweb/proactive/examples/userguide/distributedprimes/PrimeManager.java <ide> System.out.println("\n"); <ide> k++; <ide> } <del> primeCheck++; <add> //flush the answers vector <add> answers.clear(); <add> ...
JavaScript
bsd-3-clause
f7b8940b58794f6177bd06a7a3e3fc8df96a56d8
0
future-analytics/cartodb,thorncp/cartodb,UCL-ShippingGroup/cartodb-1,bloomberg/cartodb,dbirchak/cartodb,thorncp/cartodb,codeandtheory/cartodb,future-analytics/cartodb,splashblot/dronedb,DigitalCoder/cartodb,dbirchak/cartodb,bloomberg/cartodb,thorncp/cartodb,nyimbi/cartodb,future-analytics/cartodb,DigitalCoder/cartodb,c...
var cdb = require('cartodb.js'); var _ = require('underscore'); var $ = require('jquery'); var PermissionView = require('./permission_view'); var PaginationView = require('../../../views/pagination/view'); /** * Content view of the share dialog, lists of users to share item with. */ module.exports = cdb.core.View.ex...
lib/assets/javascripts/cartodb/common/dialogs/change_privacy/share/permission_users_view.js
var cdb = require('cartodb.js'); var _ = require('underscore'); var $ = require('jquery'); var PermissionView = require('./permission_view'); var PaginationView = require('../../../views/pagination/view'); /** * Content view of the share dialog, lists of users to share item with. */ module.exports = cdb.core.View.ex...
Moving render elements to functions
lib/assets/javascripts/cartodb/common/dialogs/change_privacy/share/permission_users_view.js
Moving render elements to functions
<ide><path>ib/assets/javascripts/cartodb/common/dialogs/change_privacy/share/permission_users_view.js <ide> render: function() { <ide> this.clearSubViews(); <ide> <del> this.$el.empty() <add> this.$el.empty(); <ide> <del> // Organization permissions <ide> if (!this.collection.getSearch()) { <ide> ...
Java
apache-2.0
d406a956b5dd99662c8c2f2cf206a4aeb7d5f704
0
doanduyhai/Achilles,doanduyhai/Achilles
package info.archinnov.achilles.columnFamily; import static info.archinnov.achilles.serializer.SerializerUtils.OBJECT_SRZ; import static info.archinnov.achilles.serializer.SerializerUtils.STRING_SRZ; import info.archinnov.achilles.entity.PropertyHelper; import info.archinnov.achilles.entity.metadata.EntityMeta; import...
src/main/java/info/archinnov/achilles/columnFamily/ColumnFamilyBuilder.java
package info.archinnov.achilles.columnFamily; import static info.archinnov.achilles.serializer.SerializerUtils.OBJECT_SRZ; import static info.archinnov.achilles.serializer.SerializerUtils.STRING_SRZ; import info.archinnov.achilles.entity.PropertyHelper; import info.archinnov.achilles.entity.metadata.EntityMeta; import...
Fix bug on validation class for Dynamic Composite CF
src/main/java/info/archinnov/achilles/columnFamily/ColumnFamilyBuilder.java
Fix bug on validation class for Dynamic Composite CF
<ide><path>rc/main/java/info/archinnov/achilles/columnFamily/ColumnFamilyBuilder.java <ide> <ide> Serializer<?> valueSerializer = SerializerTypeInferer.getSerializer(valueClass); <ide> <del> if (valueSerializer == OBJECT_SRZ && !propertyMeta.type().isJoinColumn()) <add> if (valueSerializer == OBJECT_SRZ) <ide> ...
Java
mit
8e428c43c37349481cc9b31638017bbfbaa823c4
0
jwbenham/jfmi,jwbenham/jfmi
package jfmi.control; import java.io.File; import java.sql.SQLException; import java.util.Collection; import java.util.List; import java.util.Vector; import jfmi.dao.TaggedFileDAO; import jfmi.gui.GUIUtil; import jfmi.gui.JFMIFrame; import jfmi.gui.TaggedFileHandlerGUI; /** A controller class for handling the logic...
src/jfmi/control/TaggedFileHandler.java
package jfmi.control; import java.io.File; import java.sql.SQLException; import java.util.Collection; import java.util.List; import java.util.Vector; import jfmi.dao.TaggedFileDAO; import jfmi.gui.GUIUtil; import jfmi.gui.JFMIFrame; import jfmi.gui.TaggedFileHandlerGUI; /** A controller class for handling the logic...
TaggedFileHandler.beginUpdateFilePathInteraction() added
src/jfmi/control/TaggedFileHandler.java
TaggedFileHandler.beginUpdateFilePathInteraction() added
<ide><path>rc/jfmi/control/TaggedFileHandler.java <ide> updateDataAndGUI(true); <ide> } <ide> <add> public void beginUpdateFilePathInteraction(TaggedFile updateMe) <add> { <add> // Get an updated path from the user <add> // Confirm the update <add> // Update the repository <add> // Update the current file <add>...
JavaScript
agpl-3.0
eb62b78a8ca8f6f7c6f1d7f5bb7ed97587ff1429
0
timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' // 'starter.services' is found in services.js // 'start...
frontend/www/js/app.js
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' // 'starter.services' is found in services.js // 'start...
adding option to set home pos
frontend/www/js/app.js
adding option to set home pos
<ide><path>rontend/www/js/app.js <ide> } <ide> } <ide> <del> $scope.zeroAxis = function(axisName) { <add> $scope.zeroAxis = function(axisId) { <ide> console.log("zeroing ", axisId); <ide> var index = $scope.getAxisIndex(axisId); <ide> if(index === null) return false;
Java
apache-2.0
54689caa9f2f83e40853e963d6c91369237b3ddc
0
john9x/jdbi,jdbi/jdbi,omidp/jdbi,stevenschlansker/jdbi,zanebenefits/jdbi,john9x/jdbi,christophercurrie/jdbi,fengshao0907/jdbi,hgschmie/jdbi,voidifremoved/jdbi,HubSpot/jdbi,11xor6/jdbi,voidifremoved/jdbi,fengshao0907/jdbi,pennello/jdbi,omidp/jdbi,jdbi/jdbi,11xor6/jdbi,zanebenefits/jdbi,stevenschlansker/jdbi,BernhardBln/...
/* * Copyright 2004 - 2011 Brian McCallister * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
src/main/java/org/skife/jdbi/v2/unstable/eod/Transactional.java
/* * Copyright 2004 - 2011 Brian McCallister * * 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...
stronger self-type declaration
src/main/java/org/skife/jdbi/v2/unstable/eod/Transactional.java
stronger self-type declaration
<ide><path>rc/main/java/org/skife/jdbi/v2/unstable/eod/Transactional.java <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <del>public interface Transactional<SelfType extends Transactional> <add>public interface Transactional<SelfType extends Transactional<SelfType>> <ide> { <ide> public void beg...
Java
apache-2.0
13b23379f5c9b1b59587aca02519d63a08b67df7
0
Blazebit/blaze-persistence,Blazebit/blaze-persistence,Blazebit/blaze-persistence,Blazebit/blaze-persistence
/* * Copyright 2014 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
entity-view/impl/src/main/java/com/blazebit/persistence/view/impl/TargetResolvingExpressionVisitor.java
/* * Copyright 2014 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Fix #149 and #150
entity-view/impl/src/main/java/com/blazebit/persistence/view/impl/TargetResolvingExpressionVisitor.java
Fix #149 and #150
<ide><path>ntity-view/impl/src/main/java/com/blazebit/persistence/view/impl/TargetResolvingExpressionVisitor.java <ide> <ide> import java.lang.reflect.Method; <ide> import java.util.ArrayList; <add>import java.util.Collection; <ide> import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <id...
Java
mit
8e5e5c08503ea56d074df8d4d10aac8d7b3c8c76
0
martindisch/Networking
package com.martin.dchat; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.Socket; public class ClientManager implements Runnable { Socket clSocket; public ClientManager(Socket clSocket)...
src/com/martin/dchat/ClientManager.java
package com.martin.dchat; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.Socket; public class ClientManager implements Runnable { Socket clSocket; public ClientManager(Socket clSocket)...
The reading inside ClientManager is the way to go.
src/com/martin/dchat/ClientManager.java
The reading inside ClientManager is the way to go.
<ide><path>rc/com/martin/dchat/ClientManager.java <ide> out.flush(); <ide> <ide> String msg; <del> //while ((msg = in.readLine()) != null) { <del> while (!(msg = in.readLine()).contentEquals("END")) { <add> while ((msg = in.readLine()) != null) { <add> if (msg.contentEquals("END")) { <add> break;...
Java
epl-1.0
585bcb6e121cce9214644ad1ef944dcca661b665
0
Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1
/******************************************************************************* * Copyright (c) 2008,2009 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 ava...
engine/org.eclipse.birt.report.engine.emitter.wpml/src/org/eclipse/birt/report/engine/emitter/wpml/writer/AbstractWordXmlWriter.java
/******************************************************************************* * Copyright (c) 2008,2009 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 ava...
Fixed Paragraph symbol automatically added with Time New Roman fonts 48330
engine/org.eclipse.birt.report.engine.emitter.wpml/src/org/eclipse/birt/report/engine/emitter/wpml/writer/AbstractWordXmlWriter.java
Fixed Paragraph symbol automatically added with Time New Roman fonts 48330
<ide><path>ngine/org.eclipse.birt.report.engine.emitter.wpml/src/org/eclipse/birt/report/engine/emitter/wpml/writer/AbstractWordXmlWriter.java <ide> writeIndent( indent ); <ide> } <ide> writeBidi( CSSConstants.CSS_RTL_VALUE.equals( style.getDirection( ) ) ); // bidi_hcg <del> <add> // We need to apply the text ...
Java
mpl-2.0
7c64beeae67bd59d2809f1bd45561dc58450d167
0
openelisglobal/openelisglobal-core,CalebSLane/openelisglobal-core,pfschwartz/openelisglobal-core,phassoa/openelisglobal-core,pfschwartz/openelisglobal-core,pfschwartz/openelisglobal-core,pfschwartz/openelisglobal-core,pfschwartz/openelisglobal-core,phassoa/openelisglobal-core,openelisglobal/openelisglobal-core,openelis...
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
app/src/us/mn/state/health/lims/common/util/StringUtil.java
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
Bug fix. Added sanity check when creating display values with significant digits
app/src/us/mn/state/health/lims/common/util/StringUtil.java
Bug fix. Added sanity check when creating display values with significant digits
<ide><path>pp/src/us/mn/state/health/lims/common/util/StringUtil.java <ide> } <ide> <ide> public static String doubleWithSignificantDigits( double value, String significantDigits ){ <del> if( significantDigits.equals( "-1" )){ <add> if( GenericValidator.isBlankOrNull(significantDigits) || significan...
Java
apache-2.0
52a4b4b1518595784f0a94b8344a5770bd21398e
0
lpatino10/android-sdk,lpatino10/android-sdk
package com.ibm.watson.developer_cloud.android.library.camera; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.provider.MediaStore; import android.support.v4.content...
library/src/main/java/com/ibm/watson/developer_cloud/android/library/camera/GalleryHelper.java
package com.ibm.watson.developer_cloud.android.library.camera; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.provider.MediaStore; import android.support.v4.content...
Remove unnecessary comments
library/src/main/java/com/ibm/watson/developer_cloud/android/library/camera/GalleryHelper.java
Remove unnecessary comments
<ide><path>ibrary/src/main/java/com/ibm/watson/developer_cloud/android/library/camera/GalleryHelper.java <ide> public File getFile(int resultCode, Intent data) { <ide> if(resultCode == activity.RESULT_OK) { <ide> Uri targetUri = data.getData(); <del> //return new File(targetUri.getPath()); <ide> ...
Java
apache-2.0
80ebffe518a5149f5eb788806798f9a3610fe09d
0
apache/jackrabbit,apache/jackrabbit,apache/jackrabbit
/* * Copyright 2004-2005 The Apache Software Foundation or its licensors, * as applicable. * * 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.apac...
commons/src/java/org/apache/jackrabbit/util/Text.java
/* * Copyright 2004-2005 The Apache Software Foundation or its licensors, * as applicable. * * 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.apac...
- adding useful namespace related methods git-svn-id: e3d4743c6b03e3f6fd6d8117e7616b4c02d9b980@220026 13f79535-47bb-0310-9956-ffa450edef68
commons/src/java/org/apache/jackrabbit/util/Text.java
- adding useful namespace related methods
<ide><path>ommons/src/java/org/apache/jackrabbit/util/Text.java <ide> } <ide> <ide> /** <add> * Returns the namespace prefix of the given <code>qname</code>. If the <add> * prefix is missing, an empty string is returned. Please note, that this <add> * method does not validate the name or prefix. <a...
Java
agpl-3.0
ba0aaee8523d045390d4ae40565e0c519e551285
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
f2a24a04-2e61-11e5-9284-b827eb9e62be
hello.java
f29c81dc-2e61-11e5-9284-b827eb9e62be
f2a24a04-2e61-11e5-9284-b827eb9e62be
hello.java
f2a24a04-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>f29c81dc-2e61-11e5-9284-b827eb9e62be <add>f2a24a04-2e61-11e5-9284-b827eb9e62be
Java
apache-2.0
cb9a336f2e70a4a7390e1cc16e458fd1e3639f37
0
liqianggao/BroadleafCommerce,alextiannus/BroadleafCommerce,cloudbearings/BroadleafCommerce,TouK/BroadleafCommerce,cogitoboy/BroadleafCommerce,caosg/BroadleafCommerce,macielbombonato/BroadleafCommerce,arshadalisoomro/BroadleafCommerce,sitexa/BroadleafCommerce,passion1014/metaworks_framework,gengzhengtao/BroadleafCommerc...
/* * Copyright 2008-2009 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 a...
core/broadleaf-framework-web/src/main/java/org/broadleafcommerce/core/web/controller/checkout/AbstractCheckoutController.java
/* * Copyright 2008-2009 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 a...
cleaning up abstract controller
core/broadleaf-framework-web/src/main/java/org/broadleafcommerce/core/web/controller/checkout/AbstractCheckoutController.java
cleaning up abstract controller
<ide><path>ore/broadleaf-framework-web/src/main/java/org/broadleafcommerce/core/web/controller/checkout/AbstractCheckoutController.java <ide> @Resource(name = "blBillingInfoFormValidator") <ide> protected BillingInfoFormValidator billingInfoFormValidator; <ide> <del> /* Abstract Methods */ <del> protecte...
JavaScript
apache-2.0
b2b904f273a49aa4d86c23d1ddf553c6b2593e13
0
martinpz/Spark-RDF-Analyzer,martinpz/Spark-RDF-Analyzer,martinpz/Spark-RDF-Analyzer
var loader = '<div class="progress progress-striped active page-progress-bar"><div class="progress-bar" style="width: 100%;"></div></div>'; // ########################## Entry Point ########################## function showAutocompletionModal() { var input = $('#entryNode').val(); // Only consider inputs with at lea...
src/main/webapp/js/browser.js
var loader = '<div class="progress progress-striped active page-progress-bar"><div class="progress-bar" style="width: 100%;"></div></div>'; // ########################## Entry Point ########################## function showAutocompletionModal() { var input = $('#entryNode').val(); // Only consider inputs with at lea...
Displays literals.
src/main/webapp/js/browser.js
Displays literals.
<ide><path>rc/main/webapp/js/browser.js <ide> var arrow = '<span class="glyphicon glyphicon-circle-arrow-' <ide> + direction + '" style="margin-right: 10px;"></span>'; <ide> <del> var showCentralNode = '<span style="margin-right: 5px;">' + centralNode <del> + '</span>'; <add> var showCentralNode = '<span st...
Java
apache-2.0
826788a35b717159381e53adb3c5da16eeac360d
0
apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/incubator-kylin
/* * 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 ...
server-base/src/main/java/org/apache/kylin/rest/service/QueryService.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 ...
minor, refine metric.
server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java
minor, refine metric.
<ide><path>erver-base/src/main/java/org/apache/kylin/rest/service/QueryService.java <ide> HtraceInit.init(); <ide> scope = Trace.startSpan("query life cycle for " + queryContext.getQueryId(), Sampler.ALWAYS); <ide> } <del> <ide> String traceUrl = getTraceUrl(scope); <ide> <ide> ...
JavaScript
apache-2.0
04d94ea4131e2f26defc35349a592038438d7761
0
cnwhy/ejs,zensh/ejs,insidewarehouse/ejs,tyduptyler13/ejs,kolonse/ejs,jtsay362/solveforall-ejs2,mmis1000/ejs-promise,TimothyGu/ejs-tj,rpaterson/ejs,insidewarehouse/ejs,TimothyGu/ejs-tj,xanxiver/ejs,mde/ejs,kolonse/ejs,cnwhy/ejs,operatino/ejs,zensh/ejs
/* * Geddy JavaScript Web development framework * Copyright 2112 Matthew Eernisse (mde@fleegix.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/l...
lib/template/engines/ejs.js
/* * Geddy JavaScript Web development framework * Copyright 2112 Matthew Eernisse (mde@fleegix.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/l...
Avoid mixin pollution
lib/template/engines/ejs.js
Avoid mixin pollution
<ide><path>ib/template/engines/ejs.js <ide> // Return a callable function which will execute the function <ide> // created by the source-code, with the passed data as locals <ide> return function (data, context) { <del> var locals = utils.mixin(data, { <add> // Prevent mixin pollution <add> v...
JavaScript
mit
16dc6fad36a2dad070de1376b2dcda51c2d87909
0
monomelodies/monad,monomelodies/monad
"use strict"; let isDateTime = new RegExp(/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/); let isDate = new RegExp(/^(\d{4})-(\d{2})-(\d{2})/); let mapper = { Jan: '01', Feb: '02', Mar: '03', Apr: '04', May: '05', Jun: '06', Jul: '07', Aug: '08', Sep: '09', Oct: '10', N...
src/classes/Model.js
"use strict"; let isDateTime = new RegExp(/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/); let isDate = new RegExp(/^(\d{4})-(\d{2})-(\d{2})/); let mapper = { Jan: '01', Feb: '02', Mar: '03', Apr: '04', May: '05', Jun: '06', Jul: '07', Aug: '08', Sep: '09', Oct: '10', N...
use angular.copy so we get, eh, a copy (not a reference) and toString before comparing or javascript acts weird
src/classes/Model.js
use angular.copy so we get, eh, a copy (not a reference) and toString before comparing or javascript acts weird
<ide><path>rc/classes/Model.js <ide> this.addField(key); <ide> this[key] = data[key]; <ide> } <del> this.$initial = this.$data; <add> this.$initial = angular.copy(this.$data); <ide> return this; <ide> } <ide> <ide> delete this[key]; <ide> ...
Java
mit
913970f37934a1f9c2091818641e952d900cdefa
0
aglne/Archimulator,mcai/Archimulator,aglne/Archimulator,mcai/Archimulator,mcai/Archimulator,aglne/Archimulator,aglne/Archimulator,mcai/Archimulator
/******************************************************************************* * Copyright (c) 2010-2013 by Min Cai (min.cai.china@gmail.com). * * This file is part of the Archimulator multicore architectural simulator. * * Archimulator is free software: you can redistribute it and/or modify * it under the term...
src/main/java/archimulator/sim/uncore/cache/Interval/IntervalHelper.java
/******************************************************************************* * Copyright (c) 2010-2013 by Min Cai (min.cai.china@gmail.com). * * This file is part of the Archimulator multicore architectural simulator. * * Archimulator is free software: you can redistribute it and/or modify * it under the term...
Remove unused helper thread prefetch performance indicators stuff in IntervalHelper.
src/main/java/archimulator/sim/uncore/cache/Interval/IntervalHelper.java
Remove unused helper thread prefetch performance indicators stuff in IntervalHelper.
<ide><path>rc/main/java/archimulator/sim/uncore/cache/Interval/IntervalHelper.java <ide> <ide> private long numUglyHelperThreadL2Requests; <ide> <del> private double helperThreadL2RequestAccuracy; <del> private double helperThreadL2RequestRedundancy; <del> private double helperThreadL2Req...
Java
apache-2.0
728a52ec86da6f87b5fefbdf85b893008d171342
0
tr3vr/jena,CesarPantoja/jena,atsolakid/jena,kamir/jena,samaitra/jena,jianglili007/jena,kidaa/jena,jianglili007/jena,CesarPantoja/jena,apache/jena,atsolakid/jena,apache/jena,CesarPantoja/jena,kamir/jena,jianglili007/jena,atsolakid/jena,tr3vr/jena,samaitra/jena,tr3vr/jena,jianglili007/jena,samaitra/jena,CesarPantoja/jena...
/* * 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 ...
jena-arq/src/main/java/com/hp/hpl/jena/sparql/syntax/ElementService.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 ...
Remove unnecessary method. git-svn-id: bc509ec38c1227b3e85ea1246fda136342965d36@1459506 13f79535-47bb-0310-9956-ffa450edef68
jena-arq/src/main/java/com/hp/hpl/jena/sparql/syntax/ElementService.java
Remove unnecessary method.
<ide><path>ena-arq/src/main/java/com/hp/hpl/jena/sparql/syntax/ElementService.java <ide> <ide> public Element getElement() { return element ; } <ide> public Node getServiceNode() { return serviceNode ; } <del> public String getServiceURI() { return serviceNode.getURI(); } <ide> public boolean getSi...
Java
apache-2.0
091538752b3b6b177de538ec5fbe4cb928f7b195
0
m2049r/xmrwallet,m2049r/xmrwallet,m2049r/xmrwallet
/* * Copyright (c) 2017 m2049r * * 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 wr...
app/src/main/java/com/m2049r/xmrwallet/LoginFragment.java
/* * Copyright (c) 2017 m2049r * * 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 wr...
add our stagenet server to defaults (#321)
app/src/main/java/com/m2049r/xmrwallet/LoginFragment.java
add our stagenet server to defaults (#321)
<ide><path>pp/src/main/java/com/m2049r/xmrwallet/LoginFragment.java <ide> "node.moneroworld.com:18089;node.xmrbackb.one;node.xmr.be"; <ide> <ide> private static final String PREF_DAEMONLIST_STAGENET = <del> "stagenet.xmr-tw.org"; <add> "stagenet.monerujo.io;stagenet.xmr-tw.org"; <...
JavaScript
mit
b2cd42ea88f960ddad0957d664a5eca8a7a16869
0
auth0/auth0-sandbox-ext
var Boom = require('boom'); var Bluebird = require('bluebird'); var Cron = require('cron-parser'); var Express = require('express'); var Jwt = require('jsonwebtoken'); var Webtask = require('webtask-tools'); var _ = require('lodash'); var app = Express(); var router = Express.Router(); var mongo; // Check for require...
webtasks/cron_backend_mongodb.js
var Boom = require('boom'); var Bluebird = require('bluebird'); var Cron = require('cron-parser'); var Express = require('express'); var Jwt = require('jsonwebtoken'); var Webtask = require('webtask-tools'); var _ = require('lodash'); var app = Express(); var router = Express.Router(); var mongo; // Check for require...
Minor fixes to cron mongodb backend
webtasks/cron_backend_mongodb.js
Minor fixes to cron mongodb backend
<ide><path>ebtasks/cron_backend_mongodb.js <ide> <ide> Bluebird.promisify(jobs.findOneAndUpdate, jobs)(query, updates, { <ide> returnOriginal: false, <del> upsert: true, <del> }) <del> .catch(function (err) { <del> throw Boom.wrap(err, 503, 'Error updatin...
Java
agpl-3.0
1b0fc6b2cfb79a8b41f93dce993df2aa42566d7c
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
d99a768a-2e61-11e5-9284-b827eb9e62be
hello.java
d9950de4-2e61-11e5-9284-b827eb9e62be
d99a768a-2e61-11e5-9284-b827eb9e62be
hello.java
d99a768a-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>d9950de4-2e61-11e5-9284-b827eb9e62be <add>d99a768a-2e61-11e5-9284-b827eb9e62be
Java
epl-1.0
6deb35efd6e80722f1e66c411930b8add2aa4fd8
0
debrief/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.debrief.satc.core/src/com/planetmayo/debrief/satc/util/GeoSupport.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
Relax the PrecisionModel precision, to avoid "found non-noded intersection" JTS issue
org.mwc.debrief.satc.core/src/com/planetmayo/debrief/satc/util/GeoSupport.java
Relax the PrecisionModel precision, to avoid "found non-noded intersection" JTS issue
<ide><path>rg.mwc.debrief.satc.core/src/com/planetmayo/debrief/satc/util/GeoSupport.java <ide> import com.vividsolutions.jts.geom.LinearRing; <ide> import com.vividsolutions.jts.geom.Point; <ide> import com.vividsolutions.jts.geom.Polygon; <add>import com.vividsolutions.jts.geom.PrecisionModel; <ide> <ide> /** <ide> ...
Java
cc0-1.0
e1235d2688bdfa9b7d57c7fc506d3c0323c5036c
0
C4K3/Misc
package net.simpvp.Misc; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.entity.Player; import org.bukkit.event.Ev...
src/main/java/net/simpvp/Misc/DisableCmd.java
package net.simpvp.Misc; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.entity.Player; import org.bukkit.event.Ev...
Remove stray debug log
src/main/java/net/simpvp/Misc/DisableCmd.java
Remove stray debug log
<ide><path>rc/main/java/net/simpvp/Misc/DisableCmd.java <ide> @EventHandler(priority=EventPriority.HIGHEST,ignoreCancelled=true) <ide> public void onServerCommandEvent(ServerCommandEvent event) { <ide> if (event.getSender() instanceof ConsoleCommandSender) { <del> Misc.instance.getLogger().info("console"); <ide> ...
JavaScript
apache-2.0
c5c35a56e1c749d8a5225bad49ddda8978ebd0dd
0
apigee/apigeelint
/* Copyright 2019-2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
lib/package/plugins/EP002-misplacedElements.js
/* Copyright 2019-2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
Fix for #323
lib/package/plugins/EP002-misplacedElements.js
Fix for #323
<ide><path>ib/package/plugins/EP002-misplacedElements.js <ide> Flow: ['Description', 'Request', 'Response', 'Condition'], <ide> RouteRule: ['Condition', 'TargetEndpoint'], <ide> DefaultFaultRule: ['Step', 'AlwaysEnforce'], <del> HTTPTargetConnection: ['LoadBalancer', 'Properties', 'Path',...
Java
apache-2.0
2b3dcc22185b4d2b20651654b0a998c50de53822
0
b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl
/* * Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
/* * Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
[index] update settings only when they have changed
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
[index] update settings only when they have changed
<ide><path>ommons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java <ide> import java.util.List; <ide> import java.util.Map; <ide> import java.util.Map.Entry; <add>import java.util.Objects; <ide> import java.util.Random; <ide> import java.util.Set; <ide> import java.util.regex.Pattern; ...
JavaScript
mit
09a296fc0ecd928381f594991c3f237ec5a56b06
0
bolinfest/atom,bolinfest/atom,bsmr-x-script/atom,Mokolea/atom,sotayamashita/atom,sotayamashita/atom,Ingramz/atom,atom/atom,Arcanemagus/atom,Ingramz/atom,stinsonga/atom,CraZySacX/atom,ardeshirj/atom,AlexxNica/atom,Arcanemagus/atom,AdrianVovk/substance-ide,bolinfest/atom,FIT-CSE2410-A-Bombs/atom,bsmr-x-script/atom,AlexxN...
/** @babel */ import TextBuffer, {Point, Range} from 'text-buffer' import {File, Directory} from 'pathwatcher' import {Emitter, Disposable, CompositeDisposable} from 'event-kit' import Grim from 'grim' import dedent from 'dedent' import BufferedNodeProcess from '../src/buffered-node-process' import BufferedProcess fro...
exports/atom.js
/** @babel */ import TextBuffer, {Point, Range} from 'text-buffer' import {File, Directory} from 'pathwatcher' import {Emitter, Disposable, CompositeDisposable} from 'event-kit' import Grim from 'grim' import dedent from 'dedent' import BufferedNodeProcess from '../src/buffered-node-process' import BufferedProcess fro...
Detect headless environment using process.type Signed-off-by: Nathan Sobo <2e8aa918660411855c6d44d5bb2da677aa033255@github.com>
exports/atom.js
Detect headless environment using process.type
<ide><path>xports/atom.js <ide> <ide> // The following classes can't be used from a Task handler and should therefore <ide> // only be exported when not running as a child node process <del>if (!process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE) { <add>if (process.type === 'renderer') { <ide> atomExport.Task = require('.....
Java
apache-2.0
42a4805d93c8ca9bfbc80e58793706c92981b380
0
abhinavmishra14/alfresco-sdk,abhinavmishra14/alfresco-sdk,Alfresco/alfresco-sdk,abhinavmishra14/alfresco-sdk,Alfresco/alfresco-sdk,abhinavmishra14/alfresco-sdk,Alfresco/alfresco-sdk,Alfresco/alfresco-sdk
/** * Copyright (C) 2017 Alfresco Software Limited. * <p/> * This file is part of the Alfresco SDK project. * <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.a...
modules/alfresco-rad/src/main/java/org/alfresco/rad/test/AlfrescoTestRunner.java
/** * Copyright (C) 2017 Alfresco Software Limited. * <p/> * This file is part of the Alfresco SDK project. * <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.a...
Look for custom java system property for alfresco location Modify the Alfresco RAD module to check for the java system property acs.endpoint.path as an alternative for the default location of alfresco which is http://localhost:8080/alfresco. This is useful to avoid connection refuse when starting ACS 6 as a container...
modules/alfresco-rad/src/main/java/org/alfresco/rad/test/AlfrescoTestRunner.java
Look for custom java system property for alfresco location
<ide><path>odules/alfresco-rad/src/main/java/org/alfresco/rad/test/AlfrescoTestRunner.java <ide> <ide> import org.alfresco.rad.SpringContextHolder; <ide> import org.apache.commons.codec.binary.Base64; <add>import org.apache.commons.lang3.StringUtils; <ide> import org.apache.http.HttpResponse; <ide> import org.apache.h...
Java
apache-2.0
589e8d9698a135499c2e0597a96cbfcd77d9deaa
0
phax/ph-commons
/** * Copyright (C) 2014-2017 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
ph-security/src/main/java/com/helger/security/keystore/KeyStoreHelper.java
/** * Copyright (C) 2014-2017 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
Improved logging
ph-security/src/main/java/com/helger/security/keystore/KeyStoreHelper.java
Improved logging
<ide><path>h-security/src/main/java/com/helger/security/keystore/KeyStoreHelper.java <ide> import javax.annotation.concurrent.GuardedBy; <ide> import javax.annotation.concurrent.ThreadSafe; <ide> <add>import org.slf4j.Logger; <add>import org.slf4j.LoggerFactory; <add> <ide> import com.helger.commons.ValueEnforcer; <id...
Java
apache-2.0
6ddafaf40da60d15078fc42d5657e2803861b599
0
googleinterns/step1-2020,googleinterns/step1-2020
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
src/main/java/com/google/step/snippet/servlets/SearchServlet.java
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
catch specific exceptions
src/main/java/com/google/step/snippet/servlets/SearchServlet.java
catch specific exceptions
<ide><path>rc/main/java/com/google/step/snippet/servlets/SearchServlet.java <ide> import java.util.Arrays; <ide> import java.util.List; <ide> import java.util.concurrent.Callable; <add>import java.util.concurrent.CancellationException <add>import java.util.concurrent.ExecutionException <ide> import java.util.concurrent...
Java
apache-2.0
8b4d4d277f17d0b399a7f9ddca37d7339883fda7
0
wmixvideo/nfe,danieldhp/nfe,eldevanjr/nfe
package com.fincatto.documentofiscal.utils; import com.fincatto.documentofiscal.DFConfig; import org.apache.commons.lang3.StringUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import javax.naming.InvalidNameException; import javax.naming.lda...
src/main/java/com/fincatto/documentofiscal/utils/DFAssinaturaDigital.java
package com.fincatto.documentofiscal.utils; import com.fincatto.documentofiscal.DFConfig; import org.apache.commons.lang3.StringUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import javax.naming.InvalidNameException; import javax.naming.lda...
Corrige código que desconsidera o ALIAS escolhido na configuração.
src/main/java/com/fincatto/documentofiscal/utils/DFAssinaturaDigital.java
Corrige código que desconsidera o ALIAS escolhido na configuração.
<ide><path>rc/main/java/com/fincatto/documentofiscal/utils/DFAssinaturaDigital.java <ide> private static final String C14N_TRANSFORM_METHOD = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; <ide> private static final String[] ELEMENTOS_ASSINAVEIS = new String[]{"infEvento", "infCanc", "infNFe", "infInut", "i...
Java
apache-2.0
7ef5c3ddee7e60800dd462986f56f0dce9b6bad4
0
adligo/i_util.adligo.org
package org.adligo.i.util.client; /** * * Note Hash Code and Equals not implemented * on purpose in this class * * it is used in the GWT SystemEventController * class and the HashMap would fail the I_Invoker * lookups if HashCode and Equals were implemened * * @author scott * */ public class Event imple...
src/org/adligo/i/util/client/Event.java
package org.adligo.i.util.client; /** * * Note Hash Code and Equals not implemented * on purpose in this class * * it is used in the GWT SystemEventController * class and the HashMap would fail the I_Invoker * lookups if HashCode and Equals were implemened * * @author scott * */ public class Event imple...
adding event source to clean up some event code
src/org/adligo/i/util/client/Event.java
adding event source to clean up some event code
<ide><path>rc/org/adligo/i/util/client/Event.java <ide> * <ide> */ <ide> public class Event implements I_Disposable { <del> <add> /** <add> * this represents the GUI (view) component that <add> * created the event <add> */ <add> private Object source = null; <ide> private Throwable exception = null; <ide> priva...
Java
mit
43b2c43177e6fa021c31a65525d879698a4a60ce
0
Nunnery/MythicDrops
package net.nunnerycode.bukkit.mythicdrops.commands; import net.nunnerycode.bukkit.mythicdrops.MythicDrops; import net.nunnerycode.bukkit.mythicdrops.api.items.CustomItem; import net.nunnerycode.bukkit.mythicdrops.api.items.ItemGenerationReason; import net.nunnerycode.bukkit.mythicdrops.api.tiers.Tier; import net.nunn...
src/main/java/net/nunnerycode/bukkit/mythicdrops/commands/MythicDropsCommand.java
package net.nunnerycode.bukkit.mythicdrops.commands; import net.nunnerycode.bukkit.mythicdrops.MythicDrops; import net.nunnerycode.bukkit.mythicdrops.api.items.CustomItem; import net.nunnerycode.bukkit.mythicdrops.api.items.ItemGenerationReason; import net.nunnerycode.bukkit.mythicdrops.api.tiers.Tier; import net.nunn...
build for Faceguy to do test with
src/main/java/net/nunnerycode/bukkit/mythicdrops/commands/MythicDropsCommand.java
build for Faceguy to do test with
<ide><path>rc/main/java/net/nunnerycode/bukkit/mythicdrops/commands/MythicDropsCommand.java <ide> player.getInventory().addItem(itemStack); <ide> amountGiven++; <ide> } catch (Exception ignored) { <add> ignored.printStackTrace(); <ide> } <ide> } <ide> getPlugin().getLanguageManager().sendMessage(pl...
Java
bsd-3-clause
error: pathspec 'src/main/java/skadistats/clarity/examples/allchat/AllChatProcessor.java' did not match any file(s) known to git
cdeb415f87b988863867d5a06620441377922f1e
1
skadistats/clarity-examples
package skadistats.clarity.examples.allchat; import skadistats.clarity.processor.reader.OnMessage; import skadistats.clarity.processor.runner.Context; import skadistats.clarity.processor.runner.SimpleRunner; import skadistats.clarity.source.MappedFileSource; import skadistats.clarity.source.Source; import skadistats.c...
src/main/java/skadistats/clarity/examples/allchat/AllChatProcessor.java
add readme example processor as real source
src/main/java/skadistats/clarity/examples/allchat/AllChatProcessor.java
add readme example processor as real source
<ide><path>rc/main/java/skadistats/clarity/examples/allchat/AllChatProcessor.java <add>package skadistats.clarity.examples.allchat; <add> <add>import skadistats.clarity.processor.reader.OnMessage; <add>import skadistats.clarity.processor.runner.Context; <add>import skadistats.clarity.processor.runner.SimpleRunner; <add...
JavaScript
apache-2.0
0201655538d44c05e0135e6db92caf060ee166e7
0
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk
/* Copyright 2018, 2019 New Vector Ltd Copyright 2020 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js
/* Copyright 2018, 2019 New Vector Ltd Copyright 2020 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
Fix key backup restore with SSSS The room / session ID params come after the backupInfo for restoring from SSSS so the options object was being passed into the wrong param. Roll on TypeScript. This meant restoring backups worked fine when the key was cached but failed when it wasn't. Regressed in https://github.com/...
src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js
Fix key backup restore with SSSS
<ide><path>rc/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js <ide> // `accessSecretStorage` may prompt for storage access as needed. <ide> const recoverInfo = await accessSecretStorage(async () => { <ide> return MatrixClientPeg.get().restoreKeyBackupWithSecretStorag...
Java
apache-2.0
52150847151e67129c4ae282d29ab2c770c38dd8
0
DBCG/cql_engine,DBCG/cql_engine
package org.opencds.cqf.cql.elm.execution; import org.opencds.cqf.cql.data.DataProvider; import org.opencds.cqf.cql.execution.Context; import org.opencds.cqf.cql.runtime.Code; import org.opencds.cqf.cql.runtime.Concept; import org.opencds.cqf.cql.runtime.Interval; import org.cqframework.cql.elm.execution.ValueSetRef; ...
cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/RetrieveEvaluator.java
package org.opencds.cqf.cql.elm.execution; import org.opencds.cqf.cql.data.DataProvider; import org.opencds.cqf.cql.execution.Context; import org.opencds.cqf.cql.runtime.Code; import org.opencds.cqf.cql.runtime.Concept; import org.opencds.cqf.cql.runtime.Interval; import org.cqframework.cql.elm.execution.ValueSetRef; ...
Removed unneeded imports
cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/RetrieveEvaluator.java
Removed unneeded imports
<ide><path>ql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/RetrieveEvaluator.java <ide> import org.cqframework.cql.elm.execution.ValueSetRef; <ide> import org.cqframework.cql.elm.execution.ValueSetDef; <ide> <del>import java.lang.reflect.Method; <add> <ide> import java.util.ArrayList; <ide> import java.util....
Java
apache-2.0
2e12e8cbcdfc127c3936936b82e8e0b61ec1c944
0
whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent
package org.whitesource.agent.dependency.resolver.python; import org.apache.commons.lang.StringUtils; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.whitesource.agent.api.model.AgentProjectInfo; import org.whitesource.agent.api.model.Dependenc...
src/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyCollector.java
package org.whitesource.agent.dependency.resolver.python; import org.apache.commons.lang.StringUtils; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.whitesource.agent.api.model.AgentProjectInfo; import org.whitesource.agent.api.model.Dependenc...
WSE-502 - fix linux problem
src/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyCollector.java
WSE-502 - fix linux problem
<ide><path>rc/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyCollector.java <ide> import org.whitesource.agent.utils.CommandLineProcess; <ide> import org.whitesource.agent.utils.FilesUtils; <ide> <del>import java.io.BufferedReader; <del>import java.io.File; <del>import java.io.FileReader; <...
Java
apache-2.0
8839b7367c17483b5f69e1f8b2c7d25b363f0d95
0
realityforge/replicant,realityforge/replicant
package replicant; import java.lang.reflect.Field; import javax.annotation.Nonnull; import org.realityforge.anodoc.TestOnly; /** * Utility class for interacting with Replicant config settings in tests. */ @SuppressWarnings( "WeakerAccess" ) @TestOnly @GwtIncompatible public final class ReplicantTestUtil { private...
client/src/main/java/replicant/ReplicantTestUtil.java
package replicant; import java.lang.reflect.Field; import javax.annotation.Nonnull; import org.realityforge.anodoc.TestOnly; /** * Utility class for interacting with Replicant config settings in tests. */ @SuppressWarnings( "WeakerAccess" ) @TestOnly @GwtIncompatible public final class ReplicantTestUtil { private...
Make sure tests reset "compile time" settings
client/src/main/java/replicant/ReplicantTestUtil.java
Make sure tests reset "compile time" settings
<ide><path>lient/src/main/java/replicant/ReplicantTestUtil.java <ide> if ( productionMode ) <ide> { <ide> noRecordRequestKey(); <add> noValidateRepositoryOnLoad(); <add> noRequestDebugOutputEnabled(); <add> noSubscriptionsDebugOutputEnabled(); <ide> noCheckInvariants(); <ide> no...
Java
apache-2.0
df6ad406ed5cfb8be316ded5c16a5e143ca6f567
0
daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase,daidong/DominoHBase
/** * * 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...
hbase-examples/src/main/java/org/apache/hadoop/hbase/mapreduce/KMeans.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...
KMeans
hbase-examples/src/main/java/org/apache/hadoop/hbase/mapreduce/KMeans.java
KMeans
<ide><path>base-examples/src/main/java/org/apache/hadoop/hbase/mapreduce/KMeans.java <ide> import org.apache.hadoop.mapreduce.Job; <ide> <ide> /** <del>* There are two tables in WordCount MapReduce: 'items', 'cluster'. <add>* There are two tables in WordCount MapReduce: 'items', 'central'. <ide> * 'items' contains 've...
Java
apache-2.0
6168994ad635fd25a6345d99c452deb5a1c79b72
0
oplinkoms/onos,opennetworkinglab/onos,gkatsikas/onos,osinstom/onos,oplinkoms/onos,opennetworkinglab/onos,kuujo/onos,opennetworkinglab/onos,kuujo/onos,kuujo/onos,osinstom/onos,kuujo/onos,kuujo/onos,osinstom/onos,kuujo/onos,opennetworkinglab/onos,kuujo/onos,gkatsikas/onos,oplinkoms/onos,gkatsikas/onos,oplinkoms/onos,opli...
/* * Copyright 2017-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
apps/p4-tutorial/icmpdropper/src/main/java/org/onosproject/p4tutorial/icmpdropper/IcmpDropper.java
/* * Copyright 2017-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
fix 'unable to translate flow rule' in p4-tutorial icmpdropper Change-Id: I6dbcc19f33d0db56cfce1d81c992e5592e82cf8a
apps/p4-tutorial/icmpdropper/src/main/java/org/onosproject/p4tutorial/icmpdropper/IcmpDropper.java
fix 'unable to translate flow rule' in p4-tutorial icmpdropper
<ide><path>pps/p4-tutorial/icmpdropper/src/main/java/org/onosproject/p4tutorial/icmpdropper/IcmpDropper.java <ide> } <ide> <ide> private void installDropRule(DeviceId deviceId) { <del> PiMatchFieldId ipv4ProtoFieldId = PiMatchFieldId.of("ipv4.protocol"); <add> PiMatchFieldId ipv4ProtoFieldId = Pi...
Java
apache-2.0
7240d6199382f17d24e8eec10db5864eae061081
0
billchen198318/bamboobsc,billchen198318/bamboobsc
/* * Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien * * 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 * * ...
gsbsc-standard/src/com/netsteadfast/greenstep/bsc/service/logic/impl/EmployeeLogicServiceImpl.java
/* * Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien * * 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 * * ...
Bug fix, create new employee no create Hierarchy data.
gsbsc-standard/src/com/netsteadfast/greenstep/bsc/service/logic/impl/EmployeeLogicServiceImpl.java
Bug fix, create new employee no create Hierarchy data.
<ide><path>sbsc-standard/src/com/netsteadfast/greenstep/bsc/service/logic/impl/EmployeeLogicServiceImpl.java <ide> throw new ServiceException( mResult.getSystemMessage().getValue() ); <ide> } <ide> DefaultResult<EmployeeVO> result = this.getEmployeeService().saveObject(employee); <add> employee = result.getVa...
Java
bsd-3-clause
c89333e883e639c909dee78dd866cbda078be5c9
0
APNIC-net/whowas-service,APNIC-net/whowas-service,APNIC-net/whowas-service
package net.apnic.whowas.rdap.config; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import net.apnic.whowas.rdap.controller.RDAPResponseMaker; import net.apnic.whowas.rdap.Link; import net.apnic....
src/main/java/net/apnic/whowas/rdap/config/RDAPConfiguration.java
package net.apnic.whowas.rdap.config; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import net.apnic.whowas.rdap.controller.RDAPResponseMaker; import net.apnic.whowas.rdap.Link; import net.apnic....
Fix for truncated response wording. Fixes working used for search truncated response.
src/main/java/net/apnic/whowas/rdap/config/RDAPConfiguration.java
Fix for truncated response wording.
<ide><path>rc/main/java/net/apnic/whowas/rdap/config/RDAPConfiguration.java <ide> static <ide> { <ide> TRUNCATED_NOTICE = new Notice( <del> "Search Policy", <del> "result set truncated due to limits", <del> Arrays.asList("Search results limited"), null); <add> ...
Java
mit
error: pathspec 'library/src/main/java/com/qiniu/android/http/IReport.java' did not match any file(s) known to git
f85c39fda098f3b1db2b8c9a881f0fdd3a1aafec
1
CtJason/android-sdk,qinxd1988/android-sdk,sxci/android-sdk,java02014/android-sdk,Haoxiqiang/android-sdk,fanxu123/qiniu-sdk,qiniu/android-sdk,jemygraw/android-sdk,itwang/android-sdk,b2b2244424/android-sdk,hgkmail/android-sdk
package com.qiniu.android.http; import org.apache.http.Header; public interface IReport { Header[] appendStatHeaders(Header[] headers); void updateErrorInfo(ResponseInfo info); void updateSpeedInfo(ResponseInfo info); }
library/src/main/java/com/qiniu/android/http/IReport.java
add report interface
library/src/main/java/com/qiniu/android/http/IReport.java
add report interface
<ide><path>ibrary/src/main/java/com/qiniu/android/http/IReport.java <add>package com.qiniu.android.http; <add> <add>import org.apache.http.Header; <add> <add>public interface IReport { <add> Header[] appendStatHeaders(Header[] headers); <add> <add> void updateErrorInfo(ResponseInfo info); <add> <add> void upda...
Java
apache-2.0
d39325260d19dd274d33ec51b239c230803b7cb0
0
vam-google/google-cloud-java,vam-google/google-cloud-java,vam-google/google-cloud-java,vam-google/google-cloud-java,vam-google/google-cloud-java,vam-google/google-cloud-java
/* * Copyright 2015 Google LLC * * 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...
google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java
/* * Copyright 2015 Google LLC * * 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...
Add port to storage upload url (#3324)
google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java
Add port to storage upload url (#3324)
<ide><path>oogle-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java <ide> GenericUrl url = req.buildHttpRequest().getUrl(); <ide> String scheme = url.getScheme(); <ide> String host = url.getHost(); <add> int port = url.getPort(); <add> port =...
Java
apache-2.0
8a39361937c4bb9f31a5faa612c98371cbc05bc5
0
donNewtonAlpha/onos,oplinkoms/onos,oplinkoms/onos,y-higuchi/onos,y-higuchi/onos,sdnwiselab/onos,opennetworkinglab/onos,maheshraju-Huawei/actn,VinodKumarS-Huawei/ietf96yang,mengmoya/onos,y-higuchi/onos,sdnwiselab/onos,opennetworkinglab/onos,osinstom/onos,oplinkoms/onos,maheshraju-Huawei/actn,LorenzReinhart/ONOSnew,Vinod...
protocols/openflow/drivers/src/main/java/org/onosproject/openflow/drivers/OFSwitchImplSpringOpenTTPDellOSR.java
/* * Copyright 2015-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Removed orphaned Java file that is no longer built or used Change-Id: Ib9bfbd7666233f1debfc3673ca568b7ca55fe159
protocols/openflow/drivers/src/main/java/org/onosproject/openflow/drivers/OFSwitchImplSpringOpenTTPDellOSR.java
Removed orphaned Java file that is no longer built or used
<ide><path>rotocols/openflow/drivers/src/main/java/org/onosproject/openflow/drivers/OFSwitchImplSpringOpenTTPDellOSR.java <del>/* <del> * Copyright 2015-present Open Networking Laboratory <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in complian...
Java
apache-2.0
53dc8b64d533adf245ee653aff78675dce9f6790
0
xdegenne/alien4cloud,PierreLemordant/alien4cloud,alien4cloud/alien4cloud,san-tak/alien4cloud,xdegenne/alien4cloud,OresteVisari/alien4cloud,loicalbertin/alien4cloud,OresteVisari/alien4cloud,loicalbertin/alien4cloud,alien4cloud/alien4cloud,xdegenne/alien4cloud,san-tak/alien4cloud,PierreLemordant/alien4cloud,alien4cloud/a...
package alien4cloud.model.cloud; import lombok.AllArgsConstructor; @AllArgsConstructor public enum IaaSType { AZURE("azure"), OPENSTACK("openstack"), VMWARE("vmware"), AMAZON("amazon"), VIRTUALBOX("virtualbox"), OTHER("other"); private String name; @Override public String toString() { return...
alien4cloud-core/src/main/java/alien4cloud/model/cloud/IaaSType.java
package alien4cloud.model.cloud; public enum IaaSType { AZURE, OPENSTACK, VMWARE, AMAZON, VIRTUALBOX, OTHER }
ALIEN-538 : As a USER I want to be able to use Cloudify 3 as a cloud deployer. Make IaaSType toString more friendly
alien4cloud-core/src/main/java/alien4cloud/model/cloud/IaaSType.java
ALIEN-538 : As a USER I want to be able to use Cloudify 3 as a cloud deployer. Make IaaSType toString more friendly
<ide><path>lien4cloud-core/src/main/java/alien4cloud/model/cloud/IaaSType.java <ide> package alien4cloud.model.cloud; <ide> <add>import lombok.AllArgsConstructor; <add> <add>@AllArgsConstructor <ide> public enum IaaSType { <del> AZURE, OPENSTACK, VMWARE, AMAZON, VIRTUALBOX, OTHER <add> AZURE("azure"), OPENSTACK(...
Java
apache-2.0
9bf1237f0da32f205c3158442dda4c56d2ab63e6
0
klehmann/domino-jna
package com.mindoo.domino.jna.test; import java.util.EnumSet; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; import com.mindoo.domino.jna.NotesCollection; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesItem; import com.mindoo.domino.jna....
domino-jna/src/test/java/com/mindoo/domino/jna/test/TestJava8Features.java
package com.mindoo.domino.jna.test; import java.util.EnumSet; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; import com.mindoo.domino.jna.NotesCollection; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesItem; import com.mindoo.domino.jna....
Added stop call to new loop syntax
domino-jna/src/test/java/com/mindoo/domino/jna/test/TestJava8Features.java
Added stop call to new loop syntax
<ide><path>omino-jna/src/test/java/com/mindoo/domino/jna/test/TestJava8Features.java <ide> public Action itemFound(NotesItem item) { <ide> System.out.println("#"+idx.getAndIncrement()+"\tItem name: "+item.getName()); <ide> <add>// return Action.Stop; <add> <ide> return Action.Continue; <ide...
Java
apache-2.0
58d60d7a5773ed2dabfb251b7e271f84f449ebe7
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/org/springframework/aop/scope/ScopedProxyUtils.java
/* * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
use source object from target definition for scoped proxy definition git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@13898 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/aop/scope/ScopedProxyUtils.java
use source object from target definition for scoped proxy definition
<ide><path>rc/org/springframework/aop/scope/ScopedProxyUtils.java <ide> * @author Mark Fisher <ide> * @since 2.1 <ide> */ <del>public class ScopedProxyUtils { <add>public abstract class ScopedProxyUtils { <ide> <ide> private static final String TARGET_NAME_PREFIX = "scopedTarget."; <ide> <ide> /** <ide> * Gene...
JavaScript
mit
84fd60ce83f90604f71fc967d54232abdfc791b1
0
marko-js/marko,marko-js/marko
'use strict'; var chai = require('chai'); chai.Assertion.includeStack = true; var expect = require('chai').expect; var nodePath = require('path'); var marko = require('../'); var through = require('through'); require('../node-require').install(); describe('marko/api' , function() { before(function() { re...
test/api-tests.js
'use strict'; var chai = require('chai'); chai.Assertion.includeStack = true; var expect = require('chai').expect; var nodePath = require('path'); var marko = require('../'); var through = require('through'); require('../node-require').install(); describe('marko/api' , function() { before(function() { re...
async-writer no longer patches "finish" event for the through module
test/api-tests.js
async-writer no longer patches "finish" event for the through module
<ide><path>est/api-tests.js <ide> <ide> var out = marko.createWriter(stream); <ide> out <del> .on('finish', function() { <add> .on('end', function() { <ide> expect(output).to.equal('Hello John!'); <ide> done(); <ide> }) <ide> });...
Java
agpl-3.0
8706e7b421551ac74f0f697ff68f0a46aaa221ab
0
dgray16/libreplan,dgray16/libreplan,LibrePlan/libreplan,skylow95/libreplan,PaulLuchyn/libreplan,dgray16/libreplan,Marine-22/libre,dgray16/libreplan,dgray16/libreplan,Marine-22/libre,dgray16/libreplan,poum/libreplan,poum/libreplan,Marine-22/libre,dgray16/libreplan,PaulLuchyn/libreplan,Marine-22/libre,PaulLuchyn/librepla...
/* * This file is part of LibrePlan * * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * Copyright (C) 2010-2012 Igalia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms ...
libreplan-business/src/main/java/org/libreplan/business/resources/entities/Worker.java
/* * This file is part of LibrePlan * * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * Copyright (C) 2010-2012 Igalia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms ...
Add assert to check that a limiting or virtual resource is not bound to any user
libreplan-business/src/main/java/org/libreplan/business/resources/entities/Worker.java
Add assert to check that a limiting or virtual resource is not bound to any user
<ide><path>ibreplan-business/src/main/java/org/libreplan/business/resources/entities/Worker.java <ide> return getId().equals(worker.getId()); <ide> } <ide> <add> @AssertTrue(message = "Limiting resources cannot be bound to any user") <add> public boolean checkLimitingResourceNotBoundToUser() { <add> ...
Java
apache-2.0
2794702414c2dad9d46d9edde05879b8f78f2375
0
sdnwiselab/onos,sdnwiselab/onos,kuujo/onos,LorenzReinhart/ONOSnew,gkatsikas/onos,gkatsikas/onos,opennetworkinglab/onos,LorenzReinhart/ONOSnew,sdnwiselab/onos,LorenzReinhart/ONOSnew,opennetworkinglab/onos,gkatsikas/onos,sdnwiselab/onos,osinstom/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,opennetworkinglab/...
/* * Copyright 2016-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
core/store/primitives/src/main/java/org/onosproject/store/primitives/resources/impl/AtomixConsistentTreeMapState.java
/* * Copyright 2016-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
[ONOS-6297] Use Raft log indexes as versions in ConsistentTreeMap to ensure consistency across leaders. Change-Id: I816c34b522b7d2a78bad310708436ece01a94aaa
core/store/primitives/src/main/java/org/onosproject/store/primitives/resources/impl/AtomixConsistentTreeMapState.java
[ONOS-6297] Use Raft log indexes as versions in ConsistentTreeMap to ensure consistency across leaders.
<ide><path>ore/store/primitives/src/main/java/org/onosproject/store/primitives/resources/impl/AtomixConsistentTreeMapState.java <ide> import com.google.common.collect.Maps; <ide> import com.google.common.collect.Sets; <ide> import io.atomix.copycat.server.Commit; <del>import io.atomix.copycat.server.Snapshottable; <ide...
JavaScript
mit
e5e54d02b4ce17eccfa1861b575d0e79e362e92f
0
alexandernst/angular-multi-select,zhangtiny123/angular-multi-select,jtbdevelopment/angular-multi-select,jtbdevelopment/angular-multi-select,alexandernst/angular-multi-select,zhangtiny123/angular-multi-select
describe('Testing directive in single mode', function() { var scope, element, html, timeout; beforeEach(function (){ //load the module module('angular-multi-select'); //set our view html. html = '<div angular-multi-select ' + 'translation="localLang"' + 'hidden-property="hidden" ' + 'input-model="i...
spec/angular-multi-select.spec.js
describe('Testing directive in single mode', function() { var scope, element, html, timeout; beforeEach(function (){ //load the module module('angular-multi-select'); //set our view html. html = '<div angular-multi-select ' + 'hidden-property="hidden" ' + 'input-model="items" ' + 'output-model="x" ...
Fix #26
spec/angular-multi-select.spec.js
Fix #26
<ide><path>pec/angular-multi-select.spec.js <ide> <ide> //set our view html. <ide> html = '<div angular-multi-select ' + <add> 'translation="localLang"' + <ide> 'hidden-property="hidden" ' + <ide> 'input-model="items" ' + <ide> 'output-model="x" ' + <ide> $compile(element)($rootScope); <ide> <ide> ...
Java
agpl-3.0
ee1fc1e059003fd4431093b369176c47b7b45705
0
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
package org.waterforpeople.mapping.app.web; import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.StringWriter; import java.net.URL; import java.text.DateFormat; import java.text.ParseException...
GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java
package org.waterforpeople.mapping.app.web; import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.StringWriter; import java.net.URL; import java.text.DateFormat; import java.text.ParseException...
loadOGRFeature action
GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java
loadOGRFeature action
<ide><path>AE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java <ide> import org.waterforpeople.mapping.analytics.domain.AccessPointStatusSummary; <ide> import org.waterforpeople.mapping.app.gwt.client.device.DeviceDto; <ide> import org.waterforpeople.mapping.app.gwt.client.survey.QuestionDto; <add>import ...
Java
agpl-3.0
0a43fc2e4878676ce69a394beb3d3936a1438f93
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
4dfe2468-2e62-11e5-9284-b827eb9e62be
hello.java
4df8b6e0-2e62-11e5-9284-b827eb9e62be
4dfe2468-2e62-11e5-9284-b827eb9e62be
hello.java
4dfe2468-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>4df8b6e0-2e62-11e5-9284-b827eb9e62be <add>4dfe2468-2e62-11e5-9284-b827eb9e62be
Java
agpl-3.0
54b33985b8607ddaea9e24a31601ee0796eb3b7a
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
07b23b98-2e62-11e5-9284-b827eb9e62be
hello.java
07acd798-2e62-11e5-9284-b827eb9e62be
07b23b98-2e62-11e5-9284-b827eb9e62be
hello.java
07b23b98-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>07acd798-2e62-11e5-9284-b827eb9e62be <add>07b23b98-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
error: pathspec 'IO/socketBot/src/main/java/ru/matevosyan/client/package-info.java' did not match any file(s) known to git
a5734fb57a56aeb3b9835cde376a7f114f4c9b96
1
VardanMatevosyan/Vardan-Git-Repository,VardanMatevosyan/Vardan-Git-Repository,VardanMatevosyan/Vardan-Git-Repository
/** * Hold Client class. * Created on 14.03.2017. * @since 1.0 * @author Matevosyan Vardan * @version 1.0 */ package ru.matevosyan.client;
IO/socketBot/src/main/java/ru/matevosyan/client/package-info.java
client package info
IO/socketBot/src/main/java/ru/matevosyan/client/package-info.java
client package info
<ide><path>O/socketBot/src/main/java/ru/matevosyan/client/package-info.java <add>/** <add> * Hold Client class. <add> * Created on 14.03.2017. <add> * @since 1.0 <add> * @author Matevosyan Vardan <add> * @version 1.0 <add> */ <add> <add>package ru.matevosyan.client;
Java
unlicense
088b2fa57b69535abf305c4c156536ed4da80144
0
skeeto/ChaosWheel,skeeto/ChaosWheel
/* Copyright (c) 2010 Christopher Wellons <mosquitopsu@gmail.com> * * Permission to use, copy, modify, and distribute this software for * any purpose with or without fee is hereby granted, provided that * the above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "...
src/com/nullprogram/wheel/ChaosWheel.java
/* Copyright (c) 2010 Christopher Wellons <mosquitopsu@gmail.com> * * Permission to use, copy, modify, and distribute this software for * any purpose with or without fee is hereby granted, provided that * the above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "...
Ran the indenter on the code.
src/com/nullprogram/wheel/ChaosWheel.java
Ran the indenter on the code.
<ide><path>rc/com/nullprogram/wheel/ChaosWheel.java <ide> thetadot = thetadotOrig + 1.0 / 6.0 * ddtThetadotTotal * tdot; <ide> for (int i = 0; i < ddtBucketsTotal.size(); i++) { <ide> double val = buckets.get(i) <del> + 1d / 6d * ddtBucketsTotal.get(i) * tdot; <add> ...
Java
apache-2.0
ed4dfba26be2074d374ad210098dc9901d4276dd
0
jdanekrh/jms-reproducers,jdanekrh/jms-reproducers
/* * 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 ...
src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSMessageConsumerTest.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 ...
fixup for JMSMessageConsumerTest the upstream suite starts up the connection, I need to do it myself terrible situation writing tests that are supposed to fail, one never knows when they really are supposed to, and when it is fail fail... The extra sleep is for OpenWire, it may miss a message in browsing
src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSMessageConsumerTest.java
fixup for JMSMessageConsumerTest
<ide><path>rc/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSMessageConsumerTest.java <ide> @Test(timeout = 30000) <ide> public void testSelectorsWithJMSPriority() throws Exception { <ide> Connection connection = createConnection(); <add> connection.start(); <ide> <ide> try { <i...
Java
bsd-3-clause
26e7a6fcb9bfcd9ac467480e55c4d6419381ced9
0
FlanFlanagan/cyclist2,cyclus/cyclist2
package edu.utexas.cycic; import java.io.FileReader; import java.io.Reader; import java.io.StringReader; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.ut...
cyclist/src/edu/utexas/cycic/Cycic.java
package edu.utexas.cycic; import java.io.FileReader; import java.io.Reader; import java.io.StringReader; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.ut...
Kludge to choose DSARR as default, if present
cyclist/src/edu/utexas/cycic/Cycic.java
Kludge to choose DSARR as default, if present
<ide><path>yclist/src/edu/utexas/cycic/Cycic.java <ide> skinMenu.getItems().add(defSkin); <ide> for(int i = 0; i < DataArrays.visualizationSkins.size(); i++){ <ide> final String skinName = DataArrays.visualizationSkins.get(i).name; <add> if (skinName.equals("DSARR")) { <add> ...
Java
apache-2.0
188be074e081215d1c22c50cef80dd0b8a197e60
0
ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp
/* 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 not use ...
applications/order/src/org/ofbiz/order/order/OrderLookupServices.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 not use ...
NoRef/OFBIZ patch: findOrders: fix userLoginId being lost from paramList, better to keep user input, less confusing git-svn-id: 6c0edb9fdd085beb7f3b78cf385b6ddede550bd9@11948 55bbc10b-e964-4c8f-a844-a62c6f7d3c80
applications/order/src/org/ofbiz/order/order/OrderLookupServices.java
NoRef/OFBIZ patch: findOrders: fix userLoginId being lost from paramList, better to keep user input, less confusing
<ide><path>pplications/order/src/org/ofbiz/order/order/OrderLookupServices.java <ide> String partyId = (String) context.get("partyId"); <ide> List<String> roleTypeList = UtilGenerics.checkList(context.get("roleTypeId")); <ide> <add> // SCIPIO: must track where partyId came from <add> bool...
JavaScript
apache-2.0
985124bbb323a3850ede08b2d4d2c14c222d4daf
0
mbraak/jqTree,hbaptiste/jqTree,mbraak/jqTree,bolster/jqTree,hbaptiste/jqTree,mbraak/jqTree,bolster/jqTree,bolster/jqTree,hbaptiste/jqTree
$(function() { QUnit.config.testTimeout = 5000; /* example data: node1 ---child1 ---child2 -node2 ---child3 */ var example_data = [ { label: 'node1', id: 123, // extra data children: [ { label: 'child1' }, { label: 'child2' } ] }, { label:...
test/test.js
$(function() { QUnit.config.testTimeout = 5000; /* example data: node1 ---child1 ---child2 -node2 ---child3 */ var example_data = [ { label: 'node1', id: 123, // extra data children: [ { label: 'child1' }, { label: 'child2' } ] }, { label:...
Extended 'openNode and closeNode' test
test/test.js
Extended 'openNode and closeNode' test
<ide><path>est/test.js <ide> $tree.tree('closeNode', node2, false); <ide> equal(node2.is_open, false); <ide> equal(isNodeClosed($(node2.element)), true); <add> <add> // 3. open child1 <add> var node1 = $tree.tree('getNodeByName', 'node1'); <add> var child1 = $tree.tree('getNodeByName', 'child1'); <...
Java
agpl-3.0
1458162d266bee0b681faddfca7eb7a76bf35765
0
Marine-22/libre,PaulLuchyn/libreplan,dgray16/libreplan,LibrePlan/libreplan,poum/libreplan,skylow95/libreplan,dgray16/libreplan,LibrePlan/libreplan,LibrePlan/libreplan,skylow95/libreplan,poum/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,skylow95/libreplan,poum/libreplan,poum/libreplan,dgray16...
/* * This file is part of NavalPlan * * Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as publis...
ganttzk/src/main/java/org/zkoss/ganttz/data/GanttDiagramGraph.java
/* * This file is part of NavalPlan * * Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as publis...
ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #542] Fix bug. The parent recalculation was updating the end date. This caused that later thought that the end date was not modified and the grandparent tasks was not recalculated.
ganttzk/src/main/java/org/zkoss/ganttz/data/GanttDiagramGraph.java
ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #542] Fix bug.
<ide><path>anttzk/src/main/java/org/zkoss/ganttz/data/GanttDiagramGraph.java <ide> Set<D> incoming = graph.incomingEdgesOf(task); <ide> Date previousEndDate = adapter.getEndDateFor(task); <ide> boolean startDateChanged = enforceStartDate(task, incoming); <del> boolean endD...
JavaScript
mit
88e813657c359e6f9713e1e7149d0a99693b1737
0
loggingroads/onboarding,loggingroads/onboarding,loggingroads/onboarding,loggingroads/onboarding
import staticReducer from './static'; import campaingsReducer from './campaingsReducer'; <<<<<<< HEAD import eventsReducer from './eventsReducer'; import tasksReducer from './tasksReducer'; export default { campaingsReducer, eventsReducer, tasksReducer, staticReducer };
app/assets/javascripts/reducers/index.js
import staticReducer from './static'; import campaingsReducer from './campaingsReducer'; import eventsReducer from './eventsReducer'; import tasksReducer from './tasksReducer'; export default { campaingsReducer, eventsReducer, tasksReducer, staticReducer };
fix conlfict with develop
app/assets/javascripts/reducers/index.js
fix conlfict with develop
<ide><path>pp/assets/javascripts/reducers/index.js <ide> import staticReducer from './static'; <ide> import campaingsReducer from './campaingsReducer'; <add><<<<<<< HEAD <ide> import eventsReducer from './eventsReducer'; <ide> import tasksReducer from './tasksReducer'; <ide>
Java
apache-2.0
92fe7d5b76bdb233e1ce1e6157de239d839a1541
0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
package uk.ac.ebi.quickgo.common.loader; import uk.ac.ebi.quickgo.common.validator.DbXRefEntity; import java.util.List; import org.junit.Ignore; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasSize; /** *...
common/src/test/java/uk/ac/ebi/quickgo/common/loader/DbXRefLoaderTestIT.java
package uk.ac.ebi.quickgo.common.loader; import uk.ac.ebi.quickgo.common.validator.DbXRefEntity; import java.util.List; import org.junit.Ignore; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasSize; /** *...
Update the expected NO_OF_DB_XREFS now that the file in resources has been updated (to now hold ComplexPortal regex).
common/src/test/java/uk/ac/ebi/quickgo/common/loader/DbXRefLoaderTestIT.java
Update the expected NO_OF_DB_XREFS now that the file in resources has been updated (to now hold ComplexPortal regex).
<ide><path>ommon/src/test/java/uk/ac/ebi/quickgo/common/loader/DbXRefLoaderTestIT.java <ide> public void loadFileSuccessfully(){ <ide> DbXRefLoader dbXRefLoader = new DbXRefLoader(FIND_IT_HERE, CASE_SENSITIVE_MATCHING ); <ide> List<DbXRefEntity> list = dbXRefLoader.load(); <del> assertThat(list, hasSize(119...
Java
mit
3748203b6d21090987b434803685ca9e27a3416c
0
jbosboom/bytecodelib
package edu.mit.streamjit.util.bytecode; import static com.google.common.base.Preconditions.*; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import edu.mit.streamjit.util.bytecode.insts.ArrayLengthInst; import edu.mit.stream...
MethodUnresolver.java
package edu.mit.streamjit.util.bytecode; import static com.google.common.base.Preconditions.*; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import edu.mit.streamjit.util.bytecode.insts.ArrayLengthInst; import edu.mit.stream...
MethodUnresolver: use the immediate constant opcodes
MethodUnresolver.java
MethodUnresolver: use the immediate constant opcodes
<ide><path>ethodUnresolver.java <ide> Object c = ((Constant<?>)v).getConstant(); <ide> if (c == null) <ide> insns.add(new InsnNode(Opcodes.ACONST_NULL)); <del> else if (c instanceof Boolean) <del> if ((Boolean)c) <del> insns.add(new LdcInsnNode(1)); <del> else <del> insns.add(new LdcInsnNode(0...
JavaScript
apache-2.0
f41b6ab002121983118de8a5b8d8256ed4b6a746
0
einhverfr/binary-static,brodiecapel16/binary-static,animeshsaxena/binary-static,borisyankov/binary-static,animeshsaxena/binary-static,borisyankov/binary-static,junbon/binary-static-www2,borisyankov/binary-static,einhverfr/binary-static,einhverfr/binary-static,brodiecapel16/binary-static,einhverfr/binary-static,brodieca...
var TickDisplay = function() { return { reset: function() { var $self = this; $self.contract_barrier = null; $self.applicable_ticks = []; $self.chart.destroy(); }, initialize: function(data) { var $self = this; // setti...
src/javascript/pages/bet/tick_trade.js
var TickDisplay = function() { return { reset: function() { var $self = this; $self.contract_barrier = null; $self.applicable_ticks = []; $self.chart.destroy(); }, initialize: function(data) { var $self = this; // setti...
exit_tick_index redefined?
src/javascript/pages/bet/tick_trade.js
exit_tick_index redefined?
<ide><path>rc/javascript/pages/bet/tick_trade.js <ide> set_x_indicators: function() { <ide> var $self = this; <ide> <add> var exit_tick_index = $self.number_of_ticks - 1; <ide> if ($self.contract_type.match('ASIAN')) { <ide> $self.ticks_needed = $self.number_o...
Java
apache-2.0
3545df15f7ea5973911a2b413964e3e6c8c5c607
0
aika-algorithm/aika,aika-algorithm/aika
/* * 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 ...
src/main/java/org/aika/lattice/InputNode.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 ...
fixed test case
src/main/java/org/aika/lattice/InputNode.java
fixed test case
<ide><path>rc/main/java/org/aika/lattice/InputNode.java <ide> null <ide> ); <ide> <del> s.forEach(secondAct -> { <add> s.filter(secondAct -> !secondAct.outputs.isEmpty()) <add> .forEach(secondAct -> { <ide> InterprNode o = InterprNode.add(doc, tr...
Java
apache-2.0
a1a6e0afee36152152b2c2e0d47afd823124a13e
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
package io.quarkus.rest.runtime.handlers; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core....
extensions/quarkus-rest/runtime/src/main/java/io/quarkus/rest/runtime/handlers/MediaTypeMapper.java
package io.quarkus.rest.runtime.handlers; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.HttpHeaders; import java...
Get of a lot of ugly MediaTypeMapper code Utilize the recently enhanced ServerMediaType#negotiate which provides the same functionality
extensions/quarkus-rest/runtime/src/main/java/io/quarkus/rest/runtime/handlers/MediaTypeMapper.java
Get of a lot of ugly MediaTypeMapper code
<ide><path>xtensions/quarkus-rest/runtime/src/main/java/io/quarkus/rest/runtime/handlers/MediaTypeMapper.java <ide> package io.quarkus.rest.runtime.handlers; <ide> <add>import java.nio.charset.StandardCharsets; <ide> import java.util.ArrayList; <ide> import java.util.Collections; <del>import java.util.Comparator; <ide...
Java
apache-2.0
b26b6502296b43e5760d3f9be0012ed9b265f089
0
galan/packtag,galan/packtag,galan/packtag
/** * Project pack:tag >> http://packtag.sf.net * * This software is published under the terms of the LGPL * License version 2.1, a copy of which has been included with this * distribution in the 'lgpl.txt' file. * * Creation date: 13.11.2008 - 23:49:49 * Last author: $Author: danielgalan $ * Last modified:...
packtag-core/src/main/java/net/sf/packtag/cache/provider/AbstractCacheProvider.java
/** * Project pack:tag >> http://packtag.sf.net * * This software is published under the terms of the LGPL * License version 2.1, a copy of which has been included with this * distribution in the 'lgpl.txt' file. * * Creation date: 13.11.2008 - 23:49:49 * Last author: $Author: danielgalan $ * Last modified:...
making clearDependingCombinedResources synchronized to line up with historical Rally changes
packtag-core/src/main/java/net/sf/packtag/cache/provider/AbstractCacheProvider.java
making clearDependingCombinedResources synchronized to line up with historical Rally changes
<ide><path>acktag-core/src/main/java/net/sf/packtag/cache/provider/AbstractCacheProvider.java <ide> } <ide> <ide> <del> protected void clearDependingCombinedResources(final Resource resource) { <add> protected synchronized void clearDependingCombinedResources(final Resource resource) { <ide> String absolutePath = ...
Java
apache-2.0
cde2d1659416736ee291f71ed26712528219bc7a
0
renekrie/querqy,shopping24/querqy
/** * */ package querqy.rewrite; import java.util.Collections; import java.util.Set; import querqy.model.ExpandedQuery; import querqy.model.Term; /** * @author René Kriegler, @renekrie * */ public abstract class RewriterFactory { private final String rewriterId; protected RewriterFactory(final String...
querqy-core/src/main/java/querqy/rewrite/RewriterFactory.java
/** * */ package querqy.rewrite; import java.util.Set; import querqy.model.ExpandedQuery; import querqy.model.Term; /** * @author René Kriegler, @renekrie * */ public abstract class RewriterFactory { private final String rewriterId; protected RewriterFactory(final String rewriterId) { this.re...
[#129] make method signature backwards compatible
querqy-core/src/main/java/querqy/rewrite/RewriterFactory.java
[#129] make method signature backwards compatible
<ide><path>uerqy-core/src/main/java/querqy/rewrite/RewriterFactory.java <ide> */ <ide> package querqy.rewrite; <ide> <add>import java.util.Collections; <ide> import java.util.Set; <ide> <ide> import querqy.model.ExpandedQuery; <ide> SearchEngineRequestAdapter searchEn...
Java
apache-2.0
e8b6f48a44f06060869bae6906cf2fd99b0b7522
0
OmniKryptec/OmniKryptec-Engine
package omnikryptec.gameobject.terrain; import omnikryptec.shader.base.Shader; import omnikryptec.shader.base.UniformMatrix; import omnikryptec.shader.base.UniformSampler; /** * * @author Panzer1119 */ public class TerrainShader extends Shader { private static final String SHADER_FOLDER = "/omnikryptec/gameobjec...
src/omnikryptec/gameobject/terrain/TerrainShader.java
package omnikryptec.gameobject.terrain; import omnikryptec.shader.base.Shader; import omnikryptec.shader.base.UniformMatrix; import omnikryptec.shader.base.UniformSampler; /** * * @author Panzer1119 */ public class TerrainShader extends Shader { private static final String SHADER_FOLDER = "/omnikryptec/terrain/"...
hotfix
src/omnikryptec/gameobject/terrain/TerrainShader.java
hotfix
<ide><path>rc/omnikryptec/gameobject/terrain/TerrainShader.java <ide> */ <ide> public class TerrainShader extends Shader { <ide> <del> private static final String SHADER_FOLDER = "/omnikryptec/terrain/"; <add> private static final String SHADER_FOLDER = "/omnikryptec/gameobject/terrain/"; <ide> <ide> /* VertexShade...
JavaScript
mit
d5e8cc6a3e6ec1859b884e64386136e363d444b6
0
georgecheteles/jQuery.isAlive
/* _ __ __ _ | | / /__ _________ ____/ /__ ____ ___ ____ _____ _(_)____ | | /| / / _ \______/ ___/ __ \/ __ / _ \______/ __ `__ \/ __ `/ __ `/ / ___/ | |/ |/ / __/_____/ /__/ /_/ / /_/ / __/_____/ / / / / / /_/ / /_/ / / /__ |...
src/jquery.isAlive.js
/* _ __ __ _ | | / /__ _________ ____/ /__ ____ ___ ____ _____ _(_)____ | | /| / / _ \______/ ___/ __ \/ __ / _ \______/ __ `__ \/ __ `/ __ `/ / ___/ | |/ |/ / __/_____/ /__/ /_/ / /_/ / __/_____/ / / / / / /_/ / /_/ / / /__ |...
Update jquery.isAlive.js
src/jquery.isAlive.js
Update jquery.isAlive.js
<ide><path>rc/jquery.isAlive.js <ide> Licensed under the MIT (https://github.com/georgecheteles/jQuery.isAlive/blob/master/MIT-LICENSE.txt) license. <ide> Please attribute the author if you use it. <ide> Find me at: <del> orbideintuneric@gmail.com <add> orbitdeintuneric@gmail.com <ide> https://github.com/georgechetel...
Java
apache-2.0
c11667b716ebef85c2153cd3f3113f30d91d4b22
0
apache/airavata,gouravshenoy/airavata,apache/airavata,machristie/airavata,machristie/airavata,gouravshenoy/airavata,apache/airavata,machristie/airavata,anujbhan/airavata,anujbhan/airavata,apache/airavata,apache/airavata,gouravshenoy/airavata,gouravshenoy/airavata,anujbhan/airavata,gouravshenoy/airavata,machristie/airav...
/* * * 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...
modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.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...
Create new session if previous connection is closed
modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java
Create new session if previous connection is closed
<ide><path>odules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java <ide> public static Session getSSHSession(AuthenticationInfo authenticationInfo, ServerInfo serverInfo) throws AiravataException { <ide> SSHKeyAuthentication authentication = null; <ide> String key = serverInfo.getUserName() ...
Java
apache-2.0
801fa11ab49ee39b625dfe2859ef9cefda202669
0
gamerson/liferay-blade-cli,gamerson/liferay-blade-cli,gamerson/liferay-blade-cli
/** * Copyright (c) 2000-present Liferay, 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 requ...
cli/src/test/java/com/liferay/blade/cli/command/ServerStartCommandTest.java
/** * Copyright (c) 2000-present Liferay, 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 requ...
use process util method
cli/src/test/java/com/liferay/blade/cli/command/ServerStartCommandTest.java
use process util method
<ide><path>li/src/test/java/com/liferay/blade/cli/command/ServerStartCommandTest.java <ide> import org.junit.rules.TemporaryFolder; <ide> <ide> import org.zeroturnaround.process.PidProcess; <add>import org.zeroturnaround.process.ProcessUtil; <ide> import org.zeroturnaround.process.Processes; <ide> <ide> /** <ide> }...
Java
apache-2.0
f65f4ce97c4e59efeebd1554d3dbc6b8a4a7b6c6
0
avafanasiev/groovy,adjohnson916/groovy-core,aaronzirbes/incubator-groovy,gillius/incubator-groovy,russel/groovy,i55ac/incubator-groovy,apache/incubator-groovy,rlovtangen/groovy-core,russel/groovy,apache/incubator-groovy,sagarsane/groovy-core,avafanasiev/groovy,PascalSchumacher/incubator-groovy,ebourg/incubator-groovy,p...
/* * Copyright 2005 John G. Wilson * * 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 ...
src/main/groovy/util/slurpersupport/GPathResult.java
/* * Copyright 2005 John G. Wilson * * 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 depthFirst() whic returns an iteratore over all the nodes in the tree. The iteration is lsft to right starting with the deepest node. f."**" is equivalent to f.depthfirst() git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@3210 a5544e8c-8a19-0410-ba12-f9af4593a198
src/main/groovy/util/slurpersupport/GPathResult.java
Add depthFirst() whic returns an iteratore over all the nodes in the tree. The iteration is lsft to right starting with the deepest node.
<ide><path>rc/main/groovy/util/slurpersupport/GPathResult.java <ide> import java.util.LinkedList; <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.Stack; <ide> <ide> <ide> /** <ide> if ("..".equals(property)) { <ide> return parent(); <ide> } else if ("*".equals(property)){ ...
Java
apache-2.0
83e1a028e5881e0a47728a64299b0be1b2bdf860
0
diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless
/* * Copyright 2016-2020 DiffPlug * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessExtensionBase.java
/* * Copyright 2016-2020 DiffPlug * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Add the `antlr4` extension to SpotlessExtensionBase.
plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessExtensionBase.java
Add the `antlr4` extension to SpotlessExtensionBase.
<ide><path>lugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessExtensionBase.java <ide> /** Configures the special typescript-specific extension for typescript files. */ <ide> public void typescript(Action<TypescriptExtension> closure) { <ide> format(TypescriptExtension.NAME, TypescriptExtension.class, ...
JavaScript
mit
9ac1547bc938f03947d9a644893242135c2dade8
0
raypulver/jsh,raypulver/jsh,raypulver/jsh
var child_process = require('child_process'), inherits = require('util').inherits, fs = require('fs'), path = require('path'), emitter = require('events').EventEmitter; var history = require('./history')(process.env.JSH_HISTORY || '.jsh_history'), input = require('./input')(), times = require('...
lib/shell.js
var child_process = require('child_process'), inherits = require('util').inherits, fs = require('fs'), path = require('path'), emitter = require('events').EventEmitter; var history = require('./history')(process.env.JSH_HISTORY || '.jsh_history'); var PS1 = 'jsh>> ', buffer = '', cursor = 0, ...
keypress ported to a standalone input module, cursor unbreakable
lib/shell.js
keypress ported to a standalone input module, cursor unbreakable
<ide><path>ib/shell.js <ide> path = require('path'), <ide> emitter = require('events').EventEmitter; <ide> <del>var history = require('./history')(process.env.JSH_HISTORY || '.jsh_history'); <add>var history = require('./history')(process.env.JSH_HISTORY || '.jsh_history'), <add> input = require('./input')(...
Java
bsd-3-clause
509ca8f3e4ce498a9c125fccfc7dabb3f548d4e7
0
wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy
/* * Copyright (c) 2011, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ObjectEqualsNode.java
/* * Copyright (c) 2011, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Check for stackKind
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ObjectEqualsNode.java
Check for stackKind
<ide><path>raal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ObjectEqualsNode.java <ide> // both are virtual without identity: check contents <ide> assert stateX.getVirtualObject().entryCount() == 1 && stateY.getVirtualObject().entryCount() == 1; <ide> assert st...
Java
mit
0129ba03de196425c060ea50ea86af52c1e501f8
0
adbms-benchmark/storage,adbms-benchmark/storage,adbms-benchmark/storage
package benchmark; import java.io.File; import java.io.FileWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import util.BenchmarkUtil; import util.IO; /** * Runs a benchmark, considering all the given ingredients (context,...
src/benchmark/BenchmarkExecutor.java
package benchmark; import java.io.File; import java.io.FileWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import util.BenchmarkUtil; import util.IO; /** * Runs a benchmark, considering all the given ingredients (context,...
generate data
src/benchmark/BenchmarkExecutor.java
generate data
<ide><path>rc/benchmark/BenchmarkExecutor.java <ide> private boolean loadData(PrintWriter pr) throws Exception { <ide> if (benchmarkContext.isLoadData()) { <ide> systemController.restartSystem(); <add> if (benchmarkContext.isGenerateData()) { <add> log.debug("Generating...
Java
lgpl-2.1
e5406af2fd71b2caa47950a6ea1fbce945206bcd
0
luiz158/yougi-javaee7,luiz158/yougi-javaee7,cejug/yougi,luiz158/yougi-javaee7,luiz158/yougi-javaee7,cejug/yougi
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.cejug.knowledge.business; import com.sun.mail.imap.IMAPBodyPart; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; i...
jug-ejb/src/java/org/cejug/knowledge/business/MailingListBsn.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.cejug.knowledge.business; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import ...
Download messages and set those messages to be deleted from the server
jug-ejb/src/java/org/cejug/knowledge/business/MailingListBsn.java
Download messages and set those messages to be deleted from the server
<ide><path>ug-ejb/src/java/org/cejug/knowledge/business/MailingListBsn.java <ide> <ide> package org.cejug.knowledge.business; <ide> <add>import com.sun.mail.imap.IMAPBodyPart; <ide> import java.io.IOException; <ide> import java.io.OutputStream; <ide> import java.util.ArrayList; <ide> import javax.mail.MessagingExcept...
JavaScript
mit
d0e50c572415c3839aebb597f0bb182052a6470f
0
wonknu/abecms,abecms/abecms,wonknu/abecms,wonknu/abecms,AdFabConnect/abejs,abecms/abecms,AdFabConnect/abejs,abecms/abecms,AdFabConnect/abejs
var nodemon = require('nodemon') var clc = require('cli-color') // NODE_ENV=development nodemon --exec npm run babel-app src/server/app.js --kill-others // ROOT=/path/to/my/abesite node src/tasks/nodemon.js nodemon({ script: __dirname + '/../../src/server/app.js', options: { exec: __dirname + '/../../node_mod...
src/tasks/nodemon.js
var nodemon = require('nodemon') var clc = require('cli-color') // NODE_ENV=development nodemon --exec npm run babel-app src/server/app.js --kill-others // ROOT=/path/to/my/abesite node src/tasks/nodemon.js nodemon({ script: __dirname + '/../../src/server/app.js', options: { exec: __dirname + '/../../node_mod...
uncomment docs
src/tasks/nodemon.js
uncomment docs
<ide><path>rc/tasks/nodemon.js <ide> 'NODE_ENV': 'development' <ide> }, <ide> ignore: [ <del> // 'docs/*' <add> 'docs/*' <ide> ], <ide> watch: [ <ide> 'src/cli/*',
Java
agpl-3.0
17599a797ac78e4dfab3aa45c53878f20e6916ea
0
Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele Gobbetti This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either...
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/UpdateFirmwareOperationNew.java
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele Gobbetti This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either...
remove unused imports
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/UpdateFirmwareOperationNew.java
remove unused imports
<ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/UpdateFirmwareOperationNew.java <ide> along with this program. If not, see <http://www.gnu.org/licenses/>. */ <ide> package nodomain.freeyourgadget.gadgetbridge.service.devices.huami.operations; <ide> <del>import and...
JavaScript
agpl-3.0
bffd2a7ea9a9744c1d81e610de1b7dab9e34f1f1
0
Brennon11/cgm-remote-monitor,rachellynnae/cgm-remote-monitor,rdobb/cgm-remote-monitor,aaroecker/cgm-remote-monitor,JosiahNS/cgm-remote-monitor,jerryfuselier/cgm-remote-monitor,yleniadm/cgm-remote-monitor,dshier/cgm-remote-monitor,ryanfire12/cgm-remote-monitor,asidorovich/cgm-remote-monitor,NSDreamsicle/cgm-remote-monit...
'use strict'; var _ = require('lodash'); var levels = require('./levels'); function init ( ) { var settings = { units: 'mg/dL' , timeFormat: '12' , nightMode: false , showRawbg: 'never' , customTitle: 'Nightscout' , theme: 'default' , alarmUrgentHigh: true , alarmUrgentHighMins: [30...
lib/settings.js
'use strict'; var _ = require('lodash'); var levels = require('./levels'); function init ( ) { var settings = { units: 'mg/dL' , timeFormat: '12' , nightMode: false , showRawbg: 'never' , customTitle: 'Nightscout' , theme: 'default' , alarmUrgentHigh: true , alarmUrgentHighMins: [30...
only check if low/high events are enabled for now
lib/settings.js
only check if low/high events are enabled for now
<ide><path>ib/settings.js <ide> function isAlarmEventEnabled (notify) { <ide> var enabled = false; <ide> <del> if (!notify.eventName) { <add> if ('high' !== notify.eventName && 'low' !== notify.eventName) { <ide> enabled = true; <ide> } else if (notify.eventName === 'high' && notify.level === lev...
Java
mit
683ba3bf5beddd2bd136eb943c3a391535206734
0
kuangami/LeetCode,kuangami/LeetCode,kuangami/LeetCode
package ListNode; //2. Add Two Numbers /** * You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. * * You may assume the two numbers do not contain ...
java/002_Add_Two_Numbers.java
package ListNode; //2. Add Two Numbers /** * You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. * * You may assume the two numbers do not contain ...
Update 002_Add_Two_Numbers.java Use another constructor instead of a insertList function. Change the test code.
java/002_Add_Two_Numbers.java
Update 002_Add_Two_Numbers.java
<ide><path>ava/002_Add_Two_Numbers.java <ide> int val; <ide> ListNode next; <ide> ListNode(int x) { val = x; } <add> ListNode(int x, ListNode node) { val = x; next = node; } <ide> <del> public static void insertList(int val, ListNode head) { <del> ListNode node = new ListNode(0); <del> ...
Java
mpl-2.0
aa29754b3c530fd1907e24becf177170c2a31031
0
msteinhoff/hello-world
7f63947d-cb8e-11e5-a2ef-00264a111016
src/main/java/HelloWorld.java
7f57d4b8-cb8e-11e5-b892-00264a111016
My Backup
src/main/java/HelloWorld.java
My Backup
<ide><path>rc/main/java/HelloWorld.java <del>7f57d4b8-cb8e-11e5-b892-00264a111016 <add>7f63947d-cb8e-11e5-a2ef-00264a111016
Java
apache-2.0
7382581d463d830721fda2e04dde14926d48fa41
0
wro4j/wro4j,UAK-35/wro4j,dacofr/wro4j,wro4j/wro4j,dacofr/wro4j,dacofr/wro4j,dacofr/wro4j,wro4j/wro4j,UAK-35/wro4j,UAK-35/wro4j,UAK-35/wro4j
package ro.isdc.wro.model.resource.locator.support; import java.util.HashMap; import java.util.Map; import ro.isdc.wro.model.resource.locator.ClasspathUriLocator; import ro.isdc.wro.model.resource.locator.ServletContextUriLocator; import ro.isdc.wro.model.resource.locator.ServletContextUriLocator.LocatorStrategy; imp...
wro4j-core/src/main/java/ro/isdc/wro/model/resource/locator/support/DefaultLocatorProvider.java
package ro.isdc.wro.model.resource.locator.support; import java.util.HashMap; import java.util.Map; import ro.isdc.wro.model.resource.locator.ClasspathUriLocator; import ro.isdc.wro.model.resource.locator.ServletContextUriLocator; import ro.isdc.wro.model.resource.locator.ServletContextUriLocator.LocatorStrategy; imp...
DefaultLocatorProvider implements ProviderPriorityAware
wro4j-core/src/main/java/ro/isdc/wro/model/resource/locator/support/DefaultLocatorProvider.java
DefaultLocatorProvider implements ProviderPriorityAware
<ide><path>ro4j-core/src/main/java/ro/isdc/wro/model/resource/locator/support/DefaultLocatorProvider.java <ide> import ro.isdc.wro.model.resource.locator.ServletContextUriLocator.LocatorStrategy; <ide> import ro.isdc.wro.model.resource.locator.UriLocator; <ide> import ro.isdc.wro.model.resource.locator.UrlUriLocator; <...