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
error: pathspec 'src/GeeksforGeeksPractice/_0083TicTacToeValidity.java' did not match any file(s) known to git
f674235661b432e4d555a553916f30fe9ac5ccbd
1
darshanhs90/Java-InterviewPrep,darshanhs90/Java-Coding
package GeeksforGeeksPractice; import java.util.Arrays; /* * Link : http://www.geeksforgeeks.org/validity-of-a-given-tic-tac-toe-board-configuration/ */ public class _0083TicTacToeValidity { public static void main(String[] args) { char board[] = {'X', 'X', 'O', 'O', 'O', 'X', 'X', 'O', 'X'}...
src/GeeksforGeeksPractice/_0083TicTacToeValidity.java
Tic Tac Toe validity completed
src/GeeksforGeeksPractice/_0083TicTacToeValidity.java
Tic Tac Toe validity completed
<ide><path>rc/GeeksforGeeksPractice/_0083TicTacToeValidity.java <add>package GeeksforGeeksPractice; <add> <add>import java.util.Arrays; <add> <add>/* <add> * Link : http://www.geeksforgeeks.org/validity-of-a-given-tic-tac-toe-board-configuration/ <add> */ <add>public class _0083TicTacToeValidity { <add> <add> public st...
JavaScript
mit
d1013dff3f64d82288517564db1c9cc05056ac33
0
lijanele/slush-y,joelcoxokc/slush-y,lijanele/slush-y,joelcoxokc/slush-y,joelcoxokc/slush-y,joelcoxokc/slush-y,joehannes-generation/slush-y,joehannes-generation/slush-y
;(function(){ 'use strict'; angular .module('<%= moduleNames.slug %>') .filter('<%= names.single.camel %>', <%= names.single.camel %>); /* @inject */ function <%= names.single.camel %>() { return filter; ////////////// function filter(input) { // <%= names.single.humanized %> dire...
generators/client/filter/templates/base/filters/_.filter.js
;(function(){ 'use strict'; angular .module('<%= moduleNames.slug %>') .filter('<%= names.single.camel %>', <%= names.single.camel %>); /* @inject */ function <%= names.single.camel %>() { return function(input) { // <%= names.single.humanized %> directive logic // ... return '<...
Update: factory sub-generator: Refactor Logic
generators/client/filter/templates/base/filters/_.filter.js
Update: factory sub-generator: Refactor Logic
<ide><path>enerators/client/filter/templates/base/filters/_.filter.js <ide> <ide> /* @inject */ <ide> function <%= names.single.camel %>() { <del> return function(input) { <add> <add> return filter; <add> <add> ////////////// <add> <add> function filter(input) { <ide> // <%= names.single.humanize...
Java
apache-2.0
92737e21adca31e9a2d4722048ae0028456b93d5
0
cache2k/cache2k,cache2k/cache2k,cache2k/cache2k
package org.cache2k.expiry; /* * #%L * cache2k API * %% * Copyright (C) 2000 - 2016 headissue GmbH, Munich * %% * 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.a...
api/src/main/java/org/cache2k/expiry/ExpiryTimeValues.java
package org.cache2k.expiry; /* * #%L * cache2k API * %% * Copyright (C) 2000 - 2016 headissue GmbH, Munich * %% * 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.a...
improve refresh documentation
api/src/main/java/org/cache2k/expiry/ExpiryTimeValues.java
improve refresh documentation
<ide><path>pi/src/main/java/org/cache2k/expiry/ExpiryTimeValues.java <ide> long NO_CACHE = 0; <ide> <ide> /** <del> * Identical value to {@link #NO_CACHE}, meaningful when used together with <add> * Identical to {@link #NO_CACHE}. More meaningful when used together with <ide> * {@link org.cache2k.Cache#expi...
Java
apache-2.0
084bcec742b5ef4d77ab75d498ba62a94305096e
0
amaembo/streamex
/* * Copyright 2015, 2019 StreamEx contributors * * 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 app...
src/main/java/one/util/streamex/PrefixOps.java
/* * Copyright 2015, 2019 StreamEx contributors * * 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 app...
Further performance improve for unordered parralel IntStreams
src/main/java/one/util/streamex/PrefixOps.java
Further performance improve for unordered parralel IntStreams
<ide><path>rc/main/java/one/util/streamex/PrefixOps.java <ide> import java.util.Spliterators.AbstractIntSpliterator; <ide> import java.util.Spliterators.AbstractLongSpliterator; <ide> import java.util.Spliterators.AbstractSpliterator; <del>import java.util.concurrent.atomic.AtomicInteger; <ide> import java.util.concurr...
Java
apache-2.0
f2d799ae01b5303c755443b509095f12f1ba367b
0
Distrotech/buck,stuhood/buck,rmaz/buck,vine/buck,siddhartharay007/buck,raviagarwal7/buck,stuhood/buck,mikekap/buck,sdwilsh/buck,neonichu/buck,OkBuilds/buck,shybovycha/buck,liuyang-li/buck,janicduplessis/buck,MarkRunWu/buck,liuyang-li/buck,ilya-klyuchnikov/buck,darkforestzero/buck,justinmuller/buck,shs96c/buck,darkfores...
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
src/com/facebook/buck/apple/xcode/xcodeproj/FileTypes.java
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Add stringsdict file type for Xcode project generation Summary: A user asked us to add this new file type. Test Plan: `ant java-test -Dtest.class=FileTypesTest`
src/com/facebook/buck/apple/xcode/xcodeproj/FileTypes.java
Add stringsdict file type for Xcode project generation
<ide><path>rc/com/facebook/buck/apple/xcode/xcodeproj/FileTypes.java <ide> .put("s", "sourcecode.asm") <ide> .put("storyboard", "file.storyboard") <ide> .put("strings", "text.plist.strings") <add> .put("stringsdict", "text.plist.xml") <ide> .put("tif", "image.tiff") <ide...
Java
apache-2.0
3a028a2a94d6a18d920e80f076ddbad2d27f1ee5
0
Hipparchus-Math/hipparchus,sdinot/hipparchus,apache/commons-math,apache/commons-math,sdinot/hipparchus,apache/commons-math,apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus
/* * 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/apache/commons/math/stat/descriptive/moment/SemiVariance.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 variables declaration order to match checkstyle rules git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@917275 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java
fixed variables declaration order to match checkstyle rules
<ide><path>rc/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java <ide> <ide> public class SemiVariance extends AbstractUnivariateStatistic implements Serializable { <ide> <add> /** <add> * The UPSIDE Direction is used to specify that the observations above the <add> * cutoff point ...
Java
lgpl-2.1
79cde8f9eb1a7d78651cd94625e5ca0da78868fd
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id: AutoFringer.java,v 1.4 2002/04/06 03:52:28 ray Exp $ package com.threerings.miso.tile; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.util.Random; import java.util.HashMap; import com.threerings.media.Log; import com.threerings.media.tile.NoSuchTileException; import com.three...
src/java/com/threerings/miso/tile/AutoFringer.java
// // $Id: AutoFringer.java,v 1.3 2002/04/06 03:43:24 ray Exp $ package com.threerings.miso.tile; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.util.Random; import java.util.HashMap; import com.threerings.media.Log; import com.threerings.media.tile.NoSuchTileException; import com.three...
cleanup git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1206 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/miso/tile/AutoFringer.java
cleanup
<ide><path>rc/java/com/threerings/miso/tile/AutoFringer.java <ide> // <del>// $Id: AutoFringer.java,v 1.3 2002/04/06 03:43:24 ray Exp $ <add>// $Id: AutoFringer.java,v 1.4 2002/04/06 03:52:28 ray Exp $ <ide> <ide> package com.threerings.miso.tile; <ide> <ide> } <ide> <ide> /** <del> * Automatically gener...
JavaScript
mit
9a95621520c7b65fc826b70bd1e25fab6def91dd
0
ioBroker/ioBroker.hm-rpc,ioBroker/ioBroker.hm-rpc,ioBroker/ioBroker.hm-rpc,ioBroker/ioBroker.hm-rpc
/* * Copyright (c) 2014-2019 bluefox <dogafox@gmail.com> * * Copyright (c) 2014 hobbyquaker * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software witho...
hm-rpc.js
/* * Copyright (c) 2014-2019 bluefox <dogafox@gmail.com> * * Copyright (c) 2014 hobbyquaker * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software witho...
rm legacy code
hm-rpc.js
rm legacy code
<ide><path>m-rpc.js <ide> const queueValueParamsets = []; <ide> <ide> function addParamsetObjects(channel, paramset, callback) { <del> const channelChildren = []; <ide> const promises = []; <ide> <ide> for (const key in paramset) { <ide> if (!paramset.hasOwnProperty(key)) continue; <del> cha...
JavaScript
mit
d87ae5179038ff0c0c9787129459c54a39742185
0
senchalabs/CmdPackages,senchalabs/CmdPackages,senchalabs/CmdPackages,senchalabs/CmdPackages
/** * The main colorful square for selecting color shades by dragging around the * little circle. */ Ext.define('Ext.ux.colorpick.ColorMap', { extend : 'Ext.container.Container', alias : 'widget.colorpickercolormap', controller : 'colorpickercolormapcontroller', requires: [ 'Ext.ux....
packages/ext-ux-colorpick/src/ColorMap.js
/** * The main colorful square for selecting color shades by dragging around the * little circle. */ Ext.define('Ext.ux.colorpick.ColorMap', { extend : 'Ext.container.Container', alias : 'widget.colorpickercolormap', controller : 'colorpickercolormapcontroller', requires: [ 'Ext.ux....
IE8 fix for ColorMap background image not showing
packages/ext-ux-colorpick/src/ColorMap.js
IE8 fix for ColorMap background image not showing
<ide><path>ackages/ext-ux-colorpick/src/ColorMap.js <ide> el = me.el; <ide> <ide> me.callParent(); <del> <add> <ide> if (!src) { <ide> // We do this trick to allow the Sass to calculate resource image path for <ide> // our package and pick up the proper image...
Java
apache-2.0
5c425dca2fc95ed718d13513de7a7319e20c5261
0
alanfgates/hive,alanfgates/hive,sankarh/hive,vineetgarg02/hive,alanfgates/hive,lirui-apache/hive,vineetgarg02/hive,alanfgates/hive,jcamachor/hive,nishantmonu51/hive,sankarh/hive,jcamachor/hive,vineetgarg02/hive,lirui-apache/hive,lirui-apache/hive,alanfgates/hive,lirui-apache/hive,vineetgarg02/hive,b-slim/hive,jcamachor...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
HIVE-21717 : Rename is failing for directory in move task. (Mahesh Kumar Behera reviewed by Sankar Hariappan
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
HIVE-21717 : Rename is failing for directory in move task. (Mahesh Kumar Behera reviewed by Sankar Hariappan
<ide><path>l/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java <ide> } <ide> } <ide> <add> private static void deleteAndRename(FileSystem destFs, Path destFile, FileStatus srcStatus, Path destPath) <add> throws IOException { <add> if (destFs.exists(destFile)) { <add> // rename cannot overwr...
Java
mit
c7c922c6db8d8ab1dd9f5a561cc454d6c041c267
0
bcgit/bc-java,bcgit/bc-java,isghe/bc-java,open-keychain/spongycastle,isghe/bc-java,open-keychain/spongycastle,open-keychain/spongycastle,Skywalker-11/spongycastle,isghe/bc-java,onessimofalconi/bc-java,Skywalker-11/spongycastle,onessimofalconi/bc-java,onessimofalconi/bc-java,Skywalker-11/spongycastle,bcgit/bc-java
package org.bouncycastle.asn1.cms.ecc; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1OctetString; import org.bouncycastle.asn1.ASN1Primitive; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1.ASN1TaggedObject; import or...
core/src/main/java/org/bouncycastle/asn1/cms/ecc/MQVuserKeyingMaterial.java
package org.bouncycastle.asn1.cms.ecc; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1OctetString; import org.bouncycastle.asn1.ASN1Primitive; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1.ASN1TaggedObject; import or...
fixed TODOs
core/src/main/java/org/bouncycastle/asn1/cms/ecc/MQVuserKeyingMaterial.java
fixed TODOs
<ide><path>ore/src/main/java/org/bouncycastle/asn1/cms/ecc/MQVuserKeyingMaterial.java <ide> OriginatorPublicKey ephemeralPublicKey, <ide> ASN1OctetString addedukm) <ide> { <del> // TODO Check ephemeralPublicKey not null <del> <add> if (ephemeralPublicKey == null) <add> {...
JavaScript
mit
bafe512e4f5d12e0d8f371d4d48eca3c4421a6bf
0
stephanebachelier/superapi-cache
'use strict' import readCache from './read-cache' import serialize from './serialize' import memoryStore from './memory' function cache (config = {}) { const store = config.store || memoryStore const key = config.key || cache.key if (!store) { throw new Error('Cache middleware need to be provided a store.'...
lib/index.js
'use strict' import readCache from './read-cache' import serialize from './serialize' import memoryStore from './memory' function cache (config = {}) { const store = config.store || memoryStore const key = config.key || cache.key if (!store) { throw new Error('Cache middleware need to be provided a store.'...
feat(cache): add support for path exclusion
lib/index.js
feat(cache): add support for path exclusion
<ide><path>ib/index.js <ide> config.readCache = config.readCache || readCache <ide> config.serialize = config.serialize || serialize <ide> <add> config.exclude = config.exclude || [] <add> <ide> if (config.log !== false) { <ide> config.log = typeof config.log === 'function' ? config.log : console.log.bind(c...
Java
apache-2.0
cae7dfa7fe71418ef4fade872a8721a027dd2eb8
0
paul-callahan/storm-cassandra-cql,pabrahamsson/storm-cassandra-cql,hmsonline/storm-cassandra-cql,bflad/storm-cassandra-cql,hpcc-systems/storm-cassandra-cql
package com.hmsonline.trident.cql.example.wordcount; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.LocalDRPC; import backtype.storm.generated.StormTopology; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Values; import com.hmsonline.trident.cql.Cassand...
src/test/java/com/hmsonline/trident/cql/example/wordcount/WordCountTopology.java
package com.hmsonline.trident.cql.example.wordcount; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.LocalDRPC; import backtype.storm.generated.StormTopology; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Values; import com.hmsonline.trident.cql.Cassand...
Changed sample data to get more variability in the counts.
src/test/java/com/hmsonline/trident/cql/example/wordcount/WordCountTopology.java
Changed sample data to get more variability in the counts.
<ide><path>rc/test/java/com/hmsonline/trident/cql/example/wordcount/WordCountTopology.java <ide> FixedBatchSpout spout1 = new FixedBatchSpout(new Fields("sentence", "source"), 3, <ide> new Values("the cow jumped over the moon", source1), <ide> new Values("the man went to the stor...
Java
apache-2.0
c612fa73e6c4fc0e445415e4dee2a5a1240ac2fc
0
hs-jenkins-bot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity
package com.hubspot.singularity.resources; import static com.hubspot.singularity.WebExceptions.checkBadRequest; import static com.hubspot.singularity.WebExceptions.checkConflict; import static com.hubspot.singularity.WebExceptions.checkNotNullBadRequest; import java.util.List; import java.util.UUID; import java.util....
SingularityService/src/main/java/com/hubspot/singularity/resources/RequestResource.java
package com.hubspot.singularity.resources; import static com.hubspot.singularity.WebExceptions.checkBadRequest; import static com.hubspot.singularity.WebExceptions.checkConflict; import static com.hubspot.singularity.WebExceptions.checkNotNullBadRequest; import java.util.List; import java.util.UUID; import java.util....
less params
SingularityService/src/main/java/com/hubspot/singularity/resources/RequestResource.java
less params
<ide><path>ingularityService/src/main/java/com/hubspot/singularity/resources/RequestResource.java <ide> @ApiOperation(value="Retrieve the list of active requests", response=SingularityRequestParent.class, responseContainer="List") <ide> public List<SingularityRequestParent> getActiveRequests(@QueryParam("useWebCach...
JavaScript
mit
ce6de50f869e08bcd8337935879471c8589c515d
0
adityahase/frappe,indautgrp/frappe,yashodhank/frappe,gangadharkadam/vlinkfrappe,manassolanki/frappe,drukhil/frappe,pawaranand/phr-frappe,suyashphadtare/sajil-frappe,gangadharkadam/frappecontribution,elba7r/frameworking,RicardoJohann/frappe,rohitw1991/smartfrappe,rohitw1991/frappe,rohitwaghchaure/vestasi-frappe,mbauskar...
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt frappe.ui.form.Comments = Class.extend({ init: function(opts) { $.extend(this, opts); this.make(); }, make: function() { var me = this; this.wrapper =this.parent; $('<div class="comment-connector"></di...
frappe/public/js/frappe/form/comments.js
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt frappe.ui.form.Comments = Class.extend({ init: function(opts) { $.extend(this, opts); this.make(); }, make: function() { var me = this; this.wrapper =this.parent; $('<div class="comment-connector"></di...
[ux] fixes to timeline
frappe/public/js/frappe/form/comments.js
[ux] fixes to timeline
<ide><path>rappe/public/js/frappe/form/comments.js <ide> c["delete"] = ""; <ide> } <ide> c.image = frappe.user_info(c.comment_by).image || frappe.get_gravatar(c.comment_by); <del> c.comment_on = dateutil.comment_when(c.creation); <add> c.comment_on = comment_when(c.creation); <ide> c.fullname = frappe....
Java
mit
error: pathspec 'src/test/java/io/teiler/api/endpoint/GroupEndpointTest.java' did not match any file(s) known to git
f3e2eed65a0530393a8d18c6822047f649f0c575
1
teiler/api.teiler.io
package io.teiler.api.endpoint; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.embedded.LocalServerPort; import org.springframework.boot.test.context.SpringBootTest; import o...
src/test/java/io/teiler/api/endpoint/GroupEndpointTest.java
add test for group-endpoint
src/test/java/io/teiler/api/endpoint/GroupEndpointTest.java
add test for group-endpoint
<ide><path>rc/test/java/io/teiler/api/endpoint/GroupEndpointTest.java <add>package io.teiler.api.endpoint; <add> <add>import org.junit.Assert; <add>import org.junit.Test; <add>import org.junit.runner.RunWith; <add>import org.springframework.beans.factory.annotation.Autowired; <add>import org.springframework.boot.contex...
Java
mit
35a2e5b4678392cc67ca1608e9843c66e75f2453
0
Train-Track/Train-Track-Android
package dyl.anjon.es.traintrack.fragments; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.Lo...
src/dyl/anjon/es/traintrack/fragments/StationsFragment.java
package dyl.anjon.es.traintrack.fragments; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.Lo...
orders stations a-z + adds better logging
src/dyl/anjon/es/traintrack/fragments/StationsFragment.java
orders stations a-z + adds better logging
<ide><path>rc/dyl/anjon/es/traintrack/fragments/StationsFragment.java <ide> ParseQuery<Station> query = ParseQuery.getQuery(Station.class); <ide> query.fromLocalDatastore(); <ide> try { <del> if (query.count() == 0) { <add> int count = query.count(); <add> Utils.log("Local stations count is " + count + " . ...
JavaScript
bsd-3-clause
92419acb1fbf996230c4c9a3427fa29ff8eb7c50
0
sfchronicle/mapsense.js,manueltimita/mapsense.js,RavishankarDuMCA10/mapsense.js,Laurian/mapsense.js,cksachdev/mapsense.js,mapsense/mapsense.js,dillan/mapsense.js,gimlids/mapsense.js,shkfnly/mapsense.js
po.d3GeoJson = function(fetch) { var d3GeoJson = po.layer(load, unload), container = d3GeoJson.container(), url, clip = true, clipId = "org.polymaps." + po.id(), clipHref = "url(#" + clipId + ")", clipPath = container.insertBefore(po.svg("clipPath"), container.firstChild), cl...
src/D3GeoJson.js
po.d3GeoJson = function(fetch) { var d3GeoJson = po.layer(load, unload), container = d3GeoJson.container(), url, clip = true, clipId = "org.polymaps." + po.id(), clipHref = "url(#" + clipId + ")", clipPath = container.insertBefore(po.svg("clipPath"), container.firstChild), cl...
Add support for rectiles.
src/D3GeoJson.js
Add support for rectiles.
<ide><path>rc/D3GeoJson.js <ide> clipRect = clipPath.appendChild(po.svg("rect")), <ide> scale = "auto", <ide> zoom = null, <del> features; <add> features, <add> rectile = true; <ide> <ide> container.setAttribute("fill-rule", "evenodd"); <ide> clipPath.setAttribute("id", clipId); <i...
Java
apache-2.0
e23599c5b0b1ba7079a378f865b6aed77c5caa92
0
mrivingt/EventStoreJava
import java.net.HttpURLConnection; //import java.net.MalformedURLException; import java.net.URL; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.Authenticator; import java.net.PasswordAuthentication; import org.json.simple.JSONArray; import org.json.simp...
eventStore.java
import java.net.HttpURLConnection; //import java.net.MalformedURLException; import java.net.URL; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.Authenticator; import java.net.PasswordAuthentication; import org.json.simple.JSONArray; import org.json.simple...
Now using an EventStoreStream class EventStoreStream with lots of get methods
eventStore.java
Now using an EventStoreStream class
<ide><path>ventStore.java <add> <add> <ide> <ide> <ide> import java.net.HttpURLConnection; <ide> public static final String embed = ""; <ide> public static final String mimetype = "application/json"; <ide> public static final String url = "http://" + server + ":" + port + stream + embed; <add> public static final ...
Java
apache-2.0
a3482e85224f025fe10acdb5fbd2968895ef0822
0
uschindler/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,nknize/elasticsearch,HonzaKral/elasticsearch...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/test/java/org/elasticsearch/common/UUIDTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Address UUIDTests#testCompression failures. (#50093) Those were due to codec randomization. Closes #50048
server/src/test/java/org/elasticsearch/common/UUIDTests.java
Address UUIDTests#testCompression failures. (#50093)
<ide><path>erver/src/test/java/org/elasticsearch/common/UUIDTests.java <ide> <ide> import org.apache.logging.log4j.LogManager; <ide> import org.apache.logging.log4j.Logger; <add>import org.apache.lucene.codecs.Codec; <ide> import org.apache.lucene.document.Document; <ide> import org.apache.lucene.document.Field.Store;...
Java
mit
213459770953686b0c070252a3895c9fa1f8b61e
0
MarquisLP/World-Scribe,MarquisLP/WorldScribe
package com.averi.worldscribe.activities; import android.Manifest; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provide...
app/src/main/java/com/averi/worldscribe/activities/PermissionActivity.java
package com.averi.worldscribe.activities; import android.Manifest; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provide...
Log stack traces for thrown exception to help with debugging
app/src/main/java/com/averi/worldscribe/activities/PermissionActivity.java
Log stack traces for thrown exception to help with debugging
<ide><path>pp/src/main/java/com/averi/worldscribe/activities/PermissionActivity.java <ide> import androidx.core.content.FileProvider; <ide> import androidx.documentfile.provider.DocumentFile; <ide> <add>import android.util.Log; <ide> import android.view.View; <ide> import android.view.ViewGroup; <ide> import android.w...
Java
apache-2.0
804e261f08263dbc84c4edaccc859b00b0debe01
0
ASzc/fuse-patch-jdk6,ASzc/fuse-patch-jdk6
package org.wildfly.extras.patch.bootstrap; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; import ja...
bootstrap/src/main/java/org/wildfly/extras/patch/bootstrap/Main.java
package org.wildfly.extras.patch.bootstrap; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; import ja...
Fix string comparison
bootstrap/src/main/java/org/wildfly/extras/patch/bootstrap/Main.java
Fix string comparison
<ide><path>ootstrap/src/main/java/org/wildfly/extras/patch/bootstrap/Main.java <ide> if (rootCandidate == null) { <ide> rootCandidateName = name; <ide> rootCandidate = split; <del> } else if (rootCandidate[0] != split[0]) { <add> } el...
Java
agpl-3.0
b8e427112781253e67718913fdbd93aedb9626c1
0
hsarmiento/AIDR,qcri-social/Crisis-Computing,qcri-social/Crisis-Computing,hsarmiento/AIDR,qcri-social/AIDR,qcri-social/AIDR,hsarmiento/AIDR,qcri-social/Crisis-Computing,roselleebarle04/AIDR,qcri-social/AIDR,roselleebarle04/AIDR,roselleebarle04/AIDR,roselleebarle04/AIDR,qcri-social/AIDR,hsarmiento/AIDR,qcri-social/Crisi...
package qa.qcri.aidr.manager.service.impl; import qa.qcri.aidr.manager.dto.*; import qa.qcri.aidr.manager.exception.AidrException; import qa.qcri.aidr.manager.service.TaggerService; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebReso...
aidr-manager/src/main/java/qa/qcri/aidr/manager/service/impl/TaggerServiceImpl.java
package qa.qcri.aidr.manager.service.impl; import qa.qcri.aidr.manager.dto.*; import qa.qcri.aidr.manager.exception.AidrException; import qa.qcri.aidr.manager.service.TaggerService; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebReso...
aidr-manager: Remove training examples changes.
aidr-manager/src/main/java/qa/qcri/aidr/manager/service/impl/TaggerServiceImpl.java
aidr-manager: Remove training examples changes.
<ide><path>idr-manager/src/main/java/qa/qcri/aidr/manager/service/impl/TaggerServiceImpl.java <ide> /** <ide> * Rest call to Tagger <ide> */ <del> WebResource webResource = client.resource(taggerMainUrl + "/document/" + id); <add> WebResource webResource = cli...
Java
mit
99ca76b59cf56044e9a69bf868133e8392714dd7
0
shunghsiyu/MessengerApp
package com.example.myfirstapp; import java.net.InetAddress; import java.net.UnknownHostException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Queue; import java.util.concurrent.ArrayBlockingQueue; import java.util.Random; import android.app.Activity; import android.content...
src/com/example/myfirstapp/MainActivity.java
package com.example.myfirstapp; import java.net.InetAddress; import java.net.UnknownHostException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Queue; import java.util.concurrent.ArrayBlockingQueue; import java.util.Random; import android.app.Activity; import android.content...
Updated MainActivity.java Add line break in textView after sending or receiving.
src/com/example/myfirstapp/MainActivity.java
Updated MainActivity.java Add line break in textView after sending or receiving.
<ide><path>rc/com/example/myfirstapp/MainActivity.java <ide> spannableString.setSpan(span, 0, 4, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE); <ide> textView.append(spannableString); <ide> scrollDown(); <add> textView.append("\n"); <ide> } <ide> catch(Exception e){ <ide> e.printStackTrace(...
Java
apache-2.0
370ea6c68d3af73497debc3c2d5dc7f35eb0c91d
0
xnslong/logging-log4j2,GFriedrich/logging-log4j2,apache/logging-log4j2,apache/logging-log4j2,codescale/logging-log4j2,codescale/logging-log4j2,xnslong/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2,xnslong/logging-log4j2
/* * 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 n...
log4j-nosql/src/test/java/org/apache/logging/log4j/nosql/appender/NoSqlDatabaseManagerTest.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 n...
Use try-with-resources.
log4j-nosql/src/test/java/org/apache/logging/log4j/nosql/appender/NoSqlDatabaseManagerTest.java
Use try-with-resources.
<ide><path>og4j-nosql/src/test/java/org/apache/logging/log4j/nosql/appender/NoSqlDatabaseManagerTest.java <ide> } <ide> <ide> @Test <del> public void testWriteInternalNotConnected01() { <del> replay(this.provider, this.connection); <del> <del> final NoSqlDatabaseManager<?> manager = NoSqlDatabase...
Java
lgpl-2.1
d129ab5bbd0413b876ff29412b736865303274f7
0
innopolis-jolie-smt-typechecker/jolie,innopolis-jolie-smt-typechecker/jolie,agwe/jolie,jolie-projects/jolie-async,jolie-projects/jolie-async,mawolf/jolie,agwe/jolie,innopolis-jolie-smt-typechecker/jolie,agwe/jolie,mawolf/jolie,jolie-projects/jolie-async,mawolf/jolie,mawolf/jolie,jolie-projects/jolie-async,agwe/jolie,in...
/*************************************************************************** * Copyright (C) by Fabrizio Montesi * * * * This program is free software; you can redistribute it and/or modify * * it unde...
jolieJavaServices/src/joliex/db/DatabaseService.java
/*************************************************************************** * Copyright (C) by Fabrizio Montesi * * * * This program is free software; you can redistribute it and/or modify * * it unde...
Handle the NUMERIC data type gracefully.
jolieJavaServices/src/joliex/db/DatabaseService.java
Handle the NUMERIC data type gracefully.
<ide><path>olieJavaServices/src/joliex/db/DatabaseService.java <ide> <ide> package joliex.db; <ide> <add>import java.math.BigDecimal; <ide> import java.sql.Clob; <ide> import java.sql.Connection; <ide> import java.sql.DriverManager; <ide> case java.sql.Types.INTEGER: <ide> case java.sql.Types.SMALLINT: <ide> ...
Java
apache-2.0
39072c2d3f59e337e060238bd3fe09b58bffb2cc
0
xiaojiaqi/Metamorphosis,fogu/Metamorphosis,ronaldo9grey/Metamorphosis,xiaojiaqi/Metamorphosis,ronaldo9grey/Metamorphosis,ronaldo9grey/Metamorphosis,githubcolin/Metamorphosis,fengshao0907/Metamorphosis,fengshao0907/Metamorphosis,githubcolin/Metamorphosis,xiaojiaqi/Metamorphosis,yuzhu712/Metamorphosis,fogu/Metamorphosis,...
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * 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 applic...
metamorphosis-server/src/test/java/com/taobao/metamorphosis/server/network/BaseProcessorUnitTest.java
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * 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 applic...
Fixed NPE
metamorphosis-server/src/test/java/com/taobao/metamorphosis/server/network/BaseProcessorUnitTest.java
Fixed NPE
<ide><path>etamorphosis-server/src/test/java/com/taobao/metamorphosis/server/network/BaseProcessorUnitTest.java <ide> import com.taobao.metamorphosis.server.BrokerZooKeeper; <ide> import com.taobao.metamorphosis.server.assembly.BrokerCommandProcessor; <ide> import com.taobao.metamorphosis.server.assembly.ExecutorsManag...
Java
apache-2.0
bbe297121d127ef14863d8763d20fcedf198904d
0
ultratendency/hbase,ndimiduk/hbase,mapr/hbase,ndimiduk/hbase,toshimasa-nasu/hbase,gustavoanatoly/hbase,ChinmaySKulkarni/hbase,vincentpoon/hbase,lshmouse/hbase,ChinmaySKulkarni/hbase,Eshcar/hbase,mapr/hbase,Apache9/hbase,joshelser/hbase,Guavus/hbase,ibmsoe/hbase,toshimasa-nasu/hbase,intel-hadoop/hbase-rhino,justintung/h...
/** * Copyright 2010 The Apache Software Foundation * * 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...
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
/** * Copyright 2010 The Apache Software Foundation * * 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...
HBASE-5329 addRowLock() may allocate duplicate lock id, causing the client to be blocked (Ian Varley) git-svn-id: 949c06ec81f1cb709fd2be51dd530a930344d7b3@1376489 13f79535-47bb-0310-9956-ffa450edef68
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
HBASE-5329 addRowLock() may allocate duplicate lock id, causing the client to be blocked (Ian Varley)
<ide><path>base-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java <ide> import java.util.TreeMap; <ide> import java.util.TreeSet; <ide> import java.util.concurrent.ConcurrentHashMap; <add>import java.util.concurrent.ConcurrentMap; <ide> import java.util.concurrent.ConcurrentSkipListMap; <ide>...
Java
mpl-2.0
ffcef3ed6d43a82fff6f71c092f28591563ffe3f
0
servinglynk/servinglynk-hmis,servinglynk/servinglynk-hmis,servinglynk/servinglynk-hmis,servinglynk/hmis-lynk-open-source,servinglynk/servinglynk-hmis,servinglynk/hmis-lynk-open-source,servinglynk/hmis-lynk-open-source,servinglynk/hmis-lynk-open-source,servinglynk/servinglynk-hmis,servinglynk/hmis-lynk-open-source,servi...
package com.servinglynk.hmis.warehouse.service.converter; import com.servinglynk.hmis.warehouse.core.model.EnrollmentCoc; public class EnrollmentCocConverter extends BaseConverter { public static com.servinglynk.hmis.warehouse.model.v2014.EnrollmentCoc modelToEntity (EnrollmentCoc model ,com.servinglynk.hmis.war...
hmis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/converter/EnrollmentCocConverter.java
package com.servinglynk.hmis.warehouse.service.converter; import com.servinglynk.hmis.warehouse.core.model.EnrollmentCoc; public class EnrollmentCocConverter extends BaseConverter { public static com.servinglynk.hmis.warehouse.model.v2014.EnrollmentCoc modelToEntity (EnrollmentCoc model ,com.servinglynk.hmis.war...
Fix NPE in the enrollmentcoc api
hmis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/converter/EnrollmentCocConverter.java
Fix NPE in the enrollmentcoc api
<ide><path>mis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/converter/EnrollmentCocConverter.java <ide> EnrollmentCoc model = new EnrollmentCoc(); <ide> model.setEnrollmentCocId(entity.getId()); <ide> model.setCocCode(entity.getCocCode()); <del> model.setEnrollmentId(ent...
Java
apache-2.0
050ad65d032c61be77729cd048c1175b859a7aae
0
opensource21/fuwesta,opensource21/fuwesta,opensource21/fuwesta
/******************************************************************************* * Portions created by Sebastian Thomschke are copyright (c) 2005-2013 Sebastian * Thomschke. * * All Rights Reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
fuwesta-core/src/main/java/de/ppi/fuwesta/spring/mvc/oval/JPAAnnotationsConfigurer.java
/******************************************************************************* * Portions created by Sebastian Thomschke are copyright (c) 2005-2013 Sebastian * Thomschke. * * All Rights Reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
Added a comment to the copyright.
fuwesta-core/src/main/java/de/ppi/fuwesta/spring/mvc/oval/JPAAnnotationsConfigurer.java
Added a comment to the copyright.
<ide><path>uwesta-core/src/main/java/de/ppi/fuwesta/spring/mvc/oval/JPAAnnotationsConfigurer.java <ide> * <ide> * Contributors: <ide> * Sebastian Thomschke - initial implementation. <add> * Niels - add the possiblities to don't add AssertValidCheck, make sure <add> * a check isn't added if it defined dir...
Java
lgpl-2.1
1be98e4d8362a5893e6a6b14775ba974d136d136
0
viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package eu.seebetter.ini.chips.davis; import java.awt.Point; import eu.seebetter.ini.chips.DavisChip; import net.sf.jaer.De...
src/eu/seebetter/ini/chips/davis/DavisRGBW640.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package eu.seebetter.ini.chips.davis; import java.awt.Point; import eu.seebetter.ini.chips.DavisChip; import net.sf.jaer.De...
updating the colorCorrection matrix for better Blue git-svn-id: fe6b3b33f0410f5f719dcd9e0c58b92353e7a5d3@8199 b7f4320f-462c-0410-a916-d9f35bb82d52
src/eu/seebetter/ini/chips/davis/DavisRGBW640.java
updating the colorCorrection matrix for better Blue
<ide><path>rc/eu/seebetter/ini/chips/davis/DavisRGBW640.java <ide> public static final short HEIGHT_PIXELS = 480; <ide> public static final ColorFilter[] COLOR_FILTER = { ColorFilter.B, ColorFilter.W, ColorFilter.R, ColorFilter.G }; <ide> public static final float[][] COLOR_CORRECTION = { { 1.75f, -0.19f, -0.56f, 0....
JavaScript
mit
bc18c651dd4d25b96c086ea53e1c1a9559ec9286
0
zorahrel/snanake,zorahrel/snanake
var foods = []; var s = new Snake(); function setup() { pixelUnit = 30; baseSpeed = pixelUnit; var width = pixelUnit * 15; var height = pixelUnit * 15; createCanvas(width, height); generateFood(); frameRate(8); } function draw() { background(0); s.update(); s.show(); s.e...
snake.js
var foods = []; var s = new Snake(); function setup() { pixelUnit = 30; baseSpeed = pixelUnit; var width = pixelUnit * 15; var height = pixelUnit * 15; createCanvas(width, height); generateFood(); frameRate(8); } function draw() { background(0); s.update(); s.show(); s.e...
Risolto problema della testa troppo affamata length-1 nel foreach di eatHimSelf perché tails[0]
snake.js
Risolto problema della testa troppo affamata
<ide><path>nake.js <ide> this.eatHimSelf = function() { <ide> var lev = this.level; <ide> var tails = this.tails; <del> for(var i=0; i<tails.length; i++) { <add> for(var i=0; i<tails.length-1; i++) { <ide> if(i==0) { <ide> continue; <ide> }
Java
apache-2.0
9872c110a9abd8e6d4371427ac280d8ab847e02d
0
ligasgr/intellij-xquery,ligasgr/intellij-xquery
/* * Copyright 2013-2014 Grzegorz Ligas <ligasgr@gmail.com> and other contributors * (see the CONTRIBUTORS file). * * 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...
src/testGui/java/org/intellij/xquery/runner/ui/run/main/datasource/DataSourcesDialogGuiTest.java
/* * Copyright 2013-2014 Grzegorz Ligas <ligasgr@gmail.com> and other contributors * (see the CONTRIBUTORS file). * * 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...
Ignoring test until it's rewritten in a more reliable manner.
src/testGui/java/org/intellij/xquery/runner/ui/run/main/datasource/DataSourcesDialogGuiTest.java
Ignoring test until it's rewritten in a more reliable manner.
<ide><path>rc/testGui/java/org/intellij/xquery/runner/ui/run/main/datasource/DataSourcesDialogGuiTest.java <ide> import org.jetbrains.annotations.NotNull; <ide> import org.junit.After; <ide> import org.junit.Before; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.junit.runner.RunWith; <ide> ...
Java
apache-2.0
7d96d60c42cd8573bb61b4b404010d711e7f3a52
0
fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper
/* * Copyright 2017, Flávio Keglevich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
app/src/main/java/com/fkeglevich/rawdumper/io/async/IOUtil.java
/* * Copyright 2017, Flávio Keglevich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Simplified code
app/src/main/java/com/fkeglevich/rawdumper/io/async/IOUtil.java
Simplified code
<ide><path>pp/src/main/java/com/fkeglevich/rawdumper/io/async/IOUtil.java <ide> <ide> public static void saveBytes(byte[] data, String filePath) throws IOException <ide> { <del> BufferedOutputStream bos = null; <del> try <add> try (BufferedOutputStream bos = new BufferedOutputStream(new Fi...
JavaScript
mit
ea5d7d1775d278df42f8284d5952db3fe7f8e11d
0
cvn/angular-shims-placeholder,akkunchoi/angular-shims-placeholder,cvn/angular-shims-placeholder,radotzki/angular-shims-placeholder,radotzki/angular-shims-placeholder,akkunchoi/angular-shims-placeholder
/* * angular-shims-placeholder * https://github.com/jrief/angular-shims-placeholder * * Add Angular directives which emulates attribute ´placeholder´ in input fields * of type text for browsers not supporting this, ie. IE9 and below. * * Copyright (c) 2013 Jacob Rief * Licensed under the MIT license. */ (func...
lib/angular-placeholder.js
/* * angular-shims-placeholder * https://github.com/jrief/angular-shims-placeholder * * Add Angular directives which emulates attribute ´placeholder´ in input fields * of type text for browsers not supporting this, ie. IE9 and below. * * Copyright (c) 2013 Jacob Rief * Licensed under the MIT license. */ (func...
Change priority to be slightly lower, improve comments
lib/angular-placeholder.js
Change priority to be slightly lower, improve comments
<ide><path>ib/angular-placeholder.js <ide> return { <ide> restrict: 'A', <ide> require: '?ngModel', <del> priority: 101, // ngModel is 0, ngDisabled is 100, run after both <add> priority: 110, // run after ngModel (0) and BOOLEAN_ATTR (100) directives <ide> link: function(scope, elem, attrs, ngModel) { <ide> ...
JavaScript
mit
1ca090661ae3375411bb91ac167c6d75b8a44304
0
nemac/landsatfact_usgs_json_api,nemac/landsatfact_usgs_json_api
var pg = require('pg'); var winston = require('winston'); var logger = new (winston.Logger)({ transports: [ new (winston.transports.File)({ filename: 'logs/postgres_handlers.log'}) ] }); logger.level = 'debug'; module.exports = { //connect to database and return the client object pg_connect: function(co...
lib/postgres/postgres_handlers.js
var pg = require('pg'); var winston = require('winston'); var logger = new (winston.Logger)({ transports: [ new (winston.transports.File)({ filename: 'logs/postgres_handlers.log'}) ] }); logger.level = 'debug'; module.exports = { //connect to database and return the client object pg_connect: function(co...
still not sure of why failing
lib/postgres/postgres_handlers.js
still not sure of why failing
<ide><path>ib/postgres/postgres_handlers.js <ide> pg_queryError: function (err) { <ide> 'use strict'; <ide> if (err) { <del> // console.error("Query Error: %s", err); <add> console.error("Query Error: %s", err); <ide> logger.log('error', "Query Error: %s", err); <ide> }; ...
Java
apache-2.0
eb01eb2da5b66396685241121101f09c996fc426
0
jerome79/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,McLeodMoores/starling,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ns...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.analytics.formatting; import static com.opengamma.web.analytics.formatting.ResultsFormatter.CurrencyDisplay.DISPLAY_CURRENCY; import java.lang.reflect.Fie...
projects/OG-Web/src/main/java/com/opengamma/web/analytics/formatting/BigDecimalFormatter.java
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.analytics.formatting; import static com.opengamma.web.analytics.formatting.ResultsFormatter.CurrencyDisplay.DISPLAY_CURRENCY; import java.lang.reflect.Fie...
[PLAT-4799] Not formatting driftless theta as a currency amount
projects/OG-Web/src/main/java/com/opengamma/web/analytics/formatting/BigDecimalFormatter.java
[PLAT-4799] Not formatting driftless theta as a currency amount
<ide><path>rojects/OG-Web/src/main/java/com/opengamma/web/analytics/formatting/BigDecimalFormatter.java <ide> s_formatters.put(ValueRequirementNames.FORWARD_VANNA, DoubleValueSignificantFiguresFormatter.NON_CCY_5SF); <ide> s_formatters.put(ValueRequirementNames.FORWARD_VOMMA, DoubleValueSignificantFiguresFormat...
Java
apache-2.0
error: pathspec 'src/java/Sistema/CDBeLC.java' did not match any file(s) known to git
c8b4bc1e533e53b1efcd89aca436ddb4b37a3f97
1
eldersalesss/simuladorinvestimentos,eldersalesss/simuladorinvestimentos
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Sistema; /** * * @author Bruno */ public class CDBeLC implements Investimentos { private double taxaCDB; ...
src/java/Sistema/CDBeLC.java
Criando a Classe CDBeLC.java
src/java/Sistema/CDBeLC.java
Criando a Classe CDBeLC.java
<ide><path>rc/java/Sistema/CDBeLC.java <add>/* <add> * To change this license header, choose License Headers in Project Properties. <add> * To change this template file, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package Sistema; <add> <add>/** <add> * <add> * @author Bruno <add...
Java
apache-2.0
8de070858833c254d7032c58f84ba5880c9daabc
0
secdec/burp-extension,secdec/burp-extension
/* * Copyright (C) 2016 Code Dx, Inc. - http://www.codedx.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/main/java/burp/BurpExtender.java
/* * Copyright (C) 2016 Code Dx, Inc. - http://www.codedx.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Fixed issue with error log
src/main/java/burp/BurpExtender.java
Fixed issue with error log
<ide><path>rc/main/java/burp/BurpExtender.java <ide> public void error(String message, Throwable t) { <ide> if(refreshAnimation.isRunning()) <ide> refreshAnimation.end(); <del> JOptionPane.showMessageDialog(getUiComponent(), message, "Error", JOptionPane.ERROR_MESSAGE); <del> <ide> if(t != null){ <ide> St...
JavaScript
mit
c4349b4bac4c4292189ecf0cb1f7b5d622f95d67
0
transloadit/node-sdk,transloadit/node-sdk
const localtunnel = require('localtunnel') const http = require('http') const querystring = require('querystring') const temp = require('temp') const fs = require('fs') const { join } = require('path') const { promisify } = require('util') const { pipeline: streamPipeline, PassThrough } = require('stream') const got = ...
test/integration/__tests__/live-api.js
const localtunnel = require('localtunnel') const http = require('http') const querystring = require('querystring') const temp = require('temp') const fs = require('fs') const _ = require('lodash') const { join } = require('path') const { promisify } = require('util') const { pipeline: streamPipeline, PassThrough } = re...
fix test that caused jest to hang it was not closing the server also make the test use async await
test/integration/__tests__/live-api.js
fix test that caused jest to hang
<ide><path>est/integration/__tests__/live-api.js <ide> const querystring = require('querystring') <ide> const temp = require('temp') <ide> const fs = require('fs') <del>const _ = require('lodash') <ide> const { join } = require('path') <ide> const { promisify } = require('util') <ide> const { pipeline: streamPipeline, ...
Java
apache-2.0
0eadd301817ecbf76b3293e660ebd36e11d02b77
0
GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit
// Copyright (C) 2021 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
javatests/com/google/gerrit/server/query/change/FakeQueryChangesTest.java
// Copyright (C) 2021 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Remove unnecessary @SuppressWarnings annotation After the raw type warning has been fixed by change Iba5125df5 this annotation is no longer needed. Release-Notes: skip Signed-off-by: Edwin Kempin <d43fb6c98c97e553b671ed9a9318100f1de386e7@google.com> Change-Id: Ib6869dcb7ba569d544a793e8fe4683d5c13aabd4
javatests/com/google/gerrit/server/query/change/FakeQueryChangesTest.java
Remove unnecessary @SuppressWarnings annotation
<ide><path>avatests/com/google/gerrit/server/query/change/FakeQueryChangesTest.java <ide> <ide> @Test <ide> @UseClockStep <del> @SuppressWarnings("unchecked") <ide> public void internalQueriesPaginate() throws Exception { <ide> // create 4 changes <ide> TestRepository<InMemoryRepositoryManager.Repo> tes...
JavaScript
mit
9847edba156e0acd0aa179f22779cdddcf864e86
0
hellofresh/janus-dashboard,hellofresh/janus-dashboard
import createHistory from 'history/createBrowserHistory'; import R from 'ramda'; import client from '../api'; import endpointSchema from '../../configurations/apiSchema'; // @TODO: REMOVE import { DELETE_ENDPOINT_START, DELETE_ENDPOINT_SUCCESS, FETCH_ENDPOINT_START, FETCH_ENDPOINT_SUCCESS, FETCH_EN...
src/store/actions/api.actions.js
import createHistory from 'history/createBrowserHistory'; import R from 'ramda'; import client from '../api'; import endpointSchema from '../../configurations/apiSchema'; // @TODO: REMOVE import { DELETE_ENDPOINT_START, DELETE_ENDPOINT_SUCCESS, FETCH_ENDPOINT_START, FETCH_ENDPOINT_SUCCESS, FETCH_EN...
remove senseless awaits and minor FP changes :)
src/store/actions/api.actions.js
remove senseless awaits and minor FP changes :)
<ide><path>rc/store/actions/api.actions.js <ide> try { <ide> // Get all server names <ide> const response = await client.get('/oauth/servers'); <del> const serverNames = await response.data.reduce((acc, item) => { <add> const serverNames = response.data.reduce((acc, item) => { <ide> ...
Java
apache-2.0
1d9a4b286365aef3fedb0c231771a667926d95e6
0
jamesjara/OpenIAB-Cordova-Plugin,jamesjara/OpenIAB-Cordova-Plugin
package org.onepf.openiab.cordova; //import com.squareup.okhttpxxxxxxx3.internal.StrictLineReader; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.con...
android/src/OpenIabCordovaPlugin.java
package org.onepf.openiab.cordova; //import com.squareup.okhttpxxxxxxx3.internal.StrictLineReader; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.con...
no time to desc
android/src/OpenIabCordovaPlugin.java
no time to desc
<ide><path>ndroid/src/OpenIabCordovaPlugin.java <ide> public class OpenIabCordovaPlugin extends CordovaPlugin <ide> { <ide> <del> <add> <add> private static final int REQUEST_CODE = 1234; // Can be anything <ide> public static final String TAG = "OpenIAB-xxxx"; <ide> <ide> //private PaymentActivity mCl...
JavaScript
mit
0afa4b9e781e444913670575066c55f68b5e9772
0
shopetan/repair,shopetan/repair
var socket = io.connect('http://localhost:8080'); socket.on('connect', function(msg) { console.log("connet"); }); socket.on('title_message', function(msg) { console.log("send_title"); console.log(msg); document.getElementById("input_name").innerHTML = msg.value; }); socket.on('type_message', function(msg)...
server/app/view/js/client.js
var socket = io.connect('http://localhost:8080'); socket.on('connect', function(msg) { console.log("connet"); }); socket.on('title_message', function(msg) { console.log("send_title"); console.log(msg); document.getElementById("input_name").innerHTML = msg.value; }); socket.on('type_message', function(msg)...
英語でのsaveが出来る
server/app/view/js/client.js
英語でのsaveが出来る
<ide><path>erver/app/view/js/client.js <ide> '</div>', <ide> ' </div>', <ide> '<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">', <del> '<textarea class="mdl-textfield__input" type="text" rows= "1" id="input_type"><%- name %></textarea>', <add> '<textarea class="mdl-...
JavaScript
mit
f1044cac0fa85c4171103d3b864c1b8ab26de6b1
0
lassecph/backbone.bootstrap-modal,powmedia/backbone.bootstrap-modal,squidsolutions/backbone.bootstrap-modal,tindustry/backbone.bootstrap-modal,tindustry/backbone.bootstrap-modal,Mediamorph/backbone.bootstrap-modal
/** * Bootstrap Modal wrapper for use with Backbone. * * Takes care of instantiation, manages multiple modals, * adds several options and removes the element from the DOM when closed * * @author Charles Davison <charlie@powmedia.co.uk> * * Events: * shown: Fired when the modal has finished animating in * hid...
src/backbone.bootstrap-modal.js
/** * Bootstrap Modal wrapper for use with Backbone. * * Takes care of instantiation, manages multiple modals, * adds several options and removes the element from the DOM when closed * * @author Charles Davison <charlie@powmedia.co.uk> * * Events: * shown: Fired when the modal has finished animating in * hid...
Installs event handler for "hidden" before actually triggering it Even when 'hide' is fast, on('hidden') will be already there
src/backbone.bootstrap-modal.js
Installs event handler for "hidden" before actually triggering it
<ide><path>rc/backbone.bootstrap-modal.js <ide> return; <ide> } <ide> <del> $el.modal('hide'); <del> <ide> $el.one('hidden', function() { <ide> self.remove(); <ide> <ide> self.trigger('hidden'); <ide> }); <add> <add> $el.modal('hide'); <ide> <ide> Modal.count...
Java
bsd-2-clause
6caab32c72582159ffaa778e6cce2913d6156f0d
0
carat-project/carat,carat-project/carat,carat-project/carat,carat-project/carat,carat-project/carat
package edu.berkeley.cs.amplab.carat.android.protocol; import java.util.ArrayList; import java.util.List; import org.apache.thrift.TException; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import edu.berkeley.cs.amplab.carat.android.CaratApplication;...
app/android/src/edu/berkeley/cs/amplab/carat/android/protocol/CommunicationManager.java
package edu.berkeley.cs.amplab.carat.android.protocol; import java.util.ArrayList; import java.util.List; import org.apache.thrift.TException; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import edu.berkeley.cs.amplab.carat.android.CaratApplication;...
Step towards real data receiving.
app/android/src/edu/berkeley/cs/amplab/carat/android/protocol/CommunicationManager.java
Step towards real data receiving.
<ide><path>pp/android/src/edu/berkeley/cs/amplab/carat/android/protocol/CommunicationManager.java <ide> public void uploadSample(Sample sample) throws TException { <ide> registerOnFirstRun(); <ide> // FIXME: This may be stupid, but always use a new connection. <del> // Alternative: Make sure c opens the connectio...
Java
agpl-3.0
df1cd2fff97c696f1f9c7d481a15fb913aac4473
0
KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.svg; import java.awt.Cursor; import java.awt.Point; import java.awt.event.MouseEvent; import java.net.URI; import java.net.URISyntaxException; import org.w3c.dom.events.Event; import org.w3c.dom.events.EventListener; import org.apache.batik.dom.events.DOMMouseEvent; import javax.swing.event.Mous...
src/main/java/nl/mpi/kinnate/svg/MouseListenerSvg.java
package nl.mpi.kinnate.svg; import java.awt.Cursor; import java.awt.Point; import java.awt.event.MouseEvent; import java.net.URI; import java.net.URISyntaxException; import org.w3c.dom.events.Event; import org.w3c.dom.events.EventListener; import org.apache.batik.dom.events.DOMMouseEvent; import javax.swing.event.Mous...
Migrated kinnate trunk to use the latest Arbil jar.
src/main/java/nl/mpi/kinnate/svg/MouseListenerSvg.java
Migrated kinnate trunk to use the latest Arbil jar.
<ide><path>rc/main/java/nl/mpi/kinnate/svg/MouseListenerSvg.java <ide> import org.w3c.dom.events.EventListener; <ide> import org.apache.batik.dom.events.DOMMouseEvent; <ide> import javax.swing.event.MouseInputAdapter; <del>import nl.mpi.arbil.GuiHelper; <add>import nl.mpi.arbil.data.ArbilDataNodeLoader; <add>import nl....
Java
apache-2.0
1c1a2007dcee1b6ca9c583ec8af63057ada317f1
0
openfoodfacts/OpenFoodFacts-androidApp
package openfoodfacts.github.scrachx.openfood.views; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewTreeObserver; ...
app/src/main/java/openfoodfacts/github/scrachx/openfood/views/ProductImageManagementActivity.java
package openfoodfacts.github.scrachx.openfood.views; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewTreeObserver; ...
fix: thread to Completable
app/src/main/java/openfoodfacts/github/scrachx/openfood/views/ProductImageManagementActivity.java
fix: thread to Completable
<ide><path>pp/src/main/java/openfoodfacts/github/scrachx/openfood/views/ProductImageManagementActivity.java <ide> import java.util.List; <ide> import java.util.Set; <ide> <add>import io.reactivex.Completable; <ide> import io.reactivex.android.schedulers.AndroidSchedulers; <ide> import io.reactivex.disposables.Composit...
Java
mit
6044dd667eb94bb5b98e0fa6af667548ddf964b4
0
tomvlk/BusinessRuleGenerator-to
package com.brg.mock; import org.apache.ddlutils.model.Column; import org.apache.ddlutils.model.Database; import org.apache.ddlutils.model.Table; public class TargetDatabaseMock { private Database database; private Table afdelingen, cursussen, historie, inschrijvingen, medewerkers, schalen, uitvoering; p...
src/main/java/com/brg/mock/TargetDatabaseMock.java
package com.brg.mock; import org.apache.ddlutils.model.Column; import org.apache.ddlutils.model.Database; import org.apache.ddlutils.model.Table; public class TargetDatabaseMock { private Database database; private Table afdelingen, cursussen, historie, inschrijvingen, medewerkers, schalen, uitvoering; p...
typo plus added column
src/main/java/com/brg/mock/TargetDatabaseMock.java
typo plus added column
<ide><path>rc/main/java/com/brg/mock/TargetDatabaseMock.java <ide> } <ide> <ide> private void historieColumns() { <del> Column mnr, begindatum, beginjaar, einddatum, afd, maandsal, opmerking; <add> Column mnr, begindatum, beginjaar, einddatum, afd, maandsal, opmerking, gebeurtenis; <ide> ...
Java
artistic-2.0
d8e7b1d41608afd851fb13b263796ad13a8bec10
0
salortiz/rakudo,LLFourn/rakudo,jonathanstowe/rakudo,samcv/rakudo,awwaiid/rakudo,salortiz/rakudo,cygx/rakudo,tony-o/rakudo,cygx/rakudo,awwaiid/rakudo,LLFourn/rakudo,raydiak/rakudo,ugexe/rakudo,softmoth/rakudo,MasterDuke17/rakudo,rakudo/rakudo,jonathanstowe/rakudo,softmoth/rakudo,tbrowder/rakudo,sjn/rakudo,sjn/rakudo,cyg...
package org.perl6.rakudo; import java.util.*; import org.perl6.nqp.runtime.*; import org.perl6.nqp.sixmodel.*; import org.perl6.nqp.sixmodel.reprs.ContextRefInstance; @SuppressWarnings("unused") public final class Binder { /* Possible results of binding. */ public static final int BIND_RESULT_OK = 0; ...
src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
package org.perl6.rakudo; import java.util.*; import org.perl6.nqp.runtime.*; import org.perl6.nqp.sixmodel.*; import org.perl6.nqp.sixmodel.reprs.ContextRefInstance; @SuppressWarnings("unused") public final class Binder { /* Possible results of binding. */ public static final int BIND_RESULT_OK = 0; ...
Bring hllize semantics in line with Moar backend. Fixes RETURN-LIST crash, getting us further through startup on JVM.
src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Bring hllize semantics in line with Moar backend.
<ide><path>rc/vm/jvm/runtime/org/perl6/rakudo/Binder.java <ide> * bind if it passes the type check, or a native value that needs no <ide> * further checking. */ <ide> SixModelObject decontValue = null; <add> boolean didHLLTransform = false; <ide> if (flag == CallSiteDescriptor.A...
Java
lgpl-2.1
001aeb07be2f82ff05c4ee9358aeeb0057a49ad6
0
simoc/mapyrus,simoc/mapyrus,simoc/mapyrus
/* * $Id$ */ package au.id.chenery.mapyrus; import java.awt.Graphics2D; import java.awt.BasicStroke; import java.awt.geom.PathIterator; import java.awt.Shape; import javax.imageio.*; import java.io.FileOutputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import ...
src/org/mapyrus/OutputFormat.java
/* * $Id$ */ package au.id.chenery.mapyrus; import java.awt.Graphics2D; import java.awt.BasicStroke; import java.awt.geom.PathIterator; import java.awt.Shape; import javax.imageio.*; import java.io.FileOutputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import ...
Remove unused methods. Make getResolution public. Handle arcs/curves to PostScript files.
src/org/mapyrus/OutputFormat.java
Remove unused methods. Make getResolution public. Handle arcs/curves to PostScript files.
<ide><path>rc/org/mapyrus/OutputFormat.java <ide> * Number of points and millimetres per inch. <ide> */ <ide> private static final int POINTS_PER_INCH = 72; <del> private static final double MM_PER_INCH = 25.4; <add> public static final double MM_PER_INCH = 25.4; <ide> <ide> /* <ide> * Format for coordinates a...
Java
apache-2.0
b0f5c16f8fad3248aaa58f05a628271ec8b54a89
0
pinterest/rocksplicator,pinterest/rocksplicator,pinterest/rocksplicator,pinterest/rocksplicator,pinterest/rocksplicator
/// Copyright 2017 Pinterest Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// Unless required by applicable law or agreed t...
cluster_management/src/main/java/com/pinterest/rocksplicator/ConfigGenerator.java
/// Copyright 2017 Pinterest Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// Unless required by applicable law or agreed t...
Log all unchecked exceptions from shard generation (#415)
cluster_management/src/main/java/com/pinterest/rocksplicator/ConfigGenerator.java
Log all unchecked exceptions from shard generation (#415)
<ide><path>luster_management/src/main/java/com/pinterest/rocksplicator/ConfigGenerator.java <ide> } <ide> } <ide> <add> private void logUncheckedException(Runnable r) { <add> try { <add> r.run(); <add> } catch (Throwable throwable) { <add> LOG.error("Exception in generateShardConfig()", throwabl...
JavaScript
mit
0e7b985b874b2d3ed769817778167473abe9fdf5
0
agrc/AddressPointEditor,agrc/AddressPointEditor,agrc/AddressPointEditor
module.exports = function (grunt) { require('load-grunt-tasks')(grunt); var otherFiles = [ 'src/app/**/*.html', 'src/app/**/*.css', 'src/index.html', 'src/ChangeLog.html', 'tests/**/*.js' ]; var jsFiles = [ 'src/app/**/*.js', 'profiles/*.js', ...
GruntFile.js
module.exports = function (grunt) { require('load-grunt-tasks')(grunt); var otherFiles = [ 'src/app/**/*.html', 'src/app/**/*.css', 'src/index.html', 'src/ChangeLog.html', 'tests/**/*.js' ]; var jsFiles = [ 'src/app/**/*.js', 'profiles/*.js', ...
compress the admin page also
GruntFile.js
compress the admin page also
<ide><path>runtFile.js <ide> drop_console: false <ide> } <ide> }, <del> src: ['dist/dojo/dojo.js'], <del> dest: 'dist/dojo/dojo.js' <add> files: { <add> 'dist/dojo/dojo.js': ['dist/dojo/dojo.js'],...
JavaScript
mit
b1d98e1fbbba6a6f8e0db54c479e0b0265640f10
0
HumanDynamics/rhythm-server,HumanDynamics/rhythm-server
// deactivate-meeting-hook.js -- Before, patch. sets a meeting to inactive // if it's going from n to 0 participant before a `patch` event // will also: // - generate meeting events for meeting ends // - end turn computation when a meeting stops 'use strict' const _ = require('underscore') const winston = require('wins...
src/services/meeting/hooks/deactivate-meeting-hook.js
// deactivate-meeting-hook.js -- Before, patch. sets a meeting to inactive // if it's going from n to 0 participant before a `patch` event // will also: // - generate meeting events for meeting ends // - end turn computation when a meeting stops 'use strict' const _ = require('underscore') const winston = require('wins...
Fixed hook.id bug
src/services/meeting/hooks/deactivate-meeting-hook.js
Fixed hook.id bug
<ide><path>rc/services/meeting/hooks/deactivate-meeting-hook.js <ide> function getReportData (hook, callback) { <ide> winston.log('info', 'Getting report data...') <ide> // find participant events (-> historical participants) <add> var meetingId = hook.id <add> if (hook.id === Object(hook.id)) { <add> meetingI...
JavaScript
agpl-3.0
16b4f6cc6dd0292e38cdfc86e4128562a28c284d
0
onaio/kpi,kobotoolbox/kpi,kobotoolbox/kpi,onaio/kpi,onaio/kpi,kobotoolbox/kpi,kobotoolbox/kpi,onaio/kpi,kobotoolbox/kpi
import React from 'react'; import PropTypes from 'prop-types'; import Reflux from 'reflux'; import reactMixin from 'react-mixin'; import bem from '../bem'; import ui from '../ui'; import actions from '../actions'; import stores from '../stores'; import mixins from '../mixins'; import Select from 'react-select'; import ...
jsapp/js/components/tableColumnFilter.es6
import React from 'react'; import PropTypes from 'prop-types'; import Reflux from 'reflux'; import reactMixin from 'react-mixin'; import bem from '../bem'; import ui from '../ui'; import actions from '../actions'; import stores from '../stores'; import mixins from '../mixins'; import Select from 'react-select'; import ...
add checkbox for hxl tags
jsapp/js/components/tableColumnFilter.es6
add checkbox for hxl tags
<ide><path>sapp/js/components/tableColumnFilter.es6 <ide> selectedColumns: [], <ide> frozenColumn: false, <ide> showGroupName: true, <add> showHXLTags: false, <ide> translationIndex: 0 <ide> }; <ide> <ide> this.state.showGroupName = _sett['data-table']['show-group-name']; <ide>...
Java
bsd-3-clause
725aea1b34d35afc5f4aa9562b58d2d58b0710f1
0
rouault/GeoGit,annacarol/GeoGig,rouault/GeoGit,markles/GeoGit,boundlessgeo/GeoGig,markles/GeoGit,markles/GeoGit,markles/GeoGit,rouault/GeoGit,annacarol/GeoGig,boundlessgeo/GeoGig,rouault/GeoGit,boundlessgeo/GeoGig,annacarol/GeoGig,markles/GeoGit
/* Copyright (c) 2011 TOPP - www.openplans.org. All rights reserved. * This code is licensed under the LGPL 2.1 license, available at the root * application directory. */ package org.geogit.geotools.data; import static com.google.common.base.Predicates.alwaysTrue; import static com.google.common.base.Predicates.an...
src/geotools/src/main/java/org/geogit/geotools/data/GeogitFeatureReader.java
/* Copyright (c) 2011 TOPP - www.openplans.org. All rights reserved. * This code is licensed under the LGPL 2.1 license, available at the root * application directory. */ package org.geogit.geotools.data; import static com.google.common.base.Predicates.alwaysTrue; import static com.google.common.base.Predicates.an...
Fixed an issue with NULL CRS. Author: groldan
src/geotools/src/main/java/org/geogit/geotools/data/GeogitFeatureReader.java
Fixed an issue with NULL CRS.
<ide><path>rc/geotools/src/main/java/org/geogit/geotools/data/GeogitFeatureReader.java <ide> import org.opengis.filter.identity.FeatureId; <ide> import org.opengis.filter.identity.Identifier; <ide> import org.opengis.filter.spatial.BBOX; <add>import org.opengis.referencing.crs.CoordinateReferenceSystem; <ide> <ide> im...
Java
agpl-3.0
3f9c4a410a934946391129499a56597aa5270c5d
0
PReimers/sportchef,McPringle/sportchef,McPringle/sportchef,PReimers/sportchef
/* * SportChef – Sports Competition Management Software * Copyright (C) 2016 Marcus Fihlon * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
src/main/java/ch/sportchef/business/PersistenceManager.java
/* * SportChef – Sports Competition Management Software * Copyright (C) 2016 Marcus Fihlon * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (...
#270 Modified persistence stuff to work without Java EE dependencies
src/main/java/ch/sportchef/business/PersistenceManager.java
#270 Modified persistence stuff to work without Java EE dependencies
<ide><path>rc/main/java/ch/sportchef/business/PersistenceManager.java <ide> package ch.sportchef.business; <ide> <ide> import lombok.experimental.UtilityClass; <del>import org.jetbrains.annotations.NonNls; <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> import pl.setblack.airomem.core.Simple...
JavaScript
agpl-3.0
0b4185d100014737426c97f3d07915c1234d5e30
0
abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack,abetusk/bostontraintrack
/* Copyright (C) 2013 Abram Connelly This file is part of bostontraintrack. bostontraintrack is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
srv/srv_bus.js
var http = require("http"); var sockio = require('socket.io')(); var xmlparse = require("xml2js").parseString; var g_verbose = 0; var global_connect = { }; var global_status = { }; var global_data = { n: 0, interval : { bus:13000 }, //interval : { bus:3000 }, ...
added AGPL header and took out dead comments
srv/srv_bus.js
added AGPL header and took out dead comments
<ide><path>rv/srv_bus.js <add>/* <add> <add> Copyright (C) 2013 Abram Connelly <add> <add> This file is part of bostontraintrack. <add> <add> bostontraintrack is free software: you can redistribute it and/or modify <add> it under the terms of the GNU Affero General Public License as published by <add> th...
Java
apache-2.0
5d8a0e6c68222d74e3ddb33b118cf39f98ae7c77
0
jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet
/* * Copyright 2014-2016 Julien Guerinet * * 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...
app/src/main/java/ca/appvelopers/mcgillmobile/util/manager/UpdateManager.java
/* * Copyright 2014-2016 Julien Guerinet * * 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...
Added update code to go from the old language storage type to the new one
app/src/main/java/ca/appvelopers/mcgillmobile/util/manager/UpdateManager.java
Added update code to go from the old language storage type to the new one
<ide><path>pp/src/main/java/ca/appvelopers/mcgillmobile/util/manager/UpdateManager.java <ide> package ca.appvelopers.mcgillmobile.util.manager; <ide> <ide> import android.content.Context; <add>import android.content.SharedPreferences; <ide> <ide> import com.guerinet.utils.Utils; <ide> import com.guerinet.utils.prefs....
Java
bsd-3-clause
d5d64bc71a564a38de014eb97bb95e78927bdc14
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.web.study; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.acegisecurity.Authentication; import org.acegisecurity....
codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/AmendStudyController.java
package edu.duke.cabig.c3pr.web.study; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.acegisecurity.Authentication; import org.acegisecurity....
Added soft delete to refdata
codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/AmendStudyController.java
Added soft delete to refdata
<ide><path>odebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/AmendStudyController.java <ide> isAdmin = "true"; <ide> } <ide> } <add> request.setAttribute("softDelete", "true"); <ide> request.setAttribute("isAdmin", isAdmin); <ide> return super.referen...
Java
unlicense
c83684f3ebb04b03c8d85df17f3e810f954d39a3
0
floating-cat/S1-Next,suafeng/S1-Next,ykrank/S1-Next,ykrank/S1-Next,gy6221/S1-Next,superpig11/S1-Next,ykrank/S1-Next
package cl.monsoon.s1next.widget; import android.content.res.ColorStateList; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.support.annotation.DrawableRes; import android.support.annotation...
app/src/main/java/cl/monsoon/s1next/widget/StateListDrawableWithTint.java
package cl.monsoon.s1next.widget; import android.content.res.ColorStateList; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import android.support.annotation.DrawableRes; import android.support.annotation...
Fix NullPointerException due to aa05a2716a977f2ce442af61f538496e389ca1b6
app/src/main/java/cl/monsoon/s1next/widget/StateListDrawableWithTint.java
Fix NullPointerException due to aa05a2716a977f2ce442af61f538496e389ca1b6
<ide><path>pp/src/main/java/cl/monsoon/s1next/widget/StateListDrawableWithTint.java <ide> <ide> @Override <ide> protected boolean onStateChange(int[] stateSet) { <del> int color = mColorStateList.getColorForState(stateSet, Color.TRANSPARENT); <del> setColorFilter(color, mMode); <add> // mC...
Java
isc
error: pathspec 'mobile/src/main/java/theputnams/net/isitrecyclingweek/restclients/model/APIContract.java' did not match any file(s) known to git
4af01529206915e122e3d24a9c78eabb74f5ed9c
1
dhmncivichacks/isitrecyclingweek-android,dhmncivichacks/isitrecyclingweek,mikeputnam/isitrecyclingweek
package theputnams.net.isitrecyclingweek.restclients.model; import com.google.gson.annotations.Expose; public class APIContract { @Expose private String contractName; @Expose private String contractDescription; @Expose private String implementationName; @Expose private String homepage...
mobile/src/main/java/theputnams/net/isitrecyclingweek/restclients/model/APIContract.java
Adds ApiContract data model
mobile/src/main/java/theputnams/net/isitrecyclingweek/restclients/model/APIContract.java
Adds ApiContract data model
<ide><path>obile/src/main/java/theputnams/net/isitrecyclingweek/restclients/model/APIContract.java <add>package theputnams.net.isitrecyclingweek.restclients.model; <add> <add>import com.google.gson.annotations.Expose; <add> <add>public class APIContract { <add> <add> @Expose <add> private String contractName; <ad...
Java
mit
bfd6197e0b8a1b4cece828881f666b5a474610f4
0
codistmonk/IMJ
package imj3.draft.processing; import static imj3.tools.AwtImage2D.awtRead; import static imj3.tools.CommonSwingTools.limitHeight; import static imj3.tools.CommonSwingTools.setModel; import static java.lang.Math.max; import static net.sourceforge.aprog.swing.SwingTools.horizontalBox; import static net.sourcefor...
IMJ/src/imj3/draft/processing/VisualAnalysis.java
package imj3.draft.processing; import static imj3.tools.AwtImage2D.awtRead; import static imj3.tools.CommonSwingTools.limitHeight; import static imj3.tools.CommonSwingTools.setModel; import static java.lang.Math.max; import static net.sourceforge.aprog.swing.SwingTools.horizontalBox; import static net.sourcefor...
[IMJ][imj3][processing] Updated VisualAnalysis.
IMJ/src/imj3/draft/processing/VisualAnalysis.java
[IMJ][imj3][processing] Updated VisualAnalysis.
<ide><path>MJ/src/imj3/draft/processing/VisualAnalysis.java <ide> <ide> private final Context context; <ide> <del> private final PathSelector imageSelector; <add> private final FileSelector imageSelector; <ide> <ide> private final JCheckBox imageVisibilitySelector; <ide> <ide> super(new BorderLayou...
Java
lgpl-2.1
e3184701e8679194cafdaa079fd5b9b5a79fed81
0
wolfgangmm/exist,lcahlander/exist,olvidalo/exist,dizzzz/exist,patczar/exist,wshager/exist,MjAbuz/exist,shabanovd/exist,MjAbuz/exist,dizzzz/exist,kohsah/exist,wolfgangmm/exist,ljo/exist,windauer/exist,windauer/exist,dizzzz/exist,opax/exist,lcahlander/exist,kohsah/exist,eXist-db/exist,MjAbuz/exist,zwobit/exist,jessealama...
package org.exist.xquery; import com.sun.xacml.ctx.RequestCtx; import java.io.Writer; import java.util.List; import org.exist.dom.DocumentSet; import org.exist.dom.QName; import org.exist.security.PermissionDeniedException; import org.exist.security.xacml.ExistPDP; import org.exist.xquery.parser.XQueryAST; import or...
src/org/exist/xquery/InternalFunctionCall.java
package org.exist.xquery; import com.sun.xacml.ctx.RequestCtx; import java.io.Writer; import java.util.List; import org.exist.dom.DocumentSet; import org.exist.dom.QName; import org.exist.security.PermissionDeniedException; import org.exist.security.xacml.ExistPDP; import org.exist.xquery.parser.XQueryAST; import or...
removed useless check for null in InternalFunctionCall constructor svn path=/trunk/eXist-1.0/; revision=2603
src/org/exist/xquery/InternalFunctionCall.java
removed useless check for null in InternalFunctionCall constructor
<ide><path>rc/org/exist/xquery/InternalFunctionCall.java <ide> public InternalFunctionCall(Function f) <ide> { <ide> super(f.getContext(), f.getSignature()); <del> if(f == null) <del> throw new NullPointerException("Function cannot be null"); <ide> this.function = f; <ide> } <ide> public Sequence eval(Sequen...
Java
apache-2.0
1dc57f02f3f2092c3722d61f429b40ffe8ba8594
0
apache/mina-sshd,apache/mina-sshd,apache/mina-sshd,apache/mina-sshd
/* * 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 ma...
sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.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 ma...
Use Map.merge
sshd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java
Use Map.merge
<ide><path>shd-cli/src/main/java/org/apache/sshd/cli/client/SshClientCliSupport.java <ide> Path idFile = resolveIdentityFile(optValue); <ide> identities.add(idFile); <ide> } else { <del> Object prev = options.get(optName); <del> ...
Java
bsd-3-clause
aead27bcc5ca0b3c6e72d86a94379305545385bf
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.service.sample.helper; import gov.nih.nci.cananolab.domain.agentmaterial.OtherFunctionalizingEntity; import gov.nih.nci.cananolab.domain.common.Datum; import gov.nih.nci.cananolab.domain.common.Finding; import gov.nih.nci.cananolab.domain.common.Keyword; import gov.nih.nci.cananolab.domai...
src/gov/nih/nci/cananolab/service/sample/helper/SampleServiceHelper.java
package gov.nih.nci.cananolab.service.sample.helper; import gov.nih.nci.cananolab.domain.agentmaterial.OtherFunctionalizingEntity; import gov.nih.nci.cananolab.domain.common.Datum; import gov.nih.nci.cananolab.domain.common.Finding; import gov.nih.nci.cananolab.domain.common.Keyword; import gov.nih.nci.cananolab.domai...
added findDampleById SVN-Revision: 16625
src/gov/nih/nci/cananolab/service/sample/helper/SampleServiceHelper.java
added findDampleById
<ide><path>rc/gov/nih/nci/cananolab/service/sample/helper/SampleServiceHelper.java <ide> return sample; <ide> } <ide> <add> public Sample findSampleById(String sampleId, UserBean user) <add> throws Exception { <add> Sample sample = null; <add> CustomizedApplicationService appService = (CustomizedApplicationServ...
Java
mit
b1a04ebfd94acd48ab3fc59ad84c221ad0c9e75c
0
tsmacdonald/simulator,tsmacdonald/simulator
package edu.wheaton.simulator.statistics; import java.util.Map; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import edu.wheaton.simulator.entity.Agent; import edu.wheaton.simulator.entity.EntityID; import edu.wheaton.simulator.entity.GridEntity; import edu.wheaton.sim...
src/edu/wheaton/simulator/statistics/SnapshotFactory.java
package edu.wheaton.simulator.statistics; import java.util.Map; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import edu.wheaton.simulator.entity.Agent; import edu.wheaton.simulator.entity.EntityID; import edu.wheaton.simulator.entity.GridEntity; import edu.wheaton.sim...
Implemented makeAgentSnapshot() and makePrototypeSnapshot().
src/edu/wheaton/simulator/statistics/SnapshotFactory.java
Implemented makeAgentSnapshot() and makePrototypeSnapshot().
<ide><path>rc/edu/wheaton/simulator/statistics/SnapshotFactory.java <ide> <ide> // TODO Please check these methods and see if they're all okay. <ide> <del> public static EntitySnapshot makeSlotSnapshot(GridEntity entity, <add> /** <add> * Produce a snapshot of the given slot in time. <add> * @param slot The relev...
Java
apache-2.0
d7f0d76dcd80da84e5be12934a6aba26fcc2fdf4
0
romartin/kie-wb-common,manstis/kie-wb-common,manstis/kie-wb-common,romartin/kie-wb-common,manstis/kie-wb-common,romartin/kie-wb-common,droolsjbpm/kie-wb-common,romartin/kie-wb-common,droolsjbpm/kie-wb-common,manstis/kie-wb-common,romartin/kie-wb-common,manstis/kie-wb-common
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 app...
kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/commands/expressions/types/dtable/AddOutputClauseCommandTest.java
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 app...
AF-2797: Reenable tests on jdk 11 (#3559) Due to recent jdk11 support [1] introduced on master we should re-enable few tests [2] not working on jdk 11 previously. [1] - https://issues.redhat.com/browse/AF-1799 [2] - https://issues.redhat.com/browse/AF-2797
kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/commands/expressions/types/dtable/AddOutputClauseCommandTest.java
AF-2797: Reenable tests on jdk 11 (#3559)
<ide><path>ie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/commands/expressions/types/dtable/AddOutputClauseCommandTest.java <ide> import java.util.Optional; <ide> import java.util.stream.Stream; <ide> <del>import org.junit.Assume; <ide> import org.junit.Before; <ide> import...
JavaScript
mit
ac9d1b4ae621409611222069a04185f57b508aa2
0
nikgraf/belle,nikgraf/belle
import React, {Component} from 'react'; import { canUseDOM } from 'exenv'; import {extend, omit, has} from '../utils/helpers'; import style from '../style/rating.js'; import {injectStyles, removeStyle} from '../utils/inject-style'; import unionClassNames from '../utils/union-class-names'; import config from '../config/...
src/components/Rating.js
import React, {Component} from 'react'; import { canUseDOM } from 'exenv'; import {extend, omit, has} from '../utils/helpers'; import style from '../style/rating.js'; import {injectStyles, removeStyle} from '../utils/inject-style'; import unionClassNames from '../utils/union-class-names'; import config from '../config/...
refactor(Rating): move and update function names
src/components/Rating.js
refactor(Rating): move and update function names
<ide><path>rc/components/Rating.js <ide> _onMouseUp(event) { <ide> if (!this.props.disabled && !this.preventNextMouseUpTriggerUpdate) { <ide> const value = Number(event.target.getAttribute('data-belle-value')); <del> this._updateComponent(value); <add> this._triggerComponentUpdate(value); <ide> ...
JavaScript
mpl-2.0
3fc760b6e9136d9ea42e409bafd2de13f66b626a
0
gladly-team/tab,gladly-team/tab,gladly-team/tab
import createCampaignConfiguration from './createCampaignConfiguration' const campaignTitle = '## COVID-19 Food Bank Support' const campaignDescription = ` #### Thanks to you, our community [raised thousands of dollars](https://tab.gladly.io/covid-19/) for the World Health Organization over the last few days. #### In ...
graphql/database/globals/getCurrentCampaignConfig.js
import createCampaignConfiguration from './createCampaignConfiguration' const campaignTitle = '## COVID-19 Food Bank Support' const campaignDescription = ` #### Thanks to you, our community [raised thousands of dollars](https://tab.gladly.io/covid-19/) for the World Health Organization over the last few days. #### In ...
Change campaign end content to highlight goal achievement and ask for sharing
graphql/database/globals/getCurrentCampaignConfig.js
Change campaign end content to highlight goal achievement and ask for sharing
<ide><path>raphql/database/globals/getCurrentCampaignConfig.js <ide> #### In addition to health systems, COVID-19 has strained the ability of food banks to take care of people in need. The next phase of our support will help the [Food Bank for New York City](https://www.foodbanknyc.org/covid-19/) keep families fed duri...
Java
apache-2.0
2283b845f015134fbaa8e20a3dbb6bcea9db8464
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
package io.quarkus.keycloak.pep.deployment; import java.util.Map; import io.quarkus.arc.deployment.AdditionalBeanBuildItem; import io.quarkus.arc.deployment.BeanContainerBuildItem; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment....
extensions/keycloak-authorization/deployment/src/main/java/io/quarkus/keycloak/pep/deployment/KeycloakPolicyEnforcerBuildStep.java
package io.quarkus.keycloak.pep.deployment; import java.util.Map; import io.quarkus.arc.deployment.AdditionalBeanBuildItem; import io.quarkus.arc.deployment.BeanContainerBuildItem; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment....
Fix Keycloack Authorization require body handler detection
extensions/keycloak-authorization/deployment/src/main/java/io/quarkus/keycloak/pep/deployment/KeycloakPolicyEnforcerBuildStep.java
Fix Keycloack Authorization require body handler detection
<ide><path>xtensions/keycloak-authorization/deployment/src/main/java/io/quarkus/keycloak/pep/deployment/KeycloakPolicyEnforcerBuildStep.java <ide> for (Map.Entry<String, Map<String, String>> entry : claims.entrySet()) { <ide> Map<String, String> value = entry.getValue(); <ide> <del> if (...
Java
agpl-3.0
0db54b93cd194bf0c089783592ef6ce3f92f1cc7
0
CeON/CERMINE,CeON/CERMINE,CeON/CERMINE,CeON/CERMINE
/** * This file is part of CERMINE project. * Copyright (c) 2011-2016 ICM-UW * * CERMINE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
cermine-web/src/main/java/pl/edu/icm/cermine/service/ExtractionTask.java
/** * This file is part of CERMINE project. * Copyright (c) 2011-2016 ICM-UW * * CERMINE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
simple setter restored
cermine-web/src/main/java/pl/edu/icm/cermine/service/ExtractionTask.java
simple setter restored
<ide><path>ermine-web/src/main/java/pl/edu/icm/cermine/service/ExtractionTask.java <ide> } <ide> <ide> public void setPdf(byte[] pdf) { <del> if (pdf == null) { <del> this.pdf = null; <del> } else { <del> this.pdf = pdf.clone(); <del> } <add> this.pdf = pdf; <i...
Java
bsd-3-clause
4b500ce4549bfe5b0f69dc59b9bb01ff9afcb113
0
Shockwave4546/FRC-2015
// 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 blocks...
src/org/usfirst/frc/team4546/robot2/commands/Drive.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 blocks...
Fixed deadzones being 10 times too big
src/org/usfirst/frc/team4546/robot2/commands/Drive.java
Fixed deadzones being 10 times too big
<ide><path>rc/org/usfirst/frc/team4546/robot2/commands/Drive.java <ide> // Called repeatedly when this Command is scheduled to run <ide> protected void execute() { <ide> <del> if (Robot.oi.driveStick.getX() <= .55) { <add> if (Robot.oi.driveStick.getX() <= .055) { <ide> <ide> driveX = ...
Java
mpl-2.0
529eea3d672ab7a340268032083a434c3c01fe0d
0
sensiasoft/lib-swe-common
/***************************** BEGIN LICENSE BLOCK *************************** 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/MP...
swe-common-core/src/main/java/org/vast/swe/SWEData.java
/***************************** BEGIN LICENSE BLOCK *************************** 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/MP...
Fixed bug in SWEData block writer now that we're appendign block separators after each record
swe-common-core/src/main/java/org/vast/swe/SWEData.java
Fixed bug in SWEData block writer now that we're appendign block separators after each record
<ide><path>we-common-core/src/main/java/org/vast/swe/SWEData.java <ide> package org.vast.swe; <ide> <ide> import java.io.IOException; <del>import java.io.InputStream; <del>import java.io.OutputStream; <ide> import net.opengis.swe.v20.DataComponent; <ide> import net.opengis.swe.v20.DataEncoding; <ide> import net.opengi...
Java
apache-2.0
04b77fd2600ec64fa41d578667ba2bc3f35570d2
0
strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/test/java/org/elasticsearch/transport/RemoteClusterConnectionTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
[TEST] AwaitsFix testTriggerUpdatesConcurrently
server/src/test/java/org/elasticsearch/transport/RemoteClusterConnectionTests.java
[TEST] AwaitsFix testTriggerUpdatesConcurrently
<ide><path>erver/src/test/java/org/elasticsearch/transport/RemoteClusterConnectionTests.java <ide> } <ide> } <ide> <add> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/28695") <ide> public void testTriggerUpdatesConcurrently() throws IOException, InterruptedException { <ide> ...
Java
apache-2.0
6df278422eb737ae02969e1f471379551d9b1177
0
firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/CustomModelDownloadService.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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
return exception if modelname is empty (#4226)
firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/CustomModelDownloadService.java
return exception if modelname is empty (#4226)
<ide><path>irebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/CustomModelDownloadService.java <ide> <ide> import android.content.Context; <ide> import android.content.pm.PackageManager; <add>import android.text.TextUtils; <ide> import android.util.JsonReader; <ide> import android....
Java
mit
e67a33640d96489a05e184ae50ac108a3d0ef7ff
0
s-aska/Justaway-for-Android-Original,nirvash/Justaway-for-Android-Original,teshi04/Justaway-for-Android-Original
package info.justaway.adapter; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import...
Justaway/src/main/java/info/justaway/adapter/TwitterAdapter.java
package info.justaway.adapter; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import...
Guy to fixed #138
Justaway/src/main/java/info/justaway/adapter/TwitterAdapter.java
Guy to fixed #138
<ide><path>ustaway/src/main/java/info/justaway/adapter/TwitterAdapter.java <ide> return; <ide> } <ide> super.add(row); <del> this.filter(row); <del> this.mStatuses.add(row); <add> mStatuses.add(row); <add> filter(row); <ide> mLimit++; <ide> } <ide> <i...
Java
apache-2.0
2064530ad0ff8e26ee1f8a6248ed5511d9ae276b
0
if045/tender,if045/tender
package com.softserveinc.tender.facade.impl; import com.softserveinc.tender.dto.AddressDto; import com.softserveinc.tender.dto.CompanyDto; import com.softserveinc.tender.dto.ProfileDto; import com.softserveinc.tender.dto.RoleDto; import com.softserveinc.tender.dto.TradeSphereDto; import com.softserveinc.tender.dto.Use...
src/main/java/com/softserveinc/tender/facade/impl/RegistrationServiceFacadeImpl.java
package com.softserveinc.tender.facade.impl; import com.softserveinc.tender.dto.AddressDto; import com.softserveinc.tender.dto.CompanyDto; import com.softserveinc.tender.dto.ProfileDto; import com.softserveinc.tender.dto.RoleDto; import com.softserveinc.tender.dto.TradeSphereDto; import com.softserveinc.tender.dto.Use...
fixed birthday date saving
src/main/java/com/softserveinc/tender/facade/impl/RegistrationServiceFacadeImpl.java
fixed birthday date saving
<ide><path>rc/main/java/com/softserveinc/tender/facade/impl/RegistrationServiceFacadeImpl.java <ide> import org.springframework.transaction.annotation.Transactional; <ide> <ide> import java.lang.reflect.Type; <add>import java.text.ParseException; <add>import java.text.SimpleDateFormat; <ide> import java.util.ArrayList...
Java
mit
9039bf93dd64fab91bf4ba161c926a8e7af05057
0
ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage
package com.github.onsdigital.babbage.search.model; import org.apache.commons.lang3.ArrayUtils; /** * Created by bren on 08/09/15. * <p/> * Content types. */ public enum ContentType { home_page, home_page_census, taxonomy_landing_page, product_page, bulletin(1.55f), article(1.30f), art...
src/main/java/com/github/onsdigital/babbage/search/model/ContentType.java
package com.github.onsdigital.babbage.search.model; import org.apache.commons.lang3.ArrayUtils; /** * Created by bren on 08/09/15. * <p/> * Content types. */ public enum ContentType { home_page, home_page_census, taxonomy_landing_page, product_page, bulletin(1.55f), article(1.30f), art...
Add equation content type.
src/main/java/com/github/onsdigital/babbage/search/model/ContentType.java
Add equation content type.
<ide><path>rc/main/java/com/github/onsdigital/babbage/search/model/ContentType.java <ide> reference_tables, <ide> chart, <ide> table, <add> equation, <ide> departments; //departments type is index under departments index, not a part of ons index which has usual content <ide> <ide>
Java
apache-2.0
ee8e34aa9833b1e7a93f186df61b1fdcc1eb991d
0
brabenetz/xmlunit,xmlunit/xmlunit.net,brabenetz/xmlunit,xmlunit/xmlunit,xmlunit/xmlunit.net,xmlunit/xmlunit
/* This file is licensed to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
src/main/java-core/org/xmlunit/validation/JAXPValidator.java
/* This file is licensed to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
Documentation for the root cause of https://sourceforge.net/p/xmlunit/bugs/64/
src/main/java-core/org/xmlunit/validation/JAXPValidator.java
Documentation for the root cause of https://sourceforge.net/p/xmlunit/bugs/64/
<ide><path>rc/main/java-core/org/xmlunit/validation/JAXPValidator.java <ide> <ide> /** <ide> * Validator using the javax.xml.validation namespace. <add> * <add> * <p>An implementation detail of {@code <add> * javax.xml.validation.Validator} leaks into this class: any {@code <add> * xsi:schemaLocation} or {@code xsi:n...
Java
apache-2.0
76fa32b8f149eae8d11dee093195d5c88f7d019e
0
gatling/gatling,gatling/gatling,gatling/gatling,gatling/gatling,gatling/gatling
/* * Copyright 2011-2020 GatlingCorp (https://gatling.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
gatling-http-client/src/main/java/io/gatling/http/client/body/form/FormUrlEncodedRequestBody.java
/* * Copyright 2011-2020 GatlingCorp (https://gatling.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
nit: FormUrlEncodedRequestBody#getBytes should honor charset
gatling-http-client/src/main/java/io/gatling/http/client/body/form/FormUrlEncodedRequestBody.java
nit: FormUrlEncodedRequestBody#getBytes should honor charset
<ide><path>atling-http-client/src/main/java/io/gatling/http/client/body/form/FormUrlEncodedRequestBody.java <ide> <ide> @Override <ide> public byte[] getBytes() { <del> return encode().toString().getBytes(); <add> return encode().toString().getBytes(charset); <ide> } <ide> <ide> @Override
Java
apache-2.0
76a25d0110306333c7c96fa0f8c6464778172b74
0
giastfader/orientdb,giastfader/orientdb,giastfader/orientdb,joansmith/orientdb,joansmith/orientdb,mmacfadden/orientdb,mmacfadden/orientdb,joansmith/orientdb,mmacfadden/orientdb,mmacfadden/orientdb,joansmith/orientdb,giastfader/orientdb
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
graphdb/src/main/java/com/orientechnologies/orient/graph/sql/OCommandExecutorSQLDeleteEdge.java
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
fixed DELETE EDGE with LIMIT - issue #4523
graphdb/src/main/java/com/orientechnologies/orient/graph/sql/OCommandExecutorSQLDeleteEdge.java
fixed DELETE EDGE with LIMIT - issue #4523
<ide><path>raphdb/src/main/java/com/orientechnologies/orient/graph/sql/OCommandExecutorSQLDeleteEdge.java <ide> * <ide> */ <ide> package com.orientechnologies.orient.graph.sql; <del> <del>import java.util.ArrayList; <del>import java.util.HashSet; <del>import java.util.Iterator; <del>import java.util.List; <del>import...
Java
mit
3bfaa37b04810c88a17f6883b0b68239bec1f6fe
0
Mellich/JukePi,Mellich/JukePi
package windows; import util.TextFieldListener; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.MouseEvent; import javax.swing.ButtonGroup; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing...
NewClient/src/windows/MainWindow.java
package windows; import util.TextFieldListener; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.MouseEvent; import javax.swing.ButtonGroup; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing...
Fixes few fixes
NewClient/src/windows/MainWindow.java
Fixes
<ide><path>ewClient/src/windows/MainWindow.java <ide> private void seek(boolean forward) { <ide> if (forward) <ide> wrapper.seekForward((String[] s) -> { if (s[0].equals("true")) <del> showFail("Successfully seeked forward!"); <add> showFail("Successfully sought forward!"); <ide> ...
Java
unlicense
ef9e970bb33e2bb7a0b181c84692379aa6161a0c
0
skeeto/october-chess-engine
package com.nullprogram.chess.pieces; import com.nullprogram.chess.Piece; import com.nullprogram.chess.Board; import com.nullprogram.chess.Position; import com.nullprogram.chess.Move; import com.nullprogram.chess.MoveList; /** * The Chess pawn. * * This class describes the movement and capture behavior of the pawn...
src/com/nullprogram/chess/pieces/Pawn.java
package com.nullprogram.chess.pieces; import com.nullprogram.chess.Piece; import com.nullprogram.chess.Board; import com.nullprogram.chess.Position; import com.nullprogram.chess.Move; import com.nullprogram.chess.MoveList; /** * The Chess pawn. * * This class describes the movement and capture behavior of the pawn...
Fix en passant on capture bug.
src/com/nullprogram/chess/pieces/Pawn.java
Fix en passant on capture bug.
<ide><path>rc/com/nullprogram/chess/pieces/Pawn.java <ide> Position left = new Position(pos, -1, 0); <ide> Position right = new Position(pos, 1, 0); <ide> if (left.equals(last.getDest()) <add> && (last.getOrigin().getX() == last.getDest().getX()) <ide> ...
Java
apache-2.0
7957af28731bf1e6d8776790fe7f3449054f84dd
0
codegauravg/DynamicTable
package org.ACMSviet.SchedulerAMa.Services; import java.util.ArrayList; import java.util.List; import org.ACMSviet.SchedulerAMa.Models.Course; import org.ACMSviet.SchedulerAMa.Models.CourseListResponse; import org.ACMSviet.SchedulerAMa.Models.DSS; import org.ACMSviet.SchedulerAMa.Models.DSSModificationLog; i...
SchedulerAMa/src/main/java/org/ACMSviet/SchedulerAMa/Services/CourseService.java
package org.ACMSviet.SchedulerAMa.Services; import java.util.ArrayList; import java.util.List; import org.ACMSviet.SchedulerAMa.Models.Course; import org.ACMSviet.SchedulerAMa.Models.CourseListResponse; import org.ACMSviet.SchedulerAMa.Models.DSS; import org.ACMSviet.SchedulerAMa.Models.DSSModificationLog; i...
added function intro comment
SchedulerAMa/src/main/java/org/ACMSviet/SchedulerAMa/Services/CourseService.java
added function intro comment
<ide><path>chedulerAMa/src/main/java/org/ACMSviet/SchedulerAMa/Services/CourseService.java <ide> return null; <ide> } <ide> <add> //function: Add a list of repeatitions to a specific Course as a bundle. <ide> public ResponseReport addRepeatitionListToCourseByName(String name,ArrayList<RepeatitionUnit> repeat...
Java
apache-2.0
f9ede93b326d97ba5e06d0f2b499c21cc7928499
0
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
// snippet-sourcedescription:[StreamingRetryApp.java is an application that demonstrates using the Amazon Transcribe retry client.] // snippet-service:[transcribe] // snippet-keyword:[Java] // snippet-sourcesyntax:[java] // snippet-keyword:[Amazon Transcribe] // snippet-keyword:[Code Sample] // snippet-keyword:[Transcr...
javav2/example_code/transcribe/src/main/java/com/amazonaws/transcribestreaming/retryclient/StreamingRetryApp.java
// snippet-sourcedescription:[StreamingRetryApp.java is an application that demonstrates using the Amazon Transcribe retry client.] // snippet-service:[transcribe] // snippet-keyword:[Java] // snippet-sourcesyntax:[java] // snippet-keyword:[Amazon Transcribe] // snippet-keyword:[Code Sample] // snippet-keyword:[Transcr...
Update StreamingRetryApp.java
javav2/example_code/transcribe/src/main/java/com/amazonaws/transcribestreaming/retryclient/StreamingRetryApp.java
Update StreamingRetryApp.java
<ide><path>avav2/example_code/transcribe/src/main/java/com/amazonaws/transcribestreaming/retryclient/StreamingRetryApp.java <ide> /** <ide> * COPYRIGHT: <ide> * <p> <del> * Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. <add> * Copyright Amazon.com, Inc. or its affiliates. All Rights Res...
Java
lgpl-2.1
28facf84f3e2b92ee89d727f26075cce9b01ef5d
0
genomescale/starbeast2,genomescale/starbeast2
package starbeast2; import beast.core.Description; import beast.core.Input; import beast.core.Input.Validate; import beast.core.Operator; import beast.core.parameter.RealParameter; import beast.evolution.tree.Node; import beast.util.Randomizer; /** * @author Huw Ogilvie */ @Description("Tree operator which random...
src/starbeast2/SAMau1999.java
package starbeast2; import beast.core.Description; import beast.core.Input; import beast.core.Input.Validate; import beast.core.Operator; import beast.core.parameter.RealParameter; import beast.evolution.tree.Node; import beast.evolution.tree.Tree; import beast.util.Randomizer; /** * @author Huw Ogilvie */ @Descri...
Sync up SAMau1999
src/starbeast2/SAMau1999.java
Sync up SAMau1999
<ide><path>rc/starbeast2/SAMau1999.java <ide> import beast.core.Operator; <ide> import beast.core.parameter.RealParameter; <ide> import beast.evolution.tree.Node; <del>import beast.evolution.tree.Tree; <ide> import beast.util.Randomizer; <add> <ide> <ide> /** <ide> * @author Huw Ogilvie <ide> @Description("Tree opera...
Java
apache-2.0
error: pathspec 'sli/api/src/main/java/org/slc/sli/api/resources/SessionDebugResource.java' did not match any file(s) known to git
16336b8040ae80c120800fc907be6d3f982cba21
1
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
package org.slc.sli.api.resources; import org.springframework.context.annotation.Scope; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs....
sli/api/src/main/java/org/slc/sli/api/resources/SessionDebugResource.java
added session debug resource. serves security context info in json
sli/api/src/main/java/org/slc/sli/api/resources/SessionDebugResource.java
added session debug resource. serves security context info in json
<ide><path>li/api/src/main/java/org/slc/sli/api/resources/SessionDebugResource.java <add>package org.slc.sli.api.resources; <add> <add>import org.springframework.context.annotation.Scope; <add>import org.springframework.security.core.context.SecurityContext; <add>import org.springframework.security.core.context.Securit...
Java
apache-2.0
b0fd91370f12032b323859c1e44b6be479fc0832
0
apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDPixelMap.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
PDFBOX-1237: use the correct number of components if the pixelmap uses an indexed colorspace git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1294185 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDPixelMap.java
PDFBOX-1237: use the correct number of components if the pixelmap uses an indexed colorspace
<ide><path>dfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDPixelMap.java <ide> { <ide> throw new IOException( "Not implemented" ); <ide> } <del> int numberOfComponents = baseColorModel.getNumComponents() + (hasAlpha ? 1 : 0); <add> ...
Java
mpl-2.0
e21ef6fdb75587cea5f2960e6e20f3005d4a7cda
0
Pilarbrist/rhino,tuchida/rhino,Angelfirenze/rhino,Pilarbrist/rhino,Angelfirenze/rhino,jsdoc3/rhino,ashwinrayaprolu1984/rhino,sainaen/rhino,Pilarbrist/rhino,qhanam/rhino,tntim96/rhino-jscover-repackaged,lv7777/egit_test,swannodette/rhino,sainaen/rhino,rasmuserik/rhino,lv7777/egit_test,tntim96/rhino-jscover-repackaged,tn...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape 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/N...
src/org/mozilla/javascript/UintMap.java
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape 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/N...
In remove set int key value to 0 so a new key with the same slot would get initial 0 after put(int, Object)
src/org/mozilla/javascript/UintMap.java
In remove set int key value to 0 so a new key with the same slot would get initial 0 after put(int, Object)
<ide><path>rc/org/mozilla/javascript/UintMap.java <ide> if (0 <= index) { <ide> keys[index] = DELETED; <ide> --keyCount; <add> // Allow to GC value and make sure that new key with the deleted <add> // slot shall get proper default values <ide> if (values...
Java
apache-2.0
1549f55dea2eae483e014f9d23281e1ca64bc6f6
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.lookup.impl; import com.intellij.codeInsight.AutoPopupController; import com.intellij.codeInsight.FileModificationService; import com.intellij.c...
platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.lookup.impl; import com.intellij.codeInsight.AutoPopupController; import com.intellij.codeInsight.FileModificationService; import com.intellij.c...
restore LookupImpl.getArranger API for "Conventional Commit" plugin GitOrigin-RevId: b17a606c2709f1c1c2be2f184b6acf018ef8c145
platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
restore LookupImpl.getArranger API for "Conventional Commit" plugin
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java <ide> return (CollectionListModel<LookupElement>)myList.getModel(); <ide> } <ide> <add> @SuppressWarnings("unused") // used plugins <add> public LookupArranger getArranger() { <add> return myArranger; <add> } <add> <ide> ...
Java
apache-2.0
9db27958a0f27d8167bb51b524814d448eacd81d
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.impl; import com.intellij.codeInsight.daemon.GutterMark; import com.intellij.codeInsight.daemon.NonHideableIconGutterMark; import com.intellij...
platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorGutterComponentImpl.java
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.impl; import com.intellij.codeInsight.daemon.GutterMark; import com.intellij.codeInsight.daemon.NonHideableIconGutterMark; import com.intellij...
IDEA-262426 com.intellij.serviceContainer.AlreadyDisposedException in EditorGutterComponentImpl GitOrigin-RevId: 8806ff48d06d39d332028f95fe5ba827c424ae1b
platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorGutterComponentImpl.java
IDEA-262426 com.intellij.serviceContainer.AlreadyDisposedException in EditorGutterComponentImpl
<ide><path>latform/platform-impl/src/com/intellij/openapi/editor/impl/EditorGutterComponentImpl.java <ide> if (outerContainer == null) return; <ide> <ide> EditorSettings settings = myEditor.getSettings(); <del> int rightMargin = settings.getRightMargin(myEditor.getProject()); <add> Project project = myEd...
Java
mit
bef22a184ca3e1c10537ca4fd4a19aba6935cb05
0
eaglesakura/android-text-kvs
package com.eaglesakura.android.db; import com.eaglesakura.util.StringUtil; import android.content.Context; import java.io.File; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /** * 簡易設定用のプロパティを保持するためのクラス */ public abstract class BasePropertiesDatabase extends BaseProperties { /**...
src/main/java/com/eaglesakura/android/db/BasePropertiesDatabase.java
package com.eaglesakura.android.db; import com.eaglesakura.android.thread.async.AsyncTaskController; import com.eaglesakura.android.thread.async.AsyncTaskResult; import com.eaglesakura.util.StringUtil; import android.content.Context; import java.io.File; import java.util.HashMap; import java.util.Iterator; import ja...
スレッド操作を行っていた部分を削除
src/main/java/com/eaglesakura/android/db/BasePropertiesDatabase.java
スレッド操作を行っていた部分を削除
<ide><path>rc/main/java/com/eaglesakura/android/db/BasePropertiesDatabase.java <ide> package com.eaglesakura.android.db; <ide> <del>import com.eaglesakura.android.thread.async.AsyncTaskController; <del>import com.eaglesakura.android.thread.async.AsyncTaskResult; <ide> import com.eaglesakura.util.StringUtil; <ide> <id...
Java
apache-2.0
db05878f35a5fcb09ac0f3a222bd2dcb586149b5
0
bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,oriontribunal/CoffeeMud,sfunk1x/CoffeeMud,oriontribunal/CoffeeMud,MaxRau/CoffeeMud,Tycheo/coffeemud,sfunk1x/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,Tycheo/coffeemud,Max...
package com.planet_ink.coffee_mud.Items.interfaces; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; im...
com/planet_ink/coffee_mud/Items/interfaces/RawMaterial.java
package com.planet_ink.coffee_mud.Items.interfaces; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; im...
git-svn-id: svn://192.168.1.10/public/CoffeeMud@5481 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/Items/interfaces/RawMaterial.java
<ide><path>om/planet_ink/coffee_mud/Items/interfaces/RawMaterial.java <ide> public final static int RESOURCE_ASH=MATERIAL_VEGETATION|159; <ide> public final static int RESOURCE_PERFUME=MATERIAL_LIQUID|160; <ide> public final static int RESOURCE_ATLANTEANSTEEL=MATERIAL_MITHRIL|161; <del> public final static int RESOU...
JavaScript
mit
d99ae00e1996bd67614d27aca80ce6b2ca43a9b7
0
mloy/node-jet,lipp/node-jet,mloy/node-jet,lipp/node-jet,mloy/node-jet,zemirco/node-jet,zemirco/node-jet,lipp/node-jet,zemirco/node-jet
var util = require('util'); var net = require('net'); var http = require('http'); var WebSocketServer = require('ws').Server; var assert = require('assert'); var EventEmitter = require('events').EventEmitter; var MessageSocket = require('./message-socket.js').MessageSocket; var jetUtils = require('./utils'); var jetSor...
lib/jet/daemon.js
var util = require('util'); var net = require('net'); var http = require('http'); var WebSocketServer = require('ws').Server; var assert = require('assert'); var EventEmitter = require('events').EventEmitter; var MessageSocket = require('./message-socket.js').MessageSocket; var jetUtils = require('./utils'); var jetSor...
beautify
lib/jet/daemon.js
beautify
<ide><path>ib/jet/daemon.js <ide> } <ide> }; <ide> <del> var registerPeer = function(peerId,sock) { <del> var peer = {}; <add> var registerPeer = function (peerId, sock) { <add> var peer = {}; <ide> peer.sendMessage = function (message) { <ide> message = JSON.stringify...
Java
apache-2.0
dc346f85f2e0b33d835f694089e4fac417c52a3b
0
apache/commons-daemon,apache/commons-daemon,apache/commons-daemon,apache/commons-daemon
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.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...
Collapse multiple identical catch clauses into one.
src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
Collapse multiple identical catch clauses into one.
<ide><path>rc/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java <ide> configurationProperties.load(file); <ide> ok = true; <ide> } <del> catch (final FileNotFoundException ex) { <del> // fileName does not exist <del> } <ide> catch (fina...
Java
apache-2.0
e6d5e0887643f341ce59d316d381889eb975dd39
0
jbonofre/incubator-beam,lukecwik/incubator-beam,jbonofre/beam,jbonofre/beam,robertwb/incubator-beam,RyanSkraba/beam,staslev/incubator-beam,wangyum/beam,chamikaramj/beam,staslev/beam,jbonofre/beam,chamikaramj/beam,apache/beam,eljefe6a/incubator-beam,jbonofre/beam,tgroh/incubator-beam,charlesccychen/beam,robertwb/incubat...
/* * 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 ...
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.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 ...
Initialize the Coder in DecodeAndEmitDoFn This closes #3769
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java
Initialize the Coder in DecodeAndEmitDoFn
<ide><path>unners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java <ide> @ProcessElement <ide> public void processElement(ProcessContext context) throws IOException { <ide> for (byte[] element : elements) { <del> context.output(CoderUtils.decodeF...
Java
apache-2.0
47efd9dc561c99b76b86fd7cdce42922a7c760d3
0
xfournet/intellij-community,signed/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,signed/intellij-community,ibinti/intellij-community,ibinti/intellij-community,da1z/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,xfournet/intellij-community,vvv1559/inte...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/testFramework/src/com/intellij/GroupBasedTestClassFilter.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
on IDEA-CR-19158: introduce a group name and remove fields, use filtration
platform/testFramework/src/com/intellij/GroupBasedTestClassFilter.java
on IDEA-CR-19158: introduce a group name and remove fields, use filtration
<ide><path>latform/testFramework/src/com/intellij/GroupBasedTestClassFilter.java <ide> import java.io.Reader; <ide> import java.util.Collection; <ide> import java.util.List; <add>import java.util.Set; <ide> import java.util.regex.Pattern; <ide> import java.util.stream.Collectors; <ide> <ide> */ <ide> public stati...
Java
bsd-2-clause
d292fbcaa41d8707412f7afc47f0c25f8b8c16a2
0
gab1one/imagej-ops,imagej/imagej-ops,stelfrich/imagej-ops,kephale/imagej-ops
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2015 Board of Regents of the University of * Wisconsin-Madison, University of Konstanz and Brian Northan. * %% * Redistribution and use in source and binary forms, with or without * modification, are permi...
src/main/java/net/imagej/ops/math/MathNamespace.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2015 Board of Regents of the University of * Wisconsin-Madison, University of Konstanz and Brian Northan. * %% * Redistribution and use in source and binary forms, with or without * modification, are permi...
Add implementation for Multiply built-in
src/main/java/net/imagej/ops/math/MathNamespace.java
Add implementation for Multiply built-in
<ide><path>rc/main/java/net/imagej/ops/math/MathNamespace.java <ide> return ops().run(net.imagej.ops.MathOps.Multiply.class, args); <ide> } <ide> <add> @OpMethod(op = net.imagej.ops.onthefly.ArithmeticOp.MultiplyOp.class) <add> public Object multiply(final Object result, final Object a, final Object b) { <add> fin...
Java
bsd-3-clause
e09f12005435aa8d5ac57f5e0a5a5a5bee46936d
0
team178/Hawkeye
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
Real Drive code! commented out omni, fixed 4-wheel drive code
src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
Real Drive code! commented out omni, fixed 4-wheel drive code
<ide><path>rc/edu/wpi/first/wpilibj/templates/RobotTemplate.java <ide> drivetrain.rearRightSet(0.0); <ide> } <ide> */ <add> <ide> if(autoFist) <ide> { <ide> autoFist = false;