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
bsd-3-clause
5be6ab6e589aa0a64f5db169fa5e4a86b47b91cb
0
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
/* * Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.ft.fmrc; import thredds.featurecollection.FeatureCollectionConfig; import ucar.ma2.Array; import ucar.ma2.ArrayDouble; import ucar.ma2.DataType; import ucar...
cdm/core/src/main/java/ucar/nc2/ft/fmrc/FmrcDataset.java
/* * Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.ft.fmrc; import thredds.featurecollection.FeatureCollectionConfig; import ucar.ma2.Array; import ucar.ma2.ArrayDouble; import ucar.ma2.DataType; import ucar...
Fix places where we were assuming a mutable List (3).
cdm/core/src/main/java/ucar/nc2/ft/fmrc/FmrcDataset.java
Fix places where we were assuming a mutable List (3).
<ide><path>dm/core/src/main/java/ucar/nc2/ft/fmrc/FmrcDataset.java <ide> ProxyReader1D proxyReader1D = new ProxyReader1D(); <ide> <ide> // make the time coordinate(s) for each runSeq <del> List<Variable> nonAggVars = result.getVariables(); <add> List<Variable> nonAggVars = new ArrayList(result.getVariabl...
Java
apache-2.0
da29cf241bcee3d2cb244ac9826f28ac18ac8720
0
sjamesr/jfreesane,krichter722/jfreesane,sjamesr/jfreesane
package au.com.southsky.jfreesane; import java.awt.Point; import java.awt.Transparency; import java.awt.color.ColorSpace; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.ComponentColorModel; import java.awt.image.DataBuffer; import java.awt.image.DataBufferByte; import java...
src/main/java/au/com/southsky/jfreesane/SaneImage.java
package au.com.southsky.jfreesane; import java.awt.Point; import java.awt.Transparency; import java.awt.color.ColorSpace; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.ComponentColorModel; import java.awt.image.DataBuffer; import java.awt.image.DataBufferByte; import java...
use CS_sRGB and not CS_LINEAR_RGB. (#40)
src/main/java/au/com/southsky/jfreesane/SaneImage.java
use CS_sRGB and not CS_LINEAR_RGB. (#40)
<ide><path>rc/main/java/au/com/southsky/jfreesane/SaneImage.java <ide> <ide> ColorModel model = <ide> new ComponentColorModel( <del> ColorSpace.getInstance(ColorSpace.CS_LINEAR_RGB), <add> ColorSpace.getInstance(ColorSpace.CS_sRGB), <ide> false, <ide> ...
Java
apache-2.0
083a4ebc5b914e0da9ef151e829caafd028dcf3a
0
xnslong/logging-log4j2,apache/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2,apache/logging-log4j2,codescale/logging-log4j2,xnslong/logging-log4j2,xnslong/logging-log4j2,GFriedrich/logging-log4j2,codescale/logging-log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
Simpler implementation.
log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
Simpler implementation.
<ide><path>og4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java <ide> */ <ide> package org.apache.logging.log4j.junit; <ide> <add>import static org.junit.Assert.fail; <add> <ide> import java.io.File; <ide> import java.io.IOException; <del>import java.nio.file.FileSystems; <ide> import java.nio.file....
Java
mit
6f5f53c8bfe03fc0fe3594aea5afe6d210cb8489
0
mmornati/epomodoro
package net.mornati.epomodoro.communication; import java.net.InetAddress; import java.net.URL; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import net.mornati.epomodoro.Activa...
src/net/mornati/epomodoro/communication/Communication.java
package net.mornati.epomodoro.communication; import java.net.InetAddress; import java.net.URL; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import net.mornati.epomodoro.Activa...
Re-add UDM xml file usage
src/net/mornati/epomodoro/communication/Communication.java
Re-add UDM xml file usage
<ide><path>rc/net/mornati/epomodoro/communication/Communication.java <ide> } else { <ide> System.setProperty("java.net.preferIPv4Stack", "false"); <ide> } <del> channel=new JChannel(); <add> channel=new JChannel(url); <ide> if (ipAddress != null && !ipAddress.equals("")) { <ide> bindAddress(channel, ipAdd...
Java
mit
c4b29afef667552c8745eb4f4dc6ed5d5fe534c2
0
iSach/Samaritan
package be.isach.samaritan.command; import POGOProtos.Inventory.Item.ItemAwardOuterClass; import POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass; import be.isach.samaritan.pokemongo.NameRegistry; import be.isach.samaritan.util.TextUtil; import com.google.maps.GeocodingApi; import com.google.maps.model.G...
src/main/java/be/isach/samaritan/command/CommandPokeGo.java
package be.isach.samaritan.command; import POGOProtos.Inventory.Item.ItemAwardOuterClass; import POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass; import be.isach.samaritan.pokemongo.NameRegistry; import be.isach.samaritan.util.TextUtil; import com.google.maps.GeocodingApi; import com.google.maps.model.G...
Pokemon Go
src/main/java/be/isach/samaritan/command/CommandPokeGo.java
Pokemon Go
<ide><path>rc/main/java/be/isach/samaritan/command/CommandPokeGo.java <ide> import net.dv8tion.jda.entities.MessageChannel; <ide> <ide> import java.text.DecimalFormat; <add>import java.util.ArrayList; <ide> import java.util.Collection; <ide> import java.util.List; <ide> <ide> catchPokemon(); <ide>...
Java
apache-2.0
6394bf41b453d796caabf6e08aeef8cf00053db4
0
subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai
package org.safehaus.kiskis.mgmt.impl.hive.handler; import java.util.Arrays; import java.util.HashSet; import org.safehaus.kiskis.mgmt.api.commandrunner.AgentResult; import org.safehaus.kiskis.mgmt.api.commandrunner.Command; import org.safehaus.kiskis.mgmt.api.commandrunner.RequestBuilder; import org.safehaus.kiskis.m...
management/server/products/hive/hive-impl/src/main/java/org/safehaus/kiskis/mgmt/impl/hive/handler/StopHandler.java
package org.safehaus.kiskis.mgmt.impl.hive.handler; import java.util.Arrays; import java.util.HashSet; import org.safehaus.kiskis.mgmt.api.commandrunner.AgentResult; import org.safehaus.kiskis.mgmt.api.commandrunner.Command; import org.safehaus.kiskis.mgmt.api.commandrunner.RequestBuilder; import org.safehaus.kiskis.m...
fix stop node handler: command didn't run Former-commit-id: 9f9de0c27033461ea8fc99a28d773682c17a62e2
management/server/products/hive/hive-impl/src/main/java/org/safehaus/kiskis/mgmt/impl/hive/handler/StopHandler.java
fix stop node handler: command didn't run
<ide><path>anagement/server/products/hive/hive-impl/src/main/java/org/safehaus/kiskis/mgmt/impl/hive/handler/StopHandler.java <ide> String s = Commands.make(CommandType.STOP, Product.HIVE); <ide> Command cmd = manager.getCommandRunner().createCommand( <ide> new RequestBuilder(s), new Has...
Java
mit
5d394b0c6998b47c15d345e5ac5b70a6e1b9b09a
0
sfrink/CERTUS-Common
package rmi; import java.io.InputStream; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; import dto.CandidateDto; import dto.ElectionDto; import dto.UserDto; import dto.Validator; import dto.VoteDto; import enumeration.Status; import enumeration.ElectionStatus; import enumeration....
src/rmi/ServerInterface.java
package rmi; import java.io.InputStream; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; import dto.CandidateDto; import dto.ElectionDto; import dto.UserDto; import dto.Validator; import dto.VoteDto; import enumeration.Status; import enumeration.ElectionStatus; import enumeration....
Changed to multiple keys
src/rmi/ServerInterface.java
Changed to multiple keys
<ide><path>rc/rmi/ServerInterface.java <ide> <ide> //Vote <ide> public Validator vote(VoteDto v, String sessionID) throws RemoteException; <del> public Validator getTallierPublicKey() throws RemoteException; <add> public Validator getTallierPublicKey(int electionId) throws RemoteException; <ide> ...
Java
apache-2.0
f67261538a49db0a25811dec796c6b4ec28e0668
0
CarGuo/GSYVideoPlayer,CarGuo/GSYVideoPlayer
package com.example.gsyvideoplayer.video; import android.content.Context; import android.graphics.Matrix; import android.graphics.SurfaceTexture; import android.os.Handler; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget....
app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java
package com.example.gsyvideoplayer.video; import android.content.Context; import android.graphics.Matrix; import android.graphics.SurfaceTexture; import android.os.Handler; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget....
修改了SampleVideo问题 (2017-07-11)
app/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java
修改了SampleVideo问题 (2017-07-11)
<ide><path>pp/src/main/java/com/example/gsyvideoplayer/video/SampleVideo.java <ide> @Override <ide> public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { <ide> super.onSurfaceTextureSizeChanged(surface, width, height); <add> releasePauseCoverWhenSizeChangeAndBit...
JavaScript
bsd-3-clause
baed197a7d1140b423e7e728b5b48b2b01069534
0
frantic/react-native,hzgnpu/react-native,pickhardt/react-native,lee-my/react-native,Jonekee/react-native,qq644531343/react-native,lwansbrough/react-native,MetSystem/react-native,levic92/react-native,chirag04/react-native,narlian/react-native,ChiMarvine/react-native,brentvatne/react-native,fengshao0907/react-native,Ehes...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
Libraries/Utilities/Dimensions.js
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
[react_native] JS files from D1998038: [react_native] Calculate density independent screen size in JS to prevent loss of precision
Libraries/Utilities/Dimensions.js
[react_native] JS files from D1998038: [react_native] Calculate density independent screen size in JS to prevent loss of precision
<ide><path>ibraries/Utilities/Dimensions.js <ide> var invariant = require('invariant'); <ide> <ide> var dimensions = NativeModules.UIManager.Dimensions; <add> <add>// We calculate the window dimensions in JS so that we don't encounter loss of <add>// precision in transferring the dimensions (which could be non-integer...
Java
mit
error: pathspec 'java/mafia-game-server/src/main/java/com/mafia/server/model/comm/server/Popup.java' did not match any file(s) known to git
c6b94c8cc72a4c47477650d15c64de1928461dbf
1
team142/mafia,team142/mafia,team142/mafia,team142/mafia
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.mafia.server.model.comm.server; /** * * @author Just1689 */ public class Popup { }
java/mafia-game-server/src/main/java/com/mafia/server/model/comm/server/Popup.java
Actions
java/mafia-game-server/src/main/java/com/mafia/server/model/comm/server/Popup.java
Actions
<ide><path>ava/mafia-game-server/src/main/java/com/mafia/server/model/comm/server/Popup.java <add>/* <add> * To change this license header, choose License Headers in Project Properties. <add> * To change this template file, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package com....
JavaScript
mit
4b34a11f0d60955dbb3df253d35132d54cd6c111
0
ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ArgumentsRequired, ExchangeError, OrderNotFound, AuthenticationError, InsufficientFunds, InvalidOrder, InvalidNonce, NotSupported, OnMaintenance, RateLimitExceeded, BadRe...
js/exmo.js
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ArgumentsRequired, ExchangeError, OrderNotFound, AuthenticationError, InsufficientFunds, InvalidOrder, InvalidNonce, NotSupported, OnMaintenance, RateLimitExceeded, BadRe...
exmo parseOHLCVs args
js/exmo.js
exmo parseOHLCVs args
<ide><path>s/exmo.js <ide> // } <ide> // <ide> const candles = this.safeValue (response, 'candles', []); <del> return this.parseOHLCVs (candles, market, timeframe, since, limit); <add> return this.parseOHLCVs (candles, market); <ide> } <ide> <ide> parseOHLCV (ohlcv, ma...
Java
apache-2.0
2969d5c33ce4812501ca2a61f0f4bf79fff9c1fb
0
arx-deidentifier/arx,RaffaelBild/arx,arx-deidentifier/arx,RaffaelBild/arx
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2018 Fabian Prasser and 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/licen...
src/gui/org/deidentifier/arx/gui/view/impl/common/ComponentRiskProfile.java
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2018 Fabian Prasser and 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/licen...
Bugfix
src/gui/org/deidentifier/arx/gui/view/impl/common/ComponentRiskProfile.java
Bugfix
<ide><path>rc/gui/org/deidentifier/arx/gui/view/impl/common/ComponentRiskProfile.java <ide> // Enable log scale, synchronize with other <ide> if (other != null && other.chart != null && other.chart.getAxisSet() != null) { <ide> if (other.chart.getAxisSet().getXAxes() != null && other.chart.g...
Java
apache-2.0
af1fc0184654dffcd1644ffa7dd3dda832a7b2e7
0
TonnyXu/Zxing,TonnyXu/Zxing,wasn-lab/visual-positioning,smart-make/zxing,Akylas/zxing,smart-make/zxing,youknowone/zxing,wasn-lab/visual-positioning,Akylas/zxing,smart-make/zxing,smart-make/zxing,smart-make/zxing,Akylas/zxing,wasn-lab/visual-positioning,smart-make/zxing,youknowone/zxing,wasn-lab/visual-positioning,Tonny...
/* * Copyright 2007 ZXing 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 agreed ...
core/src/com/google/zxing/common/GridSampler.java
/* * Copyright 2007 ZXing 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 agreed ...
Oops, fix an error introduced in recent change git-svn-id: d565a5fbffec933846bf643895bf9c245569575b@504 59b500cc-1b3d-0410-9834-0bbf25fbcc57
core/src/com/google/zxing/common/GridSampler.java
Oops, fix an error introduced in recent change
<ide><path>ore/src/com/google/zxing/common/GridSampler.java <ide> * @param points actual points in x1,y1,...,xn,yn form <ide> * @throws ReaderException if an endpoint is lies outside the image boundaries <ide> */ <del> static void checkAndNudgePoints(MonochromeBitmapSource image, float[] points) throws Reader...
Java
epl-1.0
8fa0fa86a8459758fb01180280858f6846966d7e
0
jcryptool/crypto,tassadarius/crypto,tassadarius/crypto,jcryptool/crypto
//-----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2020 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * wh...
org.jcryptool.visual.secretsharing/src/org/jcryptool/visual/secretsharing/views/ShamirsSecretSharingComposite.java
//-----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2020 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * wh...
(functional) improve Shamir's secr. sh. drawing calls to include mod p
org.jcryptool.visual.secretsharing/src/org/jcryptool/visual/secretsharing/views/ShamirsSecretSharingComposite.java
(functional) improve Shamir's secr. sh. drawing calls to include mod p
<ide><path>rg.jcryptool.visual.secretsharing/src/org/jcryptool/visual/secretsharing/views/ShamirsSecretSharingComposite.java <ide> pointValue = (int) valueAt(shares.length); <ide> int pointValueMod = pointValue % modul.intValue(); <ide> for (int k = 1; k <= shares.length; k++) { <del> for (int...
JavaScript
mit
e5640003f55dcd56168db76bcc66489c21d653e6
0
MagicCube/movie-board,MagicCube/movie-board,MagicCube/movie-board
import actionCreators from '../actions/status-action-creators'; const loadingActions = []; export default store => next => action => { if (action.payload instanceof Promise) { if (action.type === 'LOAD_SUBJECT') { loadingActions.splice(0, loadingActions.length); } loadingActions.push(action.type)...
src/mb/middleware/ProgressMiddleware.js
import actionCreators from '../actions/status-action-creators'; const loadingActions = []; export default store => next => action => { if (action.payload instanceof Promise) { loadingActions.push(action.type); if (!store.getState().getIn(['status', 'isLoading'])) { store.dispatch(actionCreators.load(...
Bugfix
src/mb/middleware/ProgressMiddleware.js
Bugfix
<ide><path>rc/mb/middleware/ProgressMiddleware.js <ide> <ide> export default store => next => action => { <ide> if (action.payload instanceof Promise) { <add> if (action.type === 'LOAD_SUBJECT') { <add> loadingActions.splice(0, loadingActions.length); <add> } <ide> loadingActions.push(action.type); <i...
Java
apache-2.0
412934f578644ceb3dc4b843369656c3eb184f66
0
apache/incubator-apex-core,simplifi-it/otterx,sandeshh/incubator-apex-core,vrozov/apex-core,brightchen/incubator-apex-core,simplifi-it/otterx,PramodSSImmaneni/apex-core,tushargosavi/apex-core,brightchen/apex-core,ishark/incubator-apex-core,brightchen/apex-core,tweise/apex-core,PramodSSImmaneni/incubator-apex-core,apach...
/** * Copyright (c) 2012-2013 DataTorrent, Inc. * All rights reserved. */ package com.datatorrent.stram.plan.logical; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.OutputStream; import java.io.Serializable; import java.lan...
engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java
/** * Copyright (c) 2012-2013 DataTorrent, Inc. * All rights reserved. */ package com.datatorrent.stram.plan.logical; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.OutputStream; import java.io.Serializable; import java.lan...
Removed spurious print statement.
engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java
Removed spurious print statement.
<ide><path>ngine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java <ide> // Check if partition property of the operator is being honored <ide> if (!n.operatorAnnotation.partitionable()) { <ide> // Check if INITIAL_PARTITION_COUNT is set <del> System.out.println("Partit...
JavaScript
mit
7730d3dc4fd7a3d90f94ad115902ac7f5cf9ccc4
0
Flexberry/ember-flexberry-designer,Flexberry/ember-flexberry-designer,Flexberry/ember-flexberry-designer
import Ember from 'ember'; import { translationMacro as t } from 'ember-i18n'; export default Ember.Component.extend({ /** Form control. @property control @type Object */ control: Ember.inject.service(), /** Label for field. @property label @type String @default undefined */ ...
addon/components/fd-visual-edit-control.js
import Ember from 'ember'; import { translationMacro as t } from 'ember-i18n'; export default Ember.Component.extend({ /** Form control. @property control @type Object */ control: Ember.inject.service(), /** Label for field. @property label @type String @default undefined */ ...
Fix JSCS
addon/components/fd-visual-edit-control.js
Fix JSCS
<ide><path>ddon/components/fd-visual-edit-control.js <ide> @default undefined <ide> */ <ide> avaliableControls: Ember.computed('prototypeBy.classId', function() { <del> if (!this.prototypeBy.devClasses || !this.prototypeBy.classId || ! (this.prototypeBy.classId in this.prototypeBy.devClasses)) { <add> if ...
Java
apache-2.0
error: pathspec 'client/src/test/java/com/alibaba/nacos/client/StringUtilsTest.java' did not match any file(s) known to git
da2f4a1fd5432ffef8f06e229c87a0af84d072ef
1
alibaba/nacos,alibaba/nacos,alibaba/nacos,alibaba/nacos
package com.alibaba.nacos.client; import com.alibaba.nacos.client.utils.StringUtils; import org.junit.Test; import java.util.ArrayList; import java.util.Collection; import static org.junit.Assert.*; import static com.alibaba.nacos.client.utils.StringUtils.*; public class StringUtilsTest { @Test public void...
client/src/test/java/com/alibaba/nacos/client/StringUtilsTest.java
Add unit tests for com.alibaba.nacos.client.utils.StringUtils These tests were written using Diffblue Cover.
client/src/test/java/com/alibaba/nacos/client/StringUtilsTest.java
Add unit tests for com.alibaba.nacos.client.utils.StringUtils
<ide><path>lient/src/test/java/com/alibaba/nacos/client/StringUtilsTest.java <add>package com.alibaba.nacos.client; <add> <add>import com.alibaba.nacos.client.utils.StringUtils; <add>import org.junit.Test; <add> <add>import java.util.ArrayList; <add>import java.util.Collection; <add> <add>import static org.junit.Assert...
JavaScript
apache-2.0
e67dc923c7796518a61740bd6303b9458e239c90
0
ehelms/medipa_web,ehelms/medipa_web
var MW = MW || {}; MW.configuration = (function(){ var save = function(url){ var to_send = {}, name = $('#configuration_name').val(); close_alerts(); to_send['config'] = $.param.fragment(); to_send['name'] = name; $.post(url, to_send)....
medipa/static/javascript/configuration.js
var MW = MW || {}; MW.configuration = (function(){ var save = function(url){ var to_send = {}, name = $('#configuration_name').val(); close_alerts(); to_send['config'] = $.param.fragment(); to_send['name'] = name; $.post(url, to_send)....
Fixes configuration load.
medipa/static/javascript/configuration.js
Fixes configuration load.
<ide><path>edipa/static/javascript/configuration.js <ide> $.get(url).success(function(data){ <ide> $.bbq.pushState(data); <ide> $('#view_configurations').trigger('click'); <add> MW.hash_change(); <ide> }); <ide> }, <ide> close_alerts...
JavaScript
mit
0be8ec16cc31a888f0c3374d03ed6d5a0cf1be68
0
manimejia/manimejia.github.io,manimejia/manimejia.github.io,manimejia/manimejia.github.io
/*** requires: jquery.js foundation.js ****/ var syncAccordionGridContentHeight; // initialize foundation $(document).foundation(); $(document).load(function(){ }); $(document).ready(function(){ //skrollr.menu.init(); // // var locationhash = window.location.hash; // if (locationhash != '' && loca...
theme/manimejia/manimejia.js
/*** requires: jquery.js foundation.js ****/ var syncAccordionGridContentHeight; // initialize foundation $(document).foundation(); $(document).load(function(){ }); $(document).ready(function(){ //skrollr.menu.init(); // // var locationhash = window.location.hash; // if (locationhash != '' && loca...
attempt fix mobile 'double touch' with conditional
theme/manimejia/manimejia.js
attempt fix mobile 'double touch' with conditional
<ide><path>heme/manimejia/manimejia.js <ide> this.$tabWrappers = this.$container.find('[role="tablist"]').children().has('[role="tab"]'); <ide> //this.tabWrapHasPanel = $(this.tabWrapSelector).find(); <ide> <add> this.tabClick = false; // flag to track and touch click events <add> <ide> if(this.settings.queueOp...
Java
mit
2d4ce0630a3c158d84af8a251e22c1d6cfa4b168
0
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.heroes; import com.elmakers.mine.bukkit.api.block.MaterialAndData; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; import com.elmakers.mine.bukkit.api.magic.MagicAPI; import com.elmakers.mine.bukkit.api.spell.CastingCost; import...
Magic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java
package com.elmakers.mine.bukkit.heroes; import com.elmakers.mine.bukkit.api.block.MaterialAndData; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; import com.elmakers.mine.bukkit.api.magic.MagicAPI; import com.elmakers.mine.bukkit.api.spell.CastingCost; import...
Clean up
Magic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java
Clean up
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java <ide> } <ide> } <ide> <add> @Override <ide> public void init() { <ide> Set<String> rawKeys = SkillConfigManager.getRawKeys(this, null); <ide> for (String rawKey : rawKeys) { <ide> return succe...
Java
mit
8122906eaa62b8ceb4efcf4b69e0448c67d6a64d
0
atorstling/bychan
package com.torstling.tdop.fluid.json; import com.torstling.tdop.core.*; import com.torstling.tdop.fluid.Language; import com.torstling.tdop.fluid.LanguageBuilder2; import com.torstling.tdop.fluid.TokenDefinition; import com.torstling.tdop.fluid.TokenDefinitionBuilder; import com.torstling.tdop.fluid.json.nodes.*; imp...
src/test/java/com/torstling/tdop/fluid/json/JsonTest.java
package com.torstling.tdop.fluid.json; import com.torstling.tdop.core.*; import com.torstling.tdop.fluid.Language; import com.torstling.tdop.fluid.LanguageBuilder2; import com.torstling.tdop.fluid.TokenDefinition; import com.torstling.tdop.fluid.TokenDefinitionBuilder; import com.torstling.tdop.fluid.json.nodes.*; imp...
minor
src/test/java/com/torstling/tdop/fluid/json/JsonTest.java
minor
<ide><path>rc/test/java/com/torstling/tdop/fluid/json/JsonTest.java <ide> @NotNull <ide> private TokenDefinition<JsonNode> stringLiteral() { <ide> @org.intellij.lang.annotations.Language("RegExp") <del> String pattern = "\"((?:[^\"\\\\]|\\\\(?:[\"\\/bnrft]|u[0-9A-F]{4}))*)\""; <add> String...
Java
apache-2.0
dd0fe5e43644d23b3151c110af8ac338724179b0
0
yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,yingyun001/o...
package org.ovirt.engine.api.resource; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import org.jboss.resteasy.annotations.providers.jaxb.For...
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/StorageServerConnectionsResource.java
package org.ovirt.engine.api.resource; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import org.jboss.resteasy.annotations.providers.jaxb.For...
restapi: allow storage conn deletion with no host Allow deletion of storage connection without specifying the host. Before this change, deletion of storage connection required host id/name in order to perform a disconnect operation as part of the connection deletion. This change allows deleting the connection from db ...
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/StorageServerConnectionsResource.java
restapi: allow storage conn deletion with no host
<ide><path>ackend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/StorageServerConnectionsResource.java <ide> @Consumes({ ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML }) <ide> public Response add(StorageConnection storageCo...
JavaScript
mit
60b186ec8f0cb71d54bc2c9c1a6c064d02344bfe
0
konko-project/konko,killua8q8/konko,konko-project/konko,killua8q8/konko
'use strict'; /** * Returns the promise of Core * * @param CoreService - service in module konko.core * @returns {Promise} Core promise */ const resolveCoreBasic = CoreService => { 'ngInject'; return CoreService.get({ fields: 'basic' }).$promise; }; /** * Returns the promise of Core * * @param Authenticat...
src/client/core/configs/admin.routes.js
'use strict'; /** * Returns the promise of Core * * @param $state - service in module ui.router.state * @param CoreService - service in module konko.core * @returns {Promise} Core promise */ const resolveCoreBasic = ($state, CoreService) => { 'ngInject'; return CoreService.get({ fields: 'basic' }).$promise; ...
removed unused injection
src/client/core/configs/admin.routes.js
removed unused injection
<ide><path>rc/client/core/configs/admin.routes.js <ide> /** <ide> * Returns the promise of Core <ide> * <del> * @param $state - service in module ui.router.state <ide> * @param CoreService - service in module konko.core <ide> * @returns {Promise} Core promise <ide> */ <del>const resolveCoreBasic = ($state, CoreSer...
Java
apache-2.0
d49d8dd80be0cbe9c0244f35c8985acf3ee89ad0
0
idea4bsd/idea4bsd,allotria/intellij-community,slisson/intellij-community,ol-loginov/intellij-community,ryano144/intellij-community,apixandru/intellij-community,xfournet/intellij-community,dslomov/intellij-community,Distrotech/intellij-community,Lekanich/intellij-community,wreckJ/intellij-community,wreckJ/intellij-commu...
package org.jetbrains.plugins.groovy.lang.psi.impl.synthetic; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Ref; import com.intellij.openapi.wm.ToolWindowManager; imp...
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/synthetic/GrDynamicImplicitMethod.java
package org.jetbrains.plugins.groovy.lang.psi.impl.synthetic; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Ref; import com.intellij.openapi.wm.ToolWindowManager; imp...
read action added
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/synthetic/GrDynamicImplicitMethod.java
read action added
<ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/synthetic/GrDynamicImplicitMethod.java <ide> return myMethod.getHierarchicalMethodSignature(); <ide> } <ide> <del> public boolean hasModifierProperty(@NotNull String name) { <del> return myMethod.hasModifierProperty(name); <add> public ...
Java
apache-2.0
error: pathspec 'google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java' did not match any file(s) known to git
47f3d57ddccee6d7a1f6c1f1450b0a4e34398365
1
googleapis/java-core,googleapis/java-core,googleapis/java-core
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java
Add common interface for field selectors
google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java
Add common interface for field selectors
<ide><path>oogle-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java <add>/* <add> * Copyright 2016 Google Inc. All Rights Reserved. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a...
Java
apache-2.0
459ef34274fef41d78350c6141bbaf2dfeeb57b6
0
estatio/estatio,estatio/estatio,estatio/estatio,estatio/estatio
package org.estatio.dom.lease.invoicing.description; import java.util.Arrays; import java.util.SortedSet; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; import org.assertj.core.api.Assertions; import org.jmock.auto.Mock; import org.joda.time.LocalDate; import org.junit.Before; ...
estatioapp/module/lease/dom/src/test/java/org/estatio/dom/lease/invoicing/description/DocFragments_for_Invoicing_Test.java
package org.estatio.dom.lease.invoicing.description; import java.util.Arrays; import java.util.SortedSet; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; import org.assertj.core.api.Assertions; import org.jmock.auto.Mock; import org.joda.time.LocalDate; import org.junit.Before; ...
EST-1150: backing out derivation of InvoiceItem for France, ignoring tests for now
estatioapp/module/lease/dom/src/test/java/org/estatio/dom/lease/invoicing/description/DocFragments_for_Invoicing_Test.java
EST-1150: backing out derivation of InvoiceItem for France, ignoring tests for now
<ide><path>statioapp/module/lease/dom/src/test/java/org/estatio/dom/lease/invoicing/description/DocFragments_for_Invoicing_Test.java <ide> import org.jmock.auto.Mock; <ide> import org.joda.time.LocalDate; <ide> import org.junit.Before; <add>import org.junit.Ignore; <ide> import org.junit.Rule; <ide> import org.junit.Te...
Java
apache-2.0
4856daf8a9b170b61bfc9d5649bfbf53aa110956
0
sjnyag/stamp,sjnyag/stamp
package com.sjn.stamp.ui.fragment.media_list; import android.support.annotation.NonNull; import android.support.v4.media.MediaBrowserCompat; import com.sjn.stamp.media.QueueManager; import com.sjn.stamp.media.provider.ProviderType; import com.sjn.stamp.ui.activity.DrawerMenu; import com.sjn.stamp.ui.item.QueueTitleIt...
app/src/main/java/com/sjn/stamp/ui/fragment/media_list/QueueListFragment.java
package com.sjn.stamp.ui.fragment.media_list; import android.support.annotation.NonNull; import android.support.v4.media.MediaBrowserCompat; import com.sjn.stamp.media.QueueManager; import com.sjn.stamp.media.provider.ProviderType; import com.sjn.stamp.ui.activity.DrawerMenu; import com.sjn.stamp.ui.item.QueueTitleIt...
fix bug of duplicated queue item
app/src/main/java/com/sjn/stamp/ui/fragment/media_list/QueueListFragment.java
fix bug of duplicated queue item
<ide><path>pp/src/main/java/com/sjn/stamp/ui/fragment/media_list/QueueListFragment.java <ide> import com.sjn.stamp.media.provider.ProviderType; <ide> import com.sjn.stamp.ui.activity.DrawerMenu; <ide> import com.sjn.stamp.ui.item.QueueTitleItem; <del>import com.sjn.stamp.ui.item.SongItem; <ide> import com.sjn.stamp.uti...
Java
apache-2.0
40e54384c7b0138abddc82a3686cc082670f6e96
0
atlasapi/atlas-deer,atlasapi/atlas-deer
package org.atlasapi.query.v4.topic; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Ordering; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Listena...
atlas-api/src/main/java/org/atlasapi/query/v4/topic/IndexBackedTopicQueryExecutor.java
package org.atlasapi.query.v4.topic; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Ordering; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Listena...
fixed bug with duplicate ids from id-only topic queries
atlas-api/src/main/java/org/atlasapi/query/v4/topic/IndexBackedTopicQueryExecutor.java
fixed bug with duplicate ids from id-only topic queries
<ide><path>tlas-api/src/main/java/org/atlasapi/query/v4/topic/IndexBackedTopicQueryExecutor.java <ide> topicIds = attribute.getValue().stream() <ide> .filter(Id.class::isInstance) <ide> .map(Id.class::cast) <add> .dis...
Java
bsd-2-clause
7f8a26585300e6be367b670b2b61e8defacaae95
0
EricssonResearch/openwebrtc-android-sdk,vhqtvn/openwebrtc-android-sdk,surajsraj/openwebrtc-android-sdk
/* * Copyright (c) 2015, Ericsson AB. * 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 must retain the above copyright notice, this * list of condition...
sdk/src/main/java/com/ericsson/research/owr/sdk/RtcSessionImpl.java
/* * Copyright (c) 2015, Ericsson AB. * 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 must retain the above copyright notice, this * list of condition...
RtcSessionImpl: fixed NPE when local candidate listener was null
sdk/src/main/java/com/ericsson/research/owr/sdk/RtcSessionImpl.java
RtcSessionImpl: fixed NPE when local candidate listener was null
<ide><path>dk/src/main/java/com/ericsson/research/owr/sdk/RtcSessionImpl.java <ide> mMainHandler.post(new Runnable() { <ide> @Override <ide> public void run() { <del> mLocalCandidateListener.onLocalCandidate(rtcCandidate); <add> ...
JavaScript
mit
6bdc61b31e092e6c015fd3e30467591e9fd66e14
0
tkh44/smitty
/** @jsx h */ import './style.css' import { render, h, Component } from 'preact' import { Provider, connect } from 'preact-smitty' import { createStore } from '../../src' const store = createStore({ camera: { recording: false, stream: new window.MediaStream(), images: [] } }) const recordVideo = (emit...
demo/src/App.js
/** @jsx h */ import './style.css' // eslint-disable-next-line no-unused-vars import { render, h, Component } from 'preact' import { Provider, connect } from 'preact-smitty' import { createStore } from '../../src' const store = createStore({ camera: { recording: false, stream: new window.MediaStream(), i...
clean up demo code a bit
demo/src/App.js
clean up demo code a bit
<ide><path>emo/src/App.js <ide> /** @jsx h */ <ide> import './style.css' <del>// eslint-disable-next-line no-unused-vars <ide> import { render, h, Component } from 'preact' <ide> import { Provider, connect } from 'preact-smitty' <ide> import { createStore } from '../../src' <ide> <ide> const recordVideo = (emit, { cam...
Java
bsd-2-clause
049fa953a1657f2bee49d3d546572ad91e1150ea
0
scifio/scifio
// // OmeroReader.java // /* OME database I/O package for communicating with OME and OMERO servers. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden and Philip Huettl. 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 ...
components/ome-io/src/loci/ome/io/OmeroReader.java
// // OmeroReader.java // /* OME database I/O package for communicating with OME and OMERO servers. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden and Philip Huettl. 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 ...
Allow data encryption to be disabled. By default, data transfers are encrypted. Calling the 'setEncrypted(false)' method will cause data transfer to be unencrypted. Closes #6697.
components/ome-io/src/loci/ome/io/OmeroReader.java
Allow data encryption to be disabled.
<ide><path>omponents/ome-io/src/loci/ome/io/OmeroReader.java <ide> private String password; <ide> private int thePort = DEFAULT_PORT; <ide> private String sessionID; <add> private boolean encrypted = true; <ide> <ide> private omero.client client; <ide> private RawPixelsStorePrx store; <ide> <ide> public ...
Java
bsd-2-clause
6cd846dfde1685701a56dc878dd32083cbc0e170
0
stavamichal/perun,licehammer/perun,martin-kuba/perun,Natrezim/perun,balcirakpeter/perun,balcirakpeter/perun,jirmauritz/perun,ondrocks/perun,licehammer/perun,Laliska/perun,Natrezim/perun,ondrocks/perun,balcirakpeter/perun,Natrezim/perun,CESNET/perun,Natrezim/perun,Laliska/perun,tauceti2/perun,Natrezim/perun,ondrejvelise...
package cz.metacentrum.perun.registrar.impl; import java.io.*; import java.math.BigInteger; import java.net.URLEncoder; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.crypto.Mac; import javax.crypto.spec.SecretK...
perun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/impl/MailManagerImpl.java
package cz.metacentrum.perun.registrar.impl; import java.io.*; import java.math.BigInteger; import java.net.URLEncoder; import java.sql.ResultSet; import java.sql.SQLException; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.crypto.Mac; import javax.crypto.spec.SecretK...
REGISTRAR: use VO's to/from mail addresses as backup for group notifications. - When group attributes with to/from mail adresses are not set, then try to use VOs attributes instead. If that fails too, use backup address perun@cesnet.cz from config.
perun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/impl/MailManagerImpl.java
REGISTRAR: use VO's to/from mail addresses as backup for group notifications.
<ide><path>erun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/impl/MailManagerImpl.java <ide> /** <ide> * Sets proper value "FROM" to mail message based on VO or GROUP attribute "fromEmail" <ide> * <del> * If attribute not set, BACKUP_FROM address is used <add> * If group attribute not set and is gr...
Java
epl-1.0
7f13375cf6b8cab96cdb1564451957dccfb6fe45
0
chaton78/smarthome,Mixajlo/smarthome,chaton78/smarthome,Snickermicker/smarthome,S0urceror/smarthome,S0urceror/smarthome,plamen-peev/smarthome,vkolotov/smarthome,plamen-peev/smarthome,AchimHentschel/smarthome,vkolotov/smarthome,Snickermicker/smarthome,plamen-peev/smarthome,S0urceror/smarthome,S0urceror/smarthome,cdjacks...
/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
bundles/storage/org.eclipse.smarthome.storage.json/src/main/java/org/eclipse/smarthome/storage/json/JsonStorage.java
/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
Write jsondb backup without renaming original file. (#3439) * Write jsondb backup without renaming original file. * Refactored to add writeDatabaseFile method Signed-off-by: Chris Jackson <711c73f64afdce07b7e38039a96d2224209e9a6c@cd-jackson.com>
bundles/storage/org.eclipse.smarthome.storage.json/src/main/java/org/eclipse/smarthome/storage/json/JsonStorage.java
Write jsondb backup without renaming original file. (#3439)
<ide><path>undles/storage/org.eclipse.smarthome.storage.json/src/main/java/org/eclipse/smarthome/storage/json/JsonStorage.java <ide> this.writeDelay = writeDelay; <ide> this.maxDeferredPeriod = maxDeferredPeriod; <ide> <del> this.mapper = new GsonBuilder().registerTypeAdapter(Map.class, new Stri...
Java
mpl-2.0
a040b69ec37d524b0182a58d8cbedafe8e01d7f7
0
Intelehealth/Android-Mobile-Client
package app.intelehealth.client.activities.patientDetailActivity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.database.sqlite.SQLiteDa...
app/src/main/java/app/intelehealth/client/activities/patientDetailActivity/PatientDetailActivity.java
package app.intelehealth.client.activities.patientDetailActivity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Color; i...
Fixed bug Patient details activity to show parameters as per config file for VSO
app/src/main/java/app/intelehealth/client/activities/patientDetailActivity/PatientDetailActivity.java
Fixed bug
<ide><path>pp/src/main/java/app/intelehealth/client/activities/patientDetailActivity/PatientDetailActivity.java <ide> <ide> import android.content.BroadcastReceiver; <ide> import android.content.Context; <add>import android.content.DialogInterface; <ide> import android.content.Intent; <ide> import android.content.Inte...
Java
apache-2.0
08feb26e4e8ca254e6c1a08b8d01d31ee245050a
0
trejkaz/derby,trejkaz/derby,apache/derby,trejkaz/derby,apache/derby,apache/derby,apache/derby
/* Derby - Class org.apache.derbyTesting.functionTests.tests.lang._Suite 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 ...
java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
/* Derby - Class org.apache.derbyTesting.functionTests.tests.lang._Suite 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 ...
DERBY-2998: Add support for ROW_NUMBER() window function Add OLAPTest to the lang suite. Patch contributed by Thomas Nielsen Patch file: d2998-followup-testsuite.diff git-svn-id: 2c06e9c5008124d912b69f0b82df29d4867c0ce2@633058 13f79535-47bb-0310-9956-ffa450edef68
java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
DERBY-2998: Add support for ROW_NUMBER() window function Add OLAPTest to the lang suite. Patch contributed by Thomas Nielsen Patch file: d2998-followup-testsuite.diff
<ide><path>ava/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java <ide> suite.addTest(CommentTest.suite()); <ide> suite.addTest(NestedWhereSubqueryTest.suite()); <ide> suite.addTest(ConglomerateSharingTest.suite()); <add> suite.addTest(OLAPTest.suite()); <ide> <ide> ...
Java
mit
0d2d50e8796bfdb9f84e4db1addb29c0005b162f
0
petergeneric/stdlib,petergeneric/stdlib,petergeneric/stdlib
package com.peterphi.std.util.jaxb; import com.peterphi.std.util.DOMUtils; import com.peterphi.std.util.jaxb.exception.JAXBRuntimeException; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.InputSource; import javax.xml.bind.JAXBContext; import javax.xml.bind.JA...
stdlib/src/main/java/com/peterphi/std/util/jaxb/JAXBSerialiser.java
package com.peterphi.std.util.jaxb; import com.peterphi.std.util.DOMUtils; import com.peterphi.std.util.jaxb.exception.JAXBRuntimeException; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.InputSource; import javax.xml.bind.JAXBContext; import javax.xml.bind.JA...
Add JAXBSerialiser methods to serialise/deserialise using XMLStreamWriter and XMLStreamReader
stdlib/src/main/java/com/peterphi/std/util/jaxb/JAXBSerialiser.java
Add JAXBSerialiser methods to serialise/deserialise using XMLStreamWriter and XMLStreamReader
<ide><path>tdlib/src/main/java/com/peterphi/std/util/jaxb/JAXBSerialiser.java <ide> import javax.xml.bind.Marshaller; <ide> import javax.xml.bind.PropertyException; <ide> import javax.xml.bind.Unmarshaller; <add>import javax.xml.stream.XMLStreamReader; <add>import javax.xml.stream.XMLStreamWriter; <ide> import javax.xm...
Java
lgpl-2.1
df9fce0d5fca2d1de74baee67fdc387da4c60588
0
ACS-Community/ACS,jbarriosc/ACSUFRO,ACS-Community/ACS,jbarriosc/ACSUFRO,csrg-utfsm/acscb,ACS-Community/ACS,csrg-utfsm/acscb,ACS-Community/ACS,csrg-utfsm/acscb,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,ACS-Community/ACS,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,ACS-Community/ACS,csrg-utfsm/acscb,c...
/* * Created on 13-Feb-2006 * * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2002 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the te...
LGPL/CommonSoftware/jcont/src/alma/acs/container/archive/Range.java
/* * Created on 13-Feb-2006 * * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2002 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the te...
followed schema attr renaming from 'serialized' to 'isLocked' git-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@58543 523d945c-050c-4681-91ec-863ad3bb968a
LGPL/CommonSoftware/jcont/src/alma/acs/container/archive/Range.java
followed schema attr renaming from 'serialized' to 'isLocked'
<ide><path>GPL/CommonSoftware/jcont/src/alma/acs/container/archive/Range.java <ide> public Range(IdentifierRange identifierRange) <ide> { <ide> archiveid = identifierRange.getArchiveID(); <del> isLocked = identifierRange.getSerialised(); <add> isLocked = identifierRange.getIsLocked(); <ide> <ide> RangeT r = ...
JavaScript
mit
9c25548f5b8a15a9ceb981ca83af4d09c88591b8
0
jostschmithals/three.js,makc/three.js.fork,spite/three.js,Samsung-Blue/three.js,shanmugamss/three.js-modified,arodic/three.js,amakaroff82/three.js,jayschwa/three.js,jeffgoku/three.js,brianchirls/three.js,Samsy/three.js,ikerr/three.js,ondys/three.js,mhoangvslev/data-visualizer,bhouston/three.js,julapy/three.js,camellhf/...
/** * @author alteredq / http://alteredqualia.com/ * @author MPanknin / http://www.redplant.de/ * @author takahiro / https://github.com/takahirox * * WebGLDeferredRenderer supports two types of Deferred Renderings. * One is Classic Deferred Rendering and the other one is * Light Pre-Pass (Deferred Lighting). * ...
examples/js/renderers/WebGLDeferredRenderer.js
/** * @author alteredq / http://alteredqualia.com/ * @author MPanknin / http://www.redplant.de/ * @author takahiro / https://github.com/takahirox * * Dependencies * - THREE.CopyShader * - THREE.RenderPass * - THREE.ShaderPass * - THREE.EffectComposer * - THREE.FXAAShader * * TODO * - reuse existing g...
Add Light Pre-Pass Support to WebGLDeferredRenderer (#9833) * Add Light Pre-Pass Support to WebGLDeferredRenderer * Remove lightPrePass parameter from WebGLDeferredRenderer constructor
examples/js/renderers/WebGLDeferredRenderer.js
Add Light Pre-Pass Support to WebGLDeferredRenderer (#9833)
<ide><path>xamples/js/renderers/WebGLDeferredRenderer.js <ide> * @author alteredq / http://alteredqualia.com/ <ide> * @author MPanknin / http://www.redplant.de/ <ide> * @author takahiro / https://github.com/takahirox <add> * <add> * WebGLDeferredRenderer supports two types of Deferred Renderings. <add> * One is Clas...
Java
mit
592884e43dffed31f9717372c0294a221d9d8de9
0
Santino-Wu/cordova-plugin-imagedownloader,Santino-Wu/cordova-plugin-imagedownloader
package com.santinowu.cordova.imagedownloader; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CallbackContext; import java.net.URL; import java.net.URLEncoder; import java.net.HttpURLConnection; import java.io.File; import java.io.InputStream; import java.io.FileOutputStream; import java.lang.Exce...
src/android/ImageDownloader.java
Supports Android
src/android/ImageDownloader.java
Supports Android
<ide><path>rc/android/ImageDownloader.java <add>package com.santinowu.cordova.imagedownloader; <add> <add>import org.apache.cordova.CordovaPlugin; <add>import org.apache.cordova.CallbackContext; <add> <add>import java.net.URL; <add>import java.net.URLEncoder; <add>import java.net.HttpURLConnection; <add>import java.io....
Java
apache-2.0
012ba093e68b08aee24bbae5ab779e93a160cb85
0
stotch/voldemort,arunthirupathi/voldemort,jeffpc/voldemort,rickbw/voldemort,mabh/voldemort,null-exception/voldemort,PratikDeshpande/voldemort,dallasmarlow/voldemort,voldemort/voldemort,FelixGV/voldemort,jalkjaer/voldemort,mabh/voldemort,cshaxu/voldemort,jalkjaer/voldemort,jwlent55/voldemort,LeoYao/voldemort,squarY/vold...
/* * Copyright 2008-2010 LinkedIn, 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 agre...
src/java/voldemort/VoldemortAdminTool.java
/* * Copyright 2008-2010 LinkedIn, 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 agre...
Issue 324 - Voldemort admin tool's write binary entries had a OOM bug
src/java/voldemort/VoldemortAdminTool.java
Issue 324 - Voldemort admin tool's write binary entries had a OOM bug
<ide><path>rc/java/voldemort/VoldemortAdminTool.java <ide> dos.write(keyBytes); <ide> dos.writeInt(versionBytes.length); <ide> dos.write(versionBytes); <del> dos.write(valueBytes.length); <add> dos.writeInt(valueBytes.length); <ide> ...
Java
epl-1.0
c59f6f0a0ae93ff011f51d5e409db7fb41678f7b
0
steve-bate/openhab,teichsta/openhab,jowi24/openhab,robnielsen/openhab,SwissKid/openhab,gilhmauy/openhab,starwarsfan/openhab,digitaldan/openhab,sitewhere/openhab,druciak/openhab,maraszm/openhab,coolweb/openhab,sibbi77/openhab,bakrus/openhab,MitchSUEW/openhab,teichsta/openhab,ShanksSGV/openhab,dmize/openhab,cdjackson/ope...
/** * Copyright (c) 2010-2014, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
bundles/binding/org.openhab.binding.xbmc/src/main/java/org/openhab/binding/xbmc/internal/XbmcGenericBindingProvider.java
/** * Copyright (c) 2010-2014, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
XBMC Binding: prevent NullPointerException during config reload
bundles/binding/org.openhab.binding.xbmc/src/main/java/org/openhab/binding/xbmc/internal/XbmcGenericBindingProvider.java
XBMC Binding: prevent NullPointerException during config reload
<ide><path>undles/binding/org.openhab.binding.xbmc/src/main/java/org/openhab/binding/xbmc/internal/XbmcGenericBindingProvider.java <ide> @Override <ide> public boolean isInBound(String itemname) { <ide> XbmcBindingConfig bindingConfig = (XbmcBindingConfig) bindingConfigs.get(itemname); <del> return bindingConfig.i...
Java
apache-2.0
3f4e1ae22c922d36bbb2e58f2eefa41aff6fb9fc
0
royalrangers-ck/rr-api,royalrangers-ck/rr-api
package com.royalrangers.controller; import com.royalrangers.dto.ResponseResult; import com.royalrangers.service.SubscribeService; import com.royalrangers.utils.ResponseBuilder; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; ...
src/main/java/com/royalrangers/controller/SubscribeController.java
package com.royalrangers.controller; import com.royalrangers.dto.ResponseResult; import com.royalrangers.dto.user.EmailDto; import com.royalrangers.service.SubscribeService; import com.royalrangers.utils.ResponseBuilder; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springfra...
Change request from object to string.
src/main/java/com/royalrangers/controller/SubscribeController.java
Change request from object to string.
<ide><path>rc/main/java/com/royalrangers/controller/SubscribeController.java <ide> package com.royalrangers.controller; <ide> <ide> import com.royalrangers.dto.ResponseResult; <del>import com.royalrangers.dto.user.EmailDto; <ide> import com.royalrangers.service.SubscribeService; <ide> import com.royalrangers.utils.Res...
Java
apache-2.0
5a8384ecfcf8da163af739ef73bbeb1879e0ac1a
0
rprabhat/orientdb,tempbottle/orientdb,allanmoso/orientdb,rprabhat/orientdb,giastfader/orientdb,giastfader/orientdb,tempbottle/orientdb,wouterv/orientdb,joansmith/orientdb,orientechnologies/orientdb,mmacfadden/orientdb,allanmoso/orientdb,tempbottle/orientdb,sanyaade-g2g-repos/orientdb,joansmith/orientdb,wyzssw/orientdb,...
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
unwind - removed RID from projection
core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java
unwind - removed RID from projection
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java <ide> import com.orientechnologies.orient.core.exception.OQueryParsingException; <ide> import com.orientechnologies.orient.core.id.OContextualRecordId; <ide> import com.orientechnologies.orient.core.id.ORID; <del>import co...
JavaScript
apache-2.0
6010e16e80317dc2a556446c7ec812b7cbdde0ed
0
hexj/echarts,hexj/echarts,starlkj/echarts,willseeyou/echarts,100star/echarts,apache/incubator-echarts,willseeyou/echarts,xiayz/echarts,apache/incubator-echarts,ecomfe/echarts,benjaminbecktg/echarts,xiayz/echarts,starlkj/echarts,chenfwind/echarts,willseeyou/echarts,benjaminbecktg/echarts,benjaminbecktg/echarts,starlkj/e...
/** * List for data storage * @module echarts/data/List */ define(function (require) { var UNDEFINED = 'undefined'; var global = window; var Float32Array = typeof global.Float32Array === UNDEFINED ? Array : global.Float32Array; var Int32Array = typeof global.Int32Array === UNDEFINED ...
src/data/List.js
/** * List for data storage * @module echarts/data/List */ define(function (require) { var UNDEFINED = 'undefined'; var global = window; var Float32Array = typeof global.Float32Array === UNDEFINED ? Array : global.Float32Array; var Int32Array = typeof global.Int32Array === UNDEFINED ...
getRawValue fix
src/data/List.js
getRawValue fix
<ide><path>rc/data/List.js <ide> * @return {number} <ide> */ <ide> listProto.getRawValue = function (idx) { <add> idx = this.getRawIndex(idx); <ide> var itemOpt = this._rawData[idx]; <ide> var valueProp = this._valueProp; <ide> if (itemOpt && itemOpt.hasOwnProperty(valueProp...
Java
apache-2.0
c4d98278e94d94187e429d33400b7425b128a577
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2010 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...
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/DispatcherServlet.java
/* * Copyright 2002-2010 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 DispatcherServlet warnings
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/DispatcherServlet.java
Fix DispatcherServlet warnings
<ide><path>rg.springframework.web.servlet/src/main/java/org/springframework/web/servlet/DispatcherServlet.java <ide> * @see org.springframework.web.servlet.mvc.Controller <ide> * @see org.springframework.web.context.ContextLoaderListener <ide> */ <add>@SuppressWarnings("serial") <ide> public class DispatcherServlet ...
Java
apache-2.0
a9ae17e489237c637d032d087685024354501fe1
0
Axway/ats-framework,Axway/ats-framework,Axway/ats-framework
/* * Copyright 2017 Axway 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 * * Unless required by applicable law or agreed t...
environmentcleanup/src/test/java/com/axway/ats/environment/database/Test_DatabaseEnvironmentUnit.java
/* * Copyright 2017 Axway 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 * * Unless required by applicable law or agreed t...
Fix unit tests for DB Backup and Restore
environmentcleanup/src/test/java/com/axway/ats/environment/database/Test_DatabaseEnvironmentUnit.java
Fix unit tests for DB Backup and Restore
<ide><path>nvironmentcleanup/src/test/java/com/axway/ats/environment/database/Test_DatabaseEnvironmentUnit.java <ide> <ide> mockBackupHandler.setLockTables(true); <ide> mockBackupHandler.setDropTables(false); <add> mockBackupHandler.setSkipTablesContent(false); <ide> mockBackupHandler.setForeignKeyCheck(true); ...
JavaScript
mit
d086f68d27f4bf2dc19fd72dbffdf6662159e4f8
0
silverbux/rsjs
355509b3-2e9d-11e5-9b0d-a45e60cdfd11
helloWorld.js
354796f5-2e9d-11e5-aa50-a45e60cdfd11
355509b3-2e9d-11e5-9b0d-a45e60cdfd11
helloWorld.js
355509b3-2e9d-11e5-9b0d-a45e60cdfd11
<ide><path>elloWorld.js <del>354796f5-2e9d-11e5-aa50-a45e60cdfd11 <add>355509b3-2e9d-11e5-9b0d-a45e60cdfd11
JavaScript
mit
4466de2789ce18c5d39f257f673002a742f51162
0
sciooga/v2ex-plus,sciooga/v2ex-plus
/*global img_list emoticon_list triangle_img setClipboardText*/ //获取被@的用户 function get_at_name_list(comment_content){ const name_list = new Set(), patt_at_name = RegExp("@<a href=\"/member/(.+?)\">", "g"); let match = patt_at_name.exec(comment_content); while (match) { name_list.add(match[1...
v2ex_reply.js
/*global img_list emoticon_list triangle_img setClipboardText*/ //获取被@的用户 function get_at_name_list(comment_content){ const name_list = new Set(), patt_at_name = RegExp("@<a href=\"/member/(.+?)\">", "g"); let match = patt_at_name.exec(comment_content); while (match) { name_list.add(match[1...
fixed bug: load gist with warn
v2ex_reply.js
fixed bug: load gist with warn
<ide><path>2ex_reply.js <ide> _reply.css("whiteSpace", "pre-wrap").html(function(i, o){ <ide> return o.replace(/\n<br>/g, "\n").replace(/<br>/g, "\n"); <ide> }); <add> <add> function lazyGist(element) { <add> <add> } <ide> //———回复空格修复——— <ide> <ide> var _reply_content = _reply.htm...
Java
apache-2.0
753df92360067c8d70b437c6f09eaf866e5e06d7
0
openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
ports/jms/src/main/java/org/openengsb/ports/jms/JMSIncomingPort.java
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
[OPENENGSB-2135] Use ISE instead of plain RE in caes jms text extraction fails Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
ports/jms/src/main/java/org/openengsb/ports/jms/JMSIncomingPort.java
[OPENENGSB-2135] Use ISE instead of plain RE in caes jms text extraction fails
<ide><path>orts/jms/src/main/java/org/openengsb/ports/jms/JMSIncomingPort.java <ide> try { <ide> return textMessage.getText(); <ide> } catch (JMSException e) { <del> throw new RuntimeException(e); <add> throw new IllegalStateExcep...
Java
apache-2.0
3666541786bb5c32cbb37264b95f21a61799fa72
0
PAdeojo52/Titans-Text-Game
/**Class: * @author Kevin Stevens * @version 1.0 * Course : * Written: * * * Purpose: - */ import java.util.ArrayList; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.stage.Stage; ...
src/Main.java
/**Class: * @author Kevin Stevens * @version 1.0 * Course : * Written: * * * Purpose: - */ import java.util.ArrayList; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.stage.Stage; ...
Changed parseText method
src/Main.java
Changed parseText method
<ide><path>rc/Main.java <ide> <ide> if (!txt.getInput().equals("")) <ide> { <del> parseText(); <add> parseText(txt.getInput()); <add> txt.resetInput(); <ide> } <ide> <ide> while (countLines(displayText) > 15) <ide> } <ide> } <ide> <del> private void parseText() <del> { <del> String tempInput =...
Java
apache-2.0
557526bf8fec663b44fb003fcb2fa04c9a77ac66
0
AlanJinTS/zstack,AlanJager/zstack,liningone/zstack,AlanJager/zstack,liningone/zstack,hhjuliet/zstack,MatheMatrix/zstack,camilesing/zstack,winger007/zstack,zstackio/zstack,hhjuliet/zstack,mingjian2049/zstack,mingjian2049/zstack,zstackio/zstack,zstackio/zstack,zsyzsyhao/zstack,HeathHose/zstack,HeathHose/zstack,winger007/...
package org.zstack.kvm; import org.zstack.core.logging.LogLabel; /** * Created by xing5 on 2016/6/3. */ public class KVMHostLabel { @LogLabel(messages = { "en_US = ping following DNS names[{0}] to make sure the network connection is working", "zh_CN = ping下列DNS域名:{0},以确保物理机网络可以...
plugin/kvm/src/main/java/org/zstack/kvm/KVMHostLabel.java
package org.zstack.kvm; import org.zstack.core.logging.LogLabel; /** * Created by xing5 on 2016/6/3. */ public class KVMHostLabel { @LogLabel(messages = { "en_US = ping following DNS names[{0}] to make sure the network connection is working", "zh_CN = ping下列DNS域名:{0},以确保物理机网络可以...
Add specific add kvm host i18n support Signed-off-by: Mei Lei <d1c6e4e75080176552ef8271b379adabccaa7551@gmail.com>
plugin/kvm/src/main/java/org/zstack/kvm/KVMHostLabel.java
Add specific add kvm host i18n support
<ide><path>lugin/kvm/src/main/java/org/zstack/kvm/KVMHostLabel.java <ide> public static final String FETCH_SUCC = "ansible.fetch.succ"; <ide> <ide> @LogLabel(messages = { <del> "en_US = starting run command [ [{0}] ] ...", <del> "zh_CN = 开始运行命令: {0} ..." <add> "en_US = starting...
Java
apache-2.0
8fe5c9198e00883f24ab38c6683b9bf87887c9a1
0
Cantara/Java-Auto-Update,Cantara/Java-Auto-Update
package no.cantara.jau; import com.fasterxml.jackson.databind.ObjectMapper; import jdk.nashorn.internal.ir.annotations.Ignore; import no.cantara.jau.serviceconfig.client.ConfigServiceClient; import no.cantara.jau.serviceconfig.client.ConfigurationStoreUtil; import no.cantara.jau.serviceconfig.client.DownloadUtil; impo...
src/test/java/no/cantara/jau/JAUProcessTest.java
package no.cantara.jau; import com.fasterxml.jackson.databind.ObjectMapper; import jdk.nashorn.internal.ir.annotations.Ignore; import no.cantara.jau.serviceconfig.client.ConfigServiceClient; import no.cantara.jau.serviceconfig.client.ConfigurationStoreUtil; import no.cantara.jau.serviceconfig.client.DownloadUtil; impo...
Small typo :)
src/test/java/no/cantara/jau/JAUProcessTest.java
Small typo :)
<ide><path>rc/test/java/no/cantara/jau/JAUProcessTest.java <ide> <ide> @AfterClass <ide> public void stop() { <del> processHolder.startProcess(); <add> if (processHolder != null) { <add> processHolder.stopProcess(); <add> } <ide> restarterHandle.cancel(true); <ide> <ide...
Java
apache-2.0
d6a61a6e286fee2940e559a06c67f5c44c87d1be
0
FamilySearch/gedcomx-java,brenthale/gedcomx-java,brenthale/gedcomx-java
gedcomx-date/src/test/java/org/gedcomx/date/GedcomxDateUtilTest.java
package org.gedcomx.date; import static org.testng.Assert.*; public class GedcomxDateUtilTest { }
removed extra file
gedcomx-date/src/test/java/org/gedcomx/date/GedcomxDateUtilTest.java
removed extra file
<ide><path>edcomx-date/src/test/java/org/gedcomx/date/GedcomxDateUtilTest.java <del>package org.gedcomx.date; <del> <del>import static org.testng.Assert.*; <del> <del>public class GedcomxDateUtilTest { <del> <del>}
Java
apache-2.0
4896852fb504068f4e7ede4d2f1a673f5374c1a9
0
trixon/java-idd
/* * Copyright 2016 Patrik Karlsson. * * 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...
src/main/java/se/trixon/idd/ImageServer.java
/* * Copyright 2016 Patrik Karlsson. * * 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...
Send multiple RemoteInputStreamServer in separate threads
src/main/java/se/trixon/idd/ImageServer.java
Send multiple RemoteInputStreamServer in separate threads
<ide><path>rc/main/java/se/trixon/idd/ImageServer.java <ide> import com.healthmarketscience.rmiio.GZIPRemoteInputStream; <ide> import com.healthmarketscience.rmiio.RemoteInputStreamServer; <ide> import java.awt.event.ActionEvent; <del>import java.awt.event.ActionListener; <ide> import java.io.BufferedInputStream; <ide>...
JavaScript
bsd-3-clause
aad92aa37ddc15bff4f0bc2759cfb8b9e72d7e60
0
vidalab/d3three,vidalab/d3three,vidalab/d3three
var chartOffset = -200; // Override default functions for d3 THREE.Object3D.prototype.appendChild = function (c) { this.add(c); return c; }; THREE.Object3D.prototype.querySelectorAll = function () { return []; }; // this one is to use D3's .attr() on THREE's objects THREE.Object3D.prototype.setAttribute = functio...
d3three.js
var chartOffset = -200; // Override default functions for d3 THREE.Object3D.prototype.appendChild = function (c) { this.add(c); return c; }; THREE.Object3D.prototype.querySelectorAll = function () { return []; }; // this one is to use D3's .attr() on THREE's objects THREE.Object3D.prototype.setAttribute = functio...
Tooltip for surface
d3three.js
Tooltip for surface
<ide><path>3three.js <ide> var ray = new THREE.Raycaster( this._dt.camera.position, <ide> vector.sub( this._dt.camera.position ).normalize() ); <ide> <del> var intersects = ray.intersectObjects( this._nodeGroup.children ); <del> <del> for (var i = 0; i < this._nodeGroup.children.length; i++) { <del> thi...
JavaScript
mit
26bb9ec6cadd1344fe1bdb27c3df6094463a7a46
0
collab-project/videojs-wavesurfer,gintelllect/videojs-wavesurfer
(function(root, factory) { if (typeof define === 'function' && define.amd) { define(['wavesurfer'], factory); } else { root.WaveSurfer.Videojs = factory(root.WaveSurfer); } }(this, function(WaveSurfer) { /** * Use waveform for audio files in video.js player. */ ...
videojs.wavesurfer.js
(function(root, factory) { if (typeof define === 'function' && define.amd) { define(['wavesurfer'], factory); } else { root.WaveSurfer.Videojs = factory(root.WaveSurfer); } }(this, function(WaveSurfer) { /** * Use waveform for audio files in video.js player. */ ...
controlbar fix for video.js 4.12
videojs.wavesurfer.js
controlbar fix for video.js 4.12
<ide><path>ideojs.wavesurfer.js <ide> }); <ide> <ide> // videojs automatically hides the controls when no valid 'source' <del> // element is included in the 'audio' tag. Don't. <add> // element is included in the 'audio' tag. Don't.Ever again. <ide> ...
Java
lgpl-2.1
64d39fc2112c51ec2042993c532b60eec7f83cb7
0
xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/metadata/DocumentSolrMetadataExtractorTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
XWIKI-9313: Can't find first word of an object property field with Solr * fix test
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/metadata/DocumentSolrMetadataExtractorTest.java
XWIKI-9313: Can't find first word of an object property field with Solr * fix test
<ide><path>wiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/metadata/DocumentSolrMetadataExtractorTest.java <ide> <ide> Collection<Object> objectProperties = <ide> solrDocument.getFieldValues(FieldUtils.g...
Java
bsd-2-clause
error: pathspec 'src/com/yubico/base/Configurator.java' did not match any file(s) known to git
5eb6b466045d3873e576f3f7332bd540122dbdcf
1
Yubico/yubico-j,Yubico/yubico-j,Yubico/yubico-j
/* Copyright (c) 2012, Yubico AB. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
src/com/yubico/base/Configurator.java
add utility class for creating yubikey configurations
src/com/yubico/base/Configurator.java
add utility class for creating yubikey configurations
<ide><path>rc/com/yubico/base/Configurator.java <add>/* Copyright (c) 2012, Yubico AB. All rights reserved. <add> <add> Redistribution and use in source and binary forms, with or without <add> modification, are permitted provided that the following conditions <add> are met: <add> <add> * Redistributions of sou...
JavaScript
agpl-3.0
ecc002cbb923f762c6408c9b1dc2760016c97051
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
74f49ef2-2e63-11e5-9284-b827eb9e62be
helloWorld.js
74ef178e-2e63-11e5-9284-b827eb9e62be
74f49ef2-2e63-11e5-9284-b827eb9e62be
helloWorld.js
74f49ef2-2e63-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>74ef178e-2e63-11e5-9284-b827eb9e62be <add>74f49ef2-2e63-11e5-9284-b827eb9e62be
Java
apache-2.0
3b0d97d3cd4a0617c7591144b6d0007115d1e541
0
speedment/speedment,speedment/speedment
/** * * Copyright (c) 2006-2015, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
src/main/java/com/speedment/internal/ui/config/ProjectProperty.java
/** * * Copyright (c) 2006-2015, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Fix bug that project name disappears
src/main/java/com/speedment/internal/ui/config/ProjectProperty.java
Fix bug that project name disappears
<ide><path>rc/main/java/com/speedment/internal/ui/config/ProjectProperty.java <ide> } <ide> <ide> public void loadSettingsFrom(Project prototype) { <add> setName(prototype.getName()); <add> setEnabled(prototype.isEnabled()); <add> setExpanded(prototype.isExpanded()); <add> <ide...
Java
mit
b7277b778701b7bd42474c2d318b0ca641f797df
0
rossdrew/emuRox,rossdrew/emuRox
package com.rox.emu.processor.mos6502.util; import com.rox.emu.UnknownOpCodeException; import com.rox.emu.processor.mos6502.CPU; import com.rox.emu.processor.mos6502.op.AddressingMode; import com.rox.emu.processor.mos6502.op.OpCode; import java.util.Arrays; import java.util.StringTokenizer; import java.util.regex.Mat...
src/main/java/com/rox/emu/processor/mos6502/util/Compiler.java
package com.rox.emu.processor.mos6502.util; import com.rox.emu.UnknownOpCodeException; import com.rox.emu.processor.mos6502.CPU; import com.rox.emu.processor.mos6502.op.AddressingMode; import com.rox.emu.processor.mos6502.op.OpCode; import java.util.Arrays; import java.util.StringTokenizer; import java.util.regex.Mat...
Migrating from byte array to program object in Compiler, with a view to integrating jump labels
src/main/java/com/rox/emu/processor/mos6502/util/Compiler.java
Migrating from byte array to program object in Compiler, with a view to integrating jump labels
<ide><path>rc/main/java/com/rox/emu/processor/mos6502/util/Compiler.java <ide> } <ide> <ide> private int[] compileProgram() throws UnknownOpCodeException{ <del> int[] program = new int[2000]; <del> int i=0; <add> Program workingProgram = new Program(); <ide> <ide> StringTokenizer ...
Java
apache-2.0
bafece46036776ba64312963e4096e3cfb09d902
0
spencergibb/spring-cloud-gateway,spring-cloud-incubator/spring-cloud-gateway,spencergibb/spring-cloud-gateway,spring-cloud-incubator/spring-cloud-gateway
/* * Copyright 2013-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 ap...
spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java
/* * Copyright 2013-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 ap...
Preserve the original, unmodified url in an exchange attribute. It is stored in ServerWebExchangeUtils.GATEWAY_ORIGINAL_REQUEST_URL_ATTR
spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java
Preserve the original, unmodified url in an exchange attribute.
<ide><path>pring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java <ide> public static final String CLIENT_RESPONSE_ATTR = qualify("webHandlerClientResponse"); <ide> public static final String GATEWAY_ROUTE_ATTR = qualify("gatewayRoute"); <ide> public static final...
Java
mit
26ca802df0134f00cf9d6b8372061e7704afe4b8
0
ChioriGreene/ChioriWebServer,ChioriGreene/ChioriWebServer,ChioriGreene/ChioriWebServer,ChioriGreene/ChioriWebServer
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright 2015 Chiori-chan. All Right Reserved. * * @author Chiori Greene * @email chiorigreene@gmail.com ...
src/main/groovy/com/chiorichan/framework/ScriptingBaseJava.java
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright 2015 Chiori-chan. All Right Reserved. * * @author Chiori Greene * @email chiorigreene@gmail.com ...
Change return type for explore method from array to list
src/main/groovy/com/chiorichan/framework/ScriptingBaseJava.java
Change return type for explore method from array to list
<ide><path>rc/main/groovy/com/chiorichan/framework/ScriptingBaseJava.java <ide> return df.format( amt ); <ide> } <ide> <del> String[] explode( String limiter, String data ) <del> { <del> return Splitter.on( limiter ).splitToList( data ).toArray( new String[0] ); <add> List<String> explode( String limiter, String ...
Java
apache-2.0
1d1cf22cb1cfedd801413e05a9a368a63c8069d0
0
naver/ngrinder,naver/ngrinder,naver/ngrinder,naver/ngrinder,naver/ngrinder
/* * 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 * distr...
ngrinder-controller/src/test/java/org/ngrinder/perftest/controller/PerfTestControllerWithRepoTest.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 * distr...
Fix failed Test
ngrinder-controller/src/test/java/org/ngrinder/perftest/controller/PerfTestControllerWithRepoTest.java
Fix failed Test
<ide><path>grinder-controller/src/test/java/org/ngrinder/perftest/controller/PerfTestControllerWithRepoTest.java <ide> public class PerfTestControllerWithRepoTest extends AbstractAgentReadyTest { <ide> <ide> @Autowired <del> private MockPerfTestController controller; <add> private MockPerfTestApiController mockPerfTe...
Java
apache-2.0
c8ded841bb43b763a2fe6eb21e2a32c0bfd26387
0
ngaut/omid,yonigottesman/incubator-omid,satishpatil2k13/Alan_Gates-OMID-HBase,satishpatil2k13/HBASE_OMID,yonigottesman/incubator-omid,satishpatil2k13/HBASE_OMID,satishpatil2k13/Alan_Gates-OMID-HBase,yahoo/omid,yahoo/omid,ngaut/omid
package com.yahoo.omid.notifications; import java.lang.reflect.Field; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concur...
src/main/java/com/yahoo/omid/notifications/AppInstanceNotifier.java
package com.yahoo.omid.notifications; import java.lang.reflect.Field; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concur...
Make apps wait for at least 1 notification
src/main/java/com/yahoo/omid/notifications/AppInstanceNotifier.java
Make apps wait for at least 1 notification
<ide><path>rc/main/java/com/yahoo/omid/notifications/AppInstanceNotifier.java <ide> */ <ide> public List<Notification> getNotifications() throws TException { <ide> List<Notification> notifications = new ArrayList<Notification>(); <del> // TODO use drainTo(notification, maxBatchSi...
Java
apache-2.0
00b5d6dcb8279c776b20b50c0803a407f5bb0f73
0
nus-ncl/services-in-one,nus-ncl/services-in-one
package sg.ncl.service.data.web; import io.jsonwebtoken.Claims; import lombok.extern.slf4j.Slf4j; import org.json.JSONObject; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.we...
service-data/src/main/java/sg/ncl/service/data/web/DataController.java
package sg.ncl.service.data.web; import io.jsonwebtoken.Claims; import lombok.extern.slf4j.Slf4j; import org.json.JSONObject; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.we...
Filter away private datasets for non-admin
service-data/src/main/java/sg/ncl/service/data/web/DataController.java
Filter away private datasets for non-admin
<ide><path>ervice-data/src/main/java/sg/ncl/service/data/web/DataController.java <ide> import org.springframework.security.core.annotation.AuthenticationPrincipal; <ide> import org.springframework.web.bind.annotation.*; <ide> import sg.ncl.common.exception.base.BadRequestException; <add>import sg.ncl.common.exception.b...
Java
apache-2.0
e476963c971d4d8620cba30b21c95928d6f40d3e
0
Larry1123/CanaryUtil
package net.larry1123.util.api.time; import org.apache.commons.lang3.time.DateUtils; public class StringTime { public static enum Part { DAYS("D"), HOUR("H"), MINUTES("M"), SECONDS("S"); private final String ths; Part(String shortn) { ths = shortn; ...
src/main/java/net/larry1123/util/api/time/StringTime.java
package net.larry1123.util.api.time; import org.apache.commons.lang3.time.DateUtils; public class StringTime { public static enum Part { DAYS("D"), HOUR("H"), MINUTES("M"), SECONDS("S"); private final String ths; Part(String shortn) { ths = shortn; ...
-.- darn -1 not working
src/main/java/net/larry1123/util/api/time/StringTime.java
-.- darn -1 not working
<ide><path>rc/main/java/net/larry1123/util/api/time/StringTime.java <ide> } catch (NumberFormatException e) { <ide> for (String part : string.split(" ")) { <ide> if (part.length() >= 2) { <del> String time = part.substring(-1); <add> String time ...
Java
apache-2.0
a140eea7421814b1980dd56efecf441d6f324f9d
0
rav3n/robospice,fahmihidayah/robospice,stephanenicolas/robospice,hgl888/robospice,johnjohndoe/robospice,arunlodhi/robospice,rabyunghwa/robospice,Proper-Job/robospice,ldw85/robospice,dgyuri/robospice-minimal,hgl888/robospice,git4slash/robospice,rabyunghwa/robospice,johnjohndoe/robospice,arunlodhi/robospice,ldw85/robospi...
package com.octo.android.robospice.request; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import roboguice.util.temp.Ln; i...
robospice-core-parent/robospice/src/main/java/com/octo/android/robospice/request/RequestProcessor.java
package com.octo.android.robospice.request; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import roboguice.util.temp.Ln; i...
Add stack trace exception when saving to cache fails.
robospice-core-parent/robospice/src/main/java/com/octo/android/robospice/request/RequestProcessor.java
Add stack trace exception when saving to cache fails.
<ide><path>obospice-core-parent/robospice/src/main/java/com/octo/android/robospice/request/RequestProcessor.java <ide> printRequestProcessingDuration(startTime, request); <ide> return; <ide> } catch (final SpiceException e) { <del> Ln.d("An exception occurred d...
Java
apache-2.0
271335e1a181dab897bec1aaf6ea9b8e97d0a7cc
0
dxxfire/nutz,happyday517/nutz,InsideZhou/nutz,InsideZhou/nutz,dxxfire/nutz,007slm/nutz,happyday517/nutz,dxxfire/nutz,altihou/nutz,ywjno/nutz,livvyguo/nutz,InsideZhou/nutz,fengshao0907/nutz,joansmith/nutz,lzxz1234/nutz,elkan1788/nutz,sunshinefather/nutz,yaotj/nutz,livvyguo/nutz,007slm/nutz,ansjsun/nutz,lzxz1234/nutz,dxx...
package org.nutz.castor; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import...
src/org/nutz/castor/Castors.java
package org.nutz.castor; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.u...
git-svn-id: http://nutz.googlecode.com/svn/trunk@268 423f10f2-e3a4-11dd-a6ea-a32d6b26a33d
src/org/nutz/castor/Castors.java
<ide><path>rc/org/nutz/castor/Castors.java <ide> import java.lang.reflect.Modifier; <ide> import java.net.URL; <ide> import java.util.ArrayList; <add>import java.util.Enumeration; <ide> import java.util.HashMap; <ide> import java.util.Iterator; <ide> import java.util.List; <ide> <ide> /** <ide> * 一个创建 Castor 的工厂类。它的使...
Java
apache-2.0
a403c9aa91e842b7421f202c3434030a727007c5
0
spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/instrument/messaging/BraveKafkaStreamsAutoConfiguration.java
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Added conditional on spring kafka; fixes gh-2037
spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/instrument/messaging/BraveKafkaStreamsAutoConfiguration.java
Added conditional on spring kafka; fixes gh-2037
<ide><path>pring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/instrument/messaging/BraveKafkaStreamsAutoConfiguration.java <ide> @ConditionalOnMessagingEnabled <ide> @ConditionalOnBean(Tracing.class) <ide> @ConditionalOnProperty(value = "spring.sleuth.messaging.kafka.stream...
Java
apache-2.0
c2b7a4ff65dea21e1d01cfe53af2f4172fa7cec5
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.ria.web; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AnonymousAuthenticationToken; import org.springframewo...
src/main/java/ca/corefacility/bioinformatics/irida/ria/web/LoginController.java
package ca.corefacility.bioinformatics.irida.ria.web; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springf...
Redirect user if already logged in
src/main/java/ca/corefacility/bioinformatics/irida/ria/web/LoginController.java
Redirect user if already logged in
<ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/ria/web/LoginController.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> import org.springframework.beans.factory.annotation.Autowired; <add>import org.springframework.security.authentication.AnonymousAuthenticationToken; <add>i...
Java
epl-1.0
c0992870eb757f3d5468ce302a3afff8af542fb5
0
buchen/portfolio,buchen/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,buchen/portfolio,buchen/portfolio,sebasbaumh/portfolio
package name.abuchen.portfolio.money; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.math.RoundingMode; import java.text.DecimalFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.format.DateTimeFormatter;...
name.abuchen.portfolio/src/name/abuchen/portfolio/money/Values.java
package name.abuchen.portfolio.money; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.math.RoundingMode; import java.text.DecimalFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.format.DateTimeFormatter;...
Fixed formatting of shares to include all 8 digits
name.abuchen.portfolio/src/name/abuchen/portfolio/money/Values.java
Fixed formatting of shares to include all 8 digits
<ide><path>ame.abuchen.portfolio/src/name/abuchen/portfolio/money/Values.java <ide> } <ide> }; <ide> <del> public static final Values<Long> Share = new Values<Long>("#,##0.######", 8) //$NON-NLS-1$ <add> public static final Values<Long> Share = new Values<Long>("#,##0.########", 8) //$NON-NLS-1$ <ide...
Java
mit
d8ac06837293f8eaf70be1da9f186152c8a63523
0
Pokechu22/WorldDownloader-Serverside-Companion
package wdl; import org.bukkit.command.CommandSender; import org.bukkit.configuration.Configuration; import org.bukkit.configuration.ConfigurationSection; public class ConfigValidation { public static void validateConfig(Configuration config, CommandSender warnTo) { ConfigurationSection section = confi...
src/main/java/wdl/ConfigValidation.java
package wdl; import org.bukkit.command.CommandSender; import org.bukkit.configuration.ConfigurationSection; public class ConfigValidation { public static void validateConfig(ConfigurationSection config, CommandSender warnTo) { if (!config.isSet("wdl.canDoNewThings")) { warnTo.sendMessage("e[WDL] WAR...
Condensed the config validation code by adding a shared method.
src/main/java/wdl/ConfigValidation.java
Condensed the config validation code by adding a shared method.
<ide><path>rc/main/java/wdl/ConfigValidation.java <ide> package wdl; <ide> <ide> import org.bukkit.command.CommandSender; <add>import org.bukkit.configuration.Configuration; <ide> import org.bukkit.configuration.ConfigurationSection; <ide> <ide> public class ConfigValidation { <del> public static void validateConfig(...
Java
apache-2.0
2623e89c1cbe6c3f64f49ec8ba74ef914e58aca4
0
hss01248/ImageLoader
package com.hss01248.glideloader; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Build; import android.renderscript.RSRuntimeException; import android.sup...
glide/src/main/java/com/hss01248/glideloader/GlideLoader.java
package com.hss01248.glideloader; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Build; import android.renderscript.RSRuntimeException; import android.sup...
我也不知道改了什么,好久了...
glide/src/main/java/com/hss01248/glideloader/GlideLoader.java
我也不知道改了什么,好久了...
<ide><path>lide/src/main/java/com/hss01248/glideloader/GlideLoader.java <ide> } <ide> <ide> // setShapeModeAndBlur(config, request); <del> request.asBitmap().into(target); <add> request.asBitmap().approximate().into(target); <ide> <ide> }else { <ide>
Java
agpl-3.0
64acce3ae2be5600cfa3b6daca0387aa80c04284
0
paulmartel/voltdb,simonzhangsm/voltdb,ingted/voltdb,kumarrus/voltdb,simonzhangsm/voltdb,creative-quant/voltdb,zuowang/voltdb,creative-quant/voltdb,deerwalk/voltdb,wolffcm/voltdb,paulmartel/voltdb,flybird119/voltdb,migue/voltdb,deerwalk/voltdb,creative-quant/voltdb,VoltDB/voltdb,creative-quant/voltdb,kumarrus/voltdb,dee...
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * 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...
tests/test_apps/kvbenchmark/src/kvbench/SyncBenchmark.java
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * 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...
ENG-6043 better date formatting in kvbenchmark
tests/test_apps/kvbenchmark/src/kvbench/SyncBenchmark.java
ENG-6043 better date formatting in kvbenchmark
<ide><path>ests/test_apps/kvbenchmark/src/kvbench/SyncBenchmark.java <ide> final AtomicLong rawPutData = new AtomicLong(0); <ide> final AtomicLong networkPutData = new AtomicLong(0); <ide> <del> static final SimpleDateFormat LOG_DF = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss,SSS"); <add> static final Sim...
Java
apache-2.0
9e2b354af7a14f0a4b668801ef555ba016864c76
0
google/error-prone,google/error-prone
/* * Copyright 2012 The Error Prone 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 ...
core/src/main/java/com/google/errorprone/bugpatterns/ReturnValueIgnored.java
/* * Copyright 2012 The Error Prone 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 ...
Enable return-value-checking of `Map.Entry` APIs. #checkreturnvalue PiperOrigin-RevId: 393126117
core/src/main/java/com/google/errorprone/bugpatterns/ReturnValueIgnored.java
Enable return-value-checking of `Map.Entry` APIs.
<ide><path>ore/src/main/java/com/google/errorprone/bugpatterns/ReturnValueIgnored.java <ide> ReturnValueIgnored::javaTimeTypes, <ide> COLLECTION_METHODS, <ide> MAP_METHODS, <add> MAP_ENTRY_METHODS, <ide> ITERABLE_METHODS, <ide> ITERATOR_METHODS); <ide> <ide> ...
Java
mit
2601fd6d79396c196736918ec8777c05c15b8b23
0
saidie/plantuml-api,saidie/plantuml-api
package io.github.saidie.plantuml_api.config; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.conf...
src/main/java/io/github/saidie/plantuml_api/config/SecurityConfig.java
package io.github.saidie.plantuml_api.config; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.conf...
Fix security config
src/main/java/io/github/saidie/plantuml_api/config/SecurityConfig.java
Fix security config
<ide><path>rc/main/java/io/github/saidie/plantuml_api/config/SecurityConfig.java <ide> public class SecurityConfig extends WebSecurityConfigurerAdapter { <ide> @Override <ide> protected void configure(HttpSecurity http) throws Exception { <del> http.authorizeRequests().antMatchers("/**").permitAll().and(...
Java
mit
d9bc3992a9aadf90d5bb1a8ae8bcdd8f95caf851
0
NamelessMC/Nameless-Plugin
package com.namelessmc.plugin.common.command; import com.namelessmc.java_api.NamelessAPI; import com.namelessmc.java_api.exception.NamelessException; import com.namelessmc.java_api.NamelessUser; import com.namelessmc.java_api.Notification; import com.namelessmc.plugin.common.NamelessPlugin; import com.namelessmc.plugi...
common/src/main/com/namelessmc/plugin/common/command/GetNotificationsCommand.java
package com.namelessmc.plugin.common.command; import com.namelessmc.java_api.NamelessAPI; import com.namelessmc.java_api.exception.NamelessException; import com.namelessmc.java_api.NamelessUser; import com.namelessmc.java_api.Notification; import com.namelessmc.plugin.common.NamelessPlugin; import com.namelessmc.plugi...
Sort using stream, the returned list is unmodifiable
common/src/main/com/namelessmc/plugin/common/command/GetNotificationsCommand.java
Sort using stream, the returned list is unmodifiable
<ide><path>ommon/src/main/com/namelessmc/plugin/common/command/GetNotificationsCommand.java <ide> import org.checkerframework.checker.nullness.qual.NonNull; <ide> <ide> import java.util.List; <add>import java.util.stream.Collectors; <ide> <ide> import static com.namelessmc.plugin.common.LanguageHandler.Term.*; <ide> ...
Java
apache-2.0
de83c9b63221ebcd5e2015a71a891ee13c27ad97
0
crate/crate,crate/crate,crate/crate
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
server/src/main/java/io/crate/planner/operators/JoinPlanBuilder.java
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
Remove stream usage from JoinPlanBuilder for correlated subqueries This is a follow-up to https://github.com/crate/crate/commit/9981eba6df08fab8672ce6e60d7ab81223d93a5b removing the java stream usage.
server/src/main/java/io/crate/planner/operators/JoinPlanBuilder.java
Remove stream usage from JoinPlanBuilder for correlated subqueries
<ide><path>erver/src/main/java/io/crate/planner/operators/JoinPlanBuilder.java <ide> private static boolean containsOuterColumnInCorrelatedSelect(Symbol symbol, AnalyzedRelation relation) { <ide> return SymbolVisitors.any(x -> x instanceof SelectSymbol s && <ide> s.isC...
Java
apache-2.0
ab93a06c3574abe9e49baf8bf21764106d2db0a6
0
MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab
package org.myrobotlab.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import org.myrobotlab.framework.Platform; import org.myrobotlab...
src/test/java/org/myrobotlab/service/ServoTest.java
package org.myrobotlab.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import org.myrobotlab.framework.Platform; import org.myrobotlab...
back to virtual !
src/test/java/org/myrobotlab/service/ServoTest.java
back to virtual !
<ide><path>rc/test/java/org/myrobotlab/service/ServoTest.java <ide> @Before /* start initial state */ <ide> public void setUp() throws Exception { <ide> <del> Platform.setVirtual(false); <add> // Platform.setVirtual(false); - force to make real servo <ide> <ide> servo01 = (Servo) Runtime.start("...
Java
lgpl-2.1
59910b310ef522deb9e8cedd0d7e42005fd20c2c
0
metrospark/czarcraft,Ziftr/nxt,metrospark/czarcraft,fimkrypto/nxt,duckx/nxt,duckx/nxt,Ziftr/nxt,fimkrypto/nxt,duckx/nxt,fimkrypto/nxt,fimkrypto/nxt,Ziftr/nxt,metrospark/czarcraft
package nxt.util; import nxt.Constants; import java.math.BigInteger; import java.util.Arrays; import java.util.Date; public final class Convert { private static final char[] hexChars = { '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f' }; private static final long[] multipliers = {1, 10, 100,...
src/java/nxt/util/Convert.java
package nxt.util; import nxt.Constants; import java.math.BigInteger; import java.util.Arrays; import java.util.Date; public final class Convert { private static final char[] hexChars = { '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f' }; private static final long[] multipliers = {1, 10, 100,...
null pointer
src/java/nxt/util/Convert.java
null pointer
<ide><path>rc/java/nxt/util/Convert.java <ide> <ide> public static Long parseUnsignedLong(String number) { <ide> if (number == null) { <del> throw new IllegalArgumentException("trying to parse null"); <add> return null; <ide> } <ide> BigInteger bigInt = new BigInteger(...
Java
bsd-3-clause
52a22d1eae2e04b927c6fb5c43b1259d0e0766fd
0
inepex/ineform,inepex/ineform
package com.inepex.ineFrame.shared.util; import java.util.Date; import com.inepex.ineFrame.client.i18n.IneFrameI18n; public class DateHelper { public static final long secondInMs = 1000; public static final long minuteInMs = 60 * secondInMs; public static final long hourInMs = 60 * minuteInMs; public static fi...
ineframe/src/main/java/com/inepex/ineFrame/shared/util/DateHelper.java
package com.inepex.ineFrame.shared.util; import java.util.Date; import com.inepex.ineFrame.client.i18n.IneFrameI18n; public class DateHelper { public static final long secondInMs = 1000; public static final long minuteInMs = 60 * secondInMs; public static final long hourInMs = 60 * minuteInMs; public static fi...
adding approachDuration method - avoid strings like '0 min' git-svn-id: 1119f77b1e9a9b65230954af94f4d37570a443ef@832 7ef67a20-634e-90e6-9ab5-3f2075439470
ineframe/src/main/java/com/inepex/ineFrame/shared/util/DateHelper.java
adding approachDuration method - avoid strings like '0 min'
<ide><path>neframe/src/main/java/com/inepex/ineFrame/shared/util/DateHelper.java <ide> sb.append("~ "); <ide> <ide> if(durationInMs<secondInMs*55) { <del> sb.append(10*(durationInMs/(10*secondInMs))); <add> sb.append(Math.max(10, 10*(durationInMs/(10*secondInMs)))); <ide> sb.append(IneFrameI18n.secShort(...
JavaScript
mit
ccf0d06abb3154ee8707ed56bc956987a0437bef
0
brianleroux/lawnchair,brianleroux/lawnchair
var me; // used by a variety of tests. module('Lawnchair construction/destruction', { setup:function() { QUnit.stop(); // Clear the store to prevent invalid store data killing the tests. // e.g. Memory adapter together with "json cyclic" test // will break test "ctor requires c...
test/lawnchair-spec.js
var me; // used by a variety of tests. module('Lawnchair construction/destruction', { setup:function() { QUnit.stop(); // Clear the store to prevent invalid store data killing the tests. // e.g. Memory adapter together with "json cyclic" test // will break test "ctor requires c...
test for exists()
test/lawnchair-spec.js
test for exists()
<ide><path>est/lawnchair-spec.js <ide> QUnit.expect(2); <ide> <ide> store.get('somekey', 'ok(true, "shorthand syntax callback gets evaled"); same(this, store, "`this` should be scoped to the Lawnchair instance"); QUnit.start();'); <add>}); <add> <add>module('exists()', { <add> setup:function() { <add> ...
Java
bsd-2-clause
43393a3dc645aa91a6d3191c77fe5704e9405a13
0
markphip/testing,edgehosting/jira-dvcs-connector,markphip/testing,edgehosting/jira-dvcs-connector,edgehosting/jira-dvcs-connector,markphip/testing
package it.com.atlassian.jira.plugins.dvcs; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.UsernamePasswordCredentials; import org.apache.common...
jira-dvcs-connector-plugin/src/test/java/it/com/atlassian/jira/plugins/dvcs/BitbucketOrganzationsTest.java
package it.com.atlassian.jira.plugins.dvcs; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.UsernamePasswordCredentials; import org.apache.common...
BBC-341 - Fixed todo comments in BitbucketOrganizationsTest
jira-dvcs-connector-plugin/src/test/java/it/com/atlassian/jira/plugins/dvcs/BitbucketOrganzationsTest.java
BBC-341 - Fixed todo comments in BitbucketOrganizationsTest
<ide><path>ira-dvcs-connector-plugin/src/test/java/it/com/atlassian/jira/plugins/dvcs/BitbucketOrganzationsTest.java <ide> } <ide> } <ide> <del> private void loginToBitbucketAndSetJiraOAuthCredentials() //TODO @Before vs not needed for every test method <add> private void loginToBitbucketAndSetJiraOA...
JavaScript
mit
f27d26b969826ce37239edf1761b478e2369ce8e
0
kynarilaarnio/website,miro/kynarilaarnio-website,miro/kynarilaarnio-website,kynarilaarnio/website
'use strict'; var db = require('../models'); var invcodes = require('../routes/invcodes'); var _ = require('lodash'); var sequelize = require('sequelize'); var steamIdConvert = require('steamidconvert')() exports.authorize = function (req, res, next) { if (req.user && req.user.role === 'admin') { next(); } ...
server/routes/users.js
'use strict'; var db = require('../models'); var invcodes = require('../routes/invcodes'); var _ = require('lodash'); var sequelize = require('sequelize'); var steamIdConvert = require('steamidconvert')() exports.authorize = function (req, res, next) { if (req.user && req.user.role === 'admin') { next(); } ...
Some error handling added
server/routes/users.js
Some error handling added
<ide><path>erver/routes/users.js <ide> db.team.create(team).then(function (entity) { <ide> promises.push(entity.setCaptain(user.id)); <ide> invcodes.createTeamCodes(entity, promises); <add> }).catch (function (err) { <add> res.sendStatus(400); <ide> }); <i...
JavaScript
mit
bf43bd046f89bf588889aa6535f893f93f1ff21f
0
malaonline/Android,malaonline/Server,malaonline/iOS,malaonline/Android,malaonline/iOS,malaonline/Server,malaonline/Server,malaonline/iOS,malaonline/Server,malaonline/Android
function Swipe(container, options){ "use strict"; // utilities var noop = function(){}; // simple no operation function var offloadFn = function(fn){ setTimeout(fn || noop, 0) }; // offload a functions execution // check browser capabilities var browser = { addEventListener: !!window.addEventListener,...
server/static/wechat/js/teacher/teacher.js
function Swipe(container, options){ "use strict"; // utilities var noop = function(){}; // simple no operation function var offloadFn = function(fn){ setTimeout(fn || noop, 0) }; // offload a functions execution // check browser capabilities var browser = { addEventListener: !!window.addEventListener,...
WEB-27: photo content change
server/static/wechat/js/teacher/teacher.js
WEB-27: photo content change
<ide><path>erver/static/wechat/js/teacher/teacher.js <ide> var $slide = $('#slide'); <ide> var $imgCont = $slide.find('.swipe-wrap'); <ide> $imgCont.empty(); <del> var newImgs = $('#photoContent').find('img').clone(); <add> var newImgs = $('.teacher_images').find('img').clone(); <ide> for(var i=0;i<newImgs.le...
Java
lgpl-2.1
ed9d06c0bb316d8a19fed43da5c5eb167dab9b81
0
DavideD/hibernate-ogm-contrib,gunnarmorling/hibernate-ogm,schernolyas/hibernate-ogm,hibernate/hibernate-ogm,mp911de/hibernate-ogm,DavideD/hibernate-ogm,gunnarmorling/hibernate-ogm,DavideD/hibernate-ogm-contrib,gunnarmorling/hibernate-ogm,mp911de/hibernate-ogm,hibernate/hibernate-ogm,DavideD/hibernate-ogm-contrib,Davide...
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.couchdb; import java.util.ArrayList; im...
couchdb/src/main/java/org/hibernate/ogm/datastore/couchdb/CouchDBDialect.java
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.couchdb; import java.util.ArrayList; im...
OGM-904 Use more natural format to store map-typed properties in CouchDB - Use natural map format only for in-entity storage
couchdb/src/main/java/org/hibernate/ogm/datastore/couchdb/CouchDBDialect.java
OGM-904 Use more natural format to store map-typed properties in CouchDB
<ide><path>ouchdb/src/main/java/org/hibernate/ogm/datastore/couchdb/CouchDBDialect.java <ide> associationContext <ide> ); <ide> <del> if ( organizeByRowKey ) { <add> if ( isStoredInEntityStructure( <add> associationKey.getMetadata(), <add> associationContext.getAssociationTypeContext() <add> ) && organi...
Java
apache-2.0
d1fe790c002f3d0a789a1b6796f8f0519b855185
0
nilbody/h2o-3,printedheart/h2o-3,datachand/h2o-3,bospetersen/h2o-3,nilbody/h2o-3,mathemage/h2o-3,h2oai/h2o-3,tarasane/h2o-3,tarasane/h2o-3,madmax983/h2o-3,ChristosChristofidis/h2o-3,printedheart/h2o-3,jangorecki/h2o-3,weaver-viii/h2o-3,h2oai/h2o-3,junwucs/h2o-3,jangorecki/h2o-3,mrgloom/h2o-3,bikash/h2o-dev,PawarPawan/h...
package hex.tree.gbm; import hex.ConfusionMatrix; import hex.tree.gbm.GBMModel.GBMParameters.Family; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import water.*; import water.fvec.Chunk; import water.fvec.Frame; import water.util.Log; import static org.junit.Assert.assertEquals; impor...
h2o-algos/src/test/java/hex/tree/gbm/GBMTest.java
package hex.tree.gbm; import hex.ConfusionMatrix; import hex.tree.gbm.GBMModel.GBMParameters.Family; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import water.*; import water.fvec.Chunk; import water.fvec.Frame; import static org.junit.Assert.assertEquals; import static org.junit.Asse...
Added instrumentation to testModelLock to help pinpoint an intermittent failure.
h2o-algos/src/test/java/hex/tree/gbm/GBMTest.java
Added instrumentation to testModelLock to help pinpoint an intermittent failure.
<ide><path>2o-algos/src/test/java/hex/tree/gbm/GBMTest.java <ide> import water.*; <ide> import water.fvec.Chunk; <ide> import water.fvec.Frame; <add>import water.util.Log; <ide> <ide> import static org.junit.Assert.assertEquals; <ide> import static org.junit.Assert.assertTrue; <ide> try { Thread.sleep(50); } cat...
Java
apache-2.0
5a226cde8e3de3ff40a0f23c0e9c68355b21ad33
0
kkirsche/elasticsearch,wimvds/elasticsearch,jango2015/elasticsearch,smflorentino/elasticsearch,gingerwizard/elasticsearch,NBSW/elasticsearch,JervyShi/elasticsearch,diendt/elasticsearch,StefanGor/elasticsearch,truemped/elasticsearch,fred84/elasticsearch,wenpos/elasticsearch,nellicus/elasticsearch,kalimatas/elasticsearch...
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
src/main/java/org/elasticsearch/Version.java
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
add 0.19.13
src/main/java/org/elasticsearch/Version.java
add 0.19.13
<ide><path>rc/main/java/org/elasticsearch/Version.java <ide> public static final Version V_0_19_11 = new Version(V_0_19_11_ID, false); <ide> public static final int V_0_19_12_ID = /*00*/191299; <ide> public static final Version V_0_19_12 = new Version(V_0_19_12_ID, false); <add> public static final int V...
Java
apache-2.0
d69181fe75d9cfa4542d565f4ca4af4cd8f8d013
0
apache/commons-text,apache/commons-text
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.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 ...
Sort members.
src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java
Sort members.
<ide><path>rc/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java <ide> } <ide> <ide> @Test <add> void testJavaScript() { <add> Assertions.assertEquals("Hello World!", <add> StringSubstitutor.createInterpolator().replace("${script:javascript:\"Hello...
JavaScript
mit
86284f7f1ab6e28be7e9b457e3e8734d0bf7eaef
0
lalcmellkmal/doushio,lalcmellkmal/doushio,lalcmellkmal/doushio,lalcmellkmal/doushio,lalcmellkmal/doushio
var config = require('./config'); var imagerConfig = require('./imager/config'); var DEFINES = exports; DEFINES.INVALID = 0; DEFINES.INSERT_POST = 2; DEFINES.UPDATE_POST = 3; DEFINES.FINISH_POST = 4; DEFINES.CATCH_UP = 5; DEFINES.INSERT_IMAGE = 6; DEFINES.SPOILER_IMAGES = 7; DEFINES.DELETE_IMAGES = 8; DEFINES.DELETE_P...
common.js
var config = require('./config'); var imagerConfig = require('./imager/config'); var DEFINES = exports; DEFINES.INVALID = 0; DEFINES.INSERT_POST = 2; DEFINES.UPDATE_POST = 3; DEFINES.FINISH_POST = 4; DEFINES.CATCH_UP = 5; DEFINES.INSERT_IMAGE = 6; DEFINES.SPOILER_IMAGES = 7; DEFINES.DELETE_IMAGES = 8; DEFINES.DELETE_P...
Document text tokenization a little
common.js
Document text tokenization a little
<ide><path>ommon.js <ide> DEFINES.MAX_POST_CHARS = 2000; <ide> DEFINES.WORD_LENGTH_LIMIT = 120; <ide> <add>/// OneeSama.state[0] flags <ide> DEFINES.S_NORMAL = 0; <ide> DEFINES.S_BOL = 1; <ide> DEFINES.S_QUOTE = 2; <ide> }; <ide> } <ide> <add>/// converts one >>ref to html <ide> OS.red_string = function (ref) { <ide...
Java
apache-2.0
error: pathspec 'camera/camera-video/src/main/java/androidx/camera/video/VideoRecordEvent.java' did not match any file(s) known to git
474f9d439bea0197e716d946c3c54baef654ebad
1
androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/andro...
/* * 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...
camera/camera-video/src/main/java/androidx/camera/video/VideoRecordEvent.java
[Video] Add VideoRecordEvent class VideoRecordEvent is used to report the events and status of video recording. Bug: b/177182068 Test: ./gradlew :camera:camera-video:lintDebug; ./gradlew:camera:camera-video:runErrorProne Change-Id: I7e7f4f4bbbd8f6fde636506e2853811c89f05563
camera/camera-video/src/main/java/androidx/camera/video/VideoRecordEvent.java
[Video] Add VideoRecordEvent class
<ide><path>amera/camera-video/src/main/java/androidx/camera/video/VideoRecordEvent.java <add>/* <add> * Copyright 2020 The Android Open Source Project <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may ...
Java
apache-2.0
8c3cd8c3fbaeaf6c8262ecbf374c0c0d4e59a1c3
0
marklogic/marklogic-contentpump,marklogic/marklogic-contentpump,marklogic/marklogic-contentpump,marklogic/marklogic-contentpump
/* * Copyright 2003-2016 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...
mlcp/src/main/java/com/marklogic/contentpump/utilities/TransformHelper.java
/* * Copyright 2003-2016 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:41841 use temporal:document-insert when temporal collection is specified with import transform
mlcp/src/main/java/com/marklogic/contentpump/utilities/TransformHelper.java
bug:41841 use temporal:document-insert when temporal collection is specified with import transform
<ide><path>lcp/src/main/java/com/marklogic/contentpump/utilities/TransformHelper.java <ide> optionsMap.put("xml-repair-level", "repair-" + repairLevel); <ide> } <ide> <add> String temporalCollection = cOptions.getTemporalCollection(); <add> if (temporalCollection != null) { <add> ...
Java
apache-2.0
6421949233eaa75911a71ed0f208357c0e10b2d4
0
gnuhub/intellij-community,asedunov/intellij-community,clumsy/intellij-community,samthor/intellij-community,alphafoobar/intellij-community,signed/intellij-community,MichaelNedzelsky/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,TangHao1987/intellij-community,idea4bsd/idea4b...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/util/src/com/intellij/openapi/util/io/FileUtil.java
/* * Copyright 2000-2014 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...
simplify: null is not possible here
platform/util/src/com/intellij/openapi/util/io/FileUtil.java
simplify: null is not possible here
<ide><path>latform/util/src/com/intellij/openapi/util/io/FileUtil.java <ide> public static ThreeState isAncestorThreeState(@NotNull String ancestor, @NotNull String file, boolean strict) { <ide> String ancestorPath = toCanonicalPath(ancestor); <ide> String filePath = toCanonicalPath(file); <del> <del> if (...
Java
apache-2.0
bac77e2665293a7f35afede779543cb424278a1b
0
ham1/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/reports/org/apache/jmeter/report/gui/action/AbstractAction.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 ...
Remove unused code git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@701727 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: bc990bcdafe1fe44bf1f21d489ca32e491cd2a24
src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java
Remove unused code
<ide><path>rc/reports/org/apache/jmeter/report/gui/action/AbstractAction.java <ide> package org.apache.jmeter.report.gui.action; <ide> <ide> import java.awt.event.ActionEvent; <del>import java.util.Iterator; <del>import java.util.LinkedList; <ide> import java.util.Set; <ide> <ide> import javax.swing.JOptionPane; <ide...
Java
mit
e1d3548c771983e38c6dffb07e88dc95597ceea9
0
Bipshark/TDA367,Bipshark/TDA367
package edu.chalmers.sankoss.java; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Server; import edu.chalmers.sankoss.core.CorePlayer; import edu.chalmers.sankoss.core.Network; import edu.chalmers.sankoss.core.Room; import edu.chalmers....
server/src/main/java/edu/chalmers/sankoss/java/SankossServer.java
package edu.chalmers.sankoss.java; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Server; import edu.chalmers.sankoss.core.CorePlayer; import edu.chalmers.sankoss.core.Network; import edu.chalmers.sankoss.core.Room; import edu.chalmers....
Changed the server to send ErrorMsg instead of empty objects
server/src/main/java/edu/chalmers/sankoss/java/SankossServer.java
Changed the server to send ErrorMsg instead of empty objects
<ide><path>erver/src/main/java/edu/chalmers/sankoss/java/SankossServer.java <ide> */ <ide> for (Room room : RoomFactory.getRooms().values()) { <ide> if (room.hasPlayerWithID(player.getID())) { <del> connection.sendTCP(new Create...
Java
apache-2.0
9343c9cb52b344504aa7150462f4fdfb27878383
0
jordiprats/eypconf,jordiprats/eypconf
package com.perdiguer.eypconf.forge; import java.util.Date; public class ForgeModule { public String uri; public String slug; public String name; public int downloads=0; public Date created_at=null; public Date updated_at=null; public Date deprecated_at=null; public Date deprecated_for=null; ...
src/main/java/com/perdiguer/eypconf/forge/ForgeModule.java
package com.perdiguer.eypconf.forge; import java.util.Date; public class ForgeModule { public String uri; public String slug; public String name; public int downloads=0; public Date created_at=null; public Date updated_at=null; public Date deprecated_at=null; public Date deprecated_for=null; ...
afegida relacio
src/main/java/com/perdiguer/eypconf/forge/ForgeModule.java
afegida relacio
<ide><path>rc/main/java/com/perdiguer/eypconf/forge/ForgeModule.java <ide> public Date deprecated_for=null; <ide> public Date superseded_by=null; <ide> public boolean supported=false; <add> public ForgeUser owner; <ide> public String version; <ide> <ide> public ForgeModule()
Java
mit
6eb3331c27618ccad824fc2934d3b016c0a20d80
0
wysaid/android-gpuimage-plus,wysaid/android-gpuimage-plus,wysaid/android-gpuimage-plus,wysaid/android-gpuimage-plus
package org.wysaid.cgeDemo.demoUtils; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Rect; import android.opengl.GLES20; import android.util.Log; import org.wysaid.common.Common; import org.wysaid.common.FrameBufferObject; import org.wysaid.comm...
cgeDemo/src/main/java/org/wysaid/cgeDemo/demoUtils/FaceTrackingDemo.java
package org.wysaid.cgeDemo.demoUtils; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Rect; import android.opengl.GLES20; import android.util.Log; import org.wysaid.common.Common; import org.wysaid.common.FrameBufferObject; import org.wysaid.comm...
bug fix: the face tracking can't work correctly because of the wrong alpha blending of bitmap.
cgeDemo/src/main/java/org/wysaid/cgeDemo/demoUtils/FaceTrackingDemo.java
bug fix: the face tracking can't work correctly because of the wrong alpha blending of bitmap.
<ide><path>geDemo/src/main/java/org/wysaid/cgeDemo/demoUtils/FaceTrackingDemo.java <ide> if (mOriginWidth == width && mOriginHeight == height) <ide> return; <ide> <del> float scaling = mMaxSize / (float) Math.min(width, height); <add> float scaling = mMaxSize / (float) Math.max(width,...
JavaScript
mit
5fa3ca04c72cfc551f8c472dd939ae8fb730ef65
0
jurem/obisk,jurem/obisk
var Obisk={ url:"http://lalg.fri.uni-lj.si/obisk/obisk.php", //url:"obisk.php", getBTCVisits: function(from,to,callback){ var q={}; q["qid"]=0; q["from"]=from; q["to"]=to; $.post(this.url, {"query": JSON.stringify(q) }).done(function(data){ callback(JSON.parse(data)); }); }, getAllBTCVisits: function(...
db_interface/obisk.js
var Obisk={ url:"http://lalg.fri.uni-lj.si/obisk/obisk.php", //url:"obisk.php", getBTCVisits: function(from,to,callback){ var q={}; q["qid"]=0; q["from"]=from; q["to"]=to; $.post(this.url, {"query": JSON.stringify(q) }).done(function(data){ callback(JSON.parse(data)); }); }, getAllBTCVisits: function(...
Correction in obisk.js api
db_interface/obisk.js
Correction in obisk.js api
<ide><path>b_interface/obisk.js <ide> <ide> $.post(this.url, {"query": JSON.stringify(q) }).done(function(data){ callback(JSON.parse(data)); }); <ide> }, <del> <add> <ide> getBTCVisitsInput: function(loc,from,to,callback){ <ide> var q={}; <ide> q["qid"]=4; <ide> q["loc"]=loc; <ide> <ide> $.post(this.url...