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
0ff18dd019096405a2c1b3ac5364185372bc8a84
0
bertilmuth/requirementsascode
package org.requirementsascode; import java.util.Optional; import java.util.function.Consumer; import org.requirementsascode.exception.InfiniteRepetition; import org.requirementsascode.exception.MoreThanOneStepCanReact; /** * An actor is a stateful entity with a behavior. It can be the system/service you're * deve...
requirementsascodecore/src/main/java/org/requirementsascode/AbstractActor.java
package org.requirementsascode; import java.util.Optional; import java.util.function.Consumer; import org.requirementsascode.exception.InfiniteRepetition; import org.requirementsascode.exception.MoreThanOneStepCanReact; /** * An actor is a stateful entity with a behavior. It can be the system/service you're * deve...
Use LazilyinitializedBehaviorModel
requirementsascodecore/src/main/java/org/requirementsascode/AbstractActor.java
Use LazilyinitializedBehaviorModel
<ide><path>equirementsascodecore/src/main/java/org/requirementsascode/AbstractActor.java <ide> */ <ide> public AbstractActor(String name) { <ide> createOwnedModelRunner(); <add> createBehaviorModel(); <ide> setName(name); <ide> } <ide> <ide> * that has no event/command defined (i.e. no user(...) /...
Java
apache-2.0
90dea447f9cbcfe1c48f0f48828b6c1c2877c6f9
0
ofdrm/java,ofdrm/java,klu2/structurizr-java,structurizr/java
package com.structurizr.example.core; import com.structurizr.Workspace; import com.structurizr.api.StructurizrClient; import com.structurizr.model.*; import com.structurizr.view.*; /** * A software architecture model to describe the Java EE Hands on Lab Movie Plex 7 sample application. The goal is to * create a bet...
structurizr-examples/src/com/structurizr/example/core/JavaEEMoviePlex7.java
package com.structurizr.example.core; import com.structurizr.Workspace; import com.structurizr.api.StructurizrClient; import com.structurizr.model.*; import com.structurizr.view.*; /** * An example of a software architecture model to describe an initial solution to Nate Schutta's * case study in his "Modeling for A...
Added a software architecture model for the Java EE Hands on Lab "Movie Plex" sample application.
structurizr-examples/src/com/structurizr/example/core/JavaEEMoviePlex7.java
Added a software architecture model for the Java EE Hands on Lab "Movie Plex" sample application.
<ide><path>tructurizr-examples/src/com/structurizr/example/core/JavaEEMoviePlex7.java <ide> import com.structurizr.view.*; <ide> <ide> /** <del> * An example of a software architecture model to describe an initial solution to Nate Schutta's <del> * case study in his "Modeling for Architects" workshop at the O'Reilly S...
Java
apache-2.0
051cdf5bf8c80b28cfe96af27fe7e85af1e2c16b
0
jivesoftware/upena,jivesoftware/upena,jivesoftware/upena,jivesoftware/upena
package com.jivesoftware.os.upena.deployable.region; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.jivesoftware.os.amza.shared.AmzaInstance; import com.jivesoftware.os.amza.shared.RingHost; import com.jivesoftware.os.mlogger.core.MetricLogger; import com.jivesoftware....
upena-deployable/src/main/java/com/jivesoftware/os/upena/deployable/region/SARPluginRegion.java
package com.jivesoftware.os.upena.deployable.region; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.jivesoftware.os.amza.shared.AmzaInstance; import com.jivesoftware.os.amza.shared.RingHost; import com.jivesoftware.os.mlogger.core.MetricLogger; import com.jivesoftware....
updated SAR plugin to dump available history in prep to display as waveforms.
upena-deployable/src/main/java/com/jivesoftware/os/upena/deployable/region/SARPluginRegion.java
updated SAR plugin to dump available history in prep to display as waveforms.
<ide><path>pena-deployable/src/main/java/com/jivesoftware/os/upena/deployable/region/SARPluginRegion.java <ide> return "/ui/sar"; <ide> } <ide> <del> <ide> public static class SARInput implements PluginInput { <ide> <ide> public SARInput() { <ide> List<Map<String, Object>> sarData = ne...
Java
agpl-3.0
05f1236d8bd1fa1198f2cea4535acf9ff8e93e74
0
redomar/JavaGame
package com.redomar.game.level; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import javax.imageio.ImageIO; import com.redomar.game.entities.Entity; import com.redomar.game.gfx.Screen; import co...
src/com/redomar/game/level/LevelHandler.java
package com.redomar.game.level; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import javax.imageio.ImageIO; import com.redomar.game.entities.Entity; import com.redomar.game.gfx.Screen; import co...
Optimized rendering
src/com/redomar/game/level/LevelHandler.java
Optimized rendering
<ide><path>rc/com/redomar/game/level/LevelHandler.java <ide> <ide> screen.setOffset(xOffset, yOffset); <ide> <del> for (int y = 0; y < height; y++) { <del> for (int x = 0; x < width; x++) { <add> for (int y = (yOffset >> 3); y < (yOffset + screen.height >> 3) + 1; y++) { <add> for (int x = (xOffset >> 3); x <...
Java
agpl-3.0
2c5a67dd300fe62b5cf55ba3db72d3231ce98197
0
JuliaSoboleva/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary
package co.smartreceipts.android.receipts; import android.Manifest; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.ann...
app/src/main/java/co/smartreceipts/android/receipts/ReceiptsListFragment.java
package co.smartreceipts.android.receipts; import android.Manifest; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.ann...
Fixed a bug in which the remove attachment option wouldn't properly appear
app/src/main/java/co/smartreceipts/android/receipts/ReceiptsListFragment.java
Fixed a bug in which the remove attachment option wouldn't properly appear
<ide><path>pp/src/main/java/co/smartreceipts/android/receipts/ReceiptsListFragment.java <ide> final String receiptActionRemoveAttachment = getString(R.string.receipt_dialog_action_remove_attachment); <ide> final String[] receiptActions; <ide> if (receipt.getFile() != null) { <add> rec...
Java
lgpl-2.1
d2cf72b8a914f6386e29e37d518b1736f1afb212
0
cemcatik/jtds,cemcatik/jtds,kassak/jtds,cemcatik/jtds,cemcatik/jtds,kassak/jtds,kassak/jtds,kassak/jtds
// jTDS JDBC Driver for Microsoft SQL Server and Sybase // Copyright (C) 2004 The jTDS Project // // 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, ...
src/test/net/sourceforge/jtds/jdbc/CSUnitTest.java
// jTDS JDBC Driver for Microsoft SQL Server and Sybase // Copyright (C) 2004 The jTDS Project // // 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, ...
o Fixed error in CSUnitTest.testMaxRows0003() introduced in the last commit. git-svn-id: 543ae4741fbc39d8f61a823c021bfd5ef7d9b11a@1174 97a8069c-bbaa-4fa2-9e49-561d8e0b19ef
src/test/net/sourceforge/jtds/jdbc/CSUnitTest.java
o Fixed error in CSUnitTest.testMaxRows0003() introduced in the last commit.
<ide><path>rc/test/net/sourceforge/jtds/jdbc/CSUnitTest.java <ide> <ide> while( rs.next() ) <ide> { <del> assertEquals( rs.getInt( "i" ), count ); <del> count ++; <add> assertEquals( ++ count, rs.getInt( "i" ) ); <ide> } <ide> <ide> pstmt.close();
Java
bsd-2-clause
f6adcc25af2adfb22c9c9fbda3a05edd79571f09
0
ramirezjpdf/projetoRedesPESC2015-1
package br.ufrj.cos.redes.main; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import br.ufrj.cos.redes.receiver.ReceiverBufferPlayerExample; import br.ufrj.cos.redes.sender.SenderExample; public class Main { public static void main(String[] args) { String REQUESTED_FILE...
src/br/ufrj/cos/redes/main/Main.java
package br.ufrj.cos.redes.main; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import br.ufrj.cos.redes.receiver.ReceiverBufferPlayerExample; import br.ufrj.cos.redes.sender.SenderExample; public class Main { public static void main(String[] args) { String REQUESTED_FILE...
add treatement for latency and timestamp log files
src/br/ufrj/cos/redes/main/Main.java
add treatement for latency and timestamp log files
<ide><path>rc/br/ufrj/cos/redes/main/Main.java <ide> String F = null; <ide> String RTT = null; <ide> <del> String LOG_FILE_NAME = null; <add> String TIMESTAMP_LOG_FILE_NAME = null; <add> String LATENCY_LOG_FILE_NAME = null; <ide> <ide> <ide> <ide> F = prop.getProperty("F"); <ide> } <ide> RT...
Java
apache-2.0
error: pathspec 'gedbrowser-renderer/src/test/java/org/schoellerfamily/gedbrowser/renderer/test/ErrorRendererTest.java' did not match any file(s) known to git
58a851bc46c59ba2b5eb33e9c7f9069212773e81
1
dickschoeller/gedbrowser,dickschoeller/gedbrowser,dickschoeller/gedbrowser,dickschoeller/gedbrowser,dickschoeller/gedbrowser,dickschoeller/gedbrowser
package org.schoellerfamily.gedbrowser.renderer.test; import static org.junit.Assert.assertEquals; import java.text.DateFormat; import java.util.Locale; import org.junit.Before; import org.junit.Test; import org.schoellerfamily.gedbrowser.datamodel.GedObject; import org.schoellerfamily.gedbrowser.renderer.ErrorRende...
gedbrowser-renderer/src/test/java/org/schoellerfamily/gedbrowser/renderer/test/ErrorRendererTest.java
more test coverage
gedbrowser-renderer/src/test/java/org/schoellerfamily/gedbrowser/renderer/test/ErrorRendererTest.java
more test coverage
<ide><path>edbrowser-renderer/src/test/java/org/schoellerfamily/gedbrowser/renderer/test/ErrorRendererTest.java <add>package org.schoellerfamily.gedbrowser.renderer.test; <add> <add>import static org.junit.Assert.assertEquals; <add> <add>import java.text.DateFormat; <add>import java.util.Locale; <add> <add>import org.j...
Java
apache-2.0
eb809664f70f7826a3108f677995449066928aa0
0
ZuInnoTe/hadoopcryptoledger,ZuInnoTe/hadoopcryptoledger
/** * Copyright 2016 Márton Elek * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or a...
inputformat/src/main/java/org/zuinnote/hadoop/bitcoin/format/mapred/BitcoinTransactionElementRecordReader.java
/** * Copyright 2016 Márton Elek * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or a...
Fixing Sonarqube issue
inputformat/src/main/java/org/zuinnote/hadoop/bitcoin/format/mapred/BitcoinTransactionElementRecordReader.java
Fixing Sonarqube issue
<ide><path>nputformat/src/main/java/org/zuinnote/hadoop/bitcoin/format/mapred/BitcoinTransactionElementRecordReader.java <ide> } <ide> return false; <ide> } catch (NoSuchElementException e) { <del> throw new RuntimeException(e); <add> LOG.error(e); <ide> } catch (B...
Java
apache-2.0
89c35aabf87d05c2f4aa19c75a8811e866fd612f
0
OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue
/* * 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/queue/ChronicleQueue.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 * * ...
added marshallableOut
src/main/java/net/openhft/chronicle/queue/ChronicleQueue.java
added marshallableOut
<ide><path>rc/main/java/net/openhft/chronicle/queue/ChronicleQueue.java <ide> */ <ide> @NotNull <ide> default <T> VanillaMethodWriterBuilder<T> methodWriterBuilder(@NotNull Class<T> tClass) { <del> return new VanillaMethodWriterBuilder<T>(tClass, <add> VanillaMethodWriterBuilder<T> builder = ...
Java
bsd-3-clause
846f911930e847d73962a9cff71699c668c46b79
0
jthrun/sdl_android,smartdevicelink/sdl_android,anildahiya/sdl_android,914802951/sdl_android,jthrun/sdl_android
package com.smartdevicelink.protocol; import android.test.AndroidTestCase; import android.util.Log; import com.smartdevicelink.SdlConnection.SdlConnection; import com.smartdevicelink.protocol.WiProProtocol.MessageFrameAssembler; import com.smartdevicelink.protocol.enums.SessionType; import com.smartdevicelink.test.Sa...
sdl_android/src/androidTest/java/com/smartdevicelink/protocol/WiProProtocolTests.java
package com.smartdevicelink.protocol; import java.lang.reflect.Field; import java.lang.reflect.Method; import junit.framework.Assert; import com.smartdevicelink.protocol.IProtocolListener; import com.smartdevicelink.protocol.ProtocolMessage; import com.smartdevicelink.protocol.SdlPacket; import com.smartdevicelink.p...
Fix version tests for WiProProtcol
sdl_android/src/androidTest/java/com/smartdevicelink/protocol/WiProProtocolTests.java
Fix version tests for WiProProtcol
<ide><path>dl_android/src/androidTest/java/com/smartdevicelink/protocol/WiProProtocolTests.java <ide> package com.smartdevicelink.protocol; <ide> <del>import java.lang.reflect.Field; <del>import java.lang.reflect.Method; <del> <del>import junit.framework.Assert; <del> <del>import com.smartdevicelink.protocol.IProtocol...
JavaScript
mit
2852604c01d0207342b833c31755dbd54279d083
0
Ricket/nodebot,Ricket/nodebot,nooitaf/nodebot,nooitaf/nodebot,ludiko/nodebot,ludiko/nodebot
// (c) 2011 Richard Carter // This code is licensed under the MIT license; see LICENSE.txt for details. // This script handles the following functions: // ~secret password - authenticate to become an admin // ~makeadmin user - make user an admin // ~unadmin user - demote user from admin status // ~admi...
scripts/admin.js
// (c) 2011 Richard Carter // This code is licensed under the MIT license; see LICENSE.txt for details. // This script handles the following functions: // ~secret password - authenticate to become an admin // ~makeadmin user - make user an admin // ~unadmin user - demote user from admin status // ~admi...
admin: use regexFactory
scripts/admin.js
admin: use regexFactory
<ide><path>cripts/admin.js <ide> db.remove(username, true); <ide> } <ide> <del>listen(/^:([^!]+).*~secret (.*)$/i, function(match) { <del> if (isAdmin(match[1])) { <del> irc.privmsg(match[1], "You are already an admin."); <del> } else if (match[2] == nodebot_prefs.secret) { <del> addAdmin(match...
Java
unlicense
d7d22925e7828f0eb2b2c74585816acef2f89c0e
0
Samourai-Wallet/samourai-wallet-android
package com.samourai.wallet.home; import android.Manifest; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.app.ProgressDialog; import androidx.appcompat.app.AlertDialog; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewM...
app/src/main/java/com/samourai/wallet/home/BalanceActivity.java
package com.samourai.wallet.home; import android.Manifest; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.app.ProgressDialog; import androidx.appcompat.app.AlertDialog; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewM...
Fix re-appearing dust warnings
app/src/main/java/com/samourai/wallet/home/BalanceActivity.java
Fix re-appearing dust warnings
<ide><path>pp/src/main/java/com/samourai/wallet/home/BalanceActivity.java <ide> import androidx.recyclerview.widget.LinearLayoutManager; <ide> import androidx.recyclerview.widget.RecyclerView; <ide> import androidx.appcompat.widget.Toolbar; <add> <ide> import android.text.InputType; <ide> import android.util.Log; <ide>...
Java
apache-2.0
cd7ccb62d11c469f7f7d99807008a62205e60096
0
leandrocgsi/erudio-api-oauth2,leandrocgsi/erudio-api-oauth2
package br.com.erudio.entrypoint.v1; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.security.access.annotation.Secured; import org.s...
src/main/java/br/com/erudio/entrypoint/v1/CountryEntryPoint.java
package br.com.erudio.entrypoint.v1; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.security.access.annotation.Secured; import org.s...
Adding Country entry point
src/main/java/br/com/erudio/entrypoint/v1/CountryEntryPoint.java
Adding Country entry point
<ide><path>rc/main/java/br/com/erudio/entrypoint/v1/CountryEntryPoint.java <ide> <ide> @Test <ide> public void test(){ <del> List<String> myList = new ArrayList<String>(Arrays.asList("Andorra la Vella|Bengo|Benguela|Bie|Cabinda|Canillo|Cuando Cubango|Cuanza Norte|Cuanza Sul|Cunene|Encamp|Escaldes-Engordany|Huamb...
Java
mit
2af508ef838daf87bad66a9db129e499194ed486
0
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
/* * Copyright (c) 2010 The Broad Institute * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, mer...
java/src/org/broadinstitute/sting/commandline/CommandLineUtils.java
/* * Copyright (c) 2010 The Broad Institute * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, mer...
Better docs, as requested by Matt git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@4681 348d0f76-0448-11de-a6fe-93d51630548a
java/src/org/broadinstitute/sting/commandline/CommandLineUtils.java
Better docs, as requested by Matt
<ide><path>ava/src/org/broadinstitute/sting/commandline/CommandLineUtils.java <ide> } <ide> } <ide> <del> // TODO -- is there a better way to do this? <add> // The problem here is that some of the fields being output are Objects - and those <add> // Objects don't overload toString() so that the o...
JavaScript
mit
e8eed83f58d7a887836d6cbde55313fb42eaa7ea
0
TheFive/osmbc,fredao/osmbc,TheFive/osmbc,fredao/osmbc,fredao/osmbc,TheFive/osmbc
exports.osmbc_version = "0.3.12a";
version.js
exports.osmbc_version = "0.3.12";
Version
version.js
Version
<ide><path>ersion.js <del>exports.osmbc_version = "0.3.12"; <add>exports.osmbc_version = "0.3.12a"; <ide> <ide> <ide>
Java
apache-2.0
bc8f5a2b18d271080d2311db08bf9fd93fcbbd01
0
cn-cerc/summer-mis,cn-cerc/summer-mis
package cn.cerc.ui.parts; import cn.cerc.core.Utils; import cn.cerc.ui.core.HtmlWriter; import cn.cerc.ui.core.UrlRecord; import cn.cerc.ui.vcl.UIButton; import cn.cerc.ui.vcl.UIImage; import cn.cerc.ui.vcl.ext.UISpan; import java.util.ArrayList; import java.util.List; public class UISheetMenu extends UISheet { ...
summer-mis/src/main/java/cn/cerc/ui/parts/UISheetMenu.java
package cn.cerc.ui.parts; import cn.cerc.core.Utils; import cn.cerc.ui.core.HtmlWriter; import cn.cerc.ui.core.UrlRecord; import cn.cerc.ui.vcl.UIButton; import cn.cerc.ui.vcl.UIImage; import cn.cerc.ui.vcl.ext.UISpan; import java.util.ArrayList; import java.util.List; public class UISheetMenu extends UISheet { ...
给闪电版图标增加class
summer-mis/src/main/java/cn/cerc/ui/parts/UISheetMenu.java
给闪电版图标增加class
<ide><path>ummer-mis/src/main/java/cn/cerc/ui/parts/UISheetMenu.java <ide> html.print(">%s</a>", url.getName()); <ide> if (url.isWindow()) { <ide> String hrip = "hrip:" + url.getUrl(); <del> html.print(" <a href='%s'/><img src='%s' role='icon'/></a>",hrip,"images/m...
JavaScript
apache-2.0
82c5c763357c401135675a39bfabf9b7f6805815
0
tiemevanveen/markerclustererpluspatch,tiemevanveen/markerclustererpluspatch,tiemevanveen/markerclustererpluspatch
/** * @name MarkerClustererPlus for Google Maps V3 * @version 2.1.2 [May 28, 2014] * @author Gary Little * @fileoverview * The library creates and manages per-zoom-level clusters for large amounts of markers. * <p> * This is an enhanced V3 implementation of the * <a href="http://gmaps-utility-library-dev.google...
markerclustererplus/src/markerclusterer.js
/** * @name MarkerClustererPlus for Google Maps V3 * @version 2.1.2 [May 28, 2014] * @author Gary Little * @fileoverview * The library creates and manages per-zoom-level clusters for large amounts of markers. * <p> * This is an enhanced V3 implementation of the * <a href="http://gmaps-utility-library-dev.google...
MasterClurstererPlus - Patch for marker on retina display
markerclustererplus/src/markerclusterer.js
MasterClurstererPlus - Patch for marker on retina display
<ide><path>arkerclustererplus/src/markerclusterer.js <ide> if (!this.cluster_.getMarkerClusterer().enableRetinaIcons_) { <ide> img += "clip: rect(" + (-1 * spriteV) + "px, " + ((-1 * spriteH) + this.width_) + "px, " + <ide> ((-1 * spriteV) + this.height_) + "px, " + (-1 * spriteH) + "px);"; <add> ...
Java
apache-2.0
error: pathspec 'rembulan-util/src/main/java/net/sandius/rembulan/util/IntSet.java' did not match any file(s) known to git
c75fc8cbcb797415741c5bfab2d0d17897dd5b3d
1
mjanicek/rembulan,kroepke/luna
package net.sandius.rembulan.util; import java.util.Arrays; public class IntSet extends IntContainer { private final int[] values; private IntSet(int[] values) { Check.notNull(values); // values must be sorted this.values = values; } // public static IntSet from(int[] values) { // Check.notNull(values); ...
rembulan-util/src/main/java/net/sandius/rembulan/util/IntSet.java
Adding an implementation of integer sets.
rembulan-util/src/main/java/net/sandius/rembulan/util/IntSet.java
Adding an implementation of integer sets.
<ide><path>embulan-util/src/main/java/net/sandius/rembulan/util/IntSet.java <add>package net.sandius.rembulan.util; <add> <add>import java.util.Arrays; <add> <add>public class IntSet extends IntContainer { <add> <add> private final int[] values; <add> <add> private IntSet(int[] values) { <add> Check.notNull(values); <...
Java
epl-1.0
6820adba4e2784419ca57386f3a1e6f82bad41ea
0
inevo/mondrian,inevo/mondrian
/* // $Id$ // This software is subject to the terms of the Common Public License // Agreement, available at the following URL: // http://www.opensource.org/licenses/cpl.html. // (C) Copyright 2004-2005 Julian Hyde // All Rights Reserved. // You must accept the terms of that agreement to use this software. */ package mo...
testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java
/* // $Id$ // This software is subject to the terms of the Common Public License // Agreement, available at the following URL: // http://www.opensource.org/licenses/cpl.html. // (C) Copyright 2004-2005 Julian Hyde // All Rights Reserved. // You must accept the terms of that agreement to use this software. */ package mo...
MONDRIAN: Added customer.fullname column. Allow flexibility in the loadFromFile to cope with non-MySQL insert statements [git-p4: depot-paths = "//open/mondrian/": change = 3467]
testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java
MONDRIAN: Added customer.fullname column. Allow flexibility in the loadFromFile to cope with non-MySQL insert statements
<ide><path>estsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java <ide> * Parse a file of INSERT statements and output to the configured JDBC <ide> * connection or another file in the dialect of the target data source. <ide> * <del> * The assumption is that the input INSERT statements are out o...
Java
apache-2.0
6b354fd3bb4956f28dec54bbd498a2e9f67ce387
0
openzipkin/zipkin,twitter/zipkin,abesto/zipkin,twitter/zipkin,adriancole/zipkin,twitter/zipkin,openzipkin/zipkin,adriancole/zipkin,abesto/zipkin,abesto/zipkin,twitter/zipkin,abesto/zipkin,openzipkin/zipkin,adriancole/zipkin,openzipkin/zipkin,adriancole/zipkin,openzipkin/zipkin
/** * Copyright 2015 The OpenZipkin 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 applicable law or agree...
zipkin-java-jdbc/src/main/java/io/zipkin/jdbc/JDBCSpanStore.java
/** * Copyright 2015 The OpenZipkin 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 applicable law or agree...
Fix compiler errors for Eclipse
zipkin-java-jdbc/src/main/java/io/zipkin/jdbc/JDBCSpanStore.java
Fix compiler errors for Eclipse
<ide><path>ipkin-java-jdbc/src/main/java/io/zipkin/jdbc/JDBCSpanStore.java <ide> import static java.util.concurrent.TimeUnit.DAYS; <ide> import static java.util.concurrent.TimeUnit.MICROSECONDS; <ide> import static java.util.stream.Collectors.groupingBy; <del>import static java.util.stream.Collectors.toList; <ide> <id...
Java
apache-2.0
8bc670617a60b5c3fca657d70ac1517c89ff3463
0
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android
package org.stepic.droid.base; import android.content.Context; import android.support.multidex.MultiDex; import android.support.multidex.MultiDexApplication; import com.facebook.drawee.backends.pipeline.Fresco; import com.squareup.leakcanary.LeakCanary; import com.squareup.leakcanary.RefWatcher; import com.yandex.met...
app/src/main/java/org/stepic/droid/base/MainApplication.java
package org.stepic.droid.base; import android.content.Context; import android.support.multidex.MultiDex; import android.support.multidex.MultiDexApplication; import com.squareup.leakcanary.LeakCanary; import com.squareup.leakcanary.RefWatcher; import com.yandex.metrica.YandexMetrica; import org.stepic.droid.R; impor...
install fresco
app/src/main/java/org/stepic/droid/base/MainApplication.java
install fresco
<ide><path>pp/src/main/java/org/stepic/droid/base/MainApplication.java <ide> import android.support.multidex.MultiDex; <ide> import android.support.multidex.MultiDexApplication; <ide> <add>import com.facebook.drawee.backends.pipeline.Fresco; <ide> import com.squareup.leakcanary.LeakCanary; <ide> import com.squareup.le...
Java
apache-2.0
15eb29676f1a3218eea4c9e866af0aa16dcd522e
0
Floobits/floobits-intellij
package floobits.windows; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.IconLoader; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowAnch...
src/floobits/windows/ChatManager.java
package floobits.windows; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.IconLoader; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowAnch...
Remove user from list in ui thread. #199
src/floobits/windows/ChatManager.java
Remove user from list in ui thread. #199
<ide><path>rc/floobits/windows/ChatManager.java <ide> }, ModalityState.NON_MODAL); <ide> } <ide> <del> public void removeUser(FlooUser user) { <del> chatForm.removeUser(user); <add> public void removeUser(final FlooUser user) { <add> ApplicationManager.getApplication().invokeLater(new R...
Java
apache-2.0
eb1101f06dc84fad63fc02fee2d51286dad5ea89
0
ryano144/intellij-community,muntasirsyed/intellij-community,MER-GROUP/intellij-community,caot/intellij-community,clumsy/intellij-community,TangHao1987/intellij-community,caot/intellij-community,TangHao1987/intellij-community,fengbaicanhe/intellij-community,michaelgallacher/intellij-community,Lekanich/intellij-community...
/* * Copyright 2000-2013 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/core-impl/src/com/intellij/openapi/vfs/impl/jar/JarHandlerBase.java
/* * Copyright 2000-2013 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...
IDEA-114283 (diagnostic)
platform/core-impl/src/com/intellij/openapi/vfs/impl/jar/JarHandlerBase.java
IDEA-114283 (diagnostic)
<ide><path>latform/core-impl/src/com/intellij/openapi/vfs/impl/jar/JarHandlerBase.java <ide> Map<String, EntryInfo> map = myRelPathsToEntries != null ? myRelPathsToEntries.get() : null; <ide> if (map == null) { <ide> final JarFile zip = getJar(); <add> LOG.info("mapping " + myBasePath); <ide>...
Java
mit
b102e0c48fcebbbd327064c380b9420782c4e04e
0
DC37/Super-Mario-Paint
package smp; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.input.KeyEvent; import javafx.stage.Stage; import smp.fx.SMPFXController...
src/smp/SuperMarioPaint.java
package smp; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import smp.fx.SMPFXController; import smp.fx.SplashScreen; /** ...
Setting up event handler for key presses
src/smp/SuperMarioPaint.java
Setting up event handler for key presses
<ide><path>rc/smp/SuperMarioPaint.java <ide> import javafx.fxml.FXMLLoader; <ide> import javafx.scene.Parent; <ide> import javafx.scene.Scene; <add>import javafx.scene.input.KeyEvent; <ide> import javafx.stage.Stage; <ide> import smp.fx.SMPFXController; <ide> import smp.fx.SplashScreen; <ide> ...
Java
apache-2.0
error: pathspec 'src/main/java/cn/gyyx/gy4j/cache/mogodb/MogodbHelper.java' did not match any file(s) known to git
d80910ea517e4ee3741cd9ce41414023721fb540
1
eastFu/gy4j-framework
package cn.gyyx.gy4j.cache; /** * Created by Administrator on 2017/9/27 0027. */ public class CacheHelper { }
src/main/java/cn/gyyx/gy4j/cache/mogodb/MogodbHelper.java
0.0.1
src/main/java/cn/gyyx/gy4j/cache/mogodb/MogodbHelper.java
0.0.1
<ide><path>rc/main/java/cn/gyyx/gy4j/cache/mogodb/MogodbHelper.java <add>package cn.gyyx.gy4j.cache; <add> <add>/** <add> * Created by Administrator on 2017/9/27 0027. <add> */ <add>public class CacheHelper { <add> <add>}
JavaScript
mit
22fba69b4a5e6a312e40a3f644c3d42e379a478d
0
bolster/node-xmlrpc,hobbyquaker/homematic-xmlrpc,patricklodder/node-xmlrpc,Growmies/node-xmlrpc,baalexander/node-xmlrpc,AfterShip/node-xmlrpc,xmlrpc-js/xmlrpc-marshalling,MiniGod/node-gbxremote
var vows = require('vows') , assert = require('assert') , xmlrpcParser = require('../lib/xmlrpc-parser.js') vows.describe('XML-RPC Parser').addBatch({ // Test parseResponseXml functionality 'A parseResponseXml call' : { // Test Array 'with an Array param' : { topic: function() { ...
test/xmlrpc-parser-test.js
var vows = require('vows') , assert = require('assert') , xmlrpcParser = require('../lib/xmlrpc-parser.js') vows.describe('XML-RPC Parser').addBatch({ // Test parseResponseXml functionality 'A parseResponseXml call' : { // Test Array 'with an Array param' : { topic: function() { x...
Minor refactoring and beefing up of the parser test cases.
test/xmlrpc-parser-test.js
Minor refactoring and beefing up of the parser test cases.
<ide><path>est/xmlrpc-parser-test.js <ide> // Test parseResponseXml functionality <ide> 'A parseResponseXml call' : { <ide> // Test Array <del> 'with an Array param' : { topic: function() { <del> xmlrpcParser.parseResponseXml('<methodResponse><params><param><value><array><data><value><int>178</int></v...
Java
apache-2.0
684aaa72dcb7e3c09a08ed8ef7db02fff78f1e75
0
osmdroid/osmdroid,osmdroid/osmdroid,osmdroid/osmdroid,osmdroid/osmdroid
package org.osmdroid.samplefragments.data; import android.graphics.Color; import android.util.DisplayMetrics; import android.util.Log; import org.osmdroid.api.IGeoPoint; import org.osmdroid.events.MapListener; import org.osmdroid.events.ScrollEvent; import org.osmdroid.events.ZoomEvent; import org.osmdroid.samplefrag...
OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/data/HeatMap.java
package org.osmdroid.samplefragments.data; import android.graphics.Color; import android.util.DisplayMetrics; import android.util.Log; import org.osmdroid.api.IGeoPoint; import org.osmdroid.events.MapListener; import org.osmdroid.events.ScrollEvent; import org.osmdroid.events.ZoomEvent; import org.osmdroid.samplefrag...
#499 should fix the unit tests
OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/data/HeatMap.java
#499 should fix the unit tests
<ide><path>penStreetMapViewer/src/main/java/org/osmdroid/samplefragments/data/HeatMap.java <ide> } <ide> <ide> String TAG = "heatmap"; <add> DisplayMetrics dm = null; <ide> <ide> // async loading stuff <ide> boolean renderJobActive = false; <ide> @Override <ide> public void addOverlays() { ...
JavaScript
mit
5c2db72cc2ef7c6483d50355f2fe9ce4521b4c04
0
cristobal-io/aviation-scrapper,cristobal-io/aviation-scraper,cristobal-io/aviation-scraper,cristobal-io/aviation-scrapper
"use strict"; var sjs = require("scraperjs"); var fs = require("fs"); var scrapers = require("../scrapers/"); var _ = require("lodash"); var async = require("async"); var BASE_URL = "https://en.wikipedia.org"; var airlines = require("../data/destination_pages.json"); function getRoutes(options, callback) { consol...
src/airline_routes.js
"use strict"; var sjs = require("scraperjs"); var fs = require("fs"); var scrapers = require("../scrapers/"); var _ = require("lodash"); var BASE_URL = "https://en.wikipedia.org"; var airlines = require("../data/destination_pages.json"); function getRoutes(options, callback) { var url = options.url || BASE_URL + ...
updated with new todo for fix
src/airline_routes.js
updated with new todo for fix
<ide><path>rc/airline_routes.js <ide> var fs = require("fs"); <ide> var scrapers = require("../scrapers/"); <ide> var _ = require("lodash"); <add>var async = require("async"); <ide> <ide> var BASE_URL = "https://en.wikipedia.org"; <ide> <ide> var airlines = require("../data/destination_pages.json"); <ide> <ide> func...
Java
mit
bfca4e59a1df1c5f92c7fdb27bb9e5fe2bfd5bfb
0
hashar/jenkins,ErikVerheul/jenkins,hemantojhaa/jenkins,DoctorQ/jenkins,SenolOzer/jenkins,jk47/jenkins,NehemiahMi/jenkins,varmenise/jenkins,Jimilian/jenkins,gitaccountforprashant/gittest,MichaelPranovich/jenkins_sc,292388900/jenkins,nandan4/Jenkins,DoctorQ/jenkins,aldaris/jenkins,kzantow/jenkins,everyonce/jenkins,brunoc...
package hudson.model; import com.thoughtworks.xstream.XStream; import hudson.CloseProofOutputStream; import hudson.EnvVars; import hudson.ExtensionPoint; import hudson.FeedAdapter; import hudson.FilePath; import hudson.Util; import static hudson.Util.combine; import hudson.XmlFile; import hudson.AbortException; import...
core/src/main/java/hudson/model/Run.java
package hudson.model; import com.thoughtworks.xstream.XStream; import hudson.CloseProofOutputStream; import hudson.EnvVars; import hudson.ExtensionPoint; import hudson.FeedAdapter; import hudson.FilePath; import hudson.Util; import static hudson.Util.combine; import hudson.XmlFile; import hudson.AbortException; import...
Issue 2249: export available artifacts in xml api git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@13562 71c3de6d-444a-0410-be80-ed276b4c234a
core/src/main/java/hudson/model/Run.java
Issue 2249: export available artifacts in xml api
<ide><path>ore/src/main/java/hudson/model/Run.java <ide> /** <ide> * Gets the first {@value #CUTOFF} artifacts (relative to {@link #getArtifactsDir()}. <ide> */ <add> @Exported <ide> public List<Artifact> getArtifacts() { <ide> ArtifactList r = new ArtifactList(); <ide> addArtifacts...
Java
lgpl-2.1
8d12b1ab85a2d94b1be8a850a7b9284e2ef45047
0
IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher
package nl.idgis.publisher.service.geoserver; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; import org.junit.Before; import org.junit.Test; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; ...
publisher-service/src/test/java/nl/idgis/publisher/service/geoserver/EnsureServiceTest.java
package nl.idgis.publisher.service.geoserver; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; import org.junit.Before; import org.junit.Test; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; ...
incorrect expected message count corrected
publisher-service/src/test/java/nl/idgis/publisher/service/geoserver/EnsureServiceTest.java
incorrect expected message count corrected
<ide><path>ublisher-service/src/test/java/nl/idgis/publisher/service/geoserver/EnsureServiceTest.java <ide> new Style("style1", TestStyle.getGreenSld()), <ide> new End()), Ack.class); <ide> <del> sync.ask(recorder, new Wait(4), Waited.class); <add> sync.ask(recorder, new Wait(6), Waited.class); <ide> sync....
Java
apache-2.0
f8de1476b5fbf99fded5e0f29b21ff2f4e34c4e3
0
sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client
package sizebay.catalog.client.model; import lombok.*; @Getter @Setter @EqualsAndHashCode @AllArgsConstructor @NoArgsConstructor public class ImportationError { private String message; private String brandName; private String genderItWasDesignedFor; private String availableSizes; private String ca...
src/main/java/sizebay/catalog/client/model/ImportationError.java
package sizebay.catalog.client.model; import lombok.*; @Getter @Setter @EqualsAndHashCode @AllArgsConstructor public class ImportationError { private String message; private String brandName; private String genderItWasDesignedFor; private String availableSizes; private String categoryName; pri...
feat: add @NoArgsConstructor in ImportationError class
src/main/java/sizebay/catalog/client/model/ImportationError.java
feat: add @NoArgsConstructor in ImportationError class
<ide><path>rc/main/java/sizebay/catalog/client/model/ImportationError.java <ide> @Setter <ide> @EqualsAndHashCode <ide> @AllArgsConstructor <add>@NoArgsConstructor <ide> public class ImportationError { <ide> private String message; <ide> private String brandName;
Java
lgpl-2.1
e381dce2fdedad2d2efd8fda6311d518b37b0b5d
0
tmyroadctfig/mpxj
/* * file: MPPUtility.java * author: Jon Iles * copyright: (c) Tapster Rock Limited 2002-2003 * date: 05/01/2003 */ /* * 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...
net/sf/mpxj/mpp/MPPUtility.java
/* * file: MPPUtility.java * author: Jon Iles * copyright: (c) Tapster Rock Limited 2002-2003 * date: 05/01/2003 */ /* * 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...
Added correct handling for elapsed weeks and months.
net/sf/mpxj/mpp/MPPUtility.java
Added correct handling for elapsed weeks and months.
<ide><path>et/sf/mpxj/mpp/MPPUtility.java <ide> break; <ide> } <ide> <add> case TimeUnit.ELAPSED_WEEKS_VALUE: <add> { <add> double unitsPerWeek = (60 * 24 * 7 * 10); <add> double totalWeeks = duration / unitsPerWeek; <add> result = Duration.getInsta...
JavaScript
mit
17c4c96c2967e640a6f6819b9fa9699e592039ad
0
wekan/wekan,GhassenRjab/wekan,GhassenRjab/wekan,GhassenRjab/wekan,wekan/wekan,wekan/wekan,wekan/wekan,wekan/wekan
// A inlined form is used to provide a quick edition of single field for a given // document. Clicking on a edit button should display the form to edit the field // value. The form can then be submited, or just closed. // // When the form is closed we save non-submitted values in memory to avoid any // data loss. // //...
client/lib/inlinedform.js
// A inlined form is used to provide a quick edition of single field for a given // document. Clicking on a edit button should display the form to edit the field // value. The form can then be submited, or just closed. // // When the form is closed we save non-submitted values in memory to avoid any // data loss. // //...
- [Fix Wekan unable to Select Text from Description edit box](https://github.com/wekan/wekan/issues/2451) by removing feature of card description submit on click outside. This is because when selecting text and dragging up did trigger submit of description, so description was closed and selecting text failed. Thi...
client/lib/inlinedform.js
- [Fix Wekan unable to Select Text from Description edit box](https://github.com/wekan/wekan/issues/2451) by removing feature of card description submit on click outside. This is because when selecting text and dragging up did trigger submit of description, so description was closed and selecting text failed. Thi...
<ide><path>lient/lib/inlinedform.js <ide> ); <ide> <ide> // submit on click outside <del>document.addEventListener('click', function(evt) { <del> const openedForm = currentlyOpenedForm.get(); <del> const isClickOutside = $(evt.target).closest('.js-inlined-form').length === 0; <del> if (openedForm && isClickOutside)...
Java
bsd-3-clause
24778e6447852896ba759f2e8dc811d082a5b845
0
edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon
/* * $Id:$ */ /* Copyright (c) 2000-2016 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of his software and associated documentation files (the "Software"), to deal in the Software without restriction, inclu...
plugins/test/src/org/lockss/plugin/pub2web/ms/TestMsHtmlLinkExtractorFactory.java
/* * $Id:$ */ /* Copyright (c) 2000-2016 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of his software and associated documentation files (the "Software"), to deal in the Software without restriction, inclu...
add placeholder test to avoid fail
plugins/test/src/org/lockss/plugin/pub2web/ms/TestMsHtmlLinkExtractorFactory.java
add placeholder test to avoid fail
<ide><path>lugins/test/src/org/lockss/plugin/pub2web/ms/TestMsHtmlLinkExtractorFactory.java <ide> import org.lockss.extractor.LinkExtractor; <ide> import org.lockss.test.LockssTestCase; <ide> import org.lockss.test.MockArchivalUnit; <add>import org.lockss.test.StringInputStream; <ide> import org.lockss.util.Constants; ...
Java
apache-2.0
3d2b33582543c1036e62514726db5b6031f196ed
0
androidx/media,androidx/media,androidx/media
/* * Copyright 2020 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 applica...
libraries/exoplayer_ima/src/androidTest/java/androidx/media3/exoplayer/ima/ImaPlaybackTest.java
/* * Copyright 2020 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 applica...
Simplify `DefaultMediaSourceFactory` instantiation in a test There's no need to manually construct a 'default' DefaultDataSource.Factory instance, we can just pass the `Context` to `DefaultMediaSourceFactory` and let it construct the `DefaultDataSource.Factory` internally. PiperOrigin-RevId: 451155747
libraries/exoplayer_ima/src/androidTest/java/androidx/media3/exoplayer/ima/ImaPlaybackTest.java
Simplify `DefaultMediaSourceFactory` instantiation in a test
<ide><path>ibraries/exoplayer_ima/src/androidTest/java/androidx/media3/exoplayer/ima/ImaPlaybackTest.java <ide> import androidx.media3.common.Timeline.Window; <ide> import androidx.media3.common.util.Assertions; <ide> import androidx.media3.common.util.Util; <del>import androidx.media3.datasource.DataSource; <ide> impo...
Java
apache-2.0
f2e6d1e170bf887a9e141081146ca9ae49a65843
0
javamelody/javamelody,javamelody/javamelody,javamelody/javamelody
/* * Copyright 2008-2010 by Emeric Vernat * * This file is part of Java Melody. * * Java Melody 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 3 of the License, or * ...
javamelody-core/src/test/java/net/bull/javamelody/TestHtmlReport.java
/* * Copyright 2008-2010 by Emeric Vernat * * This file is part of Java Melody. * * Java Melody 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 3 of the License, or * ...
compléments tests unitaires
javamelody-core/src/test/java/net/bull/javamelody/TestHtmlReport.java
compléments tests unitaires
<ide><path>avamelody-core/src/test/java/net/bull/javamelody/TestHtmlReport.java <ide> try { <ide> htmlReport.writeConnections(JdbcWrapper.getConnectionInformationsList(), false); <ide> htmlReport.writeConnections(JdbcWrapper.getConnectionInformationsList(), true); <del> htmlReport.writeDatabase(new DatabaseIn...
Java
apache-2.0
24f1f80389bb1adb8980b0a82e4dbe19fb250c41
0
bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageModule.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Remove unused StorageManager H2 database
presto-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageModule.java
Remove unused StorageManager H2 database
<ide><path>resto-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageModule.java <ide> <ide> import com.google.inject.Binder; <ide> import com.google.inject.Module; <del>import com.google.inject.Provides; <ide> import com.google.inject.Scopes; <del>import io.airlift.dbpool.H2EmbeddedDataSource; <del>import ...
JavaScript
apache-2.0
d016a7d1aa58be19dc52ee80ba7a06be735995ba
0
Esri/crowdsource-reporter,Esri/crowdsource-reporter
/*global define */ /* | Copyright 2014 Esri | | 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...
js/nls/resources.js
/*global define */ /* | Copyright 2014 Esri | | 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...
enable slovak
js/nls/resources.js
enable slovak
<ide><path>s/nls/resources.js <ide> "ro": 1, <ide> "ru": 1, <ide> "sl": 1, <add> "sk": 1, <ide> "sr": 1, <ide> "sv": 1, <ide> "th": 1,
Java
apache-2.0
88e2960b440103d40f46c6cc2e8d3de3c686d7d3
0
youdonghai/intellij-community,semonte/intellij-community,vvv1559/intellij-community,fitermay/intellij-community,da1z/intellij-community,da1z/intellij-community,xfournet/intellij-community,da1z/intellij-community,asedunov/intellij-community,ibinti/intellij-community,xfournet/intellij-community,idea4bsd/idea4bsd,mglukhik...
/* * Copyright 2000-2016 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/lang-impl/src/com/intellij/ide/bookmarks/Bookmark.java
/* * Copyright 2000-2016 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...
IDEA-156735 Bookmarks causing typing slowness
platform/lang-impl/src/com/intellij/ide/bookmarks/Bookmark.java
IDEA-156735 Bookmarks causing typing slowness
<ide><path>latform/lang-impl/src/com/intellij/ide/bookmarks/Bookmark.java <ide> import com.intellij.psi.PsiDocumentManager; <ide> import com.intellij.psi.PsiFile; <ide> import com.intellij.psi.PsiManager; <add>import com.intellij.reference.SoftReference; <ide> import com.intellij.ui.ColorUtil; <ide> import com.intellij...
Java
mit
ca151ada6ea46f9ccb533193a760e0c227bc1dbb
0
ONSdigital/The-Train,Carboni/The-Train,Carboni/the-train-destination,Carboni/The-Train,Carboni/the-train-destination,ONSdigital/The-Train
package com.github.davidcarboni.thetrain.destination.json; import com.github.davidcarboni.cryptolite.Random; import com.github.davidcarboni.thetrain.destination.helpers.DateConverter; import java.util.*; /** * Details of a single transaction, including any files transferred and any errors encountered. * * NB a {...
src/main/java/com/github/davidcarboni/thetrain/destination/json/Transaction.java
package com.github.davidcarboni.thetrain.destination.json; import com.github.davidcarboni.cryptolite.Random; import com.github.davidcarboni.thetrain.destination.helpers.DateConverter; import java.util.*; /** * Details of a single transaction, including any files transferred and any errors encountered. * * NB a {...
Changed list additions to operate on new lists in order to avoid concurrent modification.
src/main/java/com/github/davidcarboni/thetrain/destination/json/Transaction.java
Changed list additions to operate on new lists in order to avoid concurrent modification.
<ide><path>rc/main/java/com/github/davidcarboni/thetrain/destination/json/Transaction.java <ide> */ <ide> public void addUri(Uri uri) { <ide> synchronized (this) { <add> Set<Uri> uris = new HashSet<>(this.uris); <ide> uris.add(uri); <add> this.uris = uris; <ide> ...
JavaScript
mit
24faa64ab808e936e4adb1da0eb646a4b649c5de
0
desmondmorris/node-twitter,rneilson/node-twitter,gabfusi/node-twitter
/** * Module dependencies */ var oauth = require('oauth'); var Keygrip = require('keygrip'); var merge = require('./utils').merge; var querystring = require('querystring'); var urlparse = require('url').parse; // Package version var VERSION = require('../package.json').version; function Twitter(options) { if (!(thi...
lib/twitter.js
/** * Module dependencies */ var oauth = require('oauth'); var Keygrip = require('keygrip'); var merge = require('./utils').merge; var querystring = require('querystring'); var urlparse = require('url').parse; // Package version var VERSION = require('../package.json').version; function Twitter(options) { if (!(thi...
Remove deprecation warning checks The deprecation warning checks are causing implementations to fail if they are in a "use strict" environment. This change eliminates those checks.
lib/twitter.js
Remove deprecation warning checks
<ide><path>ib/twitter.js <ide> * GET <ide> */ <ide> Twitter.prototype.get = function(url, params, callback) { <del> if (typeof Twitter.prototype[arguments.callee.caller.name] !== 'undefined') { <del> console.warn('** Deprecated: Please use the `get` function directly ** '); <del> console.warn('** Use "client.g...
Java
agpl-3.0
b4d6f29b5572b72b619fa548dcbfc37d048a4dec
0
Asqatasun/Asqatasun,medsob/Tanaguru,dzc34/Asqatasun,dzc34/Asqatasun,dzc34/Asqatasun,Asqatasun/Asqatasun,Asqatasun/Asqatasun,medsob/Tanaguru,Asqatasun/Asqatasun,dzc34/Asqatasun,medsob/Tanaguru,Tanaguru/Tanaguru,medsob/Tanaguru,Asqatasun/Asqatasun,dzc34/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,Tanaguru/Tanaguru
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eit...
engine/contentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eit...
add private constructor to utility classes
engine/contentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java
add private constructor to utility classes
<ide><path>ngine/contentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java <ide> */ <ide> public abstract class HtmlNodeAttr { <ide> <add> /** <add> * Private constructor : Hide Utility Class Constructor <add> */ <add> private HtmlNodeAttr() {} <add> <ide> public fin...
Java
lgpl-2.1
ef1db946e149749a7a6673a87572aa78a3e1648a
0
vigna/Sux4J,vigna/Sux4J,vigna/Sux4J,vigna/Sux4J
package it.unimi.dsi.sux4j.mph; /* * Sux4J: Succinct data structures for Java * * Copyright (C) 2008 Sebastiano Vigna * * 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; eith...
src/it/unimi/dsi/sux4j/mph/RelativeTrieDistributor.java
package it.unimi.dsi.sux4j.mph; /* * Sux4J: Succinct data structures for Java * * Copyright (C) 2008 Sebastiano Vigna * * 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; eith...
Tweaking
src/it/unimi/dsi/sux4j/mph/RelativeTrieDistributor.java
Tweaking
<ide><path>rc/it/unimi/dsi/sux4j/mph/RelativeTrieDistributor.java <ide> import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet; <ide> import it.unimi.dsi.fastutil.objects.ObjectRBTreeSet; <ide> import it.unimi.dsi.lang.MutableString; <add>import it.unimi.dsi.logging.ProgressLogger; <ide> import it.unimi.dsi.sux4j.bits....
Java
apache-2.0
e2f39ca8c7052c6e921d259038ca5362bc5a91e5
0
niyueming/Pedometer,j4velin/Pedometer,hibernate2011/Pedometer,hgl888/Pedometer,dhootha/Pedometer,MilanNz/Pedometer,ayyb1988/Pedometer
/* * Copyright 2013 Thomas Hoffmann * * 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...
src/main/java/de/j4velin/pedometer/ShutdownRecevier.java
/* * Copyright 2013 Thomas Hoffmann * * 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: data on shutdown might have been added to the wrong date
src/main/java/de/j4velin/pedometer/ShutdownRecevier.java
fix: data on shutdown might have been added to the wrong date
<ide><path>rc/main/java/de/j4velin/pedometer/ShutdownRecevier.java <ide> <ide> package de.j4velin.pedometer; <ide> <del>import de.j4velin.pedometer.util.Logger; <del>import de.j4velin.pedometer.util.Util; <del> <ide> import android.content.BroadcastReceiver; <ide> import android.content.Context; <ide> import android....
Java
mit
cac71541fb43cb4758b52562aada8a5fa1228c2f
0
goshippo/shippo-java-client
package com.shippo.model; import static org.junit.Assert.*; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Test; import com.shippo.exception.APIConnectionException; import com.shippo.exception.APIException; import com.shippo.exception.AuthenticationException; import com.ship...
src/test/java/com/shippo/model/AddressTest.java
package com.shippo.model; import static org.junit.Assert.*; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Test; import com.shippo.exception.APIConnectionException; import com.shippo.exception.APIException; import com.shippo.exception.AuthenticationException; import com.ship...
Fix tests
src/test/java/com/shippo/model/AddressTest.java
Fix tests
<ide><path>rc/test/java/com/shippo/model/AddressTest.java <ide> Address testAddress = (Address) getInvalidAddress(); <ide> assertFalse(testAddress.getValidationResults().getIsValid()); <ide> assertTrue(testAddress.getValidationResults().getValidationMessages().size() > 0); <del> assertNot...
Java
apache-2.0
10e956b98c11c75965fd12d78b395bb44844eb96
0
CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife,CaMnter/AndroidLife
package com.camnter.hook.loadedapk.classloader.hook.host.loadedapk; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.os.Build; import android.support.annotation.NonNull; import android.util.Displa...
hook-loadedapk-classloader-host/src/main/java/com/camnter/hook/loadedapk/classloader/hook/host/loadedapk/LoadedApkHooker.java
package com.camnter.hook.loadedapk.classloader.hook.host.loadedapk; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.os.Build; import android.support.annotation.NonNull; import android.util.Displa...
[Add] comments of LoadedApkHooker in hook-loadedapk-classloader-host module
hook-loadedapk-classloader-host/src/main/java/com/camnter/hook/loadedapk/classloader/hook/host/loadedapk/LoadedApkHooker.java
[Add] comments of LoadedApkHooker in hook-loadedapk-classloader-host module
<ide><path>ook-loadedapk-classloader-host/src/main/java/com/camnter/hook/loadedapk/classloader/hook/host/loadedapk/LoadedApkHooker.java <ide> public static Map<String, Object> LOADEDAPK_MAP = new HashMap<>(); <ide> <ide> <add> /** <add> * Hook ActivityThread # ArrayMap<String, WeakReference<LoadedApk>> mPa...
Java
apache-2.0
79602f0676d0fe40ce34c99cf287dbc5d3f268cd
0
progolden/dne-utils
/* Copyright 2014 ProGolden Soluções Tecnológicas 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...
src/main/java/br/com/progolden/dneutils/utils/DNEHibernateSessionFactory.java
/* Copyright 2014 ProGolden Soluções Tecnológicas 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...
Tornando a inicialização "failsafe" em relação à conexão com BD. Closes #1
src/main/java/br/com/progolden/dneutils/utils/DNEHibernateSessionFactory.java
Tornando a inicialização "failsafe" em relação à conexão com BD. Closes #1
<ide><path>rc/main/java/br/com/progolden/dneutils/utils/DNEHibernateSessionFactory.java <ide> LOG.info("Inicializando a DNE sem conexão com o banco de dados."); <ide> this.customFactory = null; <ide> } else { <del> LOG.debug("Carregando Hibernate pelo arquivo: "+configFile); <del> Configuration config = new...
Java
apache-2.0
64da40bfc30053f172969498c3dce16343c0c45f
0
sahan/ZombieLink
package com.lonepulse.zombielink.core; /* * #%L * ZombieLink * %% * Copyright (C) 2013 Lonepulse * %% * 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/...
src/main/java/com/lonepulse/zombielink/core/MultiThreadedHttpClient.java
package com.lonepulse.zombielink.core; /* * #%L * ZombieLink * %% * Copyright (C) 2013 Lonepulse * %% * 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/...
Update max connections and connection manager cleanup
src/main/java/com/lonepulse/zombielink/core/MultiThreadedHttpClient.java
Update max connections and connection manager cleanup
<ide><path>rc/main/java/com/lonepulse/zombielink/core/MultiThreadedHttpClient.java <ide> * <br><br> <ide> * @since 1.1.1 <ide> */ <del> private transient HttpClient httpClient; <add> private final transient HttpClient httpClient; <ide> <ide> <ide> /** <ide> schemeRegistry.register(new Scheme("https", 443, ...
Java
apache-2.0
d54f21a5b8cc3c71f717596c6731bc3dd5f536bb
0
flanglet/kanzi
/* Copyright 2011-2021 Frederic Langlet 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 ...
java/src/main/java/kanzi/function/ROLZCodec.java
/* Copyright 2011-2021 Frederic Langlet 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 ...
Fix commit cad2b0999.
java/src/main/java/kanzi/function/ROLZCodec.java
Fix commit cad2b0999.
<ide><path>ava/src/main/java/kanzi/function/ROLZCodec.java <ide> static class ROLZCodec1 implements ByteFunction <ide> { <ide> private static final int MIN_MATCH = 3; <del> private static final int MAX_MATCH = MIN_MATCH + 65535 + 7; <add> private static final int MAX_MATCH = MIN_MATCH + 65535; <id...
Java
apache-2.0
3dc04bf2a1671381c4fff5d12990ab1e06b7afed
0
zhaorui1/BroadleafCommerce,gengzhengtao/BroadleafCommerce,cloudbearings/BroadleafCommerce,zhaorui1/BroadleafCommerce,shopizer/BroadleafCommerce,wenmangbo/BroadleafCommerce,arshadalisoomro/BroadleafCommerce,bijukunjummen/BroadleafCommerce,cogitoboy/BroadleafCommerce,udayinfy/BroadleafCommerce,macielbombonato/BroadleafCo...
/* * Copyright 2008-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/order/service/OrderServiceImpl.java
/* * Copyright 2008-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Fix integration test error.
core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/order/service/OrderServiceImpl.java
Fix integration test error.
<ide><path>ore/broadleaf-framework/src/main/java/org/broadleafcommerce/core/order/service/OrderServiceImpl.java <ide> import org.broadleafcommerce.core.catalog.domain.Category; <ide> import org.broadleafcommerce.core.catalog.domain.Product; <ide> import org.broadleafcommerce.core.catalog.domain.ProductBundle; <del>impo...
Java
apache-2.0
9d3874f25070060c92aa89036f48d3582c074868
0
eBaoTech/pinpoint,Skkeem/pinpoint,breadval/pinpoint,KimTaehee/pinpoint,suraj-raturi/pinpoint,PerfGeeks/pinpoint,andyspan/pinpoint,87439247/pinpoint,InfomediaLtd/pinpoint,cit-lab/pinpoint,hcapitaine/pinpoint,hcapitaine/pinpoint,chenguoxi1985/pinpoint,jaehong-kim/pinpoint,andyspan/pinpoint,dawidmalina/pinpoint,naver/pinp...
package com.profiler.modifier.db.interceptor; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import com.profiler.interceptor.*; import com.profiler.logging.Logger; import com.profiler.common.AnnotationKey; import com.profiler.common.util.ParsingResul...
src/main/java/com/profiler/modifier/db/interceptor/PreparedStatementExecuteQueryInterceptor.java
package com.profiler.modifier.db.interceptor; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import com.profiler.interceptor.*; import com.profiler.logging.Logger; import com.profiler.common.AnnotationKey; import com.profiler.common.util.ParsingResul...
[강운덕] [LUCYSUS-1744] preparedstatement의 bind value 값이 없을 경우 레코딩을 하지 않도록 수정. git-svn-id: 0b0b9d2345dd6c69dda6a7bc6c9d6f99a5385c2e@1598 84d0f5b1-2673-498c-a247-62c4ff18d310
src/main/java/com/profiler/modifier/db/interceptor/PreparedStatementExecuteQueryInterceptor.java
[강운덕] [LUCYSUS-1744] preparedstatement의 bind value 값이 없을 경우 레코딩을 하지 않도록 수정.
<ide><path>rc/main/java/com/profiler/modifier/db/interceptor/PreparedStatementExecuteQueryInterceptor.java <ide> <ide> Map bindValue = getBindValue.invoke(target); <ide> String bindString = toBindVariable(bindValue); <del> trace.recordAttribute(AnnotationKey.SQL_BINDVALUE, bindString...
Java
lgpl-2.1
fe368d1ac1390159a768c898c1914f246367bbb2
0
javachengwc/jforum3,0359xiaodong/jforum3,javachengwc/jforum3,shower1986/jforum,eclipse123/JForum,javachengwc/jforum3,eclipse123/JForum,mingyaaaa/jforum3,ippxie/jforum3,hafizullah/jforum3-maven,rafaelsteil/jforum3,mingyaaaa/jforum3,rafaelsteil/jforum3,ippxie/jforum3,eclipse123/JForum,mingyaaaa/jforum3,rafaelsteil/jforum...
/* * Copyright (c) JForum Team. All rights reserved. * * The software in this package is published under the terms of the LGPL * license a copy of which has been included with this distribution in the * license.txt file. * * The JForum Project * http://www.jforum.net */ package net.jforum.actions; /** * @au...
src/test/java/net/jforum/actions/AdminActionsTestCase.java
/* * Copyright (c) JForum Team. All rights reserved. * * The software in this package is published under the terms of the LGPL * license a copy of which has been included with this distribution in the * license.txt file. * * The JForum Project * http://www.jforum.net */ package net.jforum.actions; /** * @au...
Small formatting
src/test/java/net/jforum/actions/AdminActionsTestCase.java
Small formatting
<ide><path>rc/test/java/net/jforum/actions/AdminActionsTestCase.java <ide> * @author Rafael Steil <ide> */ <ide> public class AdminActionsTestCase extends AdminTestCase { <del> public AdminActionsTestCase() { <del> super(AdminActions.class); <del> } <add> <add> public AdminActionsTestCase() { <add> super(A...
Java
apache-2.0
13447ce89916c22a5ba277bd729e1b28fe5df4ea
0
tascape/thx-ios,tascape/thx-ios
/* * Copyright 2016 tascape. * * 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...
uia-test/src/main/java/com/tascape/qa/th/ios/driver/UiAutomationDevice.java
/* * Copyright 2016 tascape. * * 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...
disable parsing when logging element tree
uia-test/src/main/java/com/tascape/qa/th/ios/driver/UiAutomationDevice.java
disable parsing when logging element tree
<ide><path>ia-test/src/main/java/com/tascape/qa/th/ios/driver/UiAutomationDevice.java <ide> } <ide> <ide> public void logElementTree() throws UIAException { <del> mainWindow().logElement().forEach(l -> LOG.debug(l)); <add> instruments.runJavaScript("window.logElementTree();").forEach(l -> LOG.deb...
Java
apache-2.0
39c63c8dcfef9c3ebe8eecdc3f7428141b317fe8
0
googleinterns/BLETH,googleinterns/BLETH,googleinterns/BLETH
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
src/main/java/com/google/research/bleth/servlets/EnqueueExperimentServlet.java
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
modify validateArguments() to use positive conditions.
src/main/java/com/google/research/bleth/servlets/EnqueueExperimentServlet.java
modify validateArguments() to use positive conditions.
<ide><path>rc/main/java/com/google/research/bleth/servlets/EnqueueExperimentServlet.java <ide> Map<String, Number> properties = configuration.stream() <ide> .collect(Collectors.toMap(PropertyWrapper::property, PropertyWrapper::value)); <ide> <del> boolean nonPositiveDimensions = properti...
Java
apache-2.0
a724cc43215a0edb6c0bdb9bdfeb503a4bf06343
0
Wisser/Jailer,Wisser/Jailer,Wisser/Jailer
/* * Copyright 2007 - 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
src/main/engine/net/sf/jailer/datamodel/DataModel.java
/* * Copyright 2007 - 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
api documentation git-svn-id: 623b1913a4f912b976453f456c127dcd8e933919@1251 3dd849cd-670e-4645-a7cd-dd197c8d0e81
src/main/engine/net/sf/jailer/datamodel/DataModel.java
api documentation
<ide><path>rc/main/engine/net/sf/jailer/datamodel/DataModel.java <ide> import java.io.InputStream; <ide> import java.io.PrintWriter; <ide> import java.net.MalformedURLException; <add>import java.net.URI; <ide> import java.net.URISyntaxException; <add>import java.net.URL; <ide> import java.text.SimpleDateFormat; <ide> i...
Java
apache-2.0
f1781edab0e12ceaf75c8ad22803e6fab44e3036
0
jacopofar/fleximatcher-web-interface,jacopofar/fleximatcher-rest-interface,jacopofar/fleximatcher-web-interface,jacopofar/fleximatcher-rest-interface,jacopofar/fleximatcher-rest-interface,jacopofar/fleximatcher-web-interface,jacopofar/fleximatcher-rest-interface
package com.github.jacopofar.fleximatcherwebinterface; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.jacopofar.fleximatcher.FlexiMatcher; import com.github.jacopofar.fleximatcher.annotations.MatchingResults; import com.github.jacopofar.fleximatcher.annotations.TextAnnotation; import com.github....
src/main/java/com/github/jacopofar/fleximatcherwebinterface/Fwi.java
package com.github.jacopofar.fleximatcherwebinterface; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.jacopofar.fleximatcher.FlexiMatcher; import com.github.jacopofar.fleximatcher.annotations.MatchingResults; import com.github.jacopofar.fleximatcher.annotations.TextAnnotation; import com.github....
add tag definitions endpoint
src/main/java/com/github/jacopofar/fleximatcherwebinterface/Fwi.java
add tag definitions endpoint
<ide><path>rc/main/java/com/github/jacopofar/fleximatcherwebinterface/Fwi.java <ide> import com.github.jacopofar.fleximatcher.importer.FileTagLoader; <ide> import com.github.jacopofar.fleximatcherwebinterface.messages.ParseRequestPayload; <ide> import com.github.jacopofar.fleximatcherwebinterface.messages.TagRulePayloa...
JavaScript
mit
d91188e4adafedc478cb0af78c754d306dec6840
0
hirokiosame/search.js,hirokiosame/search.js
/** @license Search.js 0.0.1 * (c) 2013 Hiroki Osame * Search.js may be freely distributed under the MIT license. */ ;var VisualSearch = (function($, _){ //Autocomplete - Category Add-On $.widget("ui.autocomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var that = this, currentCatego...
lib/js/search.js
/** @license Search.js 0.0.1 * (c) 2013 Hiroki Osame * Search.js may be freely distributed under the MIT license. */ ;var VisualSearch = (function($, _){ //Autocomplete - Category Add-On $.widget("ui.autocomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var that = this, currentCatego...
fix 2
lib/js/search.js
fix 2
<ide><path>ib/js/search.js <ide> $(e.target).autocomplete("search", ""); <ide> }, <ide> inputBlurred: function(e){ <del> return; <ide> var input = $(e.target), <ide> editing = this.model.get('editing'); <ide>
Java
apache-2.0
08be74178a5725dc977b796384383ee38ae134d5
0
reactivex/rxjava,artem-zinnatullin/RxJava,NiteshKant/RxJava,akarnokd/RxJava,artem-zinnatullin/RxJava,ReactiveX/RxJava,reactivex/rxjava,NiteshKant/RxJava,ReactiveX/RxJava,akarnokd/RxJava
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/test/java/io/reactivex/internal/schedulers/SingleSchedulerTest.java
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Refactoring SingleSchedulerTest. Now it extends AbstractSchedulerTests, so redundant tests could be removed in favor of abstract tests. (#5462)
src/test/java/io/reactivex/internal/schedulers/SingleSchedulerTest.java
Refactoring SingleSchedulerTest. Now it extends AbstractSchedulerTests, so redundant tests could be removed in favor of abstract tests. (#5462)
<ide><path>rc/test/java/io/reactivex/internal/schedulers/SingleSchedulerTest.java <ide> <ide> import static org.junit.Assert.*; <ide> <add>import io.reactivex.schedulers.AbstractSchedulerTests; <ide> import java.util.concurrent.*; <ide> <ide> import org.junit.Test; <ide> import io.reactivex.*; <ide> import io.reacti...
Java
lgpl-2.1
ed673f0e4e84d75302cfa1005f9043ee7d90c942
0
godbyk/vrjuggler-upstream-old,vrjuggler/vrjuggler,MichaelMcDonnell/vrjuggler,vancegroup-mirrors/vrjuggler,vrjuggler/vrjuggler,vrjuggler/vrjuggler,MichaelMcDonnell/vrjuggler,MichaelMcDonnell/vrjuggler,MichaelMcDonnell/vrjuggler,LiuKeHua/vrjuggler,godbyk/vrjuggler-upstream-old,vrjuggler/vrjuggler,godbyk/vrjuggler-upstrea...
/***************** <Tweek heading BEGIN do not edit this line> **************** * Tweek * * ----------------------------------------------------------------- * File: $RCSfile$ * Date modified: $Date$ * Version: $Revision$ * ----------------------------------------------------------------- *******...
modules/tweek/java/org/vrjuggler/tweek/treeviewer/BeanTreeViewer.java
/***************** <Tweek heading BEGIN do not edit this line> **************** * Tweek * * ----------------------------------------------------------------- * File: $RCSfile$ * Date modified: $Date$ * Version: $Revision$ * ----------------------------------------------------------------- *******...
SF Bug#: 484422 Fixed the bug wherein the BeanTreeViewer's JTree would not refresh properly if no Beans were loaded at initialization. The cause of this is not entirely clear to me yet, but this simple change seems to fix it. It may be worthwhile to revisit this in the future in case this change is not the most opti...
modules/tweek/java/org/vrjuggler/tweek/treeviewer/BeanTreeViewer.java
SF Bug#: 484422
<ide><path>odules/tweek/java/org/vrjuggler/tweek/treeviewer/BeanTreeViewer.java <ide> <ide> public void refreshDataModel (BeanTreeModel model) <ide> { <del> /* Nothing to do. */ ; <add> model.nodeStructureChanged((TreeNode) model.getRoot()); <ide> } <ide> <ide> public JComponent getViewer ()
JavaScript
mit
239619b259f271095ed2f6dcd173ce05f2e43a68
0
UKHomeOffice/removals_integration,UKHomeOffice/removals_integration
"use strict"; var model = rewire('../../api/models/Movement'); var Promise = require('bluebird'); describe('INTEGRATION MovementModel', () => { it('should get the fixtures', () => expect(Movement.find()).to.eventually.have.length(5) ); }); describe('UNIT MovementModel', () => { describe('setNormalisedRelati...
test/unit/models/Movement.test.js
"use strict"; describe('INTEGRATION MovementModel', () => { it('should get the fixtures', () => expect(Movement.find()).to.eventually.have.length(5) ); });
unit test Movement.setNormalisedRelationships with rewire
test/unit/models/Movement.test.js
unit test Movement.setNormalisedRelationships with rewire
<ide><path>est/unit/models/Movement.test.js <ide> "use strict"; <add>var model = rewire('../../api/models/Movement'); <add>var Promise = require('bluebird'); <ide> <ide> describe('INTEGRATION MovementModel', () => { <ide> it('should get the fixtures', () => <ide> expect(Movement.find()).to.eventually.have.length...
Java
apache-2.0
5936e4f3a8ded2d51546875562daaa200a4603ad
0
masaki-yamakawa/geode,jdeppe-pivotal/geode,smgoller/geode,smgoller/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,smgoller/geode,masaki-yamakawa/geode,smgoller/geode,smgoller/geode,smgoller/geode,masaki-yamakawa/geode,smgoller/geode,m...
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
GEODE-9373: add testEventIdOutOfOrderInPartitionRegionSingleHopFromCl… (#6609)
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java
GEODE-9373: add testEventIdOutOfOrderInPartitionRegionSingleHopFromCl… (#6609)
<ide><path>eode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java <ide> } <ide> <ide> /** <add> * The purpose of this test is to validate that when two servers of three in a cluster configured <add> * with a client doing singlehop, that the client which register...
Java
apache-2.0
69f4fec4fe9051eb9cf0385b911a55a3b21b7e37
0
opendatakit/androidcommon
/* * Copyright (C) 2015 University of Washington * * 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...
androidcommon_lib/src/main/java/org/opendatakit/common/android/application/CommonApplication.java
/* * Copyright (C) 2015 University of Washington * * 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...
Move PRNG fix up to base class
androidcommon_lib/src/main/java/org/opendatakit/common/android/application/CommonApplication.java
Move PRNG fix up to base class
<ide><path>ndroidcommon_lib/src/main/java/org/opendatakit/common/android/application/CommonApplication.java <ide> import org.opendatakit.common.android.logic.PropertiesSingleton; <ide> import org.opendatakit.common.android.task.InitializationTask; <ide> import org.opendatakit.common.android.utilities.ODKFileUtils; <del...
Java
apache-2.0
8061aa5217a92dffd2c643f4cb643b388d8076e6
0
jpkrohling/keycloak,stianst/keycloak,darranl/keycloak,mhajas/keycloak,vmuzikar/keycloak,abstractj/keycloak,ahus1/keycloak,darranl/keycloak,stianst/keycloak,keycloak/keycloak,hmlnarik/keycloak,pedroigor/keycloak,pedroigor/keycloak,raehalme/keycloak,thomasdarimont/keycloak,hmlnarik/keycloak,pedroigor/keycloak,mposolda/ke...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/authentication/ClientCredentialsProviderUtils.java
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
KEYCLOAK-13161 Use iterator instead of for-each loop in ClientCredentialsProviderUtils
adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/authentication/ClientCredentialsProviderUtils.java
KEYCLOAK-13161 Use iterator instead of for-each loop in ClientCredentialsProviderUtils
<ide><path>dapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/authentication/ClientCredentialsProviderUtils.java <ide> import org.keycloak.adapters.KeycloakDeployment; <ide> <ide> import java.util.HashMap; <add>import java.util.Iterator; <ide> import java.util.List; <ide> import java.util.Map; <ide> import ...
Java
lgpl-2.1
286cf1f6140370bcbae8a02524feef648e70b9d3
0
julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine
package org.intermine.bio.postprocess; /* * Copyright (C) 2002-2005 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
bio/postprocess/main/src/org/intermine/bio/postprocess/IntronUtil.java
package org.intermine.bio.postprocess; /* * Copyright (C) 2002-2005 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
added a log message to IntronUtil Former-commit-id: 50bf683c0be7fad9d227ef44eeb7288e0c25239a
bio/postprocess/main/src/org/intermine/bio/postprocess/IntronUtil.java
added a log message to IntronUtil
<ide><path>io/postprocess/main/src/org/intermine/bio/postprocess/IntronUtil.java <ide> Set locationSet = new HashSet(); <ide> Transcript lastTran = null; <ide> Location lastTranLoc = null; <del> int tranCount = 0, exonCount = 0; <add> int tranCount = 0, exonCount = 0, intronCount =...
Java
mit
2edabfa647da3d8a7cbaa4017a0e6786dcb45af9
0
brahalla/PhotoAlbum-api
package com.brahalla.PhotoAlbum.controller.rest; import com.brahalla.PhotoAlbum.domain.entity.Account; import com.brahalla.PhotoAlbum.model.json.AccountInfo; import com.brahalla.PhotoAlbum.model.json.response.LoginResponse; import com.brahalla.PhotoAlbum.service.AccountService; import org.springframework.beans.factor...
src/main/java/com/brahalla/PhotoAlbum/controller/rest/AuthenticateController.java
package com.brahalla.PhotoAlbum.controller.rest; import com.brahalla.PhotoAlbum.domain.entity.Account; import com.brahalla.PhotoAlbum.model.json.AccountInfo; import com.brahalla.PhotoAlbum.model.json.response.LoginResponse; import com.brahalla.PhotoAlbum.service.AccountService; import org.springframework.beans.factor...
testing authentication manager
src/main/java/com/brahalla/PhotoAlbum/controller/rest/AuthenticateController.java
testing authentication manager
<ide><path>rc/main/java/com/brahalla/PhotoAlbum/controller/rest/AuthenticateController.java <ide> import com.brahalla.PhotoAlbum.service.AccountService; <ide> <ide> import org.springframework.beans.factory.annotation.Autowired; <del>import org.springframework.security.core.userdetails.UserDetails; <del>import org.spri...
Java
apache-2.0
69b4b523dfc390c853857fcffef6b08213e24841
0
DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,nssales/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,McLeodMoores/starling,DevStreet/FinanceAnalytics,jeorme/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,DevS...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.livedata.client; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; impo...
projects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedLiveDataClient.java
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.livedata.client; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; impo...
[PLAT-3926] Decreasing logging level back to info
projects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedLiveDataClient.java
[PLAT-3926] Decreasing logging level back to info
<ide><path>rojects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedLiveDataClient.java <ide> responses.putAll(getFailedResponses()); <ide> <ide> int total = responses.size(); <del> s_logger.error("{} subscription responses received", total); // info <add> s_logger.info("{...
Java
apache-2.0
f4a0900ba9fecfa81b2fb15eb1b562b0beff6371
0
Zariel/parquet-mr,nevillelyh/parquet-mr,cchang738/parquet-mr,laurentgo/parquet-mr,spena/parquet-mr,rdblue/parquet-mr,tsdeng/incubator-parquet-mr,nkhuyu/parquet-mr,winningsix/incubator-parquet-mr,jaltekruse/parquet-mr-1,hassyma/parquet-mr,cchang738/parquet-mr,piyushnarang/parquet-mr,MickDavies/incubator-parquet-mr,david...
/** * Copyright 2012 Twitter, 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...
parquet-thrift/src/main/java/parquet/hadoop/thrift/ThriftReadSupport.java
/** * Copyright 2012 Twitter, 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...
remove unused code
parquet-thrift/src/main/java/parquet/hadoop/thrift/ThriftReadSupport.java
remove unused code
<ide><path>arquet-thrift/src/main/java/parquet/hadoop/thrift/ThriftReadSupport.java <ide> requestedProjection = getSchemaForRead(fileMessageType, partialSchemaString); <ide> } else if (projectionFilterString != null && !projectionFilterString.isEmpty()) { <ide> FieldProjectionFilter fieldProjectionFilte...
Java
apache-2.0
d0beff0889b76484aedf53ec8f4260ba043f2347
0
McLeodMoores/starling,nssales/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,jerome79/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,codeaudit/OG-Platform,ChinaQuants/OG-Platform,DevStreet/Financ...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.volatility.surface; import javax.time.InstantProvider; import javax.time.calendar.TimeZone; import javax.time.calendar.ZonedDateTime; impo...
projects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawFXVolatilitySurfaceDataFunction.java
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.volatility.surface; import javax.time.InstantProvider; import javax.time.calendar.TimeZone; import javax.time.calendar.ZonedDateTime; imp...
Logging and returning null rather than throwing an exception in getRequirements()
projects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawFXVolatilitySurfaceDataFunction.java
Logging and returning null rather than throwing an exception in getRequirements()
<ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawFXVolatilitySurfaceDataFunction.java <ide> /** <ide> * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies <del> * <add> * <ide> * Please see distribution for license. <ide> */ <ide> package c...
Java
apache-2.0
9a19fac9419a45c048e61ab0a753224ce7dc1850
0
grechaw/java-client-api,marklogic/java-client-api,grechaw/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,supriyantomaftuh/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,omkarudipi/java-client-api,omkarudip...
/* * Copyright 2012-2013 MarkLogic 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 applicable law...
src/main/java/com/marklogic/client/impl/JerseyServices.java
/* * Copyright 2012-2013 MarkLogic 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 applicable law...
Bug:24201 improved retry loop under failover for REST requests git-svn-id: 2087087167f935058d19856144d26af79f295c86@152832 62cac252-8da6-4816-9e9d-6dc37b19578c
src/main/java/com/marklogic/client/impl/JerseyServices.java
Bug:24201 improved retry loop under failover for REST requests
<ide><path>rc/main/java/com/marklogic/client/impl/JerseyServices.java <ide> import java.util.Iterator; <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.Properties; <ide> import java.util.Random; <ide> import java.util.Set; <ide> import java.util.concurrent.ConcurrentLinkedQueue; <ide> <id...
JavaScript
mit
67e67f1f760e4daeab973087b751144e3701afaf
0
speckjs/gulp-speckjs
var through = require('through2'); var glob = require('glob'); var gutil = require('gulp-util'); var PluginError = gutil.PluginError; var speckjs = require('speckjs'); var extend = require('util')._extend; const PLUGIN_NAME = 'gulp-speckjs'; module.exports = function(options) { var source; var defaults = { t...
index.js
//File to hold the gulp task being called in our gulpfile var gutil = require('gulp-util'); var through = require('through2'); // var glob = require('glob'); var gutil = require('gulp-util'); var path = require('path'); var PluginError = gutil.PluginError; var speck = require('speckjs'); //pass files and options into ...
Main gulp plugin logic
index.js
Main gulp plugin logic
<ide><path>ndex.js <del>//File to hold the gulp task being called in our gulpfile <add>var through = require('through2'); <add>var glob = require('glob'); <ide> var gutil = require('gulp-util'); <del>var through = require('through2'); <del>// var glob = require('glob'); <del>var gutil = require('gulp-util'); <del>var p...
Java
apache-2.0
f21d8a0ce702aa5ee0eee0291a97868a28ecf163
0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
/* * Copyright 2017, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
src/main/java/io/spine/tools/protodoc/PreTagFormatting.java
/* * Copyright 2017, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Fix code wrapping.
src/main/java/io/spine/tools/protodoc/PreTagFormatting.java
Fix code wrapping.
<ide><path>rc/main/java/io/spine/tools/protodoc/PreTagFormatting.java <ide> import java.util.regex.Matcher; <ide> import java.util.regex.Pattern; <ide> <add>import static java.util.regex.Pattern.DOTALL; <add>import static java.util.regex.Pattern.compile; <add> <ide> /** <ide> * A formatting action, which handles {@co...
Java
lgpl-2.1
7fd86ad80d6ae0048a0620098833f97e70da3c2b
0
romani/checkstyle,checkstyle/checkstyle,checkstyle/checkstyle,romani/checkstyle,rnveach/checkstyle,rnveach/checkstyle,rnveach/checkstyle,romani/checkstyle,checkstyle/checkstyle,checkstyle/checkstyle,checkstyle/checkstyle,checkstyle/checkstyle,romani/checkstyle,rnveach/checkstyle,rnveach/checkstyle,romani/checkstyle,rnv...
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2021 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2021 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
Issue #9595: Update example of AST for TokenTypes.VARIABLE_DEF
src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java
Issue #9595: Update example of AST for TokenTypes.VARIABLE_DEF
<ide><path>rc/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java <ide> * A field or local variable declaration. The children are <ide> * modifiers, type, the identifier name, and an optional <ide> * assignment statement. <add> * <add> * <p>For example:</p> <add> * <pre> <add> ...
Java
apache-2.0
f3836a35f87ff8ecf0517f17926c7b45b231c5a0
0
LeafToDus/My-Blog,GJson/My-Blog,GJson/My-Blog,LeafToDus/My-Blog,LeafToDus/My-Blog,GJson/My-Blog,LeafToDus/My-Blog,GJson/My-Blog
package com.my.blog.website.utils; import com.my.blog.website.exception.TipException; import com.my.blog.website.constant.WebConst; import com.my.blog.website.controller.admin.AttachController; import com.my.blog.website.modal.Vo.UserVo; import org.apache.commons.lang3.StringUtils; import org.commonmark.node.Node; imp...
src/main/java/com/my/blog/website/utils/TaleUtils.java
package com.my.blog.website.utils; import com.my.blog.website.exception.TipException; import com.my.blog.website.constant.WebConst; import com.my.blog.website.controller.admin.AttachController; import com.my.blog.website.modal.Vo.UserVo; import org.apache.commons.lang3.StringUtils; import org.commonmark.node.Node; imp...
无用代码删除
src/main/java/com/my/blog/website/utils/TaleUtils.java
无用代码删除
<ide><path>rc/main/java/com/my/blog/website/utils/TaleUtils.java <ide> } <ide> <ide> /** <del> * 获取当前时间 <del> * <del> * @return <del> */ <del> public static int getCurrentTime() { <del> return (int) (new Date().getTime() / 1000); <del> } <del> <del> /** <del> * jdbc:mysql://...
Java
apache-2.0
24ddb66e2cf1da48eefd2ad6c6a66eb5ef137ffd
0
henrichg/PhoneProfilesPlus
package sk.henrichg.phoneprofilesplus; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.conten...
phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EditorProfilesActivity.java
package sk.henrichg.phoneprofilesplus; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.conten...
Fixed alerting each notification about red texts in profiles/events.
phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EditorProfilesActivity.java
Fixed alerting each notification about red texts in profiles/events.
<ide><path>honeProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EditorProfilesActivity.java <ide> mBuilder.setPriority(NotificationCompat.PRIORITY_MAX); <ide> mBuilder.setCategory(NotificationCompat.CATEGORY_RECOMMENDATION); <ide> mBuilder.setVisibility(NotificationCompat.VISIBILITY_PUBL...
Java
epl-1.0
75323dd8a3dea0701f45eb307e11aa4bf0fc5f77
0
crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2
/************************************************************************ * Copyright © 2007-2016 - General Electric Company, All Rights Reserved * * Project: SADL * * Description: The Semantic Application Design Language (SADL) is a * language for building semantic models and expressing rules that * capture add...
sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java
/************************************************************************ * Copyright © 2007-2016 - General Electric Company, All Rights Reserved * * Project: SADL * * Description: The Semantic Application Design Language (SADL) is a * language for building semantic models and expressing rules that * capture add...
fixed ignoring of negation on SadlExplicitValue
sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java
fixed ignoring of negation on SadlExplicitValue
<ide><path>adl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java <ide> <ide> protected Literal sadlExplicitValueToLiteral(SadlExplicitValue value, com.hp.hpl.jena.rdf.model.Resource rng) throws JenaProcessorException { <ide> try { <add> boolean i...
Java
apache-2.0
78f62d9b275a083165c8439f6d274ae58c2479a6
0
sheungon/SMSInterceptor
package com.sheungon.smsinterceptor; import android.os.Bundle; import android.os.FileObserver; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.UiThread; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; impor...
app/src/main/java/com/sheungon/smsinterceptor/MainFragment.java
package com.sheungon.smsinterceptor; import android.os.Bundle; import android.os.FileObserver; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.UiThread; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; impor...
Added missing log file monitor case.
app/src/main/java/com/sheungon/smsinterceptor/MainFragment.java
Added missing log file monitor case.
<ide><path>pp/src/main/java/com/sheungon/smsinterceptor/MainFragment.java <ide> case FileObserver.MODIFY: <ide> case FileObserver.CLOSE_WRITE: <ide> case FileObserver.DELETE: <add> case FileObserver.DELETE_SELF: <ide> activity.runOnUiThr...
Java
apache-2.0
013379fd3ee299ab6f24e8d42686af13249d54c2
0
ebr11/ExoPlayer,saki4510t/ExoPlayer,ened/ExoPlayer,google/ExoPlayer,amzn/exoplayer-amazon-port,stari4ek/ExoPlayer,androidx/media,MaTriXy/ExoPlayer,tntcrowd/ExoPlayer,KiminRyu/ExoPlayer,ebr11/ExoPlayer,androidx/media,ened/ExoPlayer,kiall/ExoPlayer,stari4ek/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,saki4510t/Ex...
/* * Copyright (C) 2016 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 app...
library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java
/* * Copyright (C) 2016 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 app...
Workaround for SurfaceView not being hidden properly This appears to be fixed in Oreo, but given how harmless the workaround is we can probably just apply it on all API levels to be sure. Issue: #3160 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167709070
library/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java
Workaround for SurfaceView not being hidden properly
<ide><path>ibrary/ui/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java <ide> } <ide> } <ide> <add> @Override <add> public void setVisibility(int visibility) { <add> super.setVisibility(visibility); <add> if (surfaceView instanceof SurfaceView) { <add> // Work around https://git...
Java
apache-2.0
eb80b4e104f7f04e8c3e0e3c36dd85776b1efbf0
0
CliffYuan/netty,KeyNexus/netty,CliffYuan/netty,KeyNexus/netty
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
src/main/java/org/jboss/netty/channel/local/DefaultLocalChannel.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
intermittent: local channel sometimes sends messages after close
src/main/java/org/jboss/netty/channel/local/DefaultLocalChannel.java
intermittent: local channel sometimes sends messages after close
<ide><path>rc/main/java/org/jboss/netty/channel/local/DefaultLocalChannel.java <ide> break; <ide> } <ide> <add> fireMessageReceived(pairedChannel, e.getMessage()); <ide> e.getFuture().setSuccess(); <del> ...
Java
mit
1381454d663679fc25eab2eeff41a0e15a60aef0
0
Braunch/jabref,tobiasdiez/jabref,oscargus/jabref,mairdl/jabref,Mr-DLib/jabref,bartsch-dev/jabref,ayanai1/jabref,tschechlovdev/jabref,jhshinn/jabref,mredaelli/jabref,mredaelli/jabref,JabRef/jabref,Braunch/jabref,motokito/jabref,grimes2/jabref,shitikanth/jabref,oscargus/jabref,mairdl/jabref,shitikanth/jabref,tschechlovde...
/* Copyright (C) 2003-2015 JabRef contributors. This program 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 your option) any later version. This progr...
src/main/java/net/sf/jabref/logic/search/rules/GrammarBasedSearchRule.java
/* Copyright (C) 2003-2015 JabRef contributors. This program 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 your option) any later version. This progr...
Pass whole exception to LOGGER.debug (and add some brackets to the expressions due to Eclipse formatter)
src/main/java/net/sf/jabref/logic/search/rules/GrammarBasedSearchRule.java
Pass whole exception to LOGGER.debug (and add some brackets to the expressions due to Eclipse formatter)
<ide><path>rc/main/java/net/sf/jabref/logic/search/rules/GrammarBasedSearchRule.java <ide> try { <ide> return new BibtexSearchVisitor(caseSensitiveSearch, regExpSearch, bibtexEntry).visit(tree); <ide> } catch (Exception e) { <del> LOGGER.debug("Search failed: " + e.getMessage()); ...
JavaScript
mit
521ba4d81df10aa44e7661ea30a28a55cfed84aa
0
fedebertolini/uno-score-tracker,fedebertolini/uno-score-tracker
import React, { PropTypes } from 'react'; import { Link } from 'react-router'; import { GAME_STATUS_IN_PROGRESS, GAME_STATUS_FINISHED } from '../constants'; class RoundTable extends React.Component { componentWillMount() { this.roundScores = this.buildScores(this.props.players, this.props.rounds); ...
src/components/RoundTable.js
import React, { PropTypes } from 'react'; import { Link } from 'react-router'; import { GAME_STATUS_IN_PROGRESS, GAME_STATUS_FINISHED } from '../constants'; class RoundTable extends React.Component { constructor(props) { super(props); this.roundScores = this.buildScores(props.players, props.rounds...
show winner
src/components/RoundTable.js
show winner
<ide><path>rc/components/RoundTable.js <ide> import { GAME_STATUS_IN_PROGRESS, GAME_STATUS_FINISHED } from '../constants'; <ide> <ide> class RoundTable extends React.Component { <del> constructor(props) { <del> super(props); <ide> <del> this.roundScores = this.buildScores(props.players, props.rounds)...
Java
bsd-3-clause
b4e6e6eec19b1ee528414744ce3374fcd823d404
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/services/NetworkServiceV2.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...
SRV2-166. change network attribute update functions trigger cx2 file store and cx2metadata refresh.
src/main/java/org/ndexbio/rest/services/NetworkServiceV2.java
SRV2-166. change network attribute update functions trigger cx2 file store and cx2metadata refresh.
<ide><path>rc/main/java/org/ndexbio/rest/services/NetworkServiceV2.java <ide> if ( !updated) { <ide> props.add(new NdexPropertyValuePair("reference", reference.get("reference"))); <ide> } <add> <add> networkDao.lockNetwork(networkUUID); <add> <ide> networkDao.updateNetworkProperties(networ...
JavaScript
apache-2.0
fcdac34d0703d4b01e908eb7a45ec143cac84321
0
fiuba08/robotframework,ldtri0209/robotframework,waldenner/robotframework,fiuba08/robotframework,waldenner/robotframework,ldtri0209/robotframework,waldenner/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,fiuba08/robotframework,waldenner/robotframework,fiuba08/robotframework,waldenner/robotframework,ldt...
window.output = {}; window.output["suite"] = [1,2,3,4,[5,6,7,8,9,10,11,12],[0,0,3289],[[13,14,15,0,[],[1,26,12],[],[[16,0,1,0,[17,18,19],[1,36,2],[[0,20,0,21,22,[1,37,0],[],[[37,2,23]]],[0,24,0,25,26,[1,37,1],[],[[37,2,27]]]]]],[[1,28,0,0,0,[1,33,3],[[0,29,0,0,0,[1,34,1],[[0,24,0,25,30,[1,34,0],[],[[34,2,30]]],[0,31,0,...
src/robot/htmldata/testdata/data.js
window.output = {}; window.output["suite"] = [1,2,3,4,[5,6,7,8,9,10,11,12],[0,0,3265],[[13,14,15,0,[],[1,17,8],[],[[16,0,1,0,[17,18,19],[1,24,0],[[0,20,0,21,22,[1,24,0],[],[[24,2,23]]],[0,24,0,25,26,[1,24,0],[],[[24,2,27]]]]]],[[1,28,0,0,0,[1,21,3],[[0,29,0,0,0,[1,22,1],[[0,24,0,25,30,[1,22,0],[],[[22,2,30]]],[0,31,0,0...
Update issue 1389 Changed data.js
src/robot/htmldata/testdata/data.js
Update issue 1389 Changed data.js
<ide><path>rc/robot/htmldata/testdata/data.js <ide> window.output = {}; <del>window.output["suite"] = [1,2,3,4,[5,6,7,8,9,10,11,12],[0,0,3265],[[13,14,15,0,[],[1,17,8],[],[[16,0,1,0,[17,18,19],[1,24,0],[[0,20,0,21,22,[1,24,0],[],[[24,2,23]]],[0,24,0,25,26,[1,24,0],[],[[24,2,27]]]]]],[[1,28,0,0,0,[1,21,3],[[0,29,0,0,0,[...
Java
apache-2.0
eb2720de4f69c6902e621380baba92192c0f7869
0
apache/creadur-rat,eskatos/creadur-rat,eskatos/creadur-rat,eskatos/creadur-rat,apache/creadur-rat,apache/creadur-rat,eskatos/creadur-rat,apache/creadur-rat,eskatos/creadur-rat,apache/creadur-rat,apache/creadur-rat,eskatos/creadur-rat
/* * 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 ...
apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.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 ...
there was more than one typo in the extension, thanks Gav git-svn-id: 20b5046b6673c953bccf871611e49999d6099921@1081292 13f79535-47bb-0310-9956-ffa450edef68
apache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java
there was more than one typo in the extension, thanks Gav
<ide><path>pache-rat-core/src/test/java/org/apache/rat/annotation/TestLicenceAppender.java <ide> private Random random = new Random(); <ide> <ide> public void testAddLicenceToUnknownFile() throws IOException { <del> String filename = "tmp" + random.nextLong() + ".unkownType"; <add> String filename = "tmp...
Java
apache-2.0
e8ce496a2bbbe98294e36b7ad9a611963e679227
0
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
/* Copyright 2013, 2015, 2016, 2018 Nationale-Nederlanden, 2020-2022 WeAreFrank! 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 Un...
core/src/main/java/nl/nn/adapterframework/receivers/Receiver.java
/* Copyright 2013, 2015, 2016, 2018 Nationale-Nederlanden, 2020-2022 WeAreFrank! 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 Un...
Allow receiver to start from status EXCEPTION_STARTING (#3349)
core/src/main/java/nl/nn/adapterframework/receivers/Receiver.java
Allow receiver to start from status EXCEPTION_STARTING (#3349)
<ide><path>ore/src/main/java/nl/nn/adapterframework/receivers/Receiver.java <ide> } <ide> synchronized (runState) { <ide> RunState currentRunState = getRunState(); <del> if (currentRunState!=RunState.STOPPED <del> && currentRunState!=RunState.EXCEPTION_STOPPING <del> && currentRunState!=RunStat...
Java
mit
62be07abca70b1de13633c7a351f6ca1809d7633
0
jameskennard/mockito-collections
package uk.co.webamoeba.mockito.collections; import static org.mockito.Mockito.mock; import java.io.Closeable; import java.io.IOException; import java.nio.CharBuffer; import java.util.Collection; import java.util.Collections; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; imp...
src/test/java/uk/co/webamoeba/mockito/collections/AssertTest.java
package uk.co.webamoeba.mockito.collections; import static org.mockito.Mockito.mock; import java.io.Closeable; import java.io.IOException; import java.nio.CharBuffer; import java.util.Collection; import java.util.Collections; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; imp...
Fix AssertTest
src/test/java/uk/co/webamoeba/mockito/collections/AssertTest.java
Fix AssertTest
<ide><path>rc/test/java/uk/co/webamoeba/mockito/collections/AssertTest.java <ide> // Exception thrown <ide> } <ide> <del> @Test <del> public void shouldAlwaysPass() { <del> thrown.expect(new ThrowableCausedByMatcher(WantedButNotInvoked.class)); <del> } <ide> }
Java
apache-2.0
c13f5d9359ebea62d8d97f3d276a0e1f43d04388
0
mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData
/******************************************************************************* * Copyright © 2015 EMBL - European Bioinformatics Institute * <p/> * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
loads/src/main/java/org/mousephenotype/cda/loads/create/extract/cdabase/steps/MarkerProcessorXrefGenes.java
/******************************************************************************* * Copyright © 2015 EMBL - European Bioinformatics Institute * <p/> * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
MGi Seems to have removed VEGA IDs from this report
loads/src/main/java/org/mousephenotype/cda/loads/create/extract/cdabase/steps/MarkerProcessorXrefGenes.java
MGi Seems to have removed VEGA IDs from this report
<ide><path>oads/src/main/java/org/mousephenotype/cda/loads/create/extract/cdabase/steps/MarkerProcessorXrefGenes.java <ide> , "Ensembl Gene start" // L - (unused) <ide> , "Ensembl Gene end" // M - (unused) <ide> , "Ensembl Gene strand" // N - (unused) <del> ...
Java
bsd-2-clause
d616320375f94d08ed2ef070a5b7c13c9eb78c37
0
imagej/imagej-ops
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2018 ImageJ developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of so...
src/main/java/net/imagej/ops/transform/TransformNamespace.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2018 ImageJ developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of s...
Fix permuteCoordinatesInverse call in namespace Before the permuteCoordinatesInverse methods in the transform namespace were calling ops.run() with Ops.Transform.PermuteCoordinatesView.class, which was wrong. Now they call Ops.Transform.PermuteCoordinatesInverseView.class.
src/main/java/net/imagej/ops/transform/TransformNamespace.java
Fix permuteCoordinatesInverse call in namespace
<ide><path>rc/main/java/net/imagej/ops/transform/TransformNamespace.java <ide> * %% <ide> * Redistribution and use in source and binary forms, with or without <ide> * modification, are permitted provided that the following conditions are met: <del> * <add> * <ide> * 1. Redistributions of source code must retain th...
JavaScript
mit
59a5481836605bf3dc6177e643bdcebfef88696e
0
participedia/frontend,participedia/frontend
import React from "react"; import ImageGallery from "react-image-gallery"; class ItemGallery extends React.Component { constructor(props) { super(props); this.defineImage = this.defineImage.bind(this); this.getWidth = this.getWidth.bind(this); this.renderItem = this.renderItem.bind(this); } defi...
src/containers/Case/ItemGallery.js
import React from "react"; import ImageGallery from "react-image-gallery"; class ItemGallery extends React.Component { constructor(props) { super(props); this.defineImage = this.defineImage.bind(this); this.getWidth = this.getWidth.bind(this); this.renderItem = this.renderItem.bind(this); } defi...
Use gallery only for more than one image
src/containers/Case/ItemGallery.js
Use gallery only for more than one image
<ide><path>rc/containers/Case/ItemGallery.js <ide> }; <ide> }); <ide> <del> return ( <del> <ImageGallery <del> items={images} <del> showFullscreenButton={false} <del> renderItem={this.renderItem} <del> slideInterval={2000} <del> /> <del> ); <add> if (images.leng...
Java
apache-2.0
6209c27ede5e569fd7f1ba679aec1e1fa92da66f
0
zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro,zolyfarkas/avro
package org.apache.avro.logicalTypes; import com.google.common.collect.ImmutableMap; import java.io.IOException; import java.io.StringReader; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import java.util.concurrent.Callable; import org.apache.av...
lang/java/avro/src/test/java/org/apache/avro/logicalTypes/TestLogicalType.java
package org.apache.avro.logicalTypes; import com.google.common.collect.ImmutableMap; import java.io.IOException; import java.io.StringReader; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import java.util.concurrent.Callable; import org.apache.av...
[add] json_record logical type support.
lang/java/avro/src/test/java/org/apache/avro/logicalTypes/TestLogicalType.java
[add] json_record logical type support.
<ide><path>ang/java/avro/src/test/java/org/apache/avro/logicalTypes/TestLogicalType.java <ide> Schema bytes = Schema.create(Schema.Type.BYTES); <ide> bytes.addProp(LogicalType.LOGICAL_TYPE_PROP, "json_record"); <ide> bytes.setLogicalType(LogicalTypes.fromSchema(bytes)); <add> <add> Schema bytes2 = Sche...
Java
apache-2.0
24af394ac40a1c788e193e6c1e363f99d6103a6e
0
mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron
/* * Copyright 2014-2021 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
aeron-test-support/src/main/java/io/aeron/test/cluster/ClusterTests.java
/* * Copyright 2014-2021 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
[Java] No need to capture warning for ClusterTerminationException in tests.
aeron-test-support/src/main/java/io/aeron/test/cluster/ClusterTests.java
[Java] No need to capture warning for ClusterTerminationException in tests.
<ide><path>eron-test-support/src/main/java/io/aeron/test/cluster/ClusterTests.java <ide> <ide> if (ex instanceof ClusterTerminationException) <ide> { <del> addWarning(ex); <ide> return; <ide> } <ide>
Java
mit
869ee11520010b70e26352173f3863822aff5c6f
0
samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur,samuelclay/NewsBlur
package com.newsblur.util; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.Date; import java.util.HashSet; import java.util.Set; import android.app.Activity; import android.content.Context; import android.content.In...
clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java
package com.newsblur.util; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.util.Date; import java.util.HashSet; import java.util.Set; import android.app.Activity; import android.content.Context; import android.content.In...
#1379 Automatic light/dark theme
clients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java
#1379 Automatic light/dark theme
<ide><path>lients/android/NewsBlur/src/com/newsblur/util/PrefsUtils.java <ide> <ide> public static ThemeValue getSelectedTheme(Context context) { <ide> SharedPreferences prefs = context.getSharedPreferences(PrefConstants.PREFERENCES, 0); <del> String value = prefs.getString(PrefConstants.THEME, Them...
Java
apache-2.0
ffb6abbea804d6c1041f802f1de33865435436b7
0
smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Let getAllDataFilesFromTableDirectory recurse directories
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java
Let getAllDataFilesFromTableDirectory recurse directories
<ide><path>lugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java <ide> import static com.google.common.base.Preconditions.checkArgument; <ide> import static com.google.common.collect.ImmutableList.toImmutableList; <ide> import static com.google.common.collect.ImmutableMap.toImmutableMa...
Java
apache-2.0
cba08de2512c1b041de2d061fbcc5dc8b0216655
0
HashEngineering/dashj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/darkcoinj,HashEngineering/darkcoinj,HashEngineering/darkcoinj,HashEngineering/dashj
/* * Copyright 2013 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 i...
core/src/main/java/org/bitcoinj/core/Peer.java
/* * Copyright 2013 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 i...
Peer: Process new masternode and governance messages
core/src/main/java/org/bitcoinj/core/Peer.java
Peer: Process new masternode and governance messages
<ide><path>ore/src/main/java/org/bitcoinj/core/Peer.java <ide> import com.google.common.base.Preconditions; <ide> import com.google.common.base.Throwables; <ide> import org.bitcoinj.core.listeners.*; <add>import org.bitcoinj.governance.GovernanceObject; <add>import org.bitcoinj.governance.GovernanceSyncMessage; <add>im...
Java
apache-2.0
7aebf82444a447794721993d86e1ae927a84f388
0
allotria/intellij-community,allotria/intellij-community,xfournet/intellij-community,apixandru/intellij-community,allotria/intellij-community,allotria/intellij-community,xfournet/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,ThiagoGarciaAlves/intellij-community,da1z/intellij-community,mglukh...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-api/src/com/intellij/ide/util/treeView/TreeState.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
TreeState refactoring: move static method to appropriate class and use enum instead of integer values
platform/platform-api/src/com/intellij/ide/util/treeView/TreeState.java
TreeState refactoring: move static method to appropriate class and use enum instead of integer values
<ide><path>latform/platform-api/src/com/intellij/ide/util/treeView/TreeState.java <ide> import com.intellij.util.xmlb.XmlSerializer; <ide> import com.intellij.util.xmlb.annotations.Attribute; <ide> import com.intellij.util.xmlb.annotations.Tag; <del>import org.intellij.lang.annotations.MagicConstant; <ide> import org.j...
Java
apache-2.0
7daa0a7a41ecc9d35f5d1a663cd1baafac28d733
0
Zrips/Jobs
/** * Jobs Plugin for Bukkit * Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com> * * This program 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 3 of the License, or * (at your option)...
com/gamingmesh/jobs/config/GeneralConfigManager.java
/** * Jobs Plugin for Bukkit * Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com> * * This program 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 3 of the License, or * (at your option)...
Option to disable player data preload, false by default.
com/gamingmesh/jobs/config/GeneralConfigManager.java
Option to disable player data preload, false by default.
<ide><path>om/gamingmesh/jobs/config/GeneralConfigManager.java <ide> public Parser maxPointEquation; <ide> <ide> public boolean DisabledWorldsUse; <add> public boolean PreLoadUse; <ide> public List<String> DisabledWorldsList = new ArrayList<String>(); <ide> <ide> public List<Schedule> BoostSchedule...
Java
apache-2.0
0d885d1e9d99f599eceb9fb2ca6bf3d17c5ae3be
0
leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/runtime/GlobalRegistry.java
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
add renew()
sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/runtime/GlobalRegistry.java
add renew()
<ide><path>harding-proxy/src/main/java/io/shardingsphere/shardingproxy/runtime/GlobalRegistry.java <ide> import io.shardingsphere.core.rule.MasterSlaveRule; <ide> import io.shardingsphere.orchestration.internal.event.config.AuthenticationChangedEvent; <ide> import io.shardingsphere.orchestration.internal.event.config.M...
Java
epl-1.0
a9d0899caa6b410d2ffac37af56f01e09a8e9abe
0
subclipse/subclipse,subclipse/subclipse,subclipse/subclipse
package org.tigris.subversion.subclipse.ui.wizards.dialogs; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResourc...
org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/wizards/dialogs/SvnWizardCommitPage.java
package org.tigris.subversion.subclipse.ui.wizards.dialogs; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResourc...
Fix problem in which unversioned files were committed even though deselected using context menu option. Issue #: 816
org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/wizards/dialogs/SvnWizardCommitPage.java
Fix problem in which unversioned files were committed even though deselected using context menu option. Issue #: 816
<ide><path>rg.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/wizards/dialogs/SvnWizardCommitPage.java <ide> } <ide> } <ide> keepLocks = keepLocksButton.getSelection(); <add> selectedResources = resourceSelectionTree.getSelectedResources(); <ide> return true; <...
Java
mit
bc45e476fa995cd93a3365e238a455a61b416980
0
asarraf/Algorithm-Implementation-Using-Map-Reduce,Karthikvb/Algorithm-Implementation-Using-Map-Reduce
// Developer: ANKIT SARRAF // Combiner Class package matrixmultiplication; import java.io.IOException; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; // Combiner Must have the same inputs/ outputs as the Mapper output public class MatrixMultiplicationCombiner extends Reducer<Text, Tex...
matrix-multiplication/src/matrixmultiplication/MatrixMultiplicationCombiner.java
// Developer: ANKIT SARRAF // Combiner Class package matrixmultiplication; import java.io.IOException; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; // Combiner Must have the same inputs/ outputs as the Mapper public class MatrixMultiplicationCombiner extends Reducer<Text, Text, Text...
Update MatrixMultiplicationCombiner.java
matrix-multiplication/src/matrixmultiplication/MatrixMultiplicationCombiner.java
Update MatrixMultiplicationCombiner.java
<ide><path>atrix-multiplication/src/matrixmultiplication/MatrixMultiplicationCombiner.java <ide> import org.apache.hadoop.io.Text; <ide> import org.apache.hadoop.mapreduce.Reducer; <ide> <del>// Combiner Must have the same inputs/ outputs as the Mapper <add>// Combiner Must have the same inputs/ outputs as the Mapper ...
Java
apache-2.0
3cdfc2021fffb846db6ac225bf0c6af94f84f7b5
0
StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna,StuPro-TOSCAna/TOSCAna
package org.opentosca.toscana.core.api.dummy; import org.opentosca.toscana.core.csar.Csar; import org.opentosca.toscana.core.transformation.platform.Platform; import org.opentosca.toscana.core.transformation.Transformation; import org.opentosca.toscana.core.transformation.TransformationService; import org.opentosca.to...
core/src/test/java/org/opentosca/toscana/core/api/dummy/DummyTransformationService.java
package org.opentosca.toscana.core.api.dummy; import org.opentosca.toscana.core.csar.Csar; import org.opentosca.toscana.core.transformation.platform.Platform; import org.opentosca.toscana.core.transformation.Transformation; import org.opentosca.toscana.core.transformation.TransformationService; import org.springframew...
Fixed Compilation error
core/src/test/java/org/opentosca/toscana/core/api/dummy/DummyTransformationService.java
Fixed Compilation error
<ide><path>ore/src/test/java/org/opentosca/toscana/core/api/dummy/DummyTransformationService.java <ide> import org.opentosca.toscana.core.transformation.platform.Platform; <ide> import org.opentosca.toscana.core.transformation.Transformation; <ide> import org.opentosca.toscana.core.transformation.TransformationService;...