lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
8be8d9a6e739660f0907b00aad24b59a3c557b9f
0
pieterverstraete/BeTrains-for-Android,iRail/BeTrains-for-Android
package tof.cv.mpp; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support...
BeTrains/src/main/java/tof/cv/mpp/InfoTrainFragment.java
package tof.cv.mpp; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support...
Removed train location while Bug 92 is still opened on iRail See: https://github.com/iRail/iRail/issues/92
BeTrains/src/main/java/tof/cv/mpp/InfoTrainFragment.java
Removed train location while Bug 92 is still opened on iRail
<ide><path>eTrains/src/main/java/tof/cv/mpp/InfoTrainFragment.java <ide> <ide> myMap.moveCamera(CameraUpdateFactory.newLatLngBounds(bounds, 0)); <ide> <del> myMap.addMarker(new MarkerOptions() <del> .position(new LatLng(currentVehicle.getVehicleInfo()....
Java
apache-2.0
cc760ff7b1242d33f3bcd3491efc3fca253c07ed
0
hs-jenkins-bot/Singularity,nvoron23/Singularity,tejasmanohar/Singularity,tejasmanohar/Singularity,grepsr/Singularity,stevenschlansker/Singularity,tejasmanohar/Singularity,nvoron23/Singularity,nvoron23/Singularity,acbellini/Singularity,grepsr/Singularity,andrhamm/Singularity,evertrue/Singularity,acbellini/Singularity,te...
package com.hubspot.singularity.scheduler; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import net.kencochrane.raven.Raven; import org.apache.curator.RetryPolicy; import org.apache.curator.RetrySleeper; import org.apache.curator.framework.CuratorFramework; import org.apache.curator....
SingularityService/src/test/java/com/hubspot/singularity/scheduler/SingularityTestModule.java
package com.hubspot.singularity.scheduler; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import net.kencochrane.raven.Raven; import org.apache.curator.RetryPolicy; import org.apache.curator.RetrySleeper; import org.apache.curator.framework.CuratorFramework; import org.apache.curator....
use a singleton in test.
SingularityService/src/test/java/com/hubspot/singularity/scheduler/SingularityTestModule.java
use a singleton in test.
<ide><path>ingularityService/src/test/java/com/hubspot/singularity/scheduler/SingularityTestModule.java <ide> import com.hubspot.singularity.mesos.SingularityDriver; <ide> import com.hubspot.singularity.mesos.SingularityLogSupport; <ide> import com.hubspot.singularity.smtp.SingularityMailer; <add>import com.ning.http.c...
Java
mit
e60e272f085cacd4f0d50f72036934ff83fbb865
0
yu55/gog,yu55/yagga,yu55/yagga,adrian-wozniak/yagga,adrian-wozniak/yagga,yu55/yagga,yu55/gog,adrian-wozniak/yagga,yu55/gog
package com.github.yu55.gog.handler.git.command; import static org.assertj.core.api.Assertions.assertThat; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.exec.CommandLine; import org.apache.comm...
src/test/java/com/github/yu55/gog/handler/git/command/GitCommandExecutorTest.java
package com.github.yu55.gog.handler.git.command; import static org.assertj.core.api.Assertions.assertThat; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.exec.CommandLine; import org.apache.comm...
Minor updates
src/test/java/com/github/yu55/gog/handler/git/command/GitCommandExecutorTest.java
Minor updates
Java
apache-2.0
ec556e5e5d5425187fbb8cb27102bdd9b87d71a2
0
OpenHFT/Chronicle-Network
/* * Copyright 2016-2020 Chronicle Software * * https://chronicle.software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
src/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java
/* * Copyright 2016-2020 Chronicle Software * * https://chronicle.software * * 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 * * ...
increase logging threshold
src/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java
increase logging threshold
<ide><path>rc/main/java/net/openhft/chronicle/network/connection/TcpChannelHub.java <ide> <ide> long timeTaken = System.currentTimeMillis() - start; <ide> start = Long.MAX_VALUE; <del> if (timeTaken > 20) <add> ...
Java
apache-2.0
67fa96a025ad43fb37946293c9cc6d4e06bb6123
0
loldevs/riotapi
/* * Copyright 2014 The LolDevs team (https://github.com/loldevs) * * 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 requir...
rest/src/main/java/net/boreeas/riotapi/rest/Match.java
/* * Copyright 2014 The LolDevs team (https://github.com/loldevs) * * 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 requir...
Removed duplicated queue type
rest/src/main/java/net/boreeas/riotapi/rest/Match.java
Removed duplicated queue type
<ide><path>est/src/main/java/net/boreeas/riotapi/rest/Match.java <ide> private String matchVersion; <ide> private List<ParticipantIdentity> participantIdentities = new ArrayList<>(); <ide> private List<Participant> participants = new ArrayList<>(); <del> private QueueType queueType; <ide> private Str...
JavaScript
agpl-3.0
a6e7b5d3fef2b12c6bd13ab55dc80e6782e9416b
0
FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup,FriendSoftwareLabs/friendup
/*©agpl************************************************************************* * * * This file is part of FRIEND UNIFYING PLATFORM. * * Copyright (c) Friend Software Labs AS. All rights reserved. ...
interfaces/web_desktop/js/gui/window.js
/*©agpl************************************************************************* * * * This file is part of FRIEND UNIFYING PLATFORM. * * Copyright (c) Friend Software Labs AS. All rights reserved. ...
Disable back button for non mobile
interfaces/web_desktop/js/gui/window.js
Disable back button for non mobile
<ide><path>nterfaces/web_desktop/js/gui/window.js <ide> <ide> this.showBackButton = function( visible, cbk ) <ide> { <add> if( !isMobile ) return; <ide> if( visible ) <ide> { <ide> self.mobileBack.classList.add( 'Showing' );
Java
apache-2.0
5eb97b674d88ad6c6b35e48b2cddf49566ba5305
0
servioticy/servioticy-api-commons
/******************************************************************************* * Copyright 2014 Barcelona Supercomputing Center (BSC) * * 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 *...
src/main/java/com/servioticy/api/commons/utils/Config.java
/******************************************************************************* * Copyright 2014 Barcelona Supercomputing Center (BSC) * * 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 *...
Fix Config client order
src/main/java/com/servioticy/api/commons/utils/Config.java
Fix Config client order
<ide><path>rc/main/java/com/servioticy/api/commons/utils/Config.java <ide> // Couchbase clients <ide> cli_so = new CouchbaseClient(public_uris, config.getProperty("so_bucket"), ""); <ide> cli_data = new CouchbaseClient(public_uris, config.getProperty("updates_bucket"), ""); <add> ...
Java
agpl-3.0
c4673dea80e8d04ab21e5e9e5313d169471aad95
0
KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.svg.relationlines; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import nl.mpi.kinnate.kindata.DataTypes; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.kindata.EntityRelation; import nl...
desktop/src/main/java/nl/mpi/kinnate/svg/relationlines/RelationRecordTable.java
package nl.mpi.kinnate.svg.relationlines; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import nl.mpi.kinnate.kindata.DataTypes; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.kindata.EntityRelation; import nl.mpi.kinnate.kindata.Relat...
Updated the queries for the Haemophilia in European Royalty sample diagram. Resolved the stale data issue as seen in the Haemophilia in European Royalty sample diagram. refs #2019
desktop/src/main/java/nl/mpi/kinnate/svg/relationlines/RelationRecordTable.java
Updated the queries for the Haemophilia in European Royalty sample diagram. Resolved the stale data issue as seen in the Haemophilia in European Royalty sample diagram. refs #2019
<ide><path>esktop/src/main/java/nl/mpi/kinnate/svg/relationlines/RelationRecordTable.java <ide> import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.HashMap; <add>import java.util.HashSet; <ide> import nl.mpi.kinnate.kindata.DataTypes; <ide> import nl.mpi.kinnate.kindata.EntityData; <...
JavaScript
mit
860163e0f0fd39c5b79690459d409dc70b978830
0
Konecty/meteor-user-presence
/* globals UserPresence */ var timer, status; UserPresence = { awayTime: 60000, //1 minute awayOnWindowBlur: false, callbacks: [], connected: true, started: false, userId: null, /** * The callback will receive the following parameters: user, status */ onSetUserStatus: function(callback) { this.callback...
client/client.js
/* globals Deps, UserPresence */ var timer, status; UserPresence = { awayTime: 60000, //1 minute awayOnWindowBlur: false, callbacks: [], connected: true, userId: null, /** * The callback will receive the following parameters: user, status */ onSetUserStatus: function(callback) { this.callbacks.push(call...
Do not start time if awayTime is null and start only once
client/client.js
Do not start time if awayTime is null and start only once
<ide><path>lient/client.js <del>/* globals Deps, UserPresence */ <add>/* globals UserPresence */ <ide> <ide> var timer, status; <ide> <ide> awayOnWindowBlur: false, <ide> callbacks: [], <ide> connected: true, <add> started: false, <ide> userId: null, <ide> <ide> /** <ide> <ide> startTimer: function() { <ide> ...
Java
mit
222767151f1550be272ca6484b4414defe5a1f6f
0
memoyil/cactoos,alex-semenyuk/cactoos,yegor256/cactoos
/** * The MIT License (MIT) * * Copyright (c) 2017 Yegor Bugayenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
src/main/java/org/cactoos/func/AsyncFunc.java
/** * The MIT License (MIT) * * Copyright (c) 2017 Yegor Bugayenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
executor service as a field
src/main/java/org/cactoos/func/AsyncFunc.java
executor service as a field
<ide><path>rc/main/java/org/cactoos/func/AsyncFunc.java <ide> */ <ide> package org.cactoos.func; <ide> <add>import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.Future; <ide> import java.util.concurrent.ThreadFactory; <ide> private final Func<...
JavaScript
mit
e87f3fcdc18518b2ce598667b29d5a5c8cc80ff2
0
phetsims/graphing-quadratics,phetsims/graphing-quadratics,phetsims/graphing-quadratics
// Copyright 2018, University of Colorado Boulder /** * A point tool displays the (x,y) coordinates of a point on the graph. * If it's sufficiently close to a curve, it will snap to that curve. * * @author Andrea Lin * @author Chris Malley (PixelZoom, Inc.) */ define( require => { 'use strict'; // modules ...
js/common/view/PointToolNode.js
// Copyright 2018, University of Colorado Boulder /** * A point tool displays the (x,y) coordinates of a point on the graph. * If it's sufficiently close to a curve, it will snap to that curve. * * @author Andrea Lin * @author Chris Malley (PixelZoom, Inc.) */ define( require => { 'use strict'; // modules ...
feature PointToolNode.coordinatesProperty (derived, read-only), #112
js/common/view/PointToolNode.js
feature PointToolNode.coordinatesProperty (derived, read-only), #112
<ide><path>s/common/view/PointToolNode.js <ide> isValidValue: value => ( value instanceof Vector2 || value === null ), <ide> tandem: options.tandem.createTandem( 'coordinatesProperty' ), <ide> phetioDocumentation: 'coordinates displayed by this point tool, null if off the graph', <del> ...
JavaScript
apache-2.0
380294744c8079b9f1e7c27474cf7cebee33c3d5
0
dillia23/code-dot-org,rvarshney/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,cloud3edu/code-dot-org-old,pickettd/code-dot-org,ty-po/code-dot-org,ty-po/code-dot-org,dillia23/code-dot-org,cloud3edu/code-dot-org-old,cloud3edu/code-dot-org-old,dillia23/code-dot-org,rvarshney/code-dot-org,rvarshney/code-dot-org,...
/** * Visual Blocks Editor * * Copyright 2012 Google Inc. * http://blockly.googlecode.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/LICEN...
blockly-core/core/ui/block_space/block_space_editor.js
/** * Visual Blocks Editor * * Copyright 2012 Google Inc. * http://blockly.googlecode.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/LICEN...
New block-bumping routine
blockly-core/core/ui/block_space/block_space_editor.js
New block-bumping routine
<ide><path>lockly-core/core/ui/block_space/block_space_editor.js <ide> * @private <ide> */ <ide> Blockly.BlockSpaceEditor.prototype.bumpOrDeleteOutOfBoundsBlocks_ = function() { <add> // Immediately return if dragging, to avoid expensive calculations <ide> if (Blockly.Block.isDragging()) { <ide> return; <ide> ...
Java
agpl-3.0
error: pathspec 'src/main/java/eu/musesproject/client/model/contextmonitoring/InteractionDictionary.java' did not match any file(s) known to git
8e44c429c3111a48a4652b83ecd7c999a49e2bfd
1
MusesProject/MusesCommon
package eu.musesproject.client.model.contextmonitoring; /** * This class contains a dictionary for specific user actions in an application * like attaching a file for different languages * * @author christophstanik */ // TODO this should be solved in a different way I think but it's sufficient for testing purp...
src/main/java/eu/musesproject/client/model/contextmonitoring/InteractionDictionary.java
added dictionary for interactions (workaround for testing purpose)
src/main/java/eu/musesproject/client/model/contextmonitoring/InteractionDictionary.java
added dictionary for interactions (workaround for testing purpose)
<ide><path>rc/main/java/eu/musesproject/client/model/contextmonitoring/InteractionDictionary.java <add>package eu.musesproject.client.model.contextmonitoring; <add> <add>/** <add> * This class contains a dictionary for specific user actions in an application <add> * like attaching a file for different languages <add> ...
Java
apache-2.0
3bb12802a7e298d820afde557dc17afc9243352b
0
gerrit-review/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,gerrit-review/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,WANdisco/gerrit,GerritCodeR...
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
gerrit-httpd/src/main/java/com/google/gerrit/httpd/RemoteUserUtil.java
// Copyright (C) 2015 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 ...
RemoteUserUtil: Don't use default platform charset when constructing String Reported by Error Prone 2.0.15. Change-Id: Ia16ed7a630ed854722c819a5f2cd244cb0aff290
gerrit-httpd/src/main/java/com/google/gerrit/httpd/RemoteUserUtil.java
RemoteUserUtil: Don't use default platform charset when constructing String
<ide><path>errit-httpd/src/main/java/com/google/gerrit/httpd/RemoteUserUtil.java <ide> <ide> import static com.google.common.base.Strings.emptyToNull; <ide> import static com.google.common.net.HttpHeaders.AUTHORIZATION; <add>import static java.nio.charset.StandardCharsets.UTF_8; <ide> <ide> import org.eclipse.jgit.ut...
Java
apache-2.0
d4b14d181ede284182d3775b46226d7b15ffc117
0
realityforge/arez,realityforge/arez,realityforge/arez
package arez.processor; import com.google.testing.compile.Compilation; import com.google.testing.compile.Compiler; import com.google.testing.compile.JavaSourcesSubjectFactory; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; impo...
processor/src/test/java/arez/processor/ArezProcessorTest.java
package arez.processor; import com.google.testing.compile.Compilation; import com.google.testing.compile.Compiler; import com.google.testing.compile.JavaSourcesSubjectFactory; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; impo...
Test cleanup
processor/src/test/java/arez/processor/ArezProcessorTest.java
Test cleanup
<ide><path>rocessor/src/test/java/arez/processor/ArezProcessorTest.java <ide> public void multiViaInheritancePostDispose() <ide> throws Exception <ide> { <del> final String input1 = <del> toFilename( "input", "com.example.post_dispose.MultiViaInheritanceChainPostDisposeModel" ); <del> final String in...
Java
apache-2.0
bb81f87cc9c364e152ceed74aa9f6a4d85ae2375
0
jmarginier/simulator
package card; import java.util.Date; import model.component.ComponentIO; import model.component.IOutput; import model.factory.MediatorFactory; import model.factory.MediatorFactory.EMediator; import model.mediator.Mediator; import model.response.DataResponse; import model.response.IResponse; import model.st...
simulator-ep/src/test/java/card/CardTest.java
package card; import java.util.Date; import model.component.ComponentIO; import model.component.IOutput; import model.factory.MediatorFactory; import model.factory.MediatorFactory.EMediator; import model.mediator.Mediator; import model.response.DataResponse; import model.response.IResponse; import model.st...
Test unitaire sur la carte OK
simulator-ep/src/test/java/card/CardTest.java
Test unitaire sur la carte OK
<ide><path>imulator-ep/src/test/java/card/CardTest.java <ide> import model.response.IResponse; <ide> import model.strategies.IStrategy; <ide> <add>import org.hamcrest.core.StringStartsWith; <ide> import org.junit.After; <ide> import org.junit.Assert; <ide> import org.junit.Before; <ide> import org.junit.Test; <add>imp...
Java
apache-2.0
051b4e43daad67429fd049711d5d37e0a180056d
0
sebright/opencensus-java,bogdandrutu/instrumentation-java,songy23/instrumentation-java,sebright/instrumentation-java,census-instrumentation/opencensus-java,sebright/instrumentation-java,census-instrumentation/opencensus-java,census-instrumentation/opencensus-java,ubschmidt2/instrumentation-java,songy23/instrumentation-...
/* * Copyright 2017, Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writi...
core/src/main/java/com/google/instrumentation/stats/MutableDistribution.java
/* * Copyright 2017, Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writi...
remove extra getSumSquares
core/src/main/java/com/google/instrumentation/stats/MutableDistribution.java
remove extra getSumSquares
<ide><path>ore/src/main/java/com/google/instrumentation/stats/MutableDistribution.java <ide> } <ide> <ide> /** <del> * The sum of the squares of values in the population. If {@link #getCount()} is zero then this <del> * value will also be zero. <del> * <del> * @return The sum of squares of values in the po...
Java
mit
88c17d379ca296e1d4813016e4b3f6361c8bfeca
0
Nincodedo/Ninbot
package com.nincraft.ninbot.components.twitch; import com.nincraft.ninbot.components.common.LocaleService; import com.nincraft.ninbot.components.config.ConfigConstants; import com.nincraft.ninbot.components.config.ConfigService; import lombok.Data; import lombok.extern.log4j.Log4j2; import lombok.val; import net.dv8ti...
src/main/java/com/nincraft/ninbot/components/twitch/TwitchListener.java
package com.nincraft.ninbot.components.twitch; import com.nincraft.ninbot.components.common.LocaleService; import com.nincraft.ninbot.components.config.ConfigConstants; import com.nincraft.ninbot.components.config.ConfigService; import lombok.Data; import lombok.extern.log4j.Log4j2; import lombok.val; import net.dv8ti...
Fix streaming announcing any game change
src/main/java/com/nincraft/ninbot/components/twitch/TwitchListener.java
Fix streaming announcing any game change
<ide><path>rc/main/java/com/nincraft/ninbot/components/twitch/TwitchListener.java <ide> import lombok.Data; <ide> import lombok.extern.log4j.Log4j2; <ide> import lombok.val; <add>import net.dv8tion.jda.api.entities.Activity; <ide> import net.dv8tion.jda.api.entities.Guild; <ide> import net.dv8tion.jda.api.entities.Memb...
Java
apache-2.0
4b80679661df97ded54885abce7607b2e9dca5ce
0
stevespringett/dependency-track,stevespringett/dependency-track,stevespringett/dependency-track
/* * This file is part of Dependency-Track. * * 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 o...
src/main/java/org/owasp/dependencytrack/event/EventSubsystemInitializer.java
/* * This file is part of Dependency-Track. * * 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 o...
Removing unused import
src/main/java/org/owasp/dependencytrack/event/EventSubsystemInitializer.java
Removing unused import
<ide><path>rc/main/java/org/owasp/dependencytrack/event/EventSubsystemInitializer.java <ide> import org.owasp.dependencytrack.tasks.ScanUploadProcessingTask; <ide> import org.owasp.dependencytrack.tasks.MetricsUpdateTask; <ide> import org.owasp.dependencytrack.tasks.TaskScheduler; <del>import org.owasp.dependencytrack....
Java
agpl-3.0
d42c77cbf74a91f4fafde9de4299d1d18cc76f68
0
splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceeng...
package com.splicemachine.derby.hbase; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.lang.Override; import java.net.ConnectException; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Arrays; import java.util.Collection; import java.util.HashMa...
splice_machine_adapter_98/src/main/java/com/splicemachine/derby/hbase/DerbyFactoryImpl.java
package com.splicemachine.derby.hbase; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.lang.Override; import java.net.ConnectException; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Arrays; import java.util.Collection; import java.util.HashMa...
DB-2356 Add Region Moved Exception to incorrect region logic, forces refresh of write pipeline bucketing as well
splice_machine_adapter_98/src/main/java/com/splicemachine/derby/hbase/DerbyFactoryImpl.java
DB-2356 Add Region Moved Exception to incorrect region logic, forces refresh of write pipeline bucketing as well
<ide><path>plice_machine_adapter_98/src/main/java/com/splicemachine/derby/hbase/DerbyFactoryImpl.java <ide> import org.apache.hadoop.hbase.client.HTableInterface; <ide> import org.apache.hadoop.hbase.client.Scan; <ide> import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; <add>import org.apache.hadoo...
Java
mit
e1cac0fee091985ea017fc51db0681bfb6c904fe
0
mzmine/mzmine3,mzmine/mzmine3
/* * Copyright 2006-2015 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at yo...
src/main/java/net/sf/mzmine/modules/peaklistmethods/identification/onlinedbsearch/databases/HMDBGateway.java
/* * Copyright 2006-2015 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at yo...
Fixed HMDB structure URL
src/main/java/net/sf/mzmine/modules/peaklistmethods/identification/onlinedbsearch/databases/HMDBGateway.java
Fixed HMDB structure URL
<ide><path>rc/main/java/net/sf/mzmine/modules/peaklistmethods/identification/onlinedbsearch/databases/HMDBGateway.java <ide> private Logger logger = Logger.getLogger(this.getClass().getName()); <ide> <ide> private static final String hmdbSeachAddress = "http://www.hmdb.ca/structures/search/metabolites/mass?sea...
Java
apache-2.0
0240217ba8b79767ad8c061aebbb10639543e98d
0
spinnaker/clouddriver,duftler/clouddriver,spinnaker/clouddriver,duftler/clouddriver,ajordens/clouddriver,ajordens/clouddriver,ajordens/clouddriver,duftler/clouddriver,spinnaker/clouddriver,duftler/clouddriver,ajordens/clouddriver
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/requestqueue/pooled/PooledRequestQueue.java
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
feat(web): Support disabling request queue by dynamic property (#3168) Now emits a `pooledRequestQueue.enabled` gauge indicating whether or not the request queue is enabled on a particular instance. 1 == enabled 0 == disabled
clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/requestqueue/pooled/PooledRequestQueue.java
feat(web): Support disabling request queue by dynamic property (#3168)
<ide><path>louddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/requestqueue/pooled/PooledRequestQueue.java <ide> import java.util.concurrent.LinkedBlockingQueue; <ide> import java.util.concurrent.ThreadPoolExecutor; <ide> import java.util.concurrent.TimeUnit; <add>import java.util.concurrent.atomic.AtomicB...
Java
apache-2.0
e983c32298342110db89395b58aefaddb08834f2
0
edoweb/regal-api,edoweb/regal-api,jschnasse/regal-api,jschnasse/regal-api,jschnasse/regal-api,jschnasse/regal-api,edoweb/regal-api,edoweb/regal-api
/* * Copyright 2014 hbz NRW (http://www.hbz-nrw.de/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
app/controllers/Resource.java
/* * Copyright 2014 hbz NRW (http://www.hbz-nrw.de/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Fix: add Location header to POST /resource/:namespace
app/controllers/Resource.java
Fix: add Location header to POST /resource/:namespace
<ide><path>pp/controllers/Resource.java <ide> RegalObject object = getRegalObject(request().body().asJson()); <ide> Node newNode = create.createResource(namespace, object); <ide> String result = newNode.getPid() + " created/updated!"; <add> response() <add> .setHeader("Location", read.getHttpUri...
Java
bsd-3-clause
f160b42428e956da1b689582cdd5fc4a2f61c047
0
ndexbio/ndex-rest,ndexbio/ndex-rest,ndexbio/ndex-rest,ndexbio/ndex-rest
/** * Copyright (c) 2013, 2016, The Regents of the University of California, The Cytoscape Consortium * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code m...
src/main/java/org/ndexbio/rest/Configuration.java
/** * Copyright (c) 2013, 2016, The Regents of the University of California, The Cytoscape Consortium * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code m...
reCreateInstance method so unit tests can change the configuration
src/main/java/org/ndexbio/rest/Configuration.java
reCreateInstance method so unit tests can change the configuration
<ide><path>rc/main/java/org/ndexbio/rest/Configuration.java <ide> * @throws IOException <ide> * @throws FileNotFoundException <ide> **************************************************************************/ <del> private Configuration() throws NamingException, NdexException, FileNotFoundException, I...
Java
epl-1.0
684a26c13e86e89cdc9f3b725d145001b96c6b4c
0
subclipse/subclipse,subclipse/subclipse,subclipse/subclipse
/******************************************************************************* * Copyright (c) 2003, 2006 Subclipse project and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/LocalResource.java
/******************************************************************************* * Copyright (c) 2003, 2006 Subclipse project and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
If resource is derived, consider it ignored, even if it is managed. Issue #: 1369
org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/LocalResource.java
If resource is derived, consider it ignored, even if it is managed. Issue #: 1369
<ide><path>rg.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/resources/LocalResource.java <ide> */ <ide> public boolean isIgnored() throws SVNException { <ide> // If the resource is a team private or linked resource, it is ignored <del> if (resource.isTeamPrivateMember() || resource.isL...
Java
agpl-3.0
51d017564aac0b3d6db21956c7418173e5ad85dc
0
JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary
package co.smartreceipts.android.fragments; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.tex...
SmartReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java
package co.smartreceipts.android.fragments; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.tex...
Resolved an ANR due to fetching the next receipt id
SmartReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java
Resolved an ANR due to fetching the next receipt id
<ide><path>martReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java <ide> <ide> import java.io.File; <ide> import java.sql.Date; <add>import java.util.concurrent.Executor; <add>import java.util.concurrent.ExecutorService; <add>import java.util.concurrent.Executors; <ide> <id...
Java
apache-2.0
684579d452e324061d927458815d4cca96db96ae
0
kantega/kembe
package kembe; import fj.*; import fj.data.Either; import fj.data.Option; import fj.data.Stream; import fj.data.Validation; import fj.function.Effect1; import kembe.stream.*; import kembe.util.Functions; import kembe.util.Shows; import kembe.util.Split; import java.util.Arrays; import java.util.Iterator; import java....
src/main/java/kembe/EventStream.java
package kembe; import fj.*; import fj.data.Either; import fj.data.Option; import fj.data.Stream; import fj.data.Validation; import fj.function.Effect1; import kembe.stream.*; import kembe.util.Functions; import kembe.util.Shows; import kembe.util.Split; import java.util.Arrays; import java.util.Iterator; import java....
Bugfix
src/main/java/kembe/EventStream.java
Bugfix
<ide><path>rc/main/java/kembe/EventStream.java <ide> } <ide> <ide> public static <E, A> F<EventStream<Validation<E, A>>, EventStream<A>> normalizeValidation(final Show<E> show) { <del> return validationEventStream -> new RawMappedEventStream<>( validationEventStream, validationStreamEvent -> validationS...
JavaScript
bsd-3-clause
5ff94cbb544eafa201b62d793378ef292ae746fc
0
bharatpatil/WhiteBoard,bharatpatil/WhiteBoard
(function() { var express = require('express') , http = require('http'); var app = express(); var server = http.createServer(app); var io; var whiteboards = {}; var whiteboardsXML = {}; var whiteboardsSaveVersionBucket = {}; var whiteboardsUserCountAtVersionSaveRequest = {}; var users = {}; const TABLE...
whiteboardServer.js
(function() { var express = require('express') , http = require('http'); var app = express(); var server = http.createServer(app); var io; var whiteboards = {}; var whiteboardsXML = {}; var whiteboardsSaveVersionBucket = {}; var whiteboardsUserCountAtVersionSaveRequest = {}; var users = {}; const TABLE...
Changes of mongo db
whiteboardServer.js
Changes of mongo db
<ide><path>hiteboardServer.js <ide> var check = require('validator').check; <ide> var sanitize = require('validator').sanitize; <ide> <del>var databaseUrl = 'wb1:ganesh123@alex.mongohq.com:10027/whiteboard1'; <del>//var databaseUrl = "localhost/whiteboard"; <add> <add>var databaseUrl = "localhost/whiteboard";...
JavaScript
mit
858753f84868cee12cdc2258d7be4d6f0b8b1c36
0
bigpipe/pagelet,bigpipe/pagelet
'use strict'; var jstringify = require('json-stringify-safe') , FreeList = require('freelist').FreeList , fabricate = require('fabricator') , debug = require('diagnostics') , dot = require('dot-component') , Stream = require('stream') , Temper = require('temper') , fuse = require('fusing') , path = req...
index.js
'use strict'; var jstringify = require('json-stringify-safe') , FreeList = require('freelist').FreeList , fabricate = require('fabricator') , debug = require('diagnostics') , dot = require('dot-component') , Stream = require('stream') , Temper = require('temper') , fuse = require('fusing') , path = req...
[minor] push pagelet to fresh array and provide parent name
index.js
[minor] push pagelet to fresh array and provide parent name
<ide><path>ndex.js <ide> data.remove = authorized ? false : this.remove; // Remove from DOM. <ide> data.authorized = authorized; // Pagelet was authorized. <ide> data.streaming = !!this.streaming; // Submit streaming. <add> console.log(pagelet._parent); <add> dat...
Java
mpl-2.0
dc56ba3b948a9e2706e1d2e1f374f291e177776b
0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * $RCSfile: SecurityDialogUtil.java,v $ * * $Revision: 1.2 $ * * last change:$Date: 2003-02-26 09:56:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * -...
scripting/workben/ifc/scripting/SecurityDialogUtil.java
/************************************************************************* * * $RCSfile: SecurityDialogUtil.java,v $ * * $Revision: 1.1 $ * * last change:$Date: 2003-02-26 09:53:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * -...
Fixed typo
scripting/workben/ifc/scripting/SecurityDialogUtil.java
Fixed typo
<ide><path>cripting/workben/ifc/scripting/SecurityDialogUtil.java <ide> * <ide> * $RCSfile: SecurityDialogUtil.java,v $ <ide> * <del> * $Revision: 1.1 $ <del> * <del> * last change:$Date: 2003-02-26 09:53:00 $ <add> * $Revision: 1.2 $ <add> * <add> * last change:$Date: 2003-02-26 09:56:36 $ <ide> * <ide> * T...
Java
apache-2.0
5d1cf48b37954a4b2ec58b4cbba8d61df95754b0
0
mysql-time-machine/replicator,mysql-time-machine/replicator,mysql-time-machine/replicator
package com.booking.replication.applier.hbase.mutation; import com.booking.replication.applier.hbase.HBaseApplier; import com.booking.replication.applier.hbase.schema.HBaseRowKeyMapper; import com.booking.replication.applier.validation.ValidationService; import com.booking.replication.augmenter.model.AugmenterModel; ...
mysql-replicator-applier/src/main/java/com/booking/replication/applier/hbase/mutation/HBaseApplierMutationGenerator.java
package com.booking.replication.applier.hbase.mutation; import com.booking.replication.applier.hbase.HBaseApplier; import com.booking.replication.applier.hbase.schema.HBaseRowKeyMapper; import com.booking.replication.applier.validation.ValidationService; import com.booking.replication.augmenter.model.AugmenterModel; ...
Making sure original table name goes for Validation
mysql-replicator-applier/src/main/java/com/booking/replication/applier/hbase/mutation/HBaseApplierMutationGenerator.java
Making sure original table name goes for Validation
<ide><path>ysql-replicator-applier/src/main/java/com/booking/replication/applier/hbase/mutation/HBaseApplierMutationGenerator.java <ide> <ide> private DataSource getSourceDataSource(AugmentedRow row, List<String> updatedColumns) { <ide> AugmentedEventType eventType = row.getEventType(); <del> String...
Java
agpl-3.0
970324376060c983fc9fbb3f44971aea8d387f6c
0
ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools
package de.unituebingen.ub.ubtools.solrmarcMixin; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import java.util.function.Predicate; imp...
solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/TuelibMixin.java
package de.unituebingen.ub.ubtools.solrmarcMixin; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import java.util.function.Predicate; imp...
Explcitly add unassigned classification to topic facets
solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/TuelibMixin.java
Explcitly add unassigned classification to topic facets
<ide><path>olrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/TuelibMixin.java <ide> final String translatedTerm = translateTopic(term.replace("/", "\\/"), langShortcut); <ide> buffer.append(" " + symbolPair.opening + translatedTerm + symbo...
Java
mit
70b801a1ed238e7679059f9b826c17bd232c7e44
0
ccrama/JRAW,fbis251/JRAW,fbis251/JRAW,emersoncloud/JRAW,emersoncloud/JRAW,fbis251/JRAW,hzsweers/JRAW,ccrama/JRAW,Saketme/JRAW,Saketme/JRAW,thatJavaNerd/JRAW,thatJavaNerd/JRAW,pokowaka/JRAW,ccrama/JRAW,hzsweers/JRAW,thatJavaNerd/JRAW,hzsweers/JRAW,Saketme/JRAW,pokowaka/JRAW
package net.dean.jraw.models.core; import net.dean.jraw.JrawUtils; import net.dean.jraw.models.*; import org.codehaus.jackson.JsonNode; import java.net.URI; import java.net.URL; import java.util.Date; /** * Represents content that the user has submitted, whether that be a self post or a link. More information can b...
src/main/java/net/dean/jraw/models/core/Submission.java
package net.dean.jraw.models.core; import net.dean.jraw.JrawUtils; import net.dean.jraw.models.*; import org.codehaus.jackson.JsonNode; import java.net.URI; import java.net.URL; import java.util.Date; /** * Represents content that the user has submitted, whether that be a self post or a link. More information can b...
Short link (http://redd.it/{id}) for submissions
src/main/java/net/dean/jraw/models/core/Submission.java
Short link (http://redd.it/{id}) for submissions
<ide><path>rc/main/java/net/dean/jraw/models/core/Submission.java <ide> @JsonInteraction <ide> public Boolean isStickied() { <ide> return data("stickied", Boolean.class); <add> } <add> <add> /** <add> * Gets a URL on the redd.it domain. For example, <a href="http://redd.it/92dd8">http://redd.i...
Java
mit
244b801b366580c1833cc4b6601a3a80ca26e3ee
0
TechCavern/WaveTact
package com.techcavern.wavetact.ircCommands.misc; import com.techcavern.wavetact.annot.IRCCMD; import com.techcavern.wavetact.objects.IRCCommand; import com.techcavern.wavetact.utils.GeneralUtils; import com.techcavern.wavetact.utils.IRCUtils; import com.techcavern.wavetact.utils.Registry; import org.apache.commons.la...
src/main/java/com/techcavern/wavetact/ircCommands/misc/ListNetworks.java
package com.techcavern.wavetact.ircCommands.misc; import com.techcavern.wavetact.annot.IRCCMD; import com.techcavern.wavetact.objects.IRCCommand; import com.techcavern.wavetact.utils.GeneralUtils; import com.techcavern.wavetact.utils.IRCUtils; import com.techcavern.wavetact.utils.Registry; import org.apache.commons.la...
Less textual redundancy in ListNetworks
src/main/java/com/techcavern/wavetact/ircCommands/misc/ListNetworks.java
Less textual redundancy in ListNetworks
<ide><path>rc/main/java/com/techcavern/wavetact/ircCommands/misc/ListNetworks.java <ide> if (networks.isEmpty()) <ide> IRCUtils.sendMessage(user, network, channel, "No networks found" + networks, prefix); <ide> else <del> IRCUtils.sendMessage(user, network, channel, Registry.netwo...
Java
apache-2.0
711a21bd1d2a0b615a03b8ba9787c3eaf2524aef
0
FlexSeries/FlexLib
/** * FlexLib - Licensed under the MIT License (MIT) * * Copyright (c) Stealth2800 <http://stealthyone.com/> * Copyright (c) contributors <https://github.com/FlexSeries> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
src/main/java/me/st28/flexseries/flexlib/command/logic/LogicPath.java
/** * FlexLib - Licensed under the MIT License (MIT) * * Copyright (c) Stealth2800 <http://stealthyone.com/> * Copyright (c) contributors <https://github.com/FlexSeries> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
Fixed a NullPointerException if the permission is null.
src/main/java/me/st28/flexseries/flexlib/command/logic/LogicPath.java
Fixed a NullPointerException if the permission is null.
<ide><path>rc/main/java/me/st28/flexseries/flexlib/command/logic/LogicPath.java <ide> } <ide> <ide> public List<String> getSuggestions(CommandContext context, int curIndex) { <del> if (!permission.isAllowed(context.getSender())) { <add> if (permission != null && !permission.isAllowed(context.getS...
Java
mit
340764f25935a063f4ad0d9d8ab270b7d6eb7931
0
akshaths/WordamentPlayer
import java.awt.AWTException; import java.awt.Color; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import com.sun.jna.Native; import com.sun.jna.platform.win32.WinDef.HWND; import com.sun.jna.win32.StdCallLibrary; import net.sourceforge.tess4j.Tesseract; import net.sourceforge....
src/BoardConstructor.java
import java.awt.AWTException; import java.awt.Color; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import com.sun.jna.Native; import com.sun.jna.platform.win32.WinDef.HWND; import com.sun.jna.win32.StdCallLibrary; import net.sourceforge.tess4j.Tesseract; import net.sourceforge....
added comment
src/BoardConstructor.java
added comment
<ide><path>rc/BoardConstructor.java <ide> public static char getLastAlpha(String input) { <ide> for (int i = input.length() - 1; i >= 0; i--) { <ide> char c = input.charAt(i); <add> //hack to get rid of numbers (from tile score), and misread tiles <ide> if (Character.isLetter(c)) <ide> ...
Java
apache-2.0
da64216e7616da45e4b83683c5af73b465684d24
0
vivosys/orientdb,vivosys/orientdb,nengxu/OrientDB,vivosys/orientdb,nengxu/OrientDB,nengxu/OrientDB,vivosys/orientdb,nengxu/OrientDB
/* * Copyright 1999-2010 Luca Garulli (l.garulli--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.apache.org/licenses/LICENSE-2.0 ...
core/src/main/java/com/orientechnologies/orient/core/storage/fs/OMMapManager.java
/* * Copyright 1999-2010 Luca Garulli (l.garulli--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.apache.org/licenses/LICENSE-2.0 ...
Fixed problem on mmap block reclaim strategy. git-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@2226 3625ad7b-9c83-922f-a72b-73d79161f2ea
core/src/main/java/com/orientechnologies/orient/core/storage/fs/OMMapManager.java
Fixed problem on mmap block reclaim strategy.
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/storage/fs/OMMapManager.java <ide> maxMemory = OGlobalConfiguration.FILE_MMAP_MAX_MEMORY.getValueAsLong(); <ide> } <ide> <del> public static OMMapBufferEntry request(final OFileMMap iFile, final int iBeginOffset, final int iSize, final OPERATION_TYPE iO...
Java
apache-2.0
a420a05766a75b75c1c0baf7cad0e4c371ce6008
0
boalang/compiler,boalang/compiler,boalang/compiler,boalang/compiler,boalang/compiler
package boa.test.datagen; import java.io.IOException; import org.junit.Test; public class TestVariableDeclarationNode extends JavaScriptBaseTest { @Test public void varaibleDeclTest1() throws IOException { nodeTest(load("test/datagen/javascript/VariableDeclarationNode.boa"), load("test/datagen/javascript/Va...
src/test/boa/test/datagen/TestVariableDeclarationNode.java
package boa.test.datagen; import java.io.IOException; import org.junit.Test; public class TestVariableDeclarationNode extends JavaScriptBaseTest { @Test public void varaibleDeclTest1() throws IOException { nodeTest(load("test/datagen/javascript/VariableDeclarationNode.boa"), load("test/datagen/javascript/Va...
typos in file names
src/test/boa/test/datagen/TestVariableDeclarationNode.java
typos in file names
<ide><path>rc/test/boa/test/datagen/TestVariableDeclarationNode.java <ide> <ide> @Test <ide> public void arrayLiteralTest() throws IOException { <del> nodeTest(load("test/datagen/javascript/arrayLiteralNode.boa"), <del> load("test/datagen/javascript/arrayLiteralNode.js")); <add> nodeTest(load("test/datagen/java...
Java
epl-1.0
fbc8f9e503ba90e55fe4c5dc577dcf814e2b5722
0
jerr/jbossforge-core,pplatek/core,agoncal/core,D9110/core,agoncal/core,agoncal/core,agoncal/core,oscerd/core,agoncal/core,oscerd/core,D9110/core,D9110/core,ivannov/core,stalep/forge-core,oscerd/core,ivannov/core,ivannov/core,forge/core,forge/core,ivannov/core,pplatek/core,D9110/core,pplatek/core,jerr/jbossforge-core,D9...
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.aesh; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; im...
aesh/impl/src/main/java/org/jboss/forge/aesh/ForgeShell.java
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.aesh; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; im...
Log when things go wrong
aesh/impl/src/main/java/org/jboss/forge/aesh/ForgeShell.java
Log when things go wrong
<ide><path>esh/impl/src/main/java/org/jboss/forge/aesh/ForgeShell.java <ide> } <ide> catch (Exception e) <ide> { <del> e.printStackTrace(); <add> logger.log(Level.SEVERE, "Faile to verify commands.", e); <ide> } <ide> for (ShellComm...
Java
apache-2.0
e3304f954ae3c13506b4da700bfdddb5e696fa51
0
CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife
package com.camnter.smartrouter; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.text.TextUtils; import com.camnter.smartrouter.core.Filter; import com.camnter.smar...
smartrouter/src/main/java/com/camnter/smartrouter/SmartRouters.java
package com.camnter.smartrouter; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.text.TextUtils; import com.camnter.smartrouter.core.Filter; import com.camnter.smar...
[Fix] SmartRouters # running method
smartrouter/src/main/java/com/camnter/smartrouter/SmartRouters.java
[Fix] SmartRouters # running method
<ide><path>martrouter/src/main/java/com/camnter/smartrouter/SmartRouters.java <ide> } <ide> <ide> <del> private static void running(@NonNull final Activity activity) { <add> @SuppressWarnings("unchecked") <add> public static void running(@NonNull final Activity activity) { <ide> final String targ...
Java
mit
e79ff8cce00699432f15d90ae070fdc150df3f88
0
pomeryt/AutoPerson
package application; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; import org.jnativehook.GlobalScreen; import org.jnativehook.keyboard.NativeKeyEvent; import org.jnativehook.keyboard.NativeKeyListener; import javafx.application.Platform; import javafx.geometry.Insets; import jav...
src/application/KeyPrompt.java
package application; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.List; import org.jnativehook.GlobalScreen; import org.jnativehook.keyboard.NativeKeyEvent; import org.jnativehook.keyboard.NativeKeyListener; import javafx.application.Platform; import javafx.geometry.Insets; import jav...
added showText method
src/application/KeyPrompt.java
added showText method
<ide><path>rc/application/KeyPrompt.java <ide> } <ide> <ide> /** <add> * Show text on the prompt. <add> * @param text <add> * @since 1.0.0 <add> */ <add> public void showText(String text){ <add> lText.setText(text); <add> } <add> <add> /** <ide> * Show pressed keyboard key and assign its AWT key code. <ide>...
Java
apache-2.0
dd88bf9d7ab097a623ae59e3b5b232d9ecb5c1c7
0
SylvesterAbreu/sling,awadheshv/sling,Sivaramvt/sling,cleliameneghin/sling,mmanski/sling,mikibrv/sling,headwirecom/sling,mmanski/sling,nleite/sling,labertasch/sling,mcdan/sling,ieb/sling,mcdan/sling,mikibrv/sling,trekawek/sling,tyge68/sling,Nimco/sling,roele/sling,JEBailey/sling,wimsymons/sling,roele/sling,anchela/sling...
/* * 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 ...
testing/mocks/resourceresolver-mock/src/main/java/org/apache/sling/testing/resourceresolver/ReadonlyValueMapDecorator.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 ...
cosmetic: add toString method to ReadOnlyValueMapDecorator git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1702311 13f79535-47bb-0310-9956-ffa450edef68
testing/mocks/resourceresolver-mock/src/main/java/org/apache/sling/testing/resourceresolver/ReadonlyValueMapDecorator.java
cosmetic: add toString method to ReadOnlyValueMapDecorator
<ide><path>esting/mocks/resourceresolver-mock/src/main/java/org/apache/sling/testing/resourceresolver/ReadonlyValueMapDecorator.java <ide> return delegate; <ide> } <ide> <add> @Override <add> public String toString() { <add> return delegate.toString(); <add> } <add> <ide> }
Java
apache-2.0
d396ba39c0af543d1436e70bd3b55e07dbf98bc8
0
jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb
package de.fernunihagen.dna.jkn.scalephant.network.routing; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import de.fernunihagen.dna.jkn.scalephant.distribution.membership.DistributedInstance; public class RoutingHeader { /** * Is this a routed or a direct package? */ prote...
src/main/java/de/fernunihagen/dna/jkn/scalephant/network/routing/RoutingHeader.java
package de.fernunihagen.dna.jkn.scalephant.network.routing; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import de.fernunihagen.dna.jkn.scalephant.distribution.membership.DistributedInstance; public class RoutingHeader { /** * Is this a routed or a direct package? */ prote...
Added a new constructor
src/main/java/de/fernunihagen/dna/jkn/scalephant/network/routing/RoutingHeader.java
Added a new constructor
<ide><path>rc/main/java/de/fernunihagen/dna/jkn/scalephant/network/routing/RoutingHeader.java <ide> this.routedPackage = routedPackage; <ide> this.hop = hop; <ide> this.routingList = routingList; <add> } <add> <add> public RoutingHeader(final boolean routedPackage, final short hop, final String routingList) { <a...
Java
apache-2.0
4d61765e8bf1abb9a0b2d288a8139f66da575072
0
hifive/hifive-pitalium,hifive/hifive-test-library,hifive/hifive-pitalium,hifive/hifive-pitalium,hifive/hifive-test-library
/* * Copyright (C) 2015-2017 NS Solutions Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
pitalium/src/main/java/com/htmlhifive/pitalium/image/util/ImageUtils.java
/* * Copyright (C) 2015-2017 NS Solutions Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
#130 積分画像の生成時にエラーが発生するバグを修正
pitalium/src/main/java/com/htmlhifive/pitalium/image/util/ImageUtils.java
#130 積分画像の生成時にエラーが発生するバグを修正
<ide><path>italium/src/main/java/com/htmlhifive/pitalium/image/util/ImageUtils.java <ide> public static double[][] calcIntegralImage(BufferedImage source) { <ide> double[][] integralImage = new double[source.getHeight()][source.getWidth()]; <ide> Raster raster = source.getRaster(); <del> int[] pixel = new int[ras...
Java
lgpl-2.1
a62f24048c8d90aec5055b7bfeb7674c1908e112
0
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
package java.io; import java.lang.String; import kaffe.io.CharToByteConverter; /* * Java core library component. * * Copyright (c) 1997, 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */ public clas...
libraries/javalib/java/io/OutputStreamWriter.java
package java.io; import java.lang.String; import kaffe.io.CharToByteConverter; /* * Java core library component. * * Copyright (c) 1997, 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */ public clas...
(write): The assumption that the input length is equal to the output length, is not necessarily true for non-ASCII characters. Submitted by Ito Kazumitsu <ito@maczuka.gcd.org>
libraries/javalib/java/io/OutputStreamWriter.java
(write): The assumption that the input length is equal to the output length, is not necessarily true for non-ASCII characters. Submitted by Ito Kazumitsu <ito@maczuka.gcd.org>
<ide><path>ibraries/javalib/java/io/OutputStreamWriter.java <ide> } <ide> <ide> synchronized (lock) { <del> while (len > 0) { <add> if (len > 0) { <ide> int outlen = encoding.convert(cbuf, off, len, <ide> outbuf, buflen, outbuf.length - buflen); <del> buflen += outlen; <del> if (outlen == 0 || outbuf.le...
Java
apache-2.0
f4b4e67709a0a443dcbfd8a444a6291be39c5511
0
alamkanak/Android-Week-View,Quivr/Android-Week-View,Patternd/AutoCalendar,asolis90/Android-Week-View,melkonyan/Android-Week-View,dgrant/Android-Week-View,marunjar/Android-Week-View
package com.alamkanak.weekview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Typef...
library/src/main/java/com/alamkanak/weekview/WeekView.java
package com.alamkanak.weekview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Typef...
Correct some comments
library/src/main/java/com/alamkanak/weekview/WeekView.java
Correct some comments
<ide><path>ibrary/src/main/java/com/alamkanak/weekview/WeekView.java <ide> <ide> @Override <ide> public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { <add> // Check if view is zoomed. <ide> if (mIsZooming) <ide> return true; ...
Java
apache-2.0
6c26cc0ac74c1967d4947633a27d2d7b5281dc02
0
jmrozanec/cron-utils,meincs/cron-utils
package com.cronutils.mapper; import com.cronutils.model.CronType; import com.cronutils.model.definition.CronDefinitionBuilder; import com.cronutils.parser.CronParser; import com.google.common.collect.Sets; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; ...
src/test/java/com/cronutils/mapper/CronMapperIntegrationTest.java
package com.cronutils.mapper; import com.cronutils.model.CronType; import com.cronutils.model.definition.CronDefinitionBuilder; import com.cronutils.parser.CronParser; import org.junit.Test; import static org.junit.Assert.assertEquals; /* * Copyright 2015 jmrozanec * Licensed under the Apache License, Version 2.0 (...
Issue #36: Add test to replicate issue.
src/test/java/com/cronutils/mapper/CronMapperIntegrationTest.java
Issue #36: Add test to replicate issue.
<ide><path>rc/test/java/com/cronutils/mapper/CronMapperIntegrationTest.java <ide> import com.cronutils.model.CronType; <ide> import com.cronutils.model.definition.CronDefinitionBuilder; <ide> import com.cronutils.parser.CronParser; <add>import com.google.common.collect.Sets; <ide> import org.junit.Test; <ide> <ide> im...
Java
lgpl-2.1
0e3e38635d04e4fb24aff98f434118ac85e0f815
0
spotbugs/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs,sewe/spotbugs,spotbugs/spotbugs
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2006, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
findbugs/src/java5/edu/umd/cs/findbugs/gui2/CommentsArea.java
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2006, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
Make sure we first save comments if someone clicks on "File Bug" git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@11365 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java5/edu/umd/cs/findbugs/gui2/CommentsArea.java
Make sure we first save comments if someone clicks on "File Bug"
<ide><path>indbugs/src/java5/edu/umd/cs/findbugs/gui2/CommentsArea.java <ide> <ide> public void actionPerformed(ActionEvent e) { <ide> if (frame.currentSelectedBugLeaf != null) { <add> saveComments(); <ide> BugInstance bug = frame.currentSelectedBugLeaf.getBug(); <ide> Cloud cloud = getMainFrame()...
Java
apache-2.0
eb72629b57bb3772b579ecf8c399a8765a81028d
0
youdonghai/intellij-community,MER-GROUP/intellij-community,xfournet/intellij-community,idea4bsd/idea4bsd,michaelgallacher/intellij-community,vladmm/intellij-community,salguarnieri/intellij-community,vvv1559/intellij-community,izonder/intellij-community,wreckJ/intellij-community,holmes/intellij-community,tmpgit/intellij...
/* * Copyright 2000-2012 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/util/src/com/intellij/openapi/util/text/StringUtil.java
/* * Copyright 2000-2012 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...
ok, not @NotNull (EA-36166)
platform/util/src/com/intellij/openapi/util/text/StringUtil.java
ok, not @NotNull (EA-36166)
<ide><path>latform/util/src/com/intellij/openapi/util/text/StringUtil.java <ide> return newBuffer == null ? buffer : newBuffer.toString(); <ide> } <ide> <del> @NotNull <ide> public static String replace(@NotNull final String text, @NotNull final String oldS, @Nullable final String newS, boolean ignoreCase) { ...
Java
apache-2.0
error: pathspec 'src/com/yidejia/app/mall/net/voucher/Verify.java' did not match any file(s) known to git
391022d654def725297d544a91930d5d877a3763
1
tailanx/test,tailanx/test
package com.yidejia.app.mall.net.voucher; import java.io.IOException; import com.yidejia.app.mall.jni.JNICallBack; import com.yidejia.app.mall.net.HttpPostConn; public class Verify { public String getHttpResponse(String goods, String userid) throws IOException{ HttpPostConn conn = new HttpPostConn(JNICallBack.get...
src/com/yidejia/app/mall/net/voucher/Verify.java
获取用户积分换购商品网络数据
src/com/yidejia/app/mall/net/voucher/Verify.java
获取用户积分换购商品网络数据
<ide><path>rc/com/yidejia/app/mall/net/voucher/Verify.java <add>package com.yidejia.app.mall.net.voucher; <add> <add>import java.io.IOException; <add> <add>import com.yidejia.app.mall.jni.JNICallBack; <add>import com.yidejia.app.mall.net.HttpPostConn; <add> <add>public class Verify { <add> public String getHttpResponse...
Java
agpl-3.0
47b9549bcd69fa735c26e7f05fba3f0153a025a8
0
ibcn-cloudlet/dianne,ibcn-cloudlet/dianne,ibcn-cloudlet/dianne,ibcn-cloudlet/dianne,ibcn-cloudlet/dianne,ibcn-cloudlet/dianne,ibcn-cloudlet/dianne
package be.iminds.iot.dianne.api.nn.module; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutorService; import java.util.concurrent...
be.iminds.iot.dianne.api/src/be/iminds/iot/dianne/api/nn/module/AbstractModule.java
package be.iminds.iot.dianne.api.nn.module; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutorService; import java.util.concurrent...
notify listeners using more consise lambdas
be.iminds.iot.dianne.api/src/be/iminds/iot/dianne/api/nn/module/AbstractModule.java
notify listeners using more consise lambdas
<ide><path>e.iminds.iot.dianne.api/src/be/iminds/iot/dianne/api/nn/module/AbstractModule.java <ide> <ide> // Thread executor to perform calculations on <ide> protected ExecutorService runExecutor = Executors.newSingleThreadExecutor(); <add> // Thread executor to notify listeners <ide> protected ExecutorService lis...
Java
apache-2.0
2df6796251813e8af41590ad2554ad844d7c59d1
0
cags12/android_page_curl,changjiashuai/android_page_curl,yummy222/android_page_curl,HiWong/android_page_curl,harism/android_page_curl,yytang2012/android_page_curl,mondoktamas/android_page_curl,shyamkumarm/android_page_curl,zhenian/android_page_curl,tsdl2013/android_page_curl,hgl888/android_page_curl,cailingxiao/android...
package fi.harism.curl; import android.content.Context; import android.graphics.Bitmap; import android.graphics.PointF; import android.graphics.RectF; import android.opengl.GLSurfaceView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * OpenGL ES View. * * @author...
src/fi/harism/curl/CurlView.java
package fi.harism.curl; import android.content.Context; import android.graphics.Bitmap; import android.graphics.PointF; import android.graphics.RectF; import android.opengl.GLSurfaceView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * OpenGL ES View. * * @author...
Comment added.
src/fi/harism/curl/CurlView.java
Comment added.
<ide><path>rc/fi/harism/curl/CurlView.java <ide> private long mAnimationStartTime; <ide> private long mAnimationDurationTime = 300; <ide> private int mAnimationTargetEvent; <add> <add> // Constants for mAnimationTargetEvent. <ide> private static final int SET_CURL_TO_LEFT = 1; <ide> private static final int SET_C...
Java
lgpl-2.1
6fe0502c77c54e3de94cfcb51f652667b1750dd9
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-05 David Pavlis <david_pavlis@hotmail.com> and others. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
cloveretl.component/src/org/jetel/component/partition/PartitionFunction.java
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-05 David Pavlis <david_pavlis@hotmail.com> and others. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
method init throws ComponentNotReadyException as it is called in init method of component git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@2019 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.component/src/org/jetel/component/partition/PartitionFunction.java
method init throws ComponentNotReadyException as it is called in init method of component
<ide><path>loveretl.component/src/org/jetel/component/partition/PartitionFunction.java <ide> <ide> import org.jetel.data.DataRecord; <ide> import org.jetel.data.RecordKey; <add>import org.jetel.exception.ComponentNotReadyException; <ide> <ide> /** <ide> * Simple interface for partition functions. <ide> * parti...
Java
apache-2.0
ba4563594bff3fc40b08aac53b3c29aa71815550
0
flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client
/* * Copyright (c) 2016-2021 Flux Capacitor. * * 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 agr...
java-client/src/main/java/io/fluxcapacitor/javaclient/persisting/search/DefaultDocumentStore.java
/* * Copyright (c) 2016-2021 Flux Capacitor. * * 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 agr...
Fix in DefaultDocumentStore
java-client/src/main/java/io/fluxcapacitor/javaclient/persisting/search/DefaultDocumentStore.java
Fix in DefaultDocumentStore
<ide><path>ava-client/src/main/java/io/fluxcapacitor/javaclient/persisting/search/DefaultDocumentStore.java <ide> <ide> @Override <ide> public Search sortBy(String path, boolean descending) { <del> sorting.add(descending ? "-" : "" + path); <add> sorting.add((descending ? "-" : ""...
JavaScript
mit
41f0195ac06893005d315382b82220828e57fc44
0
shalmalijoshi/AchillesWeb,shalmalijoshi/AchillesWeb,shalmalijoshi/AchillesWeb,shalmalijoshi/AchillesWeb
(function () { define(["jquery", "d3", "jnj/chart", "common", "datatables", "datatables-colvis"], function ($, d3, jnj_chart, common) { var visit_occurrence = {}; var threshold; var datatable; // bind to all matching elements upon creation $(document).on('click', '#visit_table tbody tr', funct...
js/app/reports/visit_occurrence.js
(function () { define(["jquery", "d3", "jnj/chart", "common", "datatables", "datatables-colvis"], function ($, d3, jnj_chart, common) { var visit_occurrence = {}; var threshold; var datatable; // bind to all matching elements upon creation $(document).on('click', '#visit_table tbody tr', funct...
solving an issue for situations with only one visit type where the data frame returns as a property instead of an array
js/app/reports/visit_occurrence.js
solving an issue for situations with only one visit type where the data frame returns as a property instead of an array
<ide><path>s/app/reports/visit_occurrence.js <ide> url: 'data/' + folder + '/visit_treemap.json', <ide> contentType: "application/json; charset=utf-8", <ide> success: function (data) { <add> data = common.normalizeDataframe(data); <ide> table_data = data.CONCEPT_PATH.map(function (d, i) {...
Java
lgpl-2.1
7d5113306848ad3125cfdbba77bdcf614993fb67
0
SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer
/* * ChipCanvas.java * * Created on May 2, 2006, 1:53 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package net.sf.jaer.graphics; import java.awt.Canvas; import java.awt.Color; import java.awt.Font; import java.awt.Insets; import java.awt...
src/net/sf/jaer/graphics/ChipCanvas.java
/* * ChipCanvas.java * * Created on May 2, 2006, 1:53 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package net.sf.jaer.graphics; import java.awt.Canvas; import java.awt.Color; import java.awt.Font; import java.awt.Insets; import java.awt...
added a drawable.getContext().makeCurrent() to the ChipCanvas paintFrame() method. Tested and working OK on tobi's laptop. This may fix occasional problem with uncaught JOGL exceptions about rendering occurring out of OpenGL context. Please report problems. git-svn-id: fe6b3b33f0410f5f719dcd9e0c58b92353e7a5d3@6947 b7f...
src/net/sf/jaer/graphics/ChipCanvas.java
added a drawable.getContext().makeCurrent() to the ChipCanvas paintFrame() method. Tested and working OK on tobi's laptop. This may fix occasional problem with uncaught JOGL exceptions about rendering occurring out of OpenGL context. Please report problems.
<ide><path>rc/net/sf/jaer/graphics/ChipCanvas.java <ide> */ <ide> public void paintFrame() { <ide> try { <add> drawable.getContext().makeCurrent(); <ide> drawable.display(); // we call the drawable's display method that ends up calling us back via our local <ide> // d...
Java
mit
b2c4856a203b5c3b5f5be0fb42d6906a7aa9ee63
0
WycliffeAssociates/translationRecorder,WycliffeAssociates/translationRecorder,WycliffeAssociates/translationRecorder,WycliffeAssociates/translationRecorder,WycliffeAssociates/translationRecorder,WycliffeAssociates/translationRecorder
package wycliffeassociates.recordingapp; import android.app.Application; import android.test.ApplicationTestCase; import wycliffeassociates.recordingapp.Playback.Editing.CutOp; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends A...
RecordingApp/app/src/androidTest/java/wycliffeassociates/recordingapp/ApplicationTest.java
package wycliffeassociates.recordingapp; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() {...
Some initial tests
RecordingApp/app/src/androidTest/java/wycliffeassociates/recordingapp/ApplicationTest.java
Some initial tests
<ide><path>ecordingApp/app/src/androidTest/java/wycliffeassociates/recordingapp/ApplicationTest.java <ide> <ide> import android.app.Application; <ide> import android.test.ApplicationTestCase; <add> <add>import wycliffeassociates.recordingapp.Playback.Editing.CutOp; <ide> <ide> /** <ide> * <a href="http://d.android.c...
Java
apache-2.0
46b64d5c4a4d29eafdcc6a7ecc4fbe36d216828a
0
liubo404/sakai,joserabal/sakai,udayg/sakai,wfuedu/sakai,surya-janani/sakai,bzhouduke123/sakai,kingmook/sakai,kingmook/sakai,wfuedu/sakai,surya-janani/sakai,surya-janani/sakai,lorenamgUMU/sakai,liubo404/sakai,ouit0408/sakai,joserabal/sakai,conder/sakai,clhedrick/sakai,ktakacs/sakai,kwedoff1/sakai,hackbuteer59/sakai,wfue...
/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * This was was originally part of Simple Page Tool and was * * Copyright (c) 2007 Sakai Project/Sakai Foundation * Licensed...
lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/ShowPageProducer.java
/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * This was was originally part of Simple Page Tool and was * * Copyright (c) 2007 Sakai Project/Sakai Foundation * Licensed...
LSNBLDR-203; bad url can break page git-svn-id: 2dc346ce528bdcd469877bb8eea15a9c9813262b@120498 66ffb92e-73f9-0310-93c1-f5514f145a0a
lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/ShowPageProducer.java
LSNBLDR-203; bad url can break page
<ide><path>essonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/ShowPageProducer.java <ide> import org.sakaiproject.user.cover.UserDirectoryService; <ide> import org.sakaiproject.exception.IdUnusedException; <ide> import org.sakaiproject.util.ResourceLoader; <add>import org.sakaiproject.util.For...
Java
epl-1.0
c026b3979419c57cffca96c33ff1f70b391258e4
0
MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit
package kuleuven.group2.data; import java.lang.reflect.Method; import java.util.Collections; import java.util.HashSet; import java.util.Set; /** * A class that has access to all tests (Test) and tested methods (TestedMethod) * for access by updaters and users. * * @author Vital D'haveloose */ publi...
src/main/java/kuleuven/group2/data/TestDatabase.java
package kuleuven.group2.data; import java.util.Collections; import java.util.HashSet; import java.util.Set; /** * A class that has access to all tests (Test) and tested methods (TestedMethod) * for access by updaters and users. * * @author Vital D'haveloose */ public class TestDatabase { protec...
added (empty) method for access to tested methods in TestDatabase
src/main/java/kuleuven/group2/data/TestDatabase.java
added (empty) method for access to tested methods in TestDatabase
<ide><path>rc/main/java/kuleuven/group2/data/TestDatabase.java <ide> package kuleuven.group2.data; <ide> <add>import java.lang.reflect.Method; <ide> import java.util.Collections; <ide> import java.util.HashSet; <ide> import java.util.Set; <ide> <ide> // ACCESS <ide> <del> //TODO: implementatie van verschillende ...
Java
mpl-2.0
error: pathspec 'src/org/mozilla/javascript/BaseFunction.java' did not match any file(s) known to git
04a33b8c121aa853e93469eb40e38011dc19efff
1
qhanam/rhino,sam/htmlunit-rhino-fork,tntim96/rhino-apigee,tntim96/rhino-jscover-repackaged,Pilarbrist/rhino,ashwinrayaprolu1984/rhino,tuchida/rhino,swannodette/rhino,AlexTrotsenko/rhino,swannodette/rhino,swannodette/rhino,ashwinrayaprolu1984/rhino,Angelfirenze/rhino,rasmuserik/rhino,tuchida/rhino,AlexTrotsenko/rhino,te...
/* -*- 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/BaseFunction.java
The patch adds new class org.mozilla.javascript.BaseFunction as a base for classes implementing the Function interface and switch IdFunction.java to use it. The code in BaseFunction to serve as Function.prototype is not used yet. The patch modifies NativeCall so it can be used against BaseFunction. The patch was made ...
src/org/mozilla/javascript/BaseFunction.java
The patch adds new class org.mozilla.javascript.BaseFunction as a base for classes implementing the Function interface and switch IdFunction.java to use it. The code in BaseFunction to serve as Function.prototype is not used yet. The patch modifies NativeCall so it can be used against BaseFunction.
<ide><path>rc/org/mozilla/javascript/BaseFunction.java <add>/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- <add> * <add> * The contents of this file are subject to the Netscape Public <add> * License Version 1.1 (the "License"); you may not use this file <add> * except in compliance with ...
JavaScript
mit
e032bdc27678a6752c3489a6ddb99fe12044ec3b
0
ryanbaer/busy,busyorg/busy,ryanbaer/busy,busyorg/busy
import React, { PropTypes } from 'react'; import numeral from 'numeral'; import { Tooltip } from 'antd'; import classNames from 'classnames'; import PayoutDetail from '../PayoutDetail'; import './StoryFooter.less'; const StoryFooter = ({ post, postState, onLikeClick, onCommentClick, onShareClick }) => { const maxPa...
src/components/Story/StoryFooter.js
import React, { PropTypes } from 'react'; import numeral from 'numeral'; import { Tooltip } from 'antd'; import classNames from 'classnames'; import PayoutDetail from '../PayoutDetail'; import './StoryFooter.less'; const StoryFooter = ({ post, postState, onLikeClick, onCommentClick, onShareClick }) => { const maxPa...
Move StoryFooter tooltips to above text
src/components/Story/StoryFooter.js
Move StoryFooter tooltips to above text
<ide><path>rc/components/Story/StoryFooter.js <ide> return ( <ide> <div className="StoryFooter"> <ide> <span className={classNames('StoryFooter__payout', { 'StoryFooter__payout--rejected': maxPayout === 0 })}> <del> <Tooltip title={<PayoutDetail post={post} />} placement="bottom"> <add> <Toolt...
Java
epl-1.0
bb2677f21a6a2ada021ff251b4112b144fce65e6
0
SEMERU-WM/ChangeScribe,SEMERU-WM/ChangeScribe
package co.edu.unal.colswe.CommitSummarizer.core.summarizer; import org.eclipse.jdt.core.dom.CompilationUnit; import co.edu.unal.colswe.CommitSummarizer.core.stereotype.information.TypeInfo; import co.edu.unal.colswe.CommitSummarizer.core.stereotype.stereotyped.StereotypedElement; import co.edu.unal.colswe.CommitSumm...
CommitSummarizer/CommitSummarizer.core/src/main/java/co/edu/unal/colswe/CommitSummarizer/core/summarizer/GeneralDescriptor.java
package co.edu.unal.colswe.CommitSummarizer.core.summarizer; import org.eclipse.jdt.core.dom.CompilationUnit; import co.edu.unal.colswe.CommitSummarizer.core.stereotype.stereotyped.StereotypedElement; public class GeneralDescriptor { public static String describe(StereotypedElement element, CompilationUnit cu, St...
general description for added and removed classes
CommitSummarizer/CommitSummarizer.core/src/main/java/co/edu/unal/colswe/CommitSummarizer/core/summarizer/GeneralDescriptor.java
general description for added and removed classes
<ide><path>ommitSummarizer/CommitSummarizer.core/src/main/java/co/edu/unal/colswe/CommitSummarizer/core/summarizer/GeneralDescriptor.java <ide> <ide> import org.eclipse.jdt.core.dom.CompilationUnit; <ide> <add>import co.edu.unal.colswe.CommitSummarizer.core.stereotype.information.TypeInfo; <ide> import co.edu.unal.co...
Java
apache-2.0
58c6387f1c0b8bb573c65da6926b07706bc3080b
0
yeastrc/proxl-web-app,yeastrc/proxl-web-app,yeastrc/proxl-web-app
package org.yeastrc.xlink.www.protein_coverage; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.log4j.Logger; import org.yeastrc.xlink.db.DBConnectionF...
src/org/yeastrc/xlink/www/protein_coverage/ProteinSequenceCoverageCacheManager.java
package org.yeastrc.xlink.www.protein_coverage; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.log4j.Logger; import org.yeastrc.xlink.db.DBConnectionF...
Added search_id to cache table to help clean the data when searches are deleted.
src/org/yeastrc/xlink/www/protein_coverage/ProteinSequenceCoverageCacheManager.java
Added search_id to cache table to help clean the data when searches are deleted.
<ide><path>rc/org/yeastrc/xlink/www/protein_coverage/ProteinSequenceCoverageCacheManager.java <ide> <ide> ObjectMapper mapper = new ObjectMapper(); // our json serializer/de-serializer <ide> <del> String sql = "SELECT search_param_hash_code, search_param_hash_idx, search_param_json, sequence_coverage_json ...
JavaScript
mit
ffee6db10f8ab670bf46de7b1bb89de5d0cab194
0
SEDARI/UPFROnt
var clone = require('clone'); var w = require('winston'); w.level = process.env.LOG_LEVEL; var pap = require('../pap'); var pdp = require('../pdp'); var Policy = require('ulocks').Policy; function isValid(o) { return (o !== undefined && o !== null) }; function init(settings) { // nothing required here } // ...
pep/api.js
var clone = require('clone'); var w = require('winston'); w.level = process.env.LOG_LEVEL; var pap = require('../pap'); var pdp = require('../pdp'); var Policy = require('ulocks').Policy; function isValid(o) { return (o !== undefined && o !== null) }; function init(settings) { // nothing required here } // ...
Consistent object declassification - old version of PEP would remove objects if declassification removed all its properties - consistency enforces now that empty objects are only removed iff their own policy or their effctive policy would declassify them - in case a complete object would be declassified the declassify...
pep/api.js
Consistent object declassification
<ide><path>ep/api.js <ide> function genDeclassifyPromise(property, object, policyObject, target, targetPolicy, objInfo, effPolicy) { <ide> return new Promise(function(resolve, reject) { <ide> declassifyRec(objInfo, object, policyObject, target, targetPolicy, effPolicy).then(function(o) { <del> if...
JavaScript
apache-2.0
e043506e0141aa549c3d5a30548c8e0ada065068
0
eslachance/enmap
// Lodash should probably be a core lib but hey, it's useful! const _ = require('lodash'); // Custom error codes with stack support. const Err = require('./error.js'); // Native imports const { resolve, sep } = require('path'); const fs = require('fs'); // Symbols are used to create "private" methods. // https://med...
src/index.js
// Lodash should probably be a core lib but hey, it's useful! const _ = require('lodash'); // Custom error codes with stack support. const Err = require('./error.js'); // Native imports const { resolve, sep } = require('path'); const fs = require('fs'); // Symbols are used to create "private" methods. // https://med...
Update index.js
src/index.js
Update index.js
<ide><path>rc/index.js <ide> <ide> if(iterable){ <ide> if(options.name){ <del> console.log('Iterable ignored for persistent Enmap named ' + options.name) <add> console.log('Iterable ignored for persistent Enmap ' + options.name) <ide> } else { <ide> for(const [key, value] ...
Java
lgpl-2.1
9d220c10de51d6df5cb7ac56494aa5183eaa5702
0
tmyroadctfig/swingx,krichter722/swingx,krichter722/swingx,trejkaz/swingx,trejkaz/swingx
/* * $Id$ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Founda...
src/java/org/jdesktop/swingx/painter/ShapePainter.java
/* * $Id$ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Founda...
Painting honors isFilled() git-svn-id: 9c6ef37dfd7eaa5a3748af7ba0f8d9e7b67c2a4c@916 1312f61e-266d-0410-97fa-c3b71232c9ac
src/java/org/jdesktop/swingx/painter/ShapePainter.java
Painting honors isFilled()
<ide><path>rc/java/org/jdesktop/swingx/painter/ShapePainter.java <ide> <ide> Point2D location = getLocation(); <ide> g.translate(-location.getX(), -location.getY()); <del> g.draw(getShape()); <add> if (!isFilled()) { <add> g.draw(getShape()); <add> } else { <add>...
Java
apache-2.0
2bdd2d5ec950542faf97aacf614ab5b75ce1303e
0
consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo
// 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.ide.util.gotoByName; import com.google.common.annotations.VisibleForTesting; import com.intellij.BundleBase; import com.intellij.ide.IdeBundle; import com.i...
modules/base/lang-impl/src/main/java/com/intellij/ide/util/gotoByName/GotoActionModel.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.ide.util.gotoByName; import com.google.common.annotations.VisibleForTesting; import com.intellij.BundleBase; import com.intellij.ide.IdeBundle; import com.i...
add assert description
modules/base/lang-impl/src/main/java/com/intellij/ide/util/gotoByName/GotoActionModel.java
add assert description
<ide><path>odules/base/lang-impl/src/main/java/com/intellij/ide/util/gotoByName/GotoActionModel.java <ide> final String pattern; <ide> <ide> public MatchedValue(@Nonnull Object value, @Nonnull String pattern) { <del> assert value instanceof OptionDescription || value instanceof ActionWrapper; <add> a...
Java
mit
0e746b43c1f4dad45063a77f96d5ce3bee7fb4c1
0
ruslan120101/TankAttack-JavaFX,ruslan120101/JavaFX-TankAttack,ruslan120101/JavaFX-TankAttack,ruslan120101/TankAttack-JavaFX,ruslan120101/TankAttack-JavaFX,ruslan120101/JavaFX-TankAttack
/* * 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 tankattack; import javafx.animation.*; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.e...
src/tankattack/TankAttack.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 tankattack; import javafx.animation.*; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.e...
makes FPS public class final static
src/tankattack/TankAttack.java
makes FPS public class final static
<ide><path>rc/tankattack/TankAttack.java <ide> public static final double gameWidth = 600; <ide> public static final double gameHeight = 600; <ide> <del> private static final int NUM_FRAMES_PER_SECOND = 60; <add> public static final int NUM_FRAMES_PER_SECOND = 60; <add> <ide> private Stage cu...
Java
agpl-3.0
error: pathspec 'GAE/src/org/akvo/flow/rest/handler/FormInstanceRequestHandler.java' did not match any file(s) known to git
422afb81609d1c3c99e2a35872b10fa17daff622
1
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
/* * Copyright (C) 2021 Stichting Akvo (Akvo Foundation) * * This file is part of Akvo FLOW. * * Akvo FLOW is free software: you can redistribute it and modify it under the terms of * the GNU Affero General Public License (AGPL) as published by the Free Software Foundation, * either version 3 of the License...
GAE/src/org/akvo/flow/rest/handler/FormInstanceRequestHandler.java
[#3755] Add a request handler class skeleton to enable testing request * The skeleton handles the business logic and can be tested in isolation
GAE/src/org/akvo/flow/rest/handler/FormInstanceRequestHandler.java
[#3755] Add a request handler class skeleton to enable testing request
<ide><path>AE/src/org/akvo/flow/rest/handler/FormInstanceRequestHandler.java <add>/* <add> * Copyright (C) 2021 Stichting Akvo (Akvo Foundation) <add> * <add> * This file is part of Akvo FLOW. <add> * <add> * Akvo FLOW is free software: you can redistribute it and modify it under the terms of <add> * the GNU Affero...
Java
apache-2.0
a778721ce004ac477b55912eaf701046a59a9eef
0
realityforge/arez,realityforge/arez,realityforge/arez
package arez.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Target; /** * Annotate the method that will be overridden to provide the "name" of the Arez component. * This is useful when the user wants to manually create Arez elements (i.e. {@...
core/src/main/java/arez/annotations/ComponentNameRef.java
package arez.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Target; /** * Annotate the method that will be overridden to provide the "name" of the Arez component. * This is useful when the user wants to manually create Arez elements (i.e. {@...
Remove unnecessary comments
core/src/main/java/arez/annotations/ComponentNameRef.java
Remove unnecessary comments
<ide><path>ore/src/main/java/arez/annotations/ComponentNameRef.java <ide> * Annotate the method that will be overridden to provide the "name" of the Arez component. <ide> * This is useful when the user wants to manually create Arez elements (i.e. {@link arez.ObservableValue} instances, <ide> * {@link arez.Observer} ...
Java
apache-2.0
ead1f1a85d70467df319d335a264449833859d03
0
apache/shindig,apparentlymart/shindig,apparentlymart/shindig,apache/shindig,apache/shindig,apache/shindig,apparentlymart/shindig,apparentlymart/shindig,apache/shindig
/* * 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...
java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponse.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...
SHINDIG-695 | Patch from Zsolt Bányai | HttpResponse's externalizable implementation not works on Linux/Unix systems git-svn-id: 3f2e04d30bd9db331bbfc569b45e7de8c0d84ef0@734793 13f79535-47bb-0310-9956-ffa450edef68
java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponse.java
SHINDIG-695 | Patch from Zsolt Bányai | HttpResponse's externalizable implementation not works on Linux/Unix systems
<ide><path>ava/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponse.java <ide> */ <ide> @SuppressWarnings("unchecked") <ide> public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { <del> httpStatusCode = in.readInt(); <del> Map<String, List<String>> headerCopy = ...
JavaScript
mit
635bd84cba6cfa34b37f3dad3218c02ba8aff99e
0
react-bootstrap/react-bootstrap,glenjamin/react-bootstrap,react-bootstrap/react-bootstrap,react-bootstrap/react-bootstrap,glenjamin/react-bootstrap
import React from 'react'; import Row from 'react-bootstrap/lib/Row'; import Col from 'react-bootstrap/lib/Col'; import Panel from 'react-bootstrap/lib/Panel'; import Anchor from '../../components/Anchor'; export default class Page extends React.Component { shouldComponentUpdate() { return false; } render(...
www/src/pages/getting-started/introduction.js
import React from 'react'; import Row from 'react-bootstrap/lib/Row'; import Col from 'react-bootstrap/lib/Col'; import Panel from 'react-bootstrap/lib/Panel'; import Anchor from '../../components/Anchor'; export default class Page extends React.Component { shouldComponentUpdate() { return false; } render(...
removed html close tag from instrodution (#2939)
www/src/pages/getting-started/introduction.js
removed html close tag from instrodution (#2939)
<ide><path>ww/src/pages/getting-started/introduction.js <ide> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap-theme.min.css"> <ide> `}</code> <ide> </pre> <del> /> <ide> <p> <ide> For more advanced use cases you can also use ...
Java
apache-2.0
error: pathspec 'src/org/intellij/lang/jflex/psi/JFlexPsiFile.java' did not match any file(s) known to git
197daacf2f75870a2ec3a70e13993ba44ce2e8bd
1
aefimov/idea-jflex
package org.intellij.lang.jflex.psi; /** * Created by IntelliJ IDEA. * User: Max * Date: 17.03.2008 * Time: 2:18:18 */ public interface JFlexPsiFile extends JFlexElement { JFlexElement getClassname(); JFlexElement getReturnType(); }
src/org/intellij/lang/jflex/psi/JFlexPsiFile.java
Restoring after IDEA buggy svn plug-in deleted it
src/org/intellij/lang/jflex/psi/JFlexPsiFile.java
Restoring after IDEA buggy svn plug-in deleted it
<ide><path>rc/org/intellij/lang/jflex/psi/JFlexPsiFile.java <add>package org.intellij.lang.jflex.psi; <add> <add>/** <add> * Created by IntelliJ IDEA. <add> * User: Max <add> * Date: 17.03.2008 <add> * Time: 2:18:18 <add> */ <add>public interface JFlexPsiFile extends JFlexElement { <add> <add> JFlexElement getClassn...
Java
bsd-3-clause
f6be2e4c857ada23b4e154fa01f43224890d006b
0
NCIP/cagrid,NCIP/cagrid,NCIP/cagrid,NCIP/cagrid
package gov.nih.nci.cagrid.gts.service; import gov.nih.nci.cagrid.common.FaultUtil; import gov.nih.nci.cagrid.gridca.common.CRLEntry; import gov.nih.nci.cagrid.gridca.common.CertUtil; import gov.nih.nci.cagrid.gts.bean.AuthorityGTS; import gov.nih.nci.cagrid.gts.bean.AuthorityPrioritySpecification; import gov.nih.nci....
cagrid-1-0/caGrid/projects/gts/test/src/gov/nih/nci/cagrid/gts/service/TestGTS.java
package gov.nih.nci.cagrid.gts.service; import gov.nih.nci.cagrid.common.FaultUtil; import gov.nih.nci.cagrid.gridca.common.CRLEntry; import gov.nih.nci.cagrid.gridca.common.CertUtil; import gov.nih.nci.cagrid.gts.bean.AuthorityGTS; import gov.nih.nci.cagrid.gts.bean.AuthorityPrioritySpecification; import gov.nih.nci....
*** empty log message ***
cagrid-1-0/caGrid/projects/gts/test/src/gov/nih/nci/cagrid/gts/service/TestGTS.java
*** empty log message ***
<ide><path>agrid-1-0/caGrid/projects/gts/test/src/gov/nih/nci/cagrid/gts/service/TestGTS.java <ide> } <ide> <ide> <add> public void testSyncTrustedAuthoritiesOverlappingGTSAuthorities() { <add> GTS gts = null; <add> try { <add> GTSConfiguration conf = Utils.getGTSConfiguration(); <add> gts = new GTS(conf, GTS_...
Java
apache-2.0
e4627a6f6a7627bc38375595abf511dd580c5026
0
wildfly-security/elytron-web,darranl/elytron-web
/* * JBoss, Home of Professional Open Source. * Copyright 2015 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
undertow/src/main/java/org/wildfly/elytron/web/undertow/server/SecurityContextImpl.java
/* * JBoss, Home of Professional Open Source. * Copyright 2015 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
Don't attempt to authenticate if a user is already authenticated
undertow/src/main/java/org/wildfly/elytron/web/undertow/server/SecurityContextImpl.java
Don't attempt to authenticate if a user is already authenticated
<ide><path>ndertow/src/main/java/org/wildfly/elytron/web/undertow/server/SecurityContextImpl.java <ide> */ <ide> @Override <ide> public boolean authenticate() { <add> if(isAuthenticated()) { <add> return true; <add> } <ide> if (restoreIdentity()) { <ide> return ...
Java
apache-2.0
e41ff5bbb60a15520dbe7e2998d04375ff860202
0
matrix-org/matrix-android-sdk,matrix-org/matrix-android-sdk,matrix-org/matrix-android-sdk
/* * Copyright 2014 OpenMarket Ltd * Copyright 2017 Vector Creations Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
matrix-sdk/src/main/java/org/matrix/androidsdk/MXDataHandler.java
/* * Copyright 2014 OpenMarket Ltd * Copyright 2017 Vector Creations Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
Optimize the call of direct chat roomId list
matrix-sdk/src/main/java/org/matrix/androidsdk/MXDataHandler.java
Optimize the call of direct chat roomId list
<ide><path>atrix-sdk/src/main/java/org/matrix/androidsdk/MXDataHandler.java <ide> // should be retrieved from the store <ide> private List<String> mIgnoredUserIdsList; <ide> <add> // list all the roomIds of current direct chat rooms <add> private List<String> mLocalDirectChatRoomIdsList = null; <add> <id...
Java
apache-2.0
aa921d5acca68b92f0200183eb1c4a786a5f4882
0
ninioe/traccar,orcoliver/traccar,tananaev/traccar,tsmgeek/traccar,jssenyange/traccar,tsmgeek/traccar,tananaev/traccar,orcoliver/traccar,AnshulJain1985/Roadcast-Tracker,jssenyange/traccar,tananaev/traccar,AnshulJain1985/Roadcast-Tracker,tsmgeek/traccar,jon-stumpf/traccar,jon-stumpf/traccar,orcoliver/traccar,ninioe/tracc...
/* * Copyright 2012 - 2016 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/org/traccar/BaseProtocolDecoder.java
/* * Copyright 2012 - 2016 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Fix all protocol unit tests
src/org/traccar/BaseProtocolDecoder.java
Fix all protocol unit tests
<ide><path>rc/org/traccar/BaseProtocolDecoder.java <ide> } <ide> <ide> public DeviceSession getDeviceSession(Channel channel, SocketAddress remoteAddress, String... uniqueIds) { <del> if (channel.getPipeline().get(HttpRequestDecoder.class) != null <add> if (channel != null && channel.getPipeline(...
Java
apache-2.0
5f43cc8dc7777a307170b39fa8b220531151475b
0
allotria/intellij-community,xfournet/intellij-community,youdonghai/intellij-community,mglukhikh/intellij-community,jexp/idea2,joewalnes/idea-community,Distrotech/intellij-community,fnouama/intellij-community,TangHao1987/intellij-community,amith01994/intellij-community,fengbaicanhe/intellij-community,ftomassetti/intelli...
/* * Copyright 2000-2007 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 agreed ...
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/GroovyRefactoringUtil.java
/* * Copyright 2000-2007 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 agreed ...
cleanup
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/GroovyRefactoringUtil.java
cleanup
<ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/GroovyRefactoringUtil.java <ide> public static void sortOccurences(PsiElement[] occurences) { <ide> Arrays.sort(occurences, new Comparator<PsiElement>() { <ide> public int compare(PsiElement elem1, PsiElement elem2) { <del> if (ele...
Java
apache-2.0
error: pathspec 'bishops.java' did not match any file(s) known to git
09fbd804c58a0704551c6b7039dfa66a16aedd54
1
AadithyaU/Spoj-Solutions,AadithyaU/Spoj-Solutions,AadithyaU/Spoj-Solutions
import java.math.BigInteger; import java.util.*; class BISHOPS { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); while(sc.hasNextBigInteger()) { BigInteger n = sc.nextBigInteger(); if(n.equals(BigInteger.ONE)) System.out.println(1); else System.out.println...
bishops.java
Create bishops.java
bishops.java
Create bishops.java
<ide><path>ishops.java <add>import java.math.BigInteger; <add>import java.util.*; <add> <add>class BISHOPS { <add> public static void main(String[] args) throws Exception { <add> Scanner sc = new Scanner(System.in); <add> while(sc.hasNextBigInteger()) <add> { <add> BigInteger n = sc.nextBigInteger(); <add> if(n....
Java
apache-2.0
1b4eecb75d2f2c84b5dd129d753de5fa3c99241c
0
astefanutti/camel-cdi
/** * 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...
samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Add TODO when PAX CDI will support global interceptors
samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java
Add TODO when PAX CDI will support global interceptors
<ide><path>amples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java <ide> @Inject <ide> private Meter attempt; <ide> <del> public void unreliable(Exchange exchange) { <add> //@Metered <add> // TODO: to activate when global interceptors are supported in PAX CDI <add> p...
JavaScript
apache-2.0
5331e7f777c526eb8fc1d771175e2216633e98db
0
ElasticBox/elastickube,ElasticBox/elastickube,ElasticBox/elastickube,ElasticBox/elastickube,ElasticBox/elastickube
/* Copyright 2016 ElasticBox All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
src/ui/app/instances/instances-routes.js
/* Copyright 2016 ElasticBox All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
Fix pod detail info lost when navigating from Replication Controller
src/ui/app/instances/instances-routes.js
Fix pod detail info lost when navigating from Replication Controller
<ide><path>rc/ui/app/instances/instances-routes.js <ide> url: '/:namespace/instances/{instanceId:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}}', <ide> parent: 'private', <ide> template: '<ek-instance flex></ek-instance>', <del> controller: ($scope, $statePa...
Java
agpl-3.0
3c81f7f4ad9458c7e649e2d04f445539c1eee2bd
0
rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat
package roart.iclij.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.time.LocalDate; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Map.Entry; import roart.common.config.ConfigTreeMap; public class IclijConfig { prote...
iclij/iclij-common/iclij-config/src/main/java/roart/iclij/config/IclijConfig.java
package roart.iclij.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.time.LocalDate; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Map.Entry; import roart.common.config.ConfigTreeMap; public class IclijConfig { prote...
Possibly fix for ComponentData parallel problem (I45).
iclij/iclij-common/iclij-config/src/main/java/roart/iclij/config/IclijConfig.java
Possibly fix for ComponentData parallel problem (I45).
<ide><path>clij/iclij-common/iclij-config/src/main/java/roart/iclij/config/IclijConfig.java <ide> <ide> public IclijConfig(IclijConfig config) { <ide> this.configTreeMap = config.configTreeMap; <del> this.configValueMap = config.configValueMap; <add> this.configValueMap = new HashMap<>(config...
Java
apache-2.0
18bff6ea9b84f27a50b8458c4b65cbb71a5d3ae5
0
fengbaicanhe/intellij-community,wreckJ/intellij-community,alphafoobar/intellij-community,idea4bsd/idea4bsd,hurricup/intellij-community,asedunov/intellij-community,MER-GROUP/intellij-community,gnuhub/intellij-community,adedayo/intellij-community,michaelgallacher/intellij-community,vvv1559/intellij-community,ftomassetti/...
package org.jetbrains.plugins.github; import com.intellij.notification.Notification; import com.intellij.notification.NotificationDisplayType; import com.intellij.notification.NotificationType; import com.intellij.notification.Notifications; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.o...
plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java
package org.jetbrains.plugins.github; import com.intellij.notification.Notification; import com.intellij.notification.NotificationDisplayType; import com.intellij.notification.NotificationType; import com.intellij.notification.Notifications; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.o...
Escape description correctly to avoid message lost IDEA-66002 GitHub project creation does not validate project name
plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java
Escape description correctly to avoid message lost IDEA-66002 GitHub project creation does not validate project name
<ide><path>lugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java <ide> final String description = shareDialog.getDescription(); <ide> try { <ide> LOG.info("Creating GitHub repository"); <add> final String escapedDescription = JDOMUtil.escapeText(description, true, true).replace("&#", ...
Java
mit
fb46059a769d4a4181a04220fdc89cc8a8942dd7
0
gizwits/Gizwits-AirConditioner_Android,gizwits/airconditioner-android,gizwits/Gizwits-SmartBuld_Android,gizwits/Gizwits-AirPurifier_Android,gizwits/Gizwits-SmartLights_Android,gizwits/Gizwits-SmartSocket_Android,gizwits/Gizwits-WaterPurifier_Android
/** * Project Name:XPGSdkV4AppBase * File Name:DialogManager.java * Package Name:com.gizwits.framework.utils * Date:2015-1-27 14:47:29 * Copyright (c) 2014~2015 Xtreme Programming Group, Inc. * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
XPGSdkV4AppBase/src/com/gizwits/framework/utils/DialogManager.java
/** * Project Name:XPGSdkV4AppBase * File Name:DialogManager.java * Package Name:com.gizwits.framework.utils * Date:2015-1-27 14:47:29 * Copyright (c) 2014~2015 Xtreme Programming Group, Inc. * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
Bug #29370
XPGSdkV4AppBase/src/com/gizwits/framework/utils/DialogManager.java
Bug #29370
<ide><path>PGSdkV4AppBase/src/com/gizwits/framework/utils/DialogManager.java <ide> int width = metric.widthPixels; <ide> <ide> <del> String[] hours = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", <del> "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", <del> "21", "22", "23", "24", "关闭" ...
Java
agpl-3.0
ced58432ffeb2dfde2dbfec64d024da94799e80d
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
384018c2-2e60-11e5-9284-b827eb9e62be
hello.java
383a9fbe-2e60-11e5-9284-b827eb9e62be
384018c2-2e60-11e5-9284-b827eb9e62be
hello.java
384018c2-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>383a9fbe-2e60-11e5-9284-b827eb9e62be <add>384018c2-2e60-11e5-9284-b827eb9e62be
Java
lgpl-2.1
3fda897f14f497ce557e5a596039be6285da7465
0
concord-consortium/otrunk,concord-consortium/otrunk
/* * Copyright (C) 2004 The Concord Consortium, Inc., * 10 Concord Crossing, Concord, MA 01742 * * Web Site: http://www.concord.org * Email: info@concord.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
src/java/org/concord/otrunk/view/OTViewer.java
/* * Copyright (C) 2004 The Concord Consortium, Inc., * 10 Concord Crossing, Concord, MA 01742 * * Web Site: http://www.concord.org * Email: info@concord.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
Fixed a long time bug that was never reported about author data not being saved. And also another issue with file urls not being handled correctly in author mode when launched from the sail otml url. git-svn-id: 8ebed0c25533aaea68ca43268d4d516467f97e6a@19277 6e01202a-0783-4428-890a-84243c50cc2b
src/java/org/concord/otrunk/view/OTViewer.java
Fixed a long time bug that was never reported about author data not being saved. And also another issue with file urls not being handled correctly in author mode when launched from the sail otml url.
<ide><path>rc/java/org/concord/otrunk/view/OTViewer.java <ide> authorOTMLURL = OTViewer.class.getResource("no-arguments-page.otml"); <ide> } <ide> <del> if ("file".equalsIgnoreCase(authorOTMLURL.getProtocol())) { <del> currentAuthoredFile = new File(authorOTMLURL.getPath()...
Java
bsd-3-clause
e5ddc31aec70a5f1c57737930e654e19ea7796c0
0
stoewer/nix-java
package org.gnode.nix; import org.bytedeco.javacpp.Loader; import org.bytedeco.javacpp.annotation.*; import org.gnode.nix.base.Entity; import org.gnode.nix.internal.DateUtils; import org.gnode.nix.internal.None; import org.gnode.nix.internal.OptionalUtils; import org.gnode.nix.internal.VectorUtils; import java.util.D...
src/main/java/org/gnode/nix/Property.java
package org.gnode.nix; import org.bytedeco.javacpp.Loader; import org.bytedeco.javacpp.annotation.*; import org.gnode.nix.base.Entity; import org.gnode.nix.internal.*; import java.util.Date; import java.util.List; @Properties(value = { @Platform(include = {"<nix/Property.hpp>"}, link = "nix"), @Platf...
[Property.java] update docs
src/main/java/org/gnode/nix/Property.java
[Property.java] update docs
<ide><path>rc/main/java/org/gnode/nix/Property.java <ide> import org.bytedeco.javacpp.Loader; <ide> import org.bytedeco.javacpp.annotation.*; <ide> import org.gnode.nix.base.Entity; <del>import org.gnode.nix.internal.*; <add>import org.gnode.nix.internal.DateUtils; <add>import org.gnode.nix.internal.None; <add>import o...
Java
apache-2.0
899eca627c7f6ff33e4cafd61cf820c1175f4cac
0
glowroot/glowroot,glowroot/glowroot,trask/glowroot,trask/glowroot,glowroot/glowroot,trask/glowroot,glowroot/glowroot,trask/glowroot
/* * Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
server/src/main/java/org/glowroot/server/ServerModule.java
/* * Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Support server starting simultaneous to cassandra
server/src/main/java/org/glowroot/server/ServerModule.java
Support server starting simultaneous to cassandra
<ide><path>erver/src/main/java/org/glowroot/server/ServerModule.java <ide> <ide> import com.datastax.driver.core.Cluster; <ide> import com.datastax.driver.core.Session; <add>import com.datastax.driver.core.exceptions.NoHostAvailableException; <ide> import com.google.common.base.Splitter; <add>import com.google.common....
Java
apache-2.0
27ff5f6ab73309a2f0034129b212c5285adcfc1f
0
cunningt/camel,nicolaferraro/camel,davidkarlsen/camel,adessaigne/camel,objectiser/camel,pmoerenhout/camel,cunningt/camel,zregvart/camel,christophd/camel,gnodet/camel,pax95/camel,pax95/camel,christophd/camel,objectiser/camel,mcollovati/camel,gnodet/camel,alvinkwekel/camel,cunningt/camel,cunningt/camel,tadayosi/camel,apa...
/* * 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 ...
examples/camel-example-spring-boot/src/test/java/sample/camel/FooApplicationTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Fixed test
examples/camel-example-spring-boot/src/test/java/sample/camel/FooApplicationTest.java
Fixed test
<ide><path>xamples/camel-example-spring-boot/src/test/java/sample/camel/FooApplicationTest.java <ide> import java.util.concurrent.TimeUnit; <ide> <ide> import org.apache.camel.CamelContext; <del>import org.apache.camel.EndpointInject; <ide> import org.apache.camel.builder.NotifyBuilder; <del>import org.apache.camel.co...
Java
apache-2.0
5524588ec02e1384c88427f50fc3a1ecd688ee78
0
martin7890/jitsi,pplatek/jitsi,procandi/jitsi,laborautonomo/jitsi,HelioGuilherme66/jitsi,pplatek/jitsi,damencho/jitsi,ibauersachs/jitsi,damencho/jitsi,pplatek/jitsi,bebo/jitsi,procandi/jitsi,jibaro/jitsi,iant-gmbh/jitsi,procandi/jitsi,martin7890/jitsi,ringdna/jitsi,Metaswitch/jitsi,dkcreinoso/jitsi,iant-gmbh/jitsi,Heli...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.service.protocol; /** * The class is used whenever user credentials for a particular realm (site * server or service) are n...
src/net/java/sip/communicator/service/protocol/UserCredentials.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.service.protocol; /** * The class is used whenever user credentials for a particular realm (site * server or service) are n...
Added an option allowing the user to specify whether passwords are to be persisted
src/net/java/sip/communicator/service/protocol/UserCredentials.java
Added an option allowing the user to specify whether passwords are to be persisted
<ide><path>rc/net/java/sip/communicator/service/protocol/UserCredentials.java <ide> <ide> public class UserCredentials <ide> { <del> private String userName = null; <del> private char[] password = null; <add> private String userName = null; <add> private char[] password = null; <add> private ...
JavaScript
mit
1a415d24657de74e2895454fc44a0b607f6c86e7
0
onechiporenko/ember-models-table,onechiporenko/ember-models-table,onechiporenko/ember-models-table,onechiporenko/ember-models-table
import { Factory, faker } from 'ember-cli-mirage'; const {name, random, address} = faker; export default Factory.extend({ index(i) { return i + 1; }, 'first-name'(i) { return `${name.firstName()}_${i}`; }, 'last-name'(i) { return `${name.lastName()}_${i}`; }, age() { return 18 + rand...
tests/dummy/mirage/factories/user.js
import { Factory, faker } from 'ember-cli-mirage'; const {name, random, address} = faker; export default Factory.extend({ index(i) { return i + 1; }, 'first-name'(i) { return `${name.firstName()}_${i}`; }, 'last-name'(i) { return `${name.lastName()}_${i}`; }, age(i) { return 18 + `${...
`age` and `city` may be not unique
tests/dummy/mirage/factories/user.js
`age` and `city` may be not unique
<ide><path>ests/dummy/mirage/factories/user.js <ide> return `${name.lastName()}_${i}`; <ide> }, <ide> <del> age(i) { <del> return 18 + `${random.number(42)}_${i}`; <add> age() { <add> return 18 + random.number(42); <ide> }, <ide> <ide> city(i) { <del> return `${address.city()}_${i}`; <add> ret...
JavaScript
mit
66e8d87e23dfe8e618b44da2f8e2721dbb07499f
0
funkensturm/ember-local-storage,funkensturm/ember-local-storage
/* jshint node: true */ module.exports = function(environment) { var ENV = { modulePrefix: 'dummy', environment: environment, rootURL: '/', locationType: 'auto', EmberENV: { FEATURES: { // Here you can enable experimental features on an ember canary build // e.g. 'with-contr...
tests/dummy/config/environment.js
/* jshint node: true */ module.exports = function(environment) { var ENV = { modulePrefix: 'dummy', environment: environment, rootURL: '/', locationType: 'auto', EmberENV: { RAISE_ON_DEPRECATION: true, FEATURES: { // Here you can enable experimental features on an ember canary...
Chore(tests): Don’t raise on deprecations
tests/dummy/config/environment.js
Chore(tests): Don’t raise on deprecations
<ide><path>ests/dummy/config/environment.js <ide> rootURL: '/', <ide> locationType: 'auto', <ide> EmberENV: { <del> RAISE_ON_DEPRECATION: true, <ide> FEATURES: { <ide> // Here you can enable experimental features on an ember canary build <ide> // e.g. 'with-controller': true
Java
apache-2.0
92781f708abf47375bf52488435be981e37bffce
0
darranl/directory-shared
/* * 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")...
ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.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")...
Fixed a error message git-svn-id: 6ace1da469d679d96e52aca61477cd912dfb7de0@889953 13f79535-47bb-0310-9956-ffa450edef68
ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
Fixed a error message
<ide><path>dap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java <ide> // processed yet. <ide> if ( superior != null ) <ide> { <del> if ( !processed.contains( superiorOid ) ) <add> if ( !processed.contains( superior.getOid(...
JavaScript
agpl-3.0
32a14cdc5390ad795ade1f0a9529ccfef7c5b203
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
9bdc0d4e-2e62-11e5-9284-b827eb9e62be
helloWorld.js
9bd64cc4-2e62-11e5-9284-b827eb9e62be
9bdc0d4e-2e62-11e5-9284-b827eb9e62be
helloWorld.js
9bdc0d4e-2e62-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>9bd64cc4-2e62-11e5-9284-b827eb9e62be <add>9bdc0d4e-2e62-11e5-9284-b827eb9e62be
Java
bsd-2-clause
e905a61cc6744981179f5c0dc822cf53aea9c1bf
0
saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building
package transforms; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.function.BiConsumer; import io.DfieldIoHelper; import net.imglib2.Cursor; import net.imglib2.RandomAccessibleInterval; import net.imglib2.converter.Converters; import net.imglib2.img.imageplus.Im...
src/main/java/transforms/Pixel2PhysicalDisplacementField.java
package transforms; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.function.BiConsumer; import io.DfieldIoHelper; import net.imglib2.Cursor; import net.imglib2.RandomAccessibleInterval; import net.imglib2.converter.Converters; import net.imglib2.img.imageplus.Im...
rm unneeded cast
src/main/java/transforms/Pixel2PhysicalDisplacementField.java
rm unneeded cast
<ide><path>rc/main/java/transforms/Pixel2PhysicalDisplacementField.java <ide> e.printStackTrace(); <ide> } <ide> <del> dfieldPixelToPhysicalWrite( ( RandomAccessibleInterval< T > ) dfield.getImg(), resolution, nThreads, dfieldOut ); <add> dfieldPixelToPhysicalWrite( dfield.getImg(), resolution, nThreads, dfie...
Java
apache-2.0
c8af5e73fe8e40a3a741f44da2e07f96aec06b80
0
GoogleCloudPlatform/dataproc-templates,GoogleCloudPlatform/dataproc-templates,GoogleCloudPlatform/dataproc-templates
/* * Copyright (C) 2021 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...
src/main/java/com/google/cloud/dataproc/templates/databases/SpannerToGCS.java
/* * Copyright (C) 2021 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...
update save mode
src/main/java/com/google/cloud/dataproc/templates/databases/SpannerToGCS.java
update save mode
<ide><path>rc/main/java/com/google/cloud/dataproc/templates/databases/SpannerToGCS.java <ide> .load(); <ide> <ide> LOGGER.info("Data load complete from table/query: " + tableId); <del> jdbcDF.write().format("avro").mode(SaveMode.ErrorIfExists).save(gcsWritePath); <add> jdbcDF.write().form...
Java
apache-2.0
f767c555f88eca19580bc80b24b8a413819a3715
0
cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba
/* * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. * Author: Dmitry Abramov * Created: 05.03.2009 16:55:25 * $Id$ */ package com.haulmont.cuba.web.gui.components; import com.haulmont.cuba.core.e...
modules/web/src/com/haulmont/cuba/web/gui/components/WebOptionsGroup.java
/* * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. * Author: Dmitry Abramov * Created: 05.03.2009 16:55:25 * $Id$ */ package com.haulmont.cuba.web.gui.components; import com.haulmont.cuba.core.e...
OptionsGroup's setValue() doesn't work #PL-2061
modules/web/src/com/haulmont/cuba/web/gui/components/WebOptionsGroup.java
OptionsGroup's setValue() doesn't work #PL-2061
<ide><path>odules/web/src/com/haulmont/cuba/web/gui/components/WebOptionsGroup.java <ide> import com.haulmont.cuba.core.entity.Entity; <ide> import com.haulmont.cuba.gui.components.Component; <ide> import com.haulmont.cuba.gui.components.OptionsGroup; <add>import com.haulmont.cuba.gui.data.Datasource; <ide> import com....
JavaScript
mit
e90f44679c34aa21d5d4790d3b0a1aeb24d5f5b3
0
djdeath/gnometa,djdeath/gnometa
const Lang = imports.lang; const GObject = imports.gi.GObject; const Gio = imports.gi.Gio; const Gtk = imports.gi.Gtk; const GtkSource = imports.gi.GtkSource; const AsyncContinuous = imports.AsyncContinuous; const CompilerView = imports.CompilerView; const FileSaver = imports.FileSaver; const TextView = imports.TextVi...
ui/Translator.js
const Lang = imports.lang; const GObject = imports.gi.GObject; const Gio = imports.gi.Gio; const Gtk = imports.gi.Gtk; const GtkSource = imports.gi.GtkSource; const AsyncContinuous = imports.AsyncContinuous; const CompilerView = imports.CompilerView; const FileSaver = imports.FileSaver; const TextView = imports.TextVi...
ui: fix errors on last translator
ui/Translator.js
ui: fix errors on last translator
<ide><path>i/Translator.js <ide> } <ide> }, <ide> }); <del> this._treeview.on('activated-data', function(data) { this._translate.run(data); }.bind(this)); <add> this._treeview.on('activated-data', function(data) { this._translateData(data); }.bind(this)); <ide> this._compilerView = new Compi...
Java
lgpl-2.1
d5616323764a92a5b6bf75b10a6ee6a22ce0e726
0
xwiki/xwiki-enterprise,xwiki/xwiki-enterprise
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/VersionTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
@Ignore till I fix the flickering.
xwiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/VersionTest.java
@Ignore till I fix the flickering.
<ide><path>wiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/VersionTest.java <ide> // Verify that we can rollback to the first version <ide> HistoryTab historyTab = vp.openHistoryDocExtraPane(); <ide> vp = historyTab.rollbackToVersion("1.1"); <del> Assert.assert...
Java
apache-2.0
3a2919dd03f0b62832d3d00b22491a5b4f19b7cb
0
allanmoso/orientdb,giastfader/orientdb,rprabhat/orientdb,wouterv/orientdb,allanmoso/orientdb,alonsod86/orientdb,rprabhat/orientdb,mbhulin/orientdb,rprabhat/orientdb,intfrr/orientdb,wyzssw/orientdb,tempbottle/orientdb,jdillon/orientdb,mmacfadden/orientdb,tempbottle/orientdb,cstamas/orientdb,giastfader/orientdb,mbhulin/o...
/** Author : henryzhao81@gmail.com Feb 19, 2013 Create a class OTriggered which contains 8 additional class attribuites, which link to OFunction - beforeCreate - afterCreate - beforeRead - afterRead - beforeUpdate - afterUpdate - beforeDelete - afterDelete */ package com.orientechnologies.orient.core.db.record; im...
core/src/main/java/com/orientechnologies/orient/core/db/record/OClassTrigger.java
/** Author : henryzhao81@gmail.com Feb 19, 2013 Create a class OTriggered which contains 8 additional class attribuites, which link to OFunction - beforeCreate - afterCreate - beforeRead - afterRead - beforeUpdate - afterUpdate - beforeDelete - afterDelete */ package com.orientechnologies.orient.core.db.record; im...
support check inherited custom field
core/src/main/java/com/orientechnologies/orient/core/db/record/OClassTrigger.java
support check inherited custom field
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/db/record/OClassTrigger.java <ide> if(clz != null && clz.isSubClassOf(CLASSNAME)) { <ide> OFunction func = null; <ide> String fieldName = ((OClassImpl) clz).getCustom(attr); <add> OClass superClz = clz.getSuperClass(); <add> while(fieldName == n...