lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
28c337c1434ab0a624eee18a72f933404ac94a85
0
google/blockly-android,rohlfingt/blockly-android,google/blockly-android,rohlfingt/blockly-android,rohlfingt/blockly-android,google/blockly-android
/* * Copyright 2015 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 applicable law or agr...
app/src/main/java/com/google/blockly/ui/BlockView.java
/* * Copyright 2015 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 applicable law or agr...
Removed obsolete Log()
app/src/main/java/com/google/blockly/ui/BlockView.java
Removed obsolete Log()
<ide><path>pp/src/main/java/com/google/blockly/ui/BlockView.java <ide> import android.graphics.Color; <ide> import android.graphics.Paint; <ide> import android.graphics.Path; <del>import android.util.Log; <ide> import android.view.MotionEvent; <ide> import android.view.View; <ide> import android.widget.FrameLayout; <id...
Java
apache-2.0
d3f2549011e7dc6af802d74375f9745fc505d8e0
0
kelemen/JTrim,kelemen/JTrim
package org.jtrim.access; import java.util.*; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import org.jtrim.cancel.CancellationToken; import org.jtrim.collections.RefCollect...
jtrim-gui/src/main/java/org/jtrim/access/ScheduledAccessToken.java
package org.jtrim.access; import java.util.*; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import org.jtrim.cancel.CancellationToken; import org.jtrim.collections.RefCollect...
Minor optimization in ScheduledAccessToken.
jtrim-gui/src/main/java/org/jtrim/access/ScheduledAccessToken.java
Minor optimization in ScheduledAccessToken.
<ide><path>trim-gui/src/main/java/org/jtrim/access/ScheduledAccessToken.java <ide> QueuedTask queuedTask = toSubmit.remove(0); <ide> <ide> try { <del> executor.execute( <del> queuedTask.cancelToken, <del> queuedTas...
Java
apache-2.0
7762036bf864b49122d555017be4ec91dfc4edfd
0
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
/* * $Log: Adapter.java,v $ * Revision 1.49 2008-09-22 13:28:45 europe\L190409 * use CounterStatistics for counters * changed references to Hashtable to Map * output statistics in order of Pipes * * Revision 1.48 2008/09/04 12:02:27 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * collect interval s...
JavaSource/nl/nn/adapterframework/core/Adapter.java
/* * $Log: Adapter.java,v $ * Revision 1.48 2008-09-04 12:02:27 europe\L190409 * collect interval statistics * * Revision 1.47 2008/08/27 15:54:07 Gerrit van Brakel <gerrit.van.brakel@ibissource.org> * added reset option to statisticsdump * * Revision 1.46 2008/08/12 15:31:13 Gerrit van Brakel <gerrit.van...
use CounterStatistics for counters changed references to Hashtable to Map output statistics in order of Pipes
JavaSource/nl/nn/adapterframework/core/Adapter.java
use CounterStatistics for counters changed references to Hashtable to Map output statistics in order of Pipes
<ide><path>avaSource/nl/nn/adapterframework/core/Adapter.java <ide> /* <ide> * $Log: Adapter.java,v $ <del> * Revision 1.48 2008-09-04 12:02:27 europe\L190409 <add> * Revision 1.49 2008-09-22 13:28:45 europe\L190409 <add> * use CounterStatistics for counters <add> * changed references to Hashtable to Map <add> * o...
Java
mit
df8b402de23dd3c08e111585c194440d8e386643
0
buzztaiki/jenova
/* * Copyright (C) 2012 Taiki Sugawara * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
src/main/java/com/github/buzztaiki/jenova/LambdaTransformer.java
/* * Copyright (C) 2012 Taiki Sugawara * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
Support java7 at runtime.
src/main/java/com/github/buzztaiki/jenova/LambdaTransformer.java
Support java7 at runtime.
<ide><path>rc/main/java/com/github/buzztaiki/jenova/LambdaTransformer.java <ide> } <ide> <ide> private JCTree.JCClassDecl classBody(JCTree.JCClassDecl orig, JCTree.JCMethodDecl method) { <del> return maker.ClassDef( <add> return maker.AnonymousClassDef( <ide> orig.getModifiers(), <del...
JavaScript
apache-2.0
9006a6fc06c76849dbd9b6b96913ec5a911bd7b0
0
shopgate/theme-gmd
import { connect } from 'react-redux'; import { historyPush } from '@shopgate/pwa-common/actions/router'; /** * Connects the dispatch function to a callable function in the props. * @param {Function} dispatch The redux dispatch function. * @return {Object} The extended component props. */ const mapDispatchToProps...
widgets/Html/connector.js
import { connect } from 'react-redux'; import { historyPush } from '@shopgate/pwa-common/actions/router'; /** * Connects the dispatch function to a callable function in the props. * @param {Function} dispatch The redux dispatch function. * @return {Object} The extended component props. */ const mapDispatchToProps...
PWA-1774 Added an additional test for the MediaProvider base class
widgets/Html/connector.js
PWA-1774 Added an additional test for the MediaProvider base class
<ide><path>idgets/Html/connector.js <ide> * @return {Object} The extended component props. <ide> */ <ide> const mapDispatchToProps = dispatch => ({ <del> navigate: params => dispatch(historyPush(params)), <add> navigate: (pathname, target) => dispatch(historyPush({ <add> pathname, <add> ...target && { state: ...
Java
apache-2.0
error: pathspec 'tracing/src/test/java/com/palantir/remoting3/tracing/CloseableTracerTest.java' did not match any file(s) known to git
8db29cbd4e5152955fa688bd65b7f333fc289348
1
palantir/http-remoting,palantir/http-remoting
/* * (c) Copyright 2018 Palantir Technologies 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 ...
tracing/src/test/java/com/palantir/remoting3/tracing/CloseableTracerTest.java
Add CloseableTracerTest (#718)
tracing/src/test/java/com/palantir/remoting3/tracing/CloseableTracerTest.java
Add CloseableTracerTest (#718)
<ide><path>racing/src/test/java/com/palantir/remoting3/tracing/CloseableTracerTest.java <add>/* <add> * (c) Copyright 2018 Palantir Technologies 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 Licen...
JavaScript
mit
d201f6ea1e21de577122baeed5b506217e4d8029
0
mainelander/three.js,Kasual666/WebGl,MasterJames/three.js,fomenyesu/three.js,Cakin-Kwong/three.js,brason/three.js,fraguada/three.js,jeromeetienne/three.js,Pro/three.js,kkjeer/three.js,gsssrao/three.js,Kasual666/WebGl,quinonez/three.js,sweetmandm/three.js,coffeine-009/three.js,leeric92/three.js,Jerdak/three.js,fta2012/t...
/** * @author supereggbert / http://www.paulbrunt.co.uk/ * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * @author szimek / https://github.com/szimek/ */ THREE.WebGLRenderer = function ( parameters ) { console.log( 'THREE.WebGLRenderer', THREE.REVISION ); parameters = para...
src/renderers/WebGLRenderer.js
/** * @author supereggbert / http://www.paulbrunt.co.uk/ * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * @author szimek / https://github.com/szimek/ */ THREE.WebGLRenderer = function ( parameters ) { console.log( 'THREE.WebGLRenderer', THREE.REVISION ); parameters = para...
WebGLRenderer: Fixed disableAttributes disabling strings instead of integers.
src/renderers/WebGLRenderer.js
WebGLRenderer: Fixed disableAttributes disabling strings instead of integers.
<ide><path>rc/renderers/WebGLRenderer.js <ide> <ide> function disableAttributes() { <ide> <del> for ( var attribute in _enabledAttributes ) { <del> <del> if ( _enabledAttributes[ attribute ] === 1 ) { <del> <del> _gl.disableVertexAttribArray( attribute ); <del> _enabledAttributes[ attribute ] = 0; <add> fo...
Java
apache-2.0
d18258fecf7ff48fcec540812d6dd140bd69a5b0
0
phax/ph-commons
/** * Copyright (C) 2014-2015 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
src/main/java/com/helger/commons/xml/serialize/write/XMLWriterSettings.java
/** * Copyright (C) 2014-2015 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
Fixed XML bracket bug in XHTML emitting
src/main/java/com/helger/commons/xml/serialize/write/XMLWriterSettings.java
Fixed XML bracket bug in XHTML emitting
<ide><path>rc/main/java/com/helger/commons/xml/serialize/write/XMLWriterSettings.java <ide> <ide> /** <ide> * Set the dynamic (per-element) indent determinator to be used. <del> * <add> * <ide> * @param aIndentDeterminator <ide> * The object to use. May not be <code>null</code>. <ide> * @retu...
Java
mit
d115478d104f73337c07f8a89e8f74fa2e4fa6ef
0
mzmine/mzmine3,mzmine/mzmine3
/* * Copyright 2006-2021 The MZmine Development Team * * This file is part of MZmine. * * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the * License, or (at your option) any ...
src/main/java/io/github/mzmine/modules/visualization/spectra/msn_tree/MSnTreeTab.java
/* * Copyright 2006-2021 The MZmine Development Team * * This file is part of MZmine. * * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the * License, or (at your option) any ...
Auto zoom range
src/main/java/io/github/mzmine/modules/visualization/spectra/msn_tree/MSnTreeTab.java
Auto zoom range
<ide><path>rc/main/java/io/github/mzmine/modules/visualization/spectra/msn_tree/MSnTreeTab.java <ide> } <ide> p.getChart().fireChartChanged(); <ide> } <add> chartGroup.resetRangeZoom(); <ide> } <ide> } <ide>
JavaScript
bsd-3-clause
1e1721e934720c31aaac4f351f40c4adc5605157
0
bonham000/fcc-react-tests-module,bonham000/fcc-react-tests-module
/* eslint-disable */ import assert from 'assert' import { transform } from 'babel-standalone' // snippet for defining HTML: <code>&#60;div /&#62</code> // SET TO TRUE WHEN QA IS COMPLETE: export const QA = false; // ---------------------------- define challenge title ---------------------------- export const challen...
src/challenges/redux/curriculum/Redux_12.js
/* eslint-disable */ import assert from 'assert' import { transform } from 'babel-standalone' // snippet for defining HTML: <code>&#60;div /&#62</code> // SET TO TRUE WHEN QA IS COMPLETE: export const QA = false; // ---------------------------- define challenge title ---------------------------- export const challen...
Typo fix, creatStore => createStore
src/challenges/redux/curriculum/Redux_12.js
Typo fix, creatStore => createStore
<ide><path>rc/challenges/redux/curriculum/Redux_12.js <ide> middleware, to be exact. Let's briefly describe how to use this with Redux.<br><br> <ide> <ide> To include Redux Thunk middleware, we pass it as an argument to <code>Redux.applyMiddleware()</code>, which we provide as a <del>second optional parameter to our <...
Java
apache-2.0
66215febcc9f9539de6dbf8be605f5e4e31c2ca0
0
godfreyhe/flink,zjureel/flink,rmetzger/flink,bowenli86/flink,apache/flink,zentol/flink,kl0u/flink,zentol/flink,rmetzger/flink,jinglining/flink,zentol/flink,ueshin/apache-flink,zjureel/flink,mbode/flink,apache/flink,GJL/flink,kaibozhou/flink,sunjincheng121/flink,greghogan/flink,hequn8128/flink,bowenli86/flink,tzulitai/f...
/* * 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 ...
flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/JobManagerTest.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 ...
[FLINK-10406] (Part 4) testSavepointRestoreSettings testSavepointRestoreSettings is covered by JobMaster#testRestoringFromSavepoint the triggerSavepoint part is covered by JobMasterTriggerSavepointIT, and the submit failure part should be taken care of when port JobSubmitTest, which has a test testAnswerFailureWhenSa...
flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/JobManagerTest.java
[FLINK-10406] (Part 4) testSavepointRestoreSettings
<ide><path>link-runtime/src/test/java/org/apache/flink/runtime/jobmanager/JobManagerTest.java <ide> import org.apache.flink.runtime.jobgraph.JobStatus; <ide> import org.apache.flink.runtime.jobgraph.JobVertex; <ide> import org.apache.flink.runtime.jobgraph.JobVertexID; <del>import org.apache.flink.runtime.jobgraph.Save...
Java
mit
2c98b25c8a60089e704429d186814865e2c3788f
0
jenkinsci/warnings-plugin,jenkinsci/warnings-plugin,jenkinsci/warnings-plugin
package io.jenkins.plugins.analysis.warnings; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Consumer; import org.junit.Test; import org.jvnet.hudson.test.JenkinsRule.WebClient; import org.jvnet.hudson.test.recipes.WithTimeout; im...
src/test/java/io/jenkins/plugins/analysis/warnings/IssuesRecorderITest.java
package io.jenkins.plugins.analysis.warnings; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Consumer; import org.junit.Test; import org.jvnet.hudson.test.JenkinsRule.WebClient; import org.jvnet.hudson.test.recipes.WithTimeout; im...
Improvement of the tests and eliminate of the warnings
src/test/java/io/jenkins/plugins/analysis/warnings/IssuesRecorderITest.java
Improvement of the tests and eliminate of the warnings
<ide><path>rc/test/java/io/jenkins/plugins/analysis/warnings/IssuesRecorderITest.java <ide> * the second new filename in the workspace <ide> * @param tool2 <ide> * class of the second tool <del> * <del> * @return the created recorder <ide> */ <ide> @CanIgnoreReturnValue <...
Java
apache-2.0
be4f77ae335e0bba90abd8020777203926b434fd
0
ndeloof/docker-java,tejksat/docker-java,docker-java/docker-java,sabre1041/docker-java,292388900/docker-java,DICE-UNC/docker-java,tschoots/docker-java,MarcoLotz/docker-java,camunda-ci/docker-java,rockzeng/docker-java,hermeswaldemarin/docker-java,netvl/docker-java,gesellix/docker-java,nfsantos/docker-java,metavige/docker...
package com.github.dockerjava.client.command; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import java.lang.reflect.Method; import java.util.Arrays; import org.testng.ITestResult; import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterTest; impor...
src/test/java/com/github/dockerjava/client/command/CreateContainerCmdTest.java
package com.github.dockerjava.client.command; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.isEmptyString; import static org.hamcrest.Matchers.not; import java.lang.reflect.Method; import org.testng.ITestResult; import org.testn...
Added tests for ENV and HOSTNAME
src/test/java/com/github/dockerjava/client/command/CreateContainerCmdTest.java
Added tests for ENV and HOSTNAME
<ide><path>rc/test/java/com/github/dockerjava/client/command/CreateContainerCmdTest.java <ide> package com.github.dockerjava.client.command; <ide> <ide> import static org.hamcrest.MatcherAssert.assertThat; <del>import static org.hamcrest.Matchers.contains; <del>import static org.hamcrest.Matchers.isEmptyString; <del>i...
JavaScript
mit
c9175eba7c6c999e1cbfd36451d3f20cbd5dd8ff
0
brycesub/silvia-pi,brycesub/silvia-pi,brycesub/silvia-pi,brycesub/silvia-pi
var curtemp = new TimeSeries(); var settemp = new TimeSeries(); var settempm = new TimeSeries(); var settempp = new TimeSeries(); var pterm = new TimeSeries(); var iterm = new TimeSeries(); var dterm = new TimeSeries(); var pidval = new TimeSeries(); var avgpid = new TimeSeries(); var lastreqdone = 1; $(document).read...
www/index.js
var curtemp = new TimeSeries(); var settemp = new TimeSeries(); var settempm = new TimeSeries(); var settempp = new TimeSeries(); var pterm = new TimeSeries(); var iterm = new TimeSeries(); var dterm = new TimeSeries(); var pidval = new TimeSeries(); var avgpid = new TimeSeries(); $(document).ready(function(){ $(".a...
new ajax request wont go out until last one returns
www/index.js
new ajax request wont go out until last one returns
<ide><path>ww/index.js <ide> var dterm = new TimeSeries(); <ide> var pidval = new TimeSeries(); <ide> var avgpid = new TimeSeries(); <add>var lastreqdone = 1; <ide> <ide> $(document).ready(function(){ <ide> $(".adv").hide(); <ide> }); <ide> <ide> setInterval(function() { <del> $.getJSON({ <del> url: "/allstats"...
Java
bsd-3-clause
8e847cdb1bf551d99443a458c8a0b633af45dd60
0
ztx1491/jcabi-aspects,dmzaytsev/jcabi-aspects,krzyk/jcabi-aspects,childRon/jcabi-aspects,shelan/jcabi-aspects,pecko/jcabi-aspects,xialiushao/jcabi-aspects,54uso/jcabi-aspects,YamStranger/jcabi-aspects
/** * Copyright (c) 2012-2014, jcabi.com * 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...
src/main/java/com/jcabi/aspects/aj/ImmutabilityChecker.java
/** * Copyright (c) 2012-2014, jcabi.com * 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...
#118 fixed CyclomaticComplexity
src/main/java/com/jcabi/aspects/aj/ImmutabilityChecker.java
#118 fixed CyclomaticComplexity
<ide><path>rc/main/java/com/jcabi/aspects/aj/ImmutabilityChecker.java <ide> ); <ide> } <ide> try { <del> field.setAccessible(true); <del> if (field.getType() != type) { <del> this.check(obj, field.getType()); <del> ...
Java
apache-2.0
c205015223e6c6aad98a58ec17692d339dff90a3
0
strapdata/elassandra-test,strapdata/elassandra-test,strapdata/elassandra-test,strapdata/elassandra-test,strapdata/elassandra-test,strapdata/elassandra-test,strapdata/elassandra-test
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
core/src/main/java/org/elasticsearch/common/ParseField.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Guard adding camelCase deprecated when the same as regulard name
core/src/main/java/org/elasticsearch/common/ParseField.java
Guard adding camelCase deprecated when the same as regulard name
<ide><path>ore/src/main/java/org/elasticsearch/common/ParseField.java <ide> public ParseField(String value, String... deprecatedNames) { <ide> underscoreName = Strings.toUnderscoreCase(value); <ide> final HashSet<String> set = new HashSet<>(); <del> set.add(Strings.toCamelCase(value)); <add> ...
Java
agpl-3.0
50ad520f9ce6c04d2dc119636888cb0e2d5e003a
0
ProtocolSupport/ProtocolSupport,ridalarry/ProtocolSupport
package protocolsupport.protocol.v_1_5.serverboundtransformer; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import java.io.IOException; import net.minecraft.server.v1_8_R1.BlockPosition; import net.minecraft.server.v1_8_R1.ChatComponentText; import net.minecraft.s...
src/protocolsupport/protocol/v_1_5/serverboundtransformer/PlayPacketTransformer.java
package protocolsupport.protocol.v_1_5.serverboundtransformer; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import java.io.IOException; import net.minecraft.server.v1_8_R1.BlockPosition; import net.minecraft.server.v1_8_R1.ChatComponentText; import net.minecraft.s...
Partially fix vehicle riing for 1.5.2
src/protocolsupport/protocol/v_1_5/serverboundtransformer/PlayPacketTransformer.java
Partially fix vehicle riing for 1.5.2
<ide><path>rc/protocolsupport/protocol/v_1_5/serverboundtransformer/PlayPacketTransformer.java <ide> break; <ide> } <ide> case 0x07: { //PacketPlayInUseEntity <del> packet = getPacketById(0x02); <ide> serializer.readInt(); <del> packetdata.writeVarInt(serializer.readInt()); <del> packetdata.write...
Java
apache-2.0
e67a6c22595e7538a46d395fe10f3ba431428a40
0
hito-asa/HikariCP,yaojuncn/HikariCP,newsky/HikariCP,mwegrz/HikariCP,785468931/HikariCP,udayshnk/HikariCP,squidsolutions/HikariCP,sridhar-newsdistill/HikariCP,nitincchauhan/HikariCP,guai/HikariCP,Violantic/HikariCP,guai/HikariCP,brettwooldridge/HikariCP,polpot78/HikariCP,brettwooldridge/HikariCP,schlosna/HikariCP,kschmi...
/* * Copyright (C) 2013, 2014 Brett Wooldridge * * 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...
hikaricp/src/test/java/com/zaxxer/hikari/PostgresTest.java
/* * Copyright (C) 2013, 2014 Brett Wooldridge * * 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...
PostgreSQL test tweaks...
hikaricp/src/test/java/com/zaxxer/hikari/PostgresTest.java
PostgreSQL test tweaks...
<ide><path>ikaricp/src/test/java/com/zaxxer/hikari/PostgresTest.java <ide> <ide> import java.sql.Connection; <ide> import java.sql.SQLException; <add>import java.util.concurrent.TimeUnit; <ide> <ide> import org.junit.Assert; <ide> import org.junit.Before; <ide> public void testCase1() throws Exception <ide> { <...
Java
agpl-3.0
b489645636d421758e9647a09c28b68a911bf07b
0
elki-project/elki,elki-project/elki,elki-project/elki
package experimentalcode.erich.visualization.svg; /** * Color scheme interface * * @author Erich Schubert * */ public interface ColorLibrary { /** * Return the number of native colors available. These are guaranteed to be unique. * * @return number of native colors */ public int getNumberOfNativ...
src/experimentalcode/erich/visualization/svg/ColorLibrary.java
package experimentalcode.erich.visualization.svg; /** * Color scheme interface * * @author Erich Schubert * */ public interface ColorLibrary { /** * Return the number of native colors available. These are guaranteed to be unique. * * @return number of native colors */ public int getNumberOfNativ...
javadoc
src/experimentalcode/erich/visualization/svg/ColorLibrary.java
javadoc
<ide><path>rc/experimentalcode/erich/visualization/svg/ColorLibrary.java <ide> * Return the i'th color. <ide> * <ide> * @param index color index <del> * @return color in hexadecimal notation (#aabbcc) (CSS/SVG/HTML) <add> * @return color in hexadecimal notation (#aabbcc) or color name ("red") as valid in ...
Java
apache-2.0
7ae8b5e105ba4f0441156b2192547ec7e7aac3fe
0
anhtu1995ok/seaglass
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
src/main/java/com/seaglasslookandfeel/painter/ScrollPanePainter.java
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
Added painter state for painting the scrollpane corner when there are two scrollbars.
src/main/java/com/seaglasslookandfeel/painter/ScrollPanePainter.java
Added painter state for painting the scrollpane corner when there are two scrollbars.
<ide><path>rc/main/java/com/seaglasslookandfeel/painter/ScrollPanePainter.java <ide> import java.awt.Dimension; <ide> import java.awt.Graphics2D; <ide> import java.awt.Insets; <add>import java.awt.Paint; <ide> import java.awt.Shape; <ide> import java.awt.geom.Path2D; <add>import java.awt.geom.Rectangle2D; <ide> <ide> ...
Java
apache-2.0
1afa9d222712c49fcc43d65bb991eef3641a8e15
0
ronsigal/xerces,RackerWilliams/xercesj,ronsigal/xerces,jimma/xerces,ronsigal/xerces,jimma/xerces,RackerWilliams/xercesj,jimma/xerces,RackerWilliams/xercesj
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2001-2003 The Apache Software Foundation. * 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...
src/org/apache/xerces/parsers/XML11Configuration.java
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2001-2003 The Apache Software Foundation. * 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...
Fixing a bug in XML10 configurePipeline: we should always setup DTD pipeline (was only setup if scanner has not been changed) git-svn-id: 21df804813e9d3638e43477f308dd0be51e5f30f@319532 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/xerces/parsers/XML11Configuration.java
Fixing a bug in XML10 configurePipeline: we should always setup DTD pipeline (was only setup if scanner has not been changed)
<ide><path>rc/org/apache/xerces/parsers/XML11Configuration.java <ide> <ide> // setup DTD pipeline <ide> if (fCurrentDTDScanner != fDTDScanner) { <del> fCurrentDTDScanner = fDTDScanner; <add> fCurrentDTDScanner = fDTDScanner; <ide> setProperty(DTD_SCANNER, fCurrentDTDScanner); <...
Java
bsd-3-clause
8d7798b3250fb531a9165cca55eec415caec8988
0
anildahiya/sdl_android,jthrun/sdl_android,jthrun/sdl_android,smartdevicelink/sdl_android
package com.smartdevicelink.api.lockscreen; import android.content.Context; import android.test.AndroidTestCase; import android.test.mock.MockContext; import com.smartdevicelink.proxy.interfaces.ISdl; import com.smartdevicelink.proxy.rpc.enums.LockScreenStatus; import com.smartdevicelink.test.Test; import static org...
sdl_android/src/androidTest/java/com/smartdevicelink/api/lockscreen/LockScreenManagerTests.java
package com.smartdevicelink.api.lockscreen; import android.content.Context; import android.test.AndroidTestCase; import android.test.mock.MockContext; import com.smartdevicelink.proxy.interfaces.ISdl; import com.smartdevicelink.proxy.rpc.enums.LockScreenStatus; import com.smartdevicelink.test.Test; import static org...
fixed invalid javadoc link
sdl_android/src/androidTest/java/com/smartdevicelink/api/lockscreen/LockScreenManagerTests.java
fixed invalid javadoc link
<ide><path>dl_android/src/androidTest/java/com/smartdevicelink/api/lockscreen/LockScreenManagerTests.java <ide> <ide> /** <ide> * This is a unit test class for the SmartDeviceLink library manager class : <del> * {@link com.smartdevicelink.api.SdlManager} <add> * {@link com.smartdevicelink.api.lockscreen.LockScreenMan...
Java
epl-1.0
cc91713f068bedc9ff605ad4273bcf944e2dc47b
0
voltnor/gp438,voltnor/gp438,voltnor/gp438
import java.awt.*; import java.awt.event.*; import java.io.File; import java.util.ArrayList; import javax.swing.*; import edu.mines.jtk.awt.*; import edu.mines.jtk.dsp.*; import edu.mines.jtk.util.Cdouble; import edu.mines.jtk.mosaic.*; import static edu.mines.jtk.util.ArrayMath.*; public class PlotTest{ public st...
PlotTest/PlotTest.java
import java.awt.*; import java.awt.event.*; import java.io.File; import java.util.ArrayList; import javax.swing.*; import edu.mines.jtk.awt.*; import edu.mines.jtk.dsp.*; import edu.mines.jtk.util.Cdouble; import edu.mines.jtk.mosaic.*; import static edu.mines.jtk.util.ArrayMath.*; public class PlotTest{ public st...
updated gps read
PlotTest/PlotTest.java
updated gps read
<ide><path>lotTest/PlotTest.java <ide> boolean[] sel = new boolean[np]; <ide> for (int ip=0; ip<np; ++ip) { <ide> MPoint p = _recs.get(ip); <del> xp[ip] = (float)p.px; <del> yp[ip] = (float)p.py; <add> xp[ip] = (float)p.x; <add> yp[ip] = (float)p.y; <ide> System.o...
Java
mit
68959ef26855960c006bf200627845336d9e9222
0
HackMyChurch/aelf-dailyreadings,HackMyChurch/aelf-dailyreadings,HackMyChurch/aelf-dailyreadings,HackMyChurch/aelf-dailyreadings,HackMyChurch/aelf-dailyreadings
package co.epitre.aelf_lectures; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; imp...
app/src/main/java/co/epitre/aelf_lectures/SectionBibleFragment.java
package co.epitre.aelf_lectures; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; imp...
bible: Restore last page view, 4/4 This commit fixes the problem
app/src/main/java/co/epitre/aelf_lectures/SectionBibleFragment.java
bible: Restore last page view, 4/4 This commit fixes the problem
<ide><path>pp/src/main/java/co/epitre/aelf_lectures/SectionBibleFragment.java <ide> mWebView.restoreState(savedInstanceState); <ide> } else { <ide> // Load default page <add> SharedPreferences settings = getActivity().getPreferences(Context.MODE_PRIVATE); <ide> Log...
Java
apache-2.0
3bb4a5a69fd7c247434b22e04b8d76b32016d29f
0
robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradl...
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
subprojects/platform-base/src/main/java/org/gradle/api/internal/resolve/LocalLibraryDependencyResolver.java
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Renamed methods for clarity Story: gradle/langos#113
subprojects/platform-base/src/main/java/org/gradle/api/internal/resolve/LocalLibraryDependencyResolver.java
Renamed methods for clarity
<ide><path>ubprojects/platform-base/src/main/java/org/gradle/api/internal/resolve/LocalLibraryDependencyResolver.java <ide> ComponentSpec selectedLibrary = resolutionResult.getSelectedLibrary(); <ide> if (selectedLibrary != null) { <ide> if (variant == null) { <del> selectBina...
Java
apache-2.0
036fb50bbe60086e0f9761f3e26375b54d1f75c7
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2004-2005 the original author or authors. */ package org.springframework.binding.support; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.springframework.binding.MutableAttributeSource; import org.springframe...
sandbox/src/org/springframework/binding/support/AttributeSourceSupport.java
/* * Copyright 2004-2005 the original author or authors. */ package org.springframework.binding.support; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.springframework.binding.MutableAttributeSource; import org.springframe...
implement map is stupid git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@6806 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
sandbox/src/org/springframework/binding/support/AttributeSourceSupport.java
implement map is stupid
<ide><path>andbox/src/org/springframework/binding/support/AttributeSourceSupport.java <ide> * Support class for attribute setters. TODO - should this implement map? <ide> * @author Keith Donald <ide> */ <del>public abstract class AttributeSourceSupport implements MutableAttributeSource, Map { <add>public abstract cl...
Java
apache-2.0
f8e4d6fb216f70beaa67a3f34c7f94232bfce9d7
0
youdonghai/intellij-community,apixandru/intellij-community,blademainer/intellij-community,holmes/intellij-community,ivan-fedorov/intellij-community,akosyakov/intellij-community,fitermay/intellij-community,retomerz/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,Lekanich/intellij-comm...
package com.jetbrains.python.inspections; import com.intellij.codeInspection.LocalInspectionToolSession; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.Comparing; import com.intellij.openapi....
python/src/com/jetbrains/python/inspections/PyPropertyDefinitionInspection.java
package com.jetbrains.python.inspections; import com.intellij.codeInspection.LocalInspectionToolSession; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.Comparing; import com.intellij.openapi....
Fix edge case NPEs.
python/src/com/jetbrains/python/inspections/PyPropertyDefinitionInspection.java
Fix edge case NPEs.
<ide><path>ython/src/com/jetbrains/python/inspections/PyPropertyDefinitionInspection.java <ide> if (callable != null) { <ide> // signature: at least two params, more optionals ok; first arg 'self' <ide> final PyParameterList param_list = callable.getParameterList(); <del> if (myTwoParamList...
Java
apache-2.0
4461159b6c7415db48d9c5353e29a45c61a07e5b
0
3-Round-Stones/callimachus,edwardsph/callimachus,3-Round-Stones/callimachus,jimmccusker/callimachus,edwardsph/callimachus,jimmccusker/callimachus,jimmccusker/callimachus,3-Round-Stones/callimachus,3-Round-Stones/callimachus,edwardsph/callimachus,Thellmann/callimachus,edwardsph/callimachus,3-Round-Stones/callimachus,jim...
package org.callimachusproject.xml; import info.aduna.net.ParsedURI; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLConnection; i...
src/org/callimachusproject/xml/InputSourceResolver.java
package org.callimachusproject.xml; import info.aduna.net.ParsedURI; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLConnection; i...
Throw error if XQuery module cannot be found
src/org/callimachusproject/xml/InputSourceResolver.java
Throw error if XQuery module cannot be found
<ide><path>rc/org/callimachusproject/xml/InputSourceResolver.java <ide> List<StreamSource> list = new ArrayList<StreamSource>(); <ide> try { <ide> if (locations == null || locations.length == 0) { <del> list.add(resolve(moduleURI, baseURI)); <add> StreamSource resolved = resolve(moduleURI, baseURI); <add> ...
JavaScript
mit
130d179a128f284eef7581e0f84451931b858cdf
0
hemerajs/hemera,hemerajs/hemera
'use strict' /** * Copyright 2016-present, Dustin Deus (deusdustin@gmail.com) * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. * */ const Errors = require('./errors') /** * @class ExtensionManager */ cl...
packages/hemera/lib/extensionManager.js
'use strict' /** * Copyright 2016-present, Dustin Deus (deusdustin@gmail.com) * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. * */ const Errors = require('./errors') /** * @class ExtensionManager */ cl...
[ci skip] newline
packages/hemera/lib/extensionManager.js
[ci skip] newline
<ide><path>ackages/hemera/lib/extensionManager.js <ide> this._add(type, handler) <ide> } <ide> } <add> <ide> /** <ide> * <ide> * @param {*} e
Java
apache-2.0
aa0c34f66ba727cb353739c95107ca67d81de896
0
Xhanim/libgdx,toa5/libgdx,srwonka/libGdx,Badazdz/libgdx,gouessej/libgdx,samskivert/libgdx,toa5/libgdx,JFixby/libgdx,alex-dorokhov/libgdx,kagehak/libgdx,gdos/libgdx,Dzamir/libgdx,kotcrab/libgdx,tommyettinger/libgdx,309746069/libgdx,SidneyXu/libgdx,tell10glu/libgdx,zommuter/libgdx,sarkanyi/libgdx,SidneyXu/libgdx,haedri/l...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
gdx/src/com/badlogic/gdx/utils/Timer.java
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
Timer, fixed it (I had broke it...).
gdx/src/com/badlogic/gdx/utils/Timer.java
Timer, fixed it (I had broke it...).
<ide><path>dx/src/com/badlogic/gdx/utils/Timer.java <ide> float wait = Float.MAX_VALUE; <ide> for (int i = 0, n = instances.size; i < n; i++) <ide> wait = Math.min(wait, instances.get(i).update(time)); <add> long waitMillis = (long)(wait * 1000); <ide> try { <del> instances.wait((lon...
Java
apache-2.0
ec3529d7c2db5a91015cedd743551f57ba69f78c
0
mtransitapps/ca-gatineau-sto-bus-parser
package org.mtransit.parser.ca_gatineau_sto_bus; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import ...
src/org/mtransit/parser/ca_gatineau_sto_bus/GatineauSTOBusAgencyTools.java
package org.mtransit.parser.ca_gatineau_sto_bus; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import ...
Compatibility with latest update.
src/org/mtransit/parser/ca_gatineau_sto_bus/GatineauSTOBusAgencyTools.java
Compatibility with latest update.
<ide><path>rc/org/mtransit/parser/ca_gatineau_sto_bus/GatineauSTOBusAgencyTools.java <ide> case 739: return SCHOOL_BUS_COLOR; <ide> case 800: return PEAK_COLOR; // RAPIBUS_COLOR <ide> case 810: return PEAK_COLOR; // RAPIBUS_COLOR <add> case 870: return PEAK_COLOR; // RAPIBUS_COLOR // TODO ?? <ide> case 90...
JavaScript
mit
11cb0281a6f3510330d3b2f923c285f21bbee2cc
0
FCOO/modernizr-mq-device,FCOO/modernizr-device,NielsHolt/media-queries,FCOO/device-modernizr,FCOO/device-modernizr,FCOO/modernizr-mq-device,FCOO/modernizr-device,NielsHolt/media-queries
module.exports = function(grunt) { "use strict"; var stripJsonComments = require('strip-json-comments'); var semver = require('semver'); function readFile(filename, isJSON, defaultContents){ if (grunt.file.exists(filename)){ var contents = grunt.file.read(filename) ; return isJSON ? JSON.parse( stri...
gruntfile.js
module.exports = function(grunt) { "use strict"; var stripJsonComments = require('strip-json-comments'); var semver = require('semver'); function readFile(filename, isJSON, defaultContents){ if (grunt.file.exists(filename)){ var contents = grunt.file.read(filename) ; return isJSON ? JSON.parse( stri...
* No message *
gruntfile.js
* No message *
<ide><path>runtfile.js <ide> <ide> git_merge: { <ide> cmd: function(){ <del> if (grunt.config('ghpages')) <add> //if (grunt.config('ghpages')) <ide> return 'git checkout gh-pages && git merge master && git checkout master'; <del> else <add> //else <ide> return ''...
Java
apache-2.0
29c1ddc06e39e92598433af6ff1d0a1d657e9d6e
0
Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples
package com.adobe.acs.samples.authentication.impl; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Properties; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.annotations.Reference; import org.apa...
bundle/src/main/java/com/adobe/acs/samples/authentication/impl/SampleLoginHookAuthenticationHandler.java
package com.adobe.acs.samples.authentication.impl; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Properties; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.annotations.Reference; import org.apa...
Wrong variable name
bundle/src/main/java/com/adobe/acs/samples/authentication/impl/SampleLoginHookAuthenticationHandler.java
Wrong variable name
<ide><path>undle/src/main/java/com/adobe/acs/samples/authentication/impl/SampleLoginHookAuthenticationHandler.java <ide> new DeferredRedirectHttpServletResponse(httpServletRequest, httpServletResponse); <ide> <ide> if (this.wrappedIsAuthFeedbackHandler) { <del> ((AuthenticationFeedba...
Java
lgpl-2.1
f847495b5878c04824bff40d303a5e271a7819fc
0
sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,sewe/spotbugs,johnscancella/spotbugs,sewe/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
mark some things as being nonnull git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@4767 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java
mark some things as being nonnull
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/BugInstance.java <ide> private int priority; <ide> private ArrayList<BugAnnotation> annotationList; <ide> private int cachedHashCode; <del> private String annotationText; <add> @NonNull private String annotationText; <ide> private BugProperty propertyListHead, propert...
Java
apache-2.0
cf4a9f25a2d5ba3581da093a660b72867480ea15
0
cn-cerc/summer-mis,cn-cerc/summer-mis
package cn.cerc.ui.fields; import cn.cerc.core.Record; import cn.cerc.ui.parts.UIComponent; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class RadioField extends AbstractField { private final List<String> items = new ArrayList<>(); public RadioField(UIComponent owner, ...
summer-mis/src/main/java/cn/cerc/ui/fields/RadioField.java
package cn.cerc.ui.fields; import cn.cerc.core.Record; import cn.cerc.ui.parts.UIComponent; import java.util.ArrayList; import java.util.List; public class RadioField extends AbstractField { private List<String> items = new ArrayList<>(); public RadioField(UIComponent owner, String name, String field, int w...
Update RadioField.java
summer-mis/src/main/java/cn/cerc/ui/fields/RadioField.java
Update RadioField.java
<ide><path>ummer-mis/src/main/java/cn/cerc/ui/fields/RadioField.java <ide> import cn.cerc.ui.parts.UIComponent; <ide> <ide> import java.util.ArrayList; <add>import java.util.Arrays; <ide> import java.util.List; <ide> <ide> public class RadioField extends AbstractField { <del> private List<String> items = new Array...
Java
lgpl-2.1
5971a752bf12daaebd40261082985ab2ff4437d8
0
JoeCarlson/intermine,justincc/intermine,justincc/intermine,tomck/intermine,elsiklab/intermine,justincc/intermine,kimrutherford/intermine,joshkh/intermine,zebrafishmine/intermine,drhee/toxoMine,JoeCarlson/intermine,JoeCarlson/intermine,zebrafishmine/intermine,justincc/intermine,zebrafishmine/intermine,elsiklab/intermine...
package org.intermine.web.logic.results; /* * Copyright (C) 2002-2011 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/l...
intermine/web/main/src/org/intermine/web/logic/results/ReportObject.java
package org.intermine.web.logic.results; /* * Copyright (C) 2002-2011 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/l...
Make sure we do not include replaced fields in the header
intermine/web/main/src/org/intermine/web/logic/results/ReportObject.java
Make sure we do not include replaced fields in the header
<ide><path>ntermine/web/main/src/org/intermine/web/logic/results/ReportObject.java <ide> return collections; <ide> } <ide> <add> private String stripTail(String input) { <add> Integer dot = input.indexOf("."); <add> if (dot > 0) { <add> return input.substring(0, dot); <add...
Java
apache-2.0
3183a389b0213095a6ac9490568dac99a97eb54c
0
pierre/collector,pierre/collector,ning/collector,pierre/collector,ning/collector,pierre/collector,ning/collector,ning/collector,ning/collector,pierre/collector,pierre/collector
/* * Copyright 2010-2011 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
src/test/java/com/ning/metrics/collector/endpoint/resources/TestCollectorResource.java
/* * Copyright 2010-2011 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
test: disable TestCollectorResource It never worked reliably with IDEA/surefire. Works great ran in standalone though. Signed-off-by: Pierre-Alexandre Meyer <ff019a5748a52b5641624af88a54a2f0e46a9fb5@ning.com>
src/test/java/com/ning/metrics/collector/endpoint/resources/TestCollectorResource.java
test: disable TestCollectorResource
<ide><path>rc/test/java/com/ning/metrics/collector/endpoint/resources/TestCollectorResource.java <ide> import java.util.List; <ide> import java.util.concurrent.ExecutionException; <ide> <del>@Test(groups = "slow", singleThreaded = true) <add>// This is a great integration test, but it doesn't seem to work reliably <ad...
Java
lgpl-2.1
b2cc418d306c60379daec889578314cba601ef5c
0
n8han/Databinder-for-Wicket,n8han/Databinder-for-Wicket,n8han/Databinder-for-Wicket,n8han/Databinder-for-Wicket
/* * Databinder: a simple bridge from Wicket to Hibernate * Copyright (C) 2006 Nathan Hamblen nathan@technically.us * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * vers...
src/main/java/net/databinder/auth/components/DataSignInPage.java
/* * Databinder: a simple bridge from Wicket to Hibernate * Copyright (C) 2006 Nathan Hamblen nathan@technically.us * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * vers...
permit overriding sign in panel git-svn-id: a029deac1672d4faad1f67456e5ca11caf16dc5a@1022 c322e9cc-cc08-0410-988e-c197163ad9eb
src/main/java/net/databinder/auth/components/DataSignInPage.java
permit overriding sign in panel
<ide><path>rc/main/java/net/databinder/auth/components/DataSignInPage.java <ide> /** Registration panel whose visibility is controlled from this class. */ <ide> private Panel registerPanel; <ide> <add> /** Sign-in panel whose visibility is controlled from this class. */ <add> private Panel signInPanel; <add> <ide> ...
Java
lgpl-2.1
0f49153330f2aebabd8c5aee1f46108e3822d2e3
0
pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/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-web/xwiki-gwt-wysiwyg-server/src/main/java/com/xpn/xwiki/wysiwyg/server/plugin/importer/XWikiImportService.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-5249: Omit XML declaration and document type when importing office file git-svn-id: 04343649e741710b2e0f622af6defd1ac33e5ca5@29318 f329d543-caf0-0310-9063-dda96c69346f
xwiki-platform-web/xwiki-gwt-wysiwyg-server/src/main/java/com/xpn/xwiki/wysiwyg/server/plugin/importer/XWikiImportService.java
XWIKI-5249: Omit XML declaration and document type when importing office file
<ide><path>wiki-platform-web/xwiki-gwt-wysiwyg-server/src/main/java/com/xpn/xwiki/wysiwyg/server/plugin/importer/XWikiImportService.java <ide> attachment.getReference().getSpaceName(), attachment.getReference().getPageName()); <ide> AttachmentReference attachmentReference = <ide> ...
JavaScript
apache-2.0
33c372227420154621ed4c187d5f9d479857b51a
0
WPO-Foundation/webpagetest-docs,WPO-Foundation/webpagetest-docs
const observer = new IntersectionObserver(entries => { const intersectingEntries = entries.filter(e => e.isIntersecting); for (const entry of intersectingEntries) { const previouslyActive = document.querySelector('.pageNav a.is-active'); if (previouslyActive) { previouslyActive.class...
src/_includes/scripts/in-page-nav.js
const observer = new IntersectionObserver(entries => { const intersectingEntries = entries.filter(e => e.isIntersecting); for (const entry of intersectingEntries) { const previouslyActive = document.querySelector('.pageNav a.is-active'); if (previouslyActive) { previouslyActive.class...
Remove scrollIntoView() to fix scroll jank preventing users from scrolling
src/_includes/scripts/in-page-nav.js
Remove scrollIntoView() to fix scroll jank preventing users from scrolling
<ide><path>rc/_includes/scripts/in-page-nav.js <ide> const id = entry.target.getAttribute('id') <ide> const newActive = document.querySelector(`.pageNav a[href="#${id}"]`); <ide> newActive.classList.add('is-active'); <del> newActive.scrollIntoView({ block: 'nearest' }); <ide> } <ide> ...
JavaScript
mit
67131203dfdf7de188d7bf2f95b52da9c71ea104
0
petrickow/video-quality-project,petrickow/video-quality-project
app.controller('StreamController', [ 'Socket', function (Socket) { "use strict"; this.message = "No data received!"; this.latitude = "No data received!"; this.longitude = "No data received!"; this.speed = "No data received!"; this.accuracy = "No data received!"; ...
src/main/resources/static/js/stream-controller.js
app.controller('StreamController', [ 'Socket', function (Socket) { "use strict"; this.message = "No data received!"; this.latitude = "No data received!"; this.longitude = "No data received!"; this.speed = "No data received!"; this.accuracy = "No data received!"; ...
fixed average values
src/main/resources/static/js/stream-controller.js
fixed average values
<ide><path>rc/main/resources/static/js/stream-controller.js <ide> for (var i = 0; i < parameter.data.length - 1; i++){ <ide> sum += parseFloat(parameter.data[i].azimuth); <ide> } <del> this.averageAzimuth = sum / parameter.data.length; <add> ...
Java
apache-2.0
45d2906671ed533dc523110f8b0b0dd3ce36dc09
0
mohanaraosv/commons-email,apache/commons-email,apache/commons-email,mohanaraosv/commons-email,apache/commons-email,mohanaraosv/commons-email
/* * 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/org/apache/commons/mail/resolver/DataSourceUrlResolverTest.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 ...
[EMAIL-108] Cleaned up the test git-svn-id: 89dde08772e8bf23e1f06e036eef0c1fe886f791@1200561 13f79535-47bb-0310-9956-ffa450edef68
src/test/org/apache/commons/mail/resolver/DataSourceUrlResolverTest.java
[EMAIL-108] Cleaned up the test
<ide><path>rc/test/org/apache/commons/mail/resolver/DataSourceUrlResolverTest.java <ide> import java.net.URL; <ide> <ide> /** <del> * JUnit test case for DateSourceResolver. <add> * JUnit test case for DataSourceUrlResolver. <ide> * <ide> * @since 1.3 <ide> */ <ide> super(name); <ide> } <ide> <add> ...
JavaScript
mit
095dddcffed3f137054f07eddea46b76bead5727
0
developit/preact-cli,developit/preact-cli
const common = { 'polyfills.*.js': 4620, 'polyfills.*.js.map': 31760, 'favicon.ico': 15086, }; exports.default = exports.full = Object.assign({}, common, { 'assets/favicon.ico': 15086, 'assets/icons/android-chrome-192x192.png': 14058, 'assets/icons/android-chrome-512x512.png': 51484, 'assets/icons/apple-touch-i...
packages/cli/tests/images/build.js
const common = { 'polyfills.*.js': 4620, 'polyfills.*.js.map': 31760, 'favicon.ico': 15086, }; exports.default = exports.full = Object.assign({}, common, { 'assets/favicon.ico': 15086, 'assets/icons/android-chrome-192x192.png': 14058, 'assets/icons/android-chrome-512x512.png': 51484, 'assets/icons/apple-touch-i...
fix tests
packages/cli/tests/images/build.js
fix tests
<ide><path>ackages/cli/tests/images/build.js <ide> <ide> exports.sass = ` <ide> <body> <del> <div class="background__21gOq"> <add> <div class="background__16qjh"> <ide> <h1>Header on background</h1> <ide> <p>Paragraph on background</p> <ide> </div> <ide> <link rel="preload" href="\\/route-home\\.chunk\\.\\w{5}\\...
Java
apache-2.0
689074d578ca803979efcb56695cb314b13424f8
0
cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
modules/gui/src/com/haulmont/cuba/gui/data/impl/CollectionPropertyDatasourceImpl.java
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
PL-9524 Selected item in nested datasource isn't cleared when master datasource is refreshed (clear only when the item does not exist in the collection anymore)
modules/gui/src/com/haulmont/cuba/gui/data/impl/CollectionPropertyDatasourceImpl.java
PL-9524 Selected item in nested datasource isn't cleared when master datasource is refreshed (clear only when the item does not exist in the collection anymore)
<ide><path>odules/gui/src/com/haulmont/cuba/gui/data/impl/CollectionPropertyDatasourceImpl.java <ide> } <ide> } <ide> <del> if (item != null) { <add> if (item != null && (coll == null || !coll.contains(item))) { <ide> T prevItem = item; <ide> ...
Java
mit
7e73d33e41db7dad65a60e2da1b6edbb1d0262bd
0
Dbof/bitstring
/** * @author Dbof */ package com.davidebove.bitstring; /* * This file is part of com.davidebove.bitstring. * * The MIT License (MIT). * Permission is hereby granted, free of charge, to any * person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in...
src/com/davidebove/bitstring/BitString.java
/** * @author Dbof */ package com.davidebove.bitstring; /* * This file is part of com.davidebove.bitstring. * * The MIT License (MIT). * Permission is hereby granted, free of charge, to any * person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in...
Changed and added a few javadoc comments
src/com/davidebove/bitstring/BitString.java
Changed and added a few javadoc comments
<ide><path>rc/com/davidebove/bitstring/BitString.java <ide> return bits.indexOf(bitstring); <ide> } <ide> <add> /** <add> * Returns all occurrences of the specified bit string contained in the <add> * current bit string. <add> * <add> * @param bitstring <add> * the bitstring to find <add> * @return...
Java
apache-2.0
bb15e4d9b3f473d108249716f399ed4a96eab53f
0
apache/httpcomponents-client,UlrichColby/httpcomponents-client,cmbntr/httpclient,cstamas/httpclient,cstamas/httpclient,atlassian/httpclient,cmbntr/httpclient,ok2c/httpclient,atlassian/httpclient
/* * $HeadURL$ * $Revision$ * $Date$ * * ==================================================================== * 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...
httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
/* * $HeadURL$ * $Revision$ * $Date$ * * ==================================================================== * 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...
HTTPCLIENT-833: fixed possible NPE git-svn-id: 897293da6115b9493049ecf64199cf2f9a0ac287@754998 13f79535-47bb-0310-9956-ffa450edef68
httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
HTTPCLIENT-833: fixed possible NPE
<ide><path>ttpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java <ide> remoteAddress = new InetSocketAddress(host, port); <ide> } <ide> try { <del> sock.connect(remoteAddress, connTimeout); <add> sslsock.connect(remoteAddress, connTimeout); ...
Java
mit
98617bf6b48be406f6fe1ae0e2149719f4a23022
0
ychaim/sparkbit,coinspark/sparkbit,coinspark/sparkbit,ychaim/sparkbit,ychaim/sparkbit,coinspark/sparkbit
/* * SparkBit * * Copyright 2014 Coin Sciences Ltd * * Licensed under the MIT license (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/mit-license.php * * Unless required by applicable law or ag...
src/main/java/org/sparkbit/jsonrpc/SparkBitJSONRPCServiceImpl.java
/* * SparkBit * * Copyright 2014 Coin Sciences Ltd * * Licensed under the MIT license (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/mit-license.php * * Unless required by applicable law or ag...
Removed debug code. Refactored listbalances to use new createAssetBalance() and createBitcoinBalance() methods.
src/main/java/org/sparkbit/jsonrpc/SparkBitJSONRPCServiceImpl.java
Removed debug code. Refactored listbalances to use new createAssetBalance() and createBitcoinBalance() methods.
<ide><path>rc/main/java/org/sparkbit/jsonrpc/SparkBitJSONRPCServiceImpl.java <ide> // Get the bitcoin and asset balances on this utxo <ide> Map<Integer,CSBalance> balances = (Map<Integer,CSBalance>) entry.getValue(); <ide> <del> // FIXME: Debugging <del> log.info(">>>> balances = " + balances); ...
Java
mit
ed4a2c4c8901367c0aadd4e20b82634c36fa18b8
0
leMaik/RpgPlus
package de.craften.plugins.rpgplus.components.entitymanager; import de.craften.plugins.managedentities.ManagedEntityBase; import de.craften.plugins.managedentities.behavior.SecondNameBehavior; import de.craften.plugins.managedentities.behavior.VisibleNameBehavior; import de.craften.plugins.managedentities.util.nms.Nms...
src/main/java/de/craften/plugins/rpgplus/components/entitymanager/RpgPlusEntity.java
package de.craften.plugins.rpgplus.components.entitymanager; import de.craften.plugins.managedentities.ManagedEntityBase; import de.craften.plugins.managedentities.behavior.SecondNameBehavior; import de.craften.plugins.managedentities.behavior.VisibleNameBehavior; import org.bukkit.Location; import org.bukkit.entity.C...
Make invulnerable entities actually invulnerable.
src/main/java/de/craften/plugins/rpgplus/components/entitymanager/RpgPlusEntity.java
Make invulnerable entities actually invulnerable.
<ide><path>rc/main/java/de/craften/plugins/rpgplus/components/entitymanager/RpgPlusEntity.java <ide> import de.craften.plugins.managedentities.ManagedEntityBase; <ide> import de.craften.plugins.managedentities.behavior.SecondNameBehavior; <ide> import de.craften.plugins.managedentities.behavior.VisibleNameBehavior; <ad...
Java
lgpl-2.1
f05f857bc8704627cb870f03c964e2ce82aa5436
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2005-06 Javlin Consulting <info@javlinconsulting.cz> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softw...
cloveretl.engine/src/org/jetel/component/CustomizedRecordTransform.java
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2005-06 Javlin Consulting <info@javlinconsulting.cz> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softw...
FIX:fix of last commit git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@4501 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/component/CustomizedRecordTransform.java
FIX:fix of last commit
<ide><path>loveretl.engine/src/org/jetel/component/CustomizedRecordTransform.java <ide> import org.jetel.data.DataField; <ide> import org.jetel.data.DataFieldFactory; <ide> import org.jetel.data.DataRecord; <del>import org.jetel.data.Defaults; <ide> import org.jetel.data.primitive.Numeric; <ide> import org.jetel.data.s...
Java
apache-2.0
497dec53206be31f54294758c388b576fc331309
0
angelindayana/scsb-etl,chenchulakshmig/scsb-etl,premkumarbalu/scsb-etl,premkumarbalu/scsb-etl,chenchulakshmig/scsb-etl,angelindayana/scsb-etl,chenchulakshmig/scsb-etl,angelindayana/scsb-etl,premkumarbalu/scsb-etl
package org.recap.service.executor.datadump; import org.apache.camel.ProducerTemplate; import org.recap.ReCAPConstants; import org.recap.model.export.DataDumpRequest; import org.recap.model.jpa.BibliographicEntity; import org.recap.model.jpa.ReportDataEntity; import org.recap.model.jpa.ReportEntity; import org.recap.r...
src/main/java/org/recap/service/executor/datadump/AbstractDataDumpExecutorService.java
package org.recap.service.executor.datadump; import org.apache.camel.ProducerTemplate; import org.recap.ReCAPConstants; import org.recap.model.export.DataDumpRequest; import org.recap.model.jpa.BibliographicEntity; import org.recap.model.jpa.ReportDataEntity; import org.recap.model.jpa.ReportEntity; import org.recap.r...
DataDump full refactor
src/main/java/org/recap/service/executor/datadump/AbstractDataDumpExecutorService.java
DataDump full refactor
<ide><path>rc/main/java/org/recap/service/executor/datadump/AbstractDataDumpExecutorService.java <ide> logger.info("File no. "+(count)+" exported"); <ide> } <ide> } <del> processEmail(dataDumpRequest,totalRecordCount,dataDumpRequest.getDateTimeString()); <add> ...
Java
apache-2.0
992240d58c52df5a70520da1aa084549de8d998a
0
web-slinger/cordova-plugin-statusbar,web-slinger/cordova-plugin-statusbar,web-slinger/cordova-plugin-statusbar
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
src/android/StatusBar.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 ...
Update StatusBar.java
src/android/StatusBar.java
Update StatusBar.java
<ide><path>rc/android/StatusBar.java <ide> public void initialize(final CordovaInterface cordova, CordovaWebView webView) { <ide> Log.v(TAG, "StatusBar: initialization"); <ide> super.initialize(cordova, webView); <del> <del> if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { ...
Java
mit
5c308c7287184a56fda2ebc0887c7e6f93f2840a
0
clee231/restaurant-inventory-management
/** * Restaurant Inventory Management * Group 7 */ package edu.uic.cs342.group7.rim; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.HashMap; import java.util....
src/edu/uic/cs342/group7/rim/Client.java
/** * Restaurant Inventory Management * Group 7 */ package edu.uic.cs342.group7.rim; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.HashMap; import java.util....
Bug Fixes for Client Class. I believe this is pretty much done!
src/edu/uic/cs342/group7/rim/Client.java
Bug Fixes for Client Class. I believe this is pretty much done!
<ide><path>rc/edu/uic/cs342/group7/rim/Client.java <ide> System.out.println("2. Add Items to Inventory"); <ide> System.out.println("3. End Day"); <ide> System.out.println("4. Forecast Shopping List"); <del> System.out.println("5. Load Dishes from file"); <add> System.out.println("5. Load data from file"); <ide>...
Java
mit
aa5dc8e4f40156df017a1f4f213facb62b105a4d
0
hotchemi/Android-Rate,cafedeaqua/Android-Rate,y-matsumoto/Android-Rate,gPinato/Android-Rate,android-gems/Android-Rate,phajduk/Android-Rate,kzganesan/Android-Rate
package hotchemi.android.rate; import android.view.View; final class DialogOptions { private boolean showNeutralButton = true; private boolean showTitle = true; private int titleResId = R.string.rate_dialog_title; private int messageResId = R.string.rate_dialog_message; private int textPositi...
library/src/main/java/hotchemi/android/rate/DialogOptions.java
package hotchemi.android.rate; import android.view.View; import java.lang.ref.WeakReference; final class DialogOptions { private boolean showNeutralButton = true; private boolean showTitle = true; private int titleResId = R.string.rate_dialog_title; private int messageResId = R.string.rate_dialog...
Delete weakreference.
library/src/main/java/hotchemi/android/rate/DialogOptions.java
Delete weakreference.
<ide><path>ibrary/src/main/java/hotchemi/android/rate/DialogOptions.java <ide> package hotchemi.android.rate; <ide> <ide> import android.view.View; <del> <del>import java.lang.ref.WeakReference; <ide> <ide> final class DialogOptions { <ide> <ide> <ide> private int textNegativeResId = R.string.rate_dialog_no; <i...
Java
apache-2.0
ab3de717d24d7439d5bcdf66dffad50837a5cd80
0
gentics/mesh,gentics/mesh,gentics/mesh,gentics/mesh
package com.gentics.mesh.test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import com.gentics.mesh.core.data.GenericVertex; import com.gentics.mesh.core.data.relationship.GraphPermission; import com.gentics.mesh.core.data.service.BasicObjectTestcases; import com.gentics.mesh...
core/src/test/java/com/gentics/mesh/test/AbstractBasicObjectTest.java
package com.gentics.mesh.test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import com.gentics.mesh.core.data.GenericVertex; import com.gentics.mesh.core.data.relationship.GraphPermission; import com.gentics.mesh.core.data.service.BasicObjectTestcases; import com.gentics.mesh...
Fix permission unit tests
core/src/test/java/com/gentics/mesh/test/AbstractBasicObjectTest.java
Fix permission unit tests
<ide><path>ore/src/test/java/com/gentics/mesh/test/AbstractBasicObjectTest.java <ide> tx.success(); <ide> } <ide> <del> RoutingContext rc = getMockedRoutingContext(""); <del> InternalActionContext ac = InternalActionContext.create(rc); <del> assertTrue(role().hasPermission(perm, node)); <del> assertTrue(getRe...
Java
apache-2.0
0fb65ccd988f0bbdaf6ac80a75f682755c32d46f
0
Nastel/tnt4j-stream-jmx,Nastel/PingJMX,Nastel/tnt4j-stream-jmx,Nastel/PingJMX,Nastel/tnt4j-stream-jmx
/* * Copyright 2015-2018 JKOOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
tnt4j-stream-jmx-core/src/main/java/com/jkoolcloud/tnt4j/stream/jmx/SamplingAgent.java
/* * Copyright 2015-2018 JKOOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Multi VM monitoring reviewed and completed.
tnt4j-stream-jmx-core/src/main/java/com/jkoolcloud/tnt4j/stream/jmx/SamplingAgent.java
Multi VM monitoring reviewed and completed.
<ide><path>nt4j-stream-jmx-core/src/main/java/com/jkoolcloud/tnt4j/stream/jmx/SamplingAgent.java <ide> import com.jkoolcloud.tnt4j.sink.EventSink; <ide> import com.jkoolcloud.tnt4j.source.Source; <ide> import com.jkoolcloud.tnt4j.source.SourceFactory; <del>import com.jkoolcloud.tnt4j.source.SourceFactoryImpl; <ide> imp...
Java
mit
7fdbaf8fd8d6e5fcb6b92c051327816ea24f2293
0
e16din/RequestManager
package com.e16din.requestmanager.retrofit; import android.support.annotation.NonNull; import android.text.TextUtils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.squareup.okhttp.Cache; import com.squareup.okhttp.OkHttpClient; import java.util.Map; import java.util.concurrent.TimeUnit;...
src/main/java/com/e16din/requestmanager/retrofit/RetrofitAdapter.java
package com.e16din.requestmanager.retrofit; import android.support.annotation.NonNull; import android.text.TextUtils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.squareup.okhttp.Cache; import com.squareup.okhttp.OkHttpClient; import java.util.Map; import java.util.concurrent.TimeUnit;...
added getService with builder
src/main/java/com/e16din/requestmanager/retrofit/RetrofitAdapter.java
added getService with builder
<ide><path>rc/main/java/com/e16din/requestmanager/retrofit/RetrofitAdapter.java <ide> return builder.build().create(requestManagerInterface); <ide> } <ide> <add> public static Object getService(Class requestManagerInterface, RestAdapter.Builder builder, Map<String, String> headers, Cache cache) { <add> ...
Java
apache-2.0
f07c1e9e9fb109d1013219d00d0667af4e74b601
0
dido/bptdb,dido/bptdb
/* * Copyright (c) 2013 Rafael R. Sevilla (http://games.stormwyrm.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
src/com/stormwyrm/bptdb/BPTDB.java
/* * Copyright (c) 2013 Rafael R. Sevilla (http://games.stormwyrm.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
add some javadocs
src/com/stormwyrm/bptdb/BPTDB.java
add some javadocs
<ide><path>rc/com/stormwyrm/bptdb/BPTDB.java <ide> import com.badlogic.gdx.files.FileHandle; <ide> <ide> /** <del> * B+ Tree database. Should be able to read the same database files generated by the Ruby BPTDB class in misc <add> * B+ Tree database. Should be able to read the same database files generated by the Ruby ...
JavaScript
mit
5d14a19926328cee89ee5508c1b3fd0682487791
0
generate/generate,generate/generate
'use strict'; var exists = require('fs-exists-sync'); var fs = require('fs'); /** * Run the given generators and tasks. This flag is unnecessary when * used with [base-runner][]. * * ```sh * # run task 'foo' * $ app --tasks foo * # => {task: ['foo']} * # run generator 'foo', task 'bar' * $ app --tasks foo:ba...
lib/commands/tasks.js
'use strict'; var exists = require('fs-exists-sync'); var fs = require('fs'); /** * Run the given generators and tasks. This flag is unnecessary when * used with [base-runner][]. * * ```sh * # run task 'foo' * $ app --tasks foo * # => {task: ['foo']} * # run generator 'foo', task 'bar' * $ app --tasks foo:ba...
fix variable, call `.generate` instead of `.generateEach`
lib/commands/tasks.js
fix variable, call `.generate` instead of `.generateEach`
<ide><path>ib/commands/tasks.js <ide> <ide> module.exports = function(app, options) { <ide> return function(val, key, config, next) { <del> app.debug('command > %s: "%j"', key, val); <del> var tasks = setTasks(app, options.env.configfile, val); <del> app.generateEach(tasks, next); <add> var tasks = setTa...
Java
apache-2.0
017a40c3bece40e2d4651e5bd513aa1726993269
0
jzmq/pinot,jzmq/pinot,jzmq/pinot,jzmq/pinot,jzmq/pinot,jzmq/pinot
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/Rebalancer.java
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
note rebalancer.java
pinot-controller/src/main/java/com/linkedin/pinot/controller/helix/Rebalancer.java
note rebalancer.java
<ide><path>inot-controller/src/main/java/com/linkedin/pinot/controller/helix/Rebalancer.java <ide> import java.util.concurrent.TimeUnit; <ide> <ide> /** <del> * <add> * In this class , we rebuild many env parameters for UAutoRebalancer to calculate new idealstate <ide> */ <ide> <ide> public class Rebalancer { <ide> ...
JavaScript
mit
e9b57fca5fba69595fd08d8f2b6e4494254b047f
0
zen-audio-player/zen-audio-player.github.io,Ab1d/zen-audio-player.github.io,monicacheung/zen-audio-player.github.io,zen-audio-player/zen-audio-player.github.io,monicacheung/zen-audio-player.github.io,Ab1d/zen-audio-player.github.io,divayprakash/zen-audio-player.github.io,divayprakash/zen-audio-player.github.io
function getParameterByName(url, name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(url); return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } function getCurrentVideoID() { ...
js/everything.js
function getParameterByName(url, name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(url); return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } function getCurrentVideoID() { ...
try full domain
js/everything.js
try full domain
<ide><path>s/everything.js <ide> <ide> function makeYoutubeEmbedURL(videoID) { <ide> var head = "http://www.youtube.com/embed/"; <del> var tail = "?enablejsapi=1&origin=shakeelmohamed.com&autoplay=1"; <add> var tail = "?enablejsapi=1&origin=http://shakeelmohamed.com&autoplay=1"; <ide> if (videoID) { <ide...
JavaScript
mit
b9f0fe2d34ac72983acde523f2dfa4074e339774
0
maritz/nohm-admin,maritz/nohm-admin
_r(function (app) { if ( ! window.app.views.hasOwnProperty('user')) { app.views.user = {}; } /** * #/user/index */ app.views.user.index = app.base.listView.extend({ collection: app.collections.User, auto_render: true }); /** * #/user/register */ app.views.user.regis...
static/js/views/userView.js
_r(function (app) { if ( ! window.app.views.hasOwnProperty('user')) { app.views.user = {}; } /** * #/user/index */ app.views.user.index = app.base.listView.extend({ collection: app.collections.User, auto_render: true }); /** * #/user/register */ app.views.user.regis...
Fix login overlay not being closed on login
static/js/views/userView.js
Fix login overlay not being closed on login
<ide><path>tatic/js/views/userView.js <ide> saved: function () { <ide> $.jGrowl('Login successful'); <ide> app.user_self.set(this.model.toJSON()); <del> app.trigger('login'); <ide> <ide> if (app.current.view instanceof app.views.user.login) { <ide> app.go('#'); <del> } <ad...
JavaScript
mit
0a6aec0ee1621e316d0f8a24dca441a91aba1cd9
0
timbl/rdflib.js,timbl/rdflib.js,timbl/rdflib.js
/************************************************************ * * Project: rdflib.js, originally part of Tabulator project * * File: web.js * * Description: contains functions for requesting/fetching/retracting * This implements quite a lot of the web architecture. * A fetcher is bound to a specific knowledge ...
web.js
/************************************************************ * * Project: rdflib.js, originally part of Tabulator project * * File: web.js * * Description: contains functions for requesting/fetching/retracting * This implements quite a lot of the web architecture. * A fetcher is bound to a specific knowledge ...
Added r flag to serializer
web.js
Added r flag to serializer
<ide><path>eb.js <ide> var newSts = kb.statementsMatching(undefined, undefined, undefined, target); <ide> sz.suggestNamespaces(kb.namespaces); <ide> sz.setBase(base); <add> sz.setFlags('r'); <ide> switch(contentType){ <ide> case 'application/rdf+xml': <ide> documentString = sz.sta...
Java
apache-2.0
f9e7e7e30ece588776ba03ad52a696f4e4941e1d
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2018, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
testutil-server/src/main/java/io/spine/server/integration/AcknowledgementsVerifier.java
/* * Copyright 2018, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Add details to AcknowledgementVerifier docs.
testutil-server/src/main/java/io/spine/server/integration/AcknowledgementsVerifier.java
Add details to AcknowledgementVerifier docs.
<ide><path>estutil-server/src/main/java/io/spine/server/integration/AcknowledgementsVerifier.java <ide> import static com.google.common.base.Preconditions.checkArgument; <ide> <ide> /** <del> * An abstract verifier of acknowledgements. <add> * An abstract verifier of Bounded Context acknowledgements. Its intended to b...
Java
apache-2.0
8c29da631f720c42b1676721178e417499962ef9
0
pfirmstone/JGDMS,cdegroot/river,pfirmstone/JGDMS,pfirmstone/JGDMS,pfirmstone/river-internet,pfirmstone/river-internet,pfirmstone/JGDMS,pfirmstone/river-internet,cdegroot/river
/* * 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 m...
src/com/sun/jini/jeri/internal/runtime/Target.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 m...
Fix exception cast and reset interrupt status git-svn-id: c7bbe51404944d9b279db17c7a6e06b416cefbc7@1222914 13f79535-47bb-0310-9956-ffa450edef68
src/com/sun/jini/jeri/internal/runtime/Target.java
Fix exception cast and reset interrupt status
<ide><path>rc/com/sun/jini/jeri/internal/runtime/Target.java <ide> } <ide> }), securityContext.getAccessControlContext()); <ide> } catch (PrivilegedActionException e) { <del> throw (IOException) e.getException(); <add> Exception ex = e.getException(); <add> ...
Java
agpl-3.0
c70197576cf4d3b2e25e3a628dde8732cbcc7434
0
ktunaxa/rms,ktunaxa/rms,ktunaxa/rms,ktunaxa/rms
/* * This is part of the Ktunaxa referral system. * * Copyright 2011 Ktunaxa Nation Council, http://www.ktunaxa.org/, Canada. */ package org.ktunaxa.referral.client.gui; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.types.VisibilityMode; import com.smartgwt.client.widgets.layout.SectionSta...
map/src/main/java/org/ktunaxa/referral/client/gui/UnassignedTasksPanel.java
/* * This is part of the Ktunaxa referral system. * * Copyright 2011 Ktunaxa Nation Council, http://www.ktunaxa.org/, Canada. */ package org.ktunaxa.referral.client.gui; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.types.VisibilityMode; import com.smartgwt.client.widgets.layout.SectionSta...
remove commented code git-svn-id: 1cc9c407a3edc78ef4a46932c73684f07c8b3c91@1567 cebd4ea5-dd72-4036-80b6-269358829854
map/src/main/java/org/ktunaxa/referral/client/gui/UnassignedTasksPanel.java
remove commented code
<ide><path>ap/src/main/java/org/ktunaxa/referral/client/gui/UnassignedTasksPanel.java <ide> // nothing to do for now <ide> } <ide> <del>// @Override <del>// public void hide() { <del>// super.hide(); <del>// groups.destroy(); <del>// for (int i = 0 ; i < CANDIDATE_CHECKS.length ; i++) { <del>// views[i].destro...
JavaScript
agpl-3.0
4f3dd316d5ae1fd5150ebb779945b1ea6f4e351d
0
Openki/Openki,schuel/hmmm,Openki/Openki,schuel/hmmm,Openki/Openki,schuel/hmmm
Template.courseMembers.onCreated(function() { this.increaseBy = 10; this.membersLimit = new ReactiveVar(this.increaseBy); }); Template.courseMembers.helpers({ howManyEnrolled: function() { return this.members.length; }, sortedMembers: function() { var sortedMembers = this.members.sort(function(a, b) { ...
client/views/courses/members/course.members.js
Template.courseMembers.onCreated(function() { this.increaseBy = 10; this.membersLimit = new ReactiveVar(this.increaseBy); }); Template.courseMembers.helpers({ howManyEnrolled: function() { return this.members.length; }, sortedMembers: function() { var members = this.members.map(function(member) { member.r...
don't remove the poarticipant role from members fixes #894
client/views/courses/members/course.members.js
don't remove the poarticipant role from members
<ide><path>lient/views/courses/members/course.members.js <ide> }, <ide> <ide> sortedMembers: function() { <del> var members = this.members.map(function(member) { <del> member.roles = _.without(member.roles, 'participant'); <del> return member; <del> }); <add> var sortedMembers = this.members.sort(function(...
Java
unlicense
c141b978a2a05c5536fd939b8f748aec880e2026
0
playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome
package org.playasophy.wonderdome; import ddf.minim.*; import ddf.minim.analysis.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import processing.core.*; import org.playasophy.wonderdome.input.ButtonEvent; import org.playasophy.wonderdome.input.InputEvent; import org.playasophy.wond...
src/org/playasophy/wonderdome/Wonderdome.java
package org.playasophy.wonderdome; import ddf.minim.*; import ddf.minim.analysis.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import processing.core.*; import org.playasophy.wonderdome.input.ButtonEvent; import org.playasophy.wonderdome.input.InputEvent; import org.playasophy.wond...
Start button toggles auto cycling of modes
src/org/playasophy/wonderdome/Wonderdome.java
Start button toggles auto cycling of modes
<ide><path>rc/org/playasophy/wonderdome/Wonderdome.java <ide> private boolean easterEggRunning; <ide> private int currentModeIndex; <ide> private State state; <add> private boolean autoCycle; <ide> private long lastUpdate; <ide> private long lastEvent; <ide> <ide> setLastEvent(); <ide> ...
Java
agpl-3.0
ea5c1b6aa7300c3a25a0cefe4338e6ca07bbe3dc
0
MaridProject/marid,MaridProject/marid
/* * MARID, the visual component programming environment. * Copyright (C) 2020 Dzmitry Auchynnikau * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * Licen...
marid-ide/src/main/java/org/marid/ide/AppLauncher.java
/* * MARID, the visual component programming environment. * Copyright (C) 2020 Dzmitry Auchynnikau * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * Licen...
Single jar
marid-ide/src/main/java/org/marid/ide/AppLauncher.java
Single jar
<ide><path>arid-ide/src/main/java/org/marid/ide/AppLauncher.java <ide> } <ide> } <ide> // make custom classpath <del> var urls = new ArrayList<URL>(); <add> var urls = new ArrayList<URL>(futures.size()); <ide> for (var f : futures) { <ide> var url = f.get(); <ide> if (url != null) {
JavaScript
mit
c8a68052743aed5cbc905d9e63c34d0c9a3328cc
0
TrustTheVote-Project/horatio-client,TrustTheVote-Project/horatio-client,TrustTheVote-Project/horatio-client
// Browser detection for when you get desparate. A measure of last resort. // http://rog.ie/post/9089341529/html5boilerplatejs // var b = document.documentElement; // b.setAttribute('data-useragent', navigator.userAgent); // b.setAttribute('data-platform', navigator.platform); // sample CSS: html[data-useragent*='Ch...
assets/js/functions.js
// Browser detection for when you get desparate. A measure of last resort. // http://rog.ie/post/9089341529/html5boilerplatejs // var b = document.documentElement; // b.setAttribute('data-useragent', navigator.userAgent); // b.setAttribute('data-platform', navigator.platform); // sample CSS: html[data-useragent*='Ch...
send form results via POST, commented out for now
assets/js/functions.js
send form results via POST, commented out for now
<ide><path>ssets/js/functions.js <ide> <ide> $(function() { <ide> $('form').submit(function() { <add> <add> // for testing, output the JSON at the bottom of the page <ide> $('#result').text(JSON.stringify($('form').serializeObject())); <add> <add> // use this when there's a server URL ...
Java
mit
6bd45f6dd71d8bcbda6a78ef19e3de82681966ae
0
McJty/RFTools
package mcjty.rftools.blocks.ores; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; public class DimensionalShardItemBlock extends ItemBlock { public DimensionalShardItemBlock(Block block) { super(block); setHasSubtypes(true); } @Override public int getMetadata(i...
src/main/java/mcjty/rftools/blocks/ores/DimensionalShardItemBlock.java
package mcjty.rftools.blocks.ores; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; public class DimensionalShardItemBlock extends ItemBlock { public DimensionalShardItemBlock(Block block) { super(block); } @Override public int getMetadata(int damage) { return da...
Call setHasSubtypes(true) on dimensional shard ore This fixes the nether and end variants of dimensional shard ore dropping as the overworld variant when silk touched.
src/main/java/mcjty/rftools/blocks/ores/DimensionalShardItemBlock.java
Call setHasSubtypes(true) on dimensional shard ore
<ide><path>rc/main/java/mcjty/rftools/blocks/ores/DimensionalShardItemBlock.java <ide> public class DimensionalShardItemBlock extends ItemBlock { <ide> public DimensionalShardItemBlock(Block block) { <ide> super(block); <add> setHasSubtypes(true); <ide> } <ide> <ide> @Override
Java
apache-2.0
32c4e661abb39a9c9745014c6f57758a469b73e6
0
msoute/vertx-deploy-tools,msoute/vertx-deploy-tools,msoute/vertx-deploy-tools
package nl.jpoint.maven.vertx.utils; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.clien...
vertx-deploy-maven-plugin/src/main/java/nl/jpoint/maven/vertx/utils/AwsOpsWorksUtil.java
package nl.jpoint.maven.vertx.utils; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.clien...
No need for StringBuilder
vertx-deploy-maven-plugin/src/main/java/nl/jpoint/maven/vertx/utils/AwsOpsWorksUtil.java
No need for StringBuilder
<ide><path>ertx-deploy-maven-plugin/src/main/java/nl/jpoint/maven/vertx/utils/AwsOpsWorksUtil.java <ide> <ide> String date = compressedIso8601DateFormat.format(new Date()); <ide> <del> StringBuilder payloadBuilder = new StringBuilder("{"); <del> payloadBuilder.append("\"StackId\":\""+stackId+"\"...
JavaScript
mit
5d265d3947a323d1b765fb6569caf3e9811908b0
0
chung-edison/Tec_Web_Js_2016_B,chung-edison/Tec_Web_Js_2016_B
/** * UsuarioController * * @description :: Server-side logic for managing Usuarios * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { crearUsuario: function (req, res) { if (req.method == 'POST') { var parametros = req.allParams(); ...
Mascotas/api/controllers/UsuarioController.js
/** * UsuarioController * * @description :: Server-side logic for managing Usuarios * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { crearUsuario: function (req, res) { if (req.method == 'POST') { } else { return res.view('vi...
Crear usuario en la base de datos
Mascotas/api/controllers/UsuarioController.js
Crear usuario en la base de datos
<ide><path>ascotas/api/controllers/UsuarioController.js <ide> crearUsuario: function (req, res) { <ide> <ide> if (req.method == 'POST') { <del> <add> var parametros = req.allParams(); <add> if (parametros.nombres && parametros.apellidos) { <add> var usuarioCrear = { <ad...
Java
apache-2.0
bb15d797b9f25b34db17bd5f889153213bf3512d
0
sdeleuze/reactor-core,sdeleuze/reactor-core,sdeleuze/reactor-core,sdeleuze/reactor-core,reactor/reactor-core
/* * Copyright (c) 2011-2016 Pivotal Software 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 * * Unles...
src/main/java/reactor/core/publisher/FluxGenerate.java
/* * Copyright (c) 2011-2016 Pivotal Software 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 * * Unles...
Tweak bubble
src/main/java/reactor/core/publisher/FluxGenerate.java
Tweak bubble
<ide><path>rc/main/java/reactor/core/publisher/FluxGenerate.java <ide> cleanup(s); <ide> <ide> generatedError = null; <del> Exceptions.bubble(e); <del> return null; <add> throw Exceptions.bubble(e); <ide> } <ide> <ide> if (!hasValue) { <ide> state = s; <ide> return v; <ide> } <de...
Java
apache-2.0
f7ff5d59a452eb7e2ff67be33a2a2bc88e90764a
0
ened/ExoPlayer,google/ExoPlayer,androidx/media,google/ExoPlayer,ened/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,androidx/media,amzn/exoplayer-amazon-port,google/ExoPlayer,androidx/media,amzn/exoplayer-amazon-port
/* * Copyright (C) 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 app...
library/core/src/test/java/com/google/android/exoplayer2/mediacodec/BatchBufferTest.java
/* * Copyright (C) 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 app...
Make BatchBufferTest allocate less memory Setting to 2x BATCH_SIZE_BYTES PiperOrigin-RevId: 331124129
library/core/src/test/java/com/google/android/exoplayer2/mediacodec/BatchBufferTest.java
Make BatchBufferTest allocate less memory
<ide><path>ibrary/core/src/test/java/com/google/android/exoplayer2/mediacodec/BatchBufferTest.java <ide> public final class BatchBufferTest { <ide> <ide> /** Bigger than {@code BatchBuffer.BATCH_SIZE_BYTES} */ <del> private static final int BUFFER_SIZE_LARGER_THAN_BATCH_SIZE_BYTES = 100 * 1000 * 1000; <add> privat...
Java
mit
2b38de99bc1c793a1a283003ad9735cafe73a131
0
eggheadgames/android-in-app-payments
package com.billing; import java.util.Map; public abstract class BillingServiceListener { /** * Callback will be triggered upon obtaining information about product prices * * @param iapKeyPrices - a map with available products */ public void onPricesUpdated(Map<String, String> iapKeyPrice...
library/src/main/java/com/billing/BillingServiceListener.java
package com.billing; import java.util.Map; public interface BillingServiceListener { /** * Callback will be triggered upon obtaining information about product prices * * @param iapKeyPrices - a map with available products */ void onPricesUpdated(Map<String, String> iapKeyPrices); /**...
changed library listener to be an abstract class
library/src/main/java/com/billing/BillingServiceListener.java
changed library listener to be an abstract class
<ide><path>ibrary/src/main/java/com/billing/BillingServiceListener.java <ide> <ide> import java.util.Map; <ide> <del>public interface BillingServiceListener { <add>public abstract class BillingServiceListener { <ide> <ide> /** <ide> * Callback will be triggered upon obtaining information about product price...
Java
apache-2.0
56f2736ef9402d6e60e74083373e0ce7b726d527
0
ASU-Capstone/uPortal-Forked,stalele/uPortal,Mines-Albi/esup-uportal,ASU-Capstone/uPortal,groybal/uPortal,EsupPortail/esup-uportal,ASU-Capstone/uPortal-Forked,Jasig/uPortal,doodelicious/uPortal,bjagg/uPortal,GIP-RECIA/esco-portail,vbonamy/esup-uportal,timlevett/uPortal,joansmith/uPortal,Jasig/SSP-Platform,Mines-Albi/esu...
/** * Copyright 2002 The JA-SIG Collaborative. 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 lis...
source/org/jasig/portal/services/stats/LoggingStatsRecorder.java
/** * Copyright 2002 The JA-SIG Collaborative. 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 lis...
Added new methods: recordChannelAddedToLayout() and recordChannelRemovedFromLayout() Added ability to specify logging priority. git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@6707 f5dbab47-78f9-eb45-b975-e544023573eb
source/org/jasig/portal/services/stats/LoggingStatsRecorder.java
Added new methods: recordChannelAddedToLayout() and recordChannelRemovedFromLayout() Added ability to specify logging priority.
<ide><path>ource/org/jasig/portal/services/stats/LoggingStatsRecorder.java <ide> package org.jasig.portal.services.stats; <ide> <ide> import org.jasig.portal.services.LogService; <add>import org.jasig.portal.layout.UserLayoutChannelDescription; <ide> import org.jasig.portal.security.IPerson; <add>import org.jasig.port...
Java
apache-2.0
f0ae88e6b659501ebff93ba5d9db80f683046cbc
0
apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4
/* * 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 ...
java/org/apache/jasper/JspC.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 now unused constants git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1712774 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/JspC.java
Remove now unused constants
<ide><path>ava/org/apache/jasper/JspC.java <ide> protected static final String SWITCH_DUMP_SMAP = "-dumpsmap"; <ide> protected static final String SWITCH_VALIDATE_TLD = "-validateTld"; <ide> protected static final String SWITCH_VALIDATE_XML = "-validateXml"; <del> protected static final String SWITCH_BLO...
Java
apache-2.0
68b5a6edaddba1ba76098f6dae6b1848cb0c3737
0
hubrick/vertx-rest-client
/** * Copyright (C) 2015 Etaia AS (oss@hubrick.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
src/main/java/com/hubrick/vertx/rest/impl/DefaultRestClientRequest.java
/** * Copyright (C) 2015 Etaia AS (oss@hubrick.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
* Improved cache key calculation performance
src/main/java/com/hubrick/vertx/rest/impl/DefaultRestClientRequest.java
* Improved cache key calculation performance
<ide><path>rc/main/java/com/hubrick/vertx/rest/impl/DefaultRestClientRequest.java <ide> // Status variables <ide> private boolean headersCopied = false; <ide> private boolean globalHeadersPopulated = false; <add> private MultiKey cacheKey; <ide> <ide> public DefaultRestClientRequest(Vertx vertx, <id...
JavaScript
mit
16de3c060be725b0c89f2b9ce4ae2c31a4020aaf
0
saguijs/sagui,saguijs/sagui
import { expect } from 'chai' import { join } from 'path' import { HotModuleReplacementPlugin } from 'webpack' import CleanWebpackPlugin from 'clean-webpack-plugin' import plugin from './base' const saguiPath = join(__dirname, '../../../../') const projectPath = join(saguiPath, 'spec/fixtures/simple-project') descri...
src/webpack/plugins/base.spec.js
import { expect } from 'chai' import { join } from 'path' import { HotModuleReplacementPlugin } from 'webpack' import CleanWebpackPlugin from 'clean-webpack-plugin' import plugin from './base' const saguiPath = join(__dirname, '../../../../') const projectPath = join(saguiPath, 'spec/fixtures/simple-project') descri...
Fix test description
src/webpack/plugins/base.spec.js
Fix test description
<ide><path>rc/webpack/plugins/base.spec.js <ide> const projectPath = join(saguiPath, 'spec/fixtures/simple-project') <ide> <ide> describe('configure webpack base', function () { <del> it('should the project\'s `src/` and `node_modules/` in root resolve', function () { <add> it('should add the project\'s `src/` and `...
Java
agpl-3.0
99b9708112007c8f9c5b7f815568780325021103
0
RishiGupta12/serial-communication-manager,RishiGupta12/serial-communication-manager,akuhtz/serial-communication-manager,akuhtz/serial-communication-manager,akuhtz/serial-communication-manager,RishiGupta12/serial-communication-manager,RishiGupta12/SerialPundit,akuhtz/serial-communication-manager,RishiGupta12/SerialPundi...
package com.embeddedunveiled.serial; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.AfterClass; import org.junit.Test; import com.embe...
com.embeddedunveiled.serial/junit-tests/com/embeddedunveiled/serial/SerialPortConfigurationsTests.java
package com.embeddedunveiled.serial; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.AfterClass; import org.junit.Test; import com.embe...
Junit - even parity, different flow control,different baud rates, 5,6,7,8 data, 1 stop
com.embeddedunveiled.serial/junit-tests/com/embeddedunveiled/serial/SerialPortConfigurationsTests.java
Junit - even parity, different flow control,different baud rates, 5,6,7,8 data, 1 stop
<ide><path>om.embeddedunveiled.serial/junit-tests/com/embeddedunveiled/serial/SerialPortConfigurationsTests.java <ide> scm.configureComPortControl(handle2, FLOWCONTROL.HARDWARE, 'x', 'x', false, false); <ide> } <ide> <del> /* Software flow control,, 8N1 - with different baud rates */ <add> /* Software flow control,...
Java
apache-2.0
b170f51ffeb872f27cd4c1da8683e2133c01c142
0
loskutov/intellij-scala,loskutov/intellij-scala,triplequote/intellij-scala,jeantil/intellij-scala,katejim/intellij-scala,jastice/intellij-scala,advancedxy/intellij-scala,igrocki/intellij-scala,ghik/intellij-scala,whorbowicz/intellij-scala,whorbowicz/intellij-scala,katejim/intellij-scala,Im-dex/intellij-scala,jastice/in...
/* * Copyright 2000-2008 JetBrains s.r.o. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
scala_core/src/org/jetbrains/plugins/scala/lang/lexer/ScalaLexer.java
/* * Copyright 2000-2008 JetBrains s.r.o. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Xml lexing altered git-svn-id: ba81b6bd3dd9830eeafada3de57364a31f808d18@16862 59f64563-22e8-0310-8d2c-98a15e1539f2
scala_core/src/org/jetbrains/plugins/scala/lang/lexer/ScalaLexer.java
Xml lexing altered
<ide><path>cala_core/src/org/jetbrains/plugins/scala/lang/lexer/ScalaLexer.java <ide> myTokenEnd = myTokenStart + scalaToken; <ide> myCurrentLexer.start(getBufferSequence(),myTokenEnd,myBufferEnd,myCurrentLexer.getState()); <ide> } <del> } /*else if (type == XML_REAL_WHITE_SPACE || <add...
Java
apache-2.0
ac5175d892dbcd1ef7652a3ce0e038ad0ba731a2
0
toBeNewbie/moblileSafe
package com.example.mobilesafe; import android.app.Activity; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundle; import android.view.Menu; import android.view.Window; import android.view.animation.AlphaAnimation; import android.view.animation...
src/com/example/mobilesafe/SplashActivity.java
package com.example.mobilesafe; import android.app.Activity; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundle; import android.view.Menu; import android.view.Window; import android.widget.RelativeLa...
设置splash相关动画。
src/com/example/mobilesafe/SplashActivity.java
设置splash相关动画。
<ide><path>rc/com/example/mobilesafe/SplashActivity.java <ide> package com.example.mobilesafe; <ide> <ide> import android.app.Activity; <del>import android.content.pm.ApplicationInfo; <ide> import android.content.pm.PackageInfo; <ide> import android.content.pm.PackageManager.NameNotFoundException; <ide> import android...
Java
epl-1.0
f06b54b5364dcec0ab34126c544752bb5d78d399
0
codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy
/* * Copyright (c) [2012] - [2017] Red Hat, Inc. * 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 * * Contributors: * ...
plugins/plugin-hosted/codenvy-machine-hosted/src/main/java/com/codenvy/machine/HostedMachineProviderImpl.java
/* * Copyright (c) [2012] - [2017] Red Hat, Inc. * 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 * * Contributors: * ...
CODENVY-2284: Add additional logs (#2406)
plugins/plugin-hosted/codenvy-machine-hosted/src/main/java/com/codenvy/machine/HostedMachineProviderImpl.java
CODENVY-2284: Add additional logs (#2406)
<ide><path>lugins/plugin-hosted/codenvy-machine-hosted/src/main/java/com/codenvy/machine/HostedMachineProviderImpl.java <ide> <ide> import static com.codenvy.machine.MaintenanceConstraintProvider.MAINTENANCE_CONSTRAINT_KEY; <ide> import static com.codenvy.machine.MaintenanceConstraintProvider.MAINTENANCE_CONSTRAINT_VA...
Java
apache-2.0
e7884aec26a67f1fb7d0f7c1fbbce0b97277de14
0
rjcorrig/FreeRDP,DavBfr/FreeRDP,ivan-83/FreeRDP,nfedera/FreeRDP,mfleisz/FreeRDP,yurashek/FreeRDP,erbth/FreeRDP,DavBfr/FreeRDP,chipitsine/FreeRDP,mfleisz/FreeRDP,FreeRDP/FreeRDP,cloudbase/FreeRDP-dev,bjcollins/FreeRDP,chipitsine/FreeRDP,mfleisz/FreeRDP,cloudbase/FreeRDP-dev,chipitsine/FreeRDP,ondrejholy/FreeRDP,cedrozor...
/* Android FreeRDP JNI Wrapper Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz 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/. */ package com....
client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/services/LibFreeRDP.java
/* Android FreeRDP JNI Wrapper Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz 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/. */ package com....
Added default return if instance not in list.
client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/services/LibFreeRDP.java
Added default return if instance not in list.
<ide><path>lient/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/services/LibFreeRDP.java <ide> if (mInstanceState.get(inst, false)) { <ide> freerdp_disconnect(inst); <ide> } <del> while(mInstanceState.get(inst)) { <add> while(mInstanceState...
Java
apache-2.0
c5ac1e89218f13022a1721bfe0d0cdc9aed6afb5
0
finmath/finmath-lib,finmath/finmath-lib
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 23.02.2004 */ package net.finmath.functions; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.ma...
src/main/java/net/finmath/functions/LinearAlgebra.java
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 23.02.2004 */ package net.finmath.functions; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.ma...
Clean up.
src/main/java/net/finmath/functions/LinearAlgebra.java
Clean up.
<ide><path>rc/main/java/net/finmath/functions/LinearAlgebra.java <ide> private static boolean isEigenvalueDecompositionViaSVD = Boolean.parseBoolean(System.getProperty("net.finmath.functions.LinearAlgebra.isEigenvalueDecompositionViaSVD","false")); <ide> private static boolean isSolverUseApacheCommonsMath; <ide> pri...
Java
apache-2.0
33ccc2a92f3662eaa1d4d591c785b3e0967decbe
0
apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj
/* * 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 ...
uimaj-core/src/main/java/org/apache/uima/cas/CAS.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 ...
no jira fix javadoc pblm git-svn-id: d56ff9e7d7ea0b208561738885f328c1a8397aa6@1802508 13f79535-47bb-0310-9956-ffa450edef68
uimaj-core/src/main/java/org/apache/uima/cas/CAS.java
no jira fix javadoc pblm
<ide><path>imaj-core/src/main/java/org/apache/uima/cas/CAS.java <ide> /** <ide> * Get the standard annotation index restricted to a specific annotation type. <ide> * <del> * @param type <add> * @param clazz <ide> * The annotation type the index is restricted to, specified as a JCas class <ide> ...
Java
apache-2.0
dcf5daa07ee2a64451a663d52915d1123fdc3ee0
0
pferraro/JGroups,slaskawi/JGroups,danberindei/JGroups,dimbleby/JGroups,ligzy/JGroups,danberindei/JGroups,rpelisse/JGroups,tristantarrant/JGroups,dimbleby/JGroups,danberindei/JGroups,rpelisse/JGroups,vjuranek/JGroups,pferraro/JGroups,rhusar/JGroups,TarantulaTechnology/JGroups,rvansa/JGroups,ibrahimshbat/JGroups,dimbleby...
package org.jgroups.mux; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jgroups.*; import org.jgroups.TimeoutException; import org.jgroups.protocols.pbcast.FLUSH; import org.jgroups.stack.StateTransferInfo; import org.jgroups.util.FIFOMessageQueue; import org.jgroups.ut...
src/org/jgroups/mux/Multiplexer.java
package org.jgroups.mux; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jgroups.*; import org.jgroups.TimeoutException; import org.jgroups.protocols.pbcast.FLUSH; import org.jgroups.stack.StateTransferInfo; import org.jgroups.util.FIFOMessageQueue; import org.jgroups.ut...
all MuxChannel.up() calls are now handled by passToMuxChannel()
src/org/jgroups/mux/Multiplexer.java
all MuxChannel.up() calls are now handled by passToMuxChannel()
<ide><path>rc/org/jgroups/mux/Multiplexer.java <ide> * message is removed and the MuxChannel corresponding to the header's service ID is retrieved from the map, <ide> * and MuxChannel.up() is called with the message. <ide> * @author Bela Ban <del> * @version $Id: Multiplexer.java,v 1.50 2007/03/05 09:34:46 belaban E...
Java
agpl-3.0
1a92216ab89275052dc9de910b269c2c6e2e53f3
0
bhutchinson/kfs,quikkian-ua-devops/will-financials,bhutchinson/kfs,quikkian-ua-devops/will-financials,kuali/kfs,kuali/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,kkronenb/kfs,UniversityOfHawaii/kfs,ua-eas/kfs,smith750/kfs,kuali/kfs,bhutchinson/kfs,ua-eas/kfs,kkronenb/k...
/* * Copyright 2005 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by appl...
work/src/org/kuali/kfs/fp/document/IndirectCostAdjustmentDocument.java
/* * Copyright 2005 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by appl...
KFSMI-4964: Indirect Cost Adjustment chart code on Receipt line is fixed to pull the indirect cost recovery chart code, not copy the chart code from Grant source accounting line.
work/src/org/kuali/kfs/fp/document/IndirectCostAdjustmentDocument.java
KFSMI-4964: Indirect Cost Adjustment chart code on Receipt line is fixed to pull the indirect cost recovery chart code, not copy the chart code from Grant source accounting line.
<ide><path>ork/src/org/kuali/kfs/fp/document/IndirectCostAdjustmentDocument.java <ide> String objectCode = SpringContext.getBean(ParameterService.class).getParameterValue(IndirectCostAdjustmentDocument.class, IndirectCostAdjustmentDocumentRuleConstants.RECEIPT_OBJECT_CODE); <ide> targetAccountingLine.se...
Java
lgpl-2.1
475609de790102db54e3b17ffa14f127693bec0d
0
jessealama/exist,jessealama/exist,wolfgangmm/exist,RemiKoutcherawy/exist,patczar/exist,eXist-db/exist,opax/exist,ambs/exist,shabanovd/exist,adamretter/exist,jessealama/exist,windauer/exist,kohsah/exist,ambs/exist,adamretter/exist,eXist-db/exist,patczar/exist,zwobit/exist,RemiKoutcherawy/exist,MjAbuz/exist,dizzzz/exist,...
/* * eXist Open Source Native XML Database * Copyright (C) 2001-06 The eXist Project * http://exist-db.org * * This program 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 ...
src/org/exist/webstart/JnlpHelper.java
/* * eXist Open Source Native XML Database * Copyright (C) 2001-06 The eXist Project * http://exist-db.org * * This program 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 ...
Reducing exist.home dependencies....... just one step svn path=/trunk/eXist-1.0/; revision=3858
src/org/exist/webstart/JnlpHelper.java
Reducing exist.home dependencies....... just one step
<ide><path>rc/org/exist/webstart/JnlpHelper.java <ide> <ide> import java.io.File; <ide> import org.apache.log4j.Logger; <add>import org.exist.util.Configuration; <ide> <ide> /** <ide> * Helper class for webstart. <ide> public class JnlpHelper { <ide> <ide> private static Logger logger = Logger.getLogger(Jn...
Java
apache-2.0
34b7dd3ae377c89d5652b9df7f9d85bed5b0c679
0
werkt/bazel,twitter-forks/bazel,dslomov/bazel,davidzchen/bazel,cushon/bazel,werkt/bazel,ulfjack/bazel,ButterflyNetwork/bazel,ulfjack/bazel,katre/bazel,bazelbuild/bazel,ulfjack/bazel,cushon/bazel,davidzchen/bazel,dslomov/bazel,safarmer/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,dslomov/bazel-windows,bazelbuild/...
// Copyright 2018 The Bazel Authors. 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 appl...
src/tools/android/java/com/google/devtools/build/android/desugar/CorePackageRenamer.java
// Copyright 2018 The Bazel Authors. 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 appl...
Simple build-time check for uses of desugared core library methods. PiperOrigin-RevId: 225110589
src/tools/android/java/com/google/devtools/build/android/desugar/CorePackageRenamer.java
Simple build-time check for uses of desugared core library methods.
<ide><path>rc/tools/android/java/com/google/devtools/build/android/desugar/CorePackageRenamer.java <ide> // limitations under the License. <ide> package com.google.devtools.build.android.desugar; <ide> <add>import static com.google.common.base.Preconditions.checkState; <add> <ide> import org.objectweb.asm.ClassVisitor...
Java
bsd-3-clause
13412cc5e5360a2fde16e71113273866b0a8a0b4
0
aclissold/Proxima,aclissold/Proxima,aclissold/Proxima,aclissold/Proxima
package com.siteshot.siteshot.adapters; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.Image...
app/src/main/java/com/siteshot/siteshot/adapters/ImageAdapter.java
package com.siteshot.siteshot.adapters; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.Image...
Use density-independent pixels on the profile grid
app/src/main/java/com/siteshot/siteshot/adapters/ImageAdapter.java
Use density-independent pixels on the profile grid
<ide><path>pp/src/main/java/com/siteshot/siteshot/adapters/ImageAdapter.java <ide> public class ImageAdapter extends BaseAdapter { <ide> <ide> private final String TAG = getClass().getName(); <del> private final int width = 90, height = 90; <del> <add> private int mWidth, mHeight; <add> private static fin...
Java
apache-2.0
e36a7ca831a5f33dc8929047c1972ff5fbcefa2d
0
magnetsystems/message-openfire,GregDThomas/Openfire,speedy01/Openfire,igniterealtime/Openfire,igniterealtime/Openfire,GregDThomas/Openfire,guusdk/Openfire,magnetsystems/message-openfire,magnetsystems/message-openfire,GregDThomas/Openfire,magnetsystems/message-openfire,guusdk/Openfire,akrherz/Openfire,Gugli/Openfire,Gug...
/** * $RCSfile$ * $Revision$ * $Date$ * * Copyright (C) 2008 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */ package org.jivesoftware.openfire.clearspace; import org.apache.commons.httpc...
src/java/org/jivesoftware/openfire/clearspace/ClearspaceManager.java
/** * $RCSfile$ * $Revision$ * $Date$ * * Copyright (C) 2008 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */ package org.jivesoftware.openfire.clearspace; import org.apache.commons.httpc...
Ported updates from 3.5.0 branch. git-svn-id: 2e83ce7f183c9abd424edb3952fab2cdab7acd7f@9974 b35dd754-fafc-0310-a699-88a17e54d16e
src/java/org/jivesoftware/openfire/clearspace/ClearspaceManager.java
Ported updates from 3.5.0 branch.
<ide><path>rc/java/org/jivesoftware/openfire/clearspace/ClearspaceManager.java <ide> String path = ClearspaceAuthProvider.URL_PREFIX + "authenticate/" + username + "/" + password; <ide> executeRequest(GET, path); <ide> return true; <del> } catch (Exception e) {} <add> }...
Java
apache-2.0
8cec1ac1b0accd1d849aafacafd8011613c5af1b
0
oehf/ipf,oehf/ipf,oehf/ipf,oehf/ipf
/* * Copyright 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 ...
commons/audit/src/main/java/org/openehealth/ipf/commons/audit/marshal/dicom/DICOM2016a.java
/* * Copyright 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 ...
#177: encode mediatype
commons/audit/src/main/java/org/openehealth/ipf/commons/audit/marshal/dicom/DICOM2016a.java
#177: encode mediatype
<ide><path>ommons/audit/src/main/java/org/openehealth/ipf/commons/audit/marshal/dicom/DICOM2016a.java <ide> element.setAttribute("UserIsRequestor", Boolean.toString(activeParticipant.isUserIsRequestor())); <ide> conditionallyAddAttribute(element, "NetworkAccessPointID", activeParticipant.getNetworkAcces...
Java
apache-2.0
b5cd56abc947358148a91a69d44966bfbdae11f7
0
zml2008/configurate,zml2008/configurate
/* * Configurate * Copyright (C) zml and Configurate contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
configurate-core/src/main/java/ninja/leaping/configurate/commented/SimpleCommentedConfigurationNode.java
/* * Configurate * Copyright (C) zml and Configurate contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Fix hashcode and equals impl for CommentedConfigurationNodes
configurate-core/src/main/java/ninja/leaping/configurate/commented/SimpleCommentedConfigurationNode.java
Fix hashcode and equals impl for CommentedConfigurationNodes
<ide><path>onfigurate-core/src/main/java/ninja/leaping/configurate/commented/SimpleCommentedConfigurationNode.java <ide> <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.Objects; <ide> import java.util.Optional; <del>import java.util.concurrent.atomic.AtomicReference; <ide> <ide> /** <id...
JavaScript
apache-2.0
8daeb65c961ef7730d0b25a71d3136b2684d0212
0
tessel/gprs-sim900
// Any copyright is dedicated to the Public Domain. // http://creativecommons.org/publicdomain/zero/1.0/ /********************************************* Use the GPRS module to send a text to a phone number of your choice. *********************************************/ var tessel = require('tessel'); var hardware = tes...
examples/gprs.js
// Any copyright is dedicated to the Public Domain. // http://creativecommons.org/publicdomain/zero/1.0/ /********************************************* Use the GPRS module to send a text to a phone number of your choice. *********************************************/ var tessel = require('tessel'); var hardware = tes...
error handling added to example
examples/gprs.js
error handling added to example
<ide><path>xamples/gprs.js <ide> console.log(''); <ide> }); <ide> }); <add> <add>// Handle errors <add>gprs.on('error', function (err) { <add> console.log('Got an error of some kind:\n', err); <add>});
Java
apache-2.0
e6f0c3ee75a3c0933f041c38a50d6bf3a9d36f01
0
apache/skywalking,apache/skywalking,apache/skywalking,ascrutae/sky-walking,apache/skywalking,hanahmily/sky-walking,apache/skywalking,ascrutae/sky-walking,apache/skywalking,ascrutae/sky-walking,ascrutae/sky-walking,OpenSkywalking/skywalking,OpenSkywalking/skywalking,hanahmily/sky-walking,apache/skywalking
/* * 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 ...
apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/utils/DurationUtils.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Fixed CI fail.
apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/utils/DurationUtils.java
Fixed CI fail.
<ide><path>pm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/utils/DurationUtils.java <ide> package org.apache.skywalking.apm.collector.ui.utils; <ide> <ide> import java.text.ParseException; <add>import java.text.SimpleDateFormat; <ide> import java.util.Date...
Java
agpl-3.0
820882e13a064129b838944f7d034e9477ec2346
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
e8c4b1ee-2e60-11e5-9284-b827eb9e62be
hello.java
e8bf06d6-2e60-11e5-9284-b827eb9e62be
e8c4b1ee-2e60-11e5-9284-b827eb9e62be
hello.java
e8c4b1ee-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>e8bf06d6-2e60-11e5-9284-b827eb9e62be <add>e8c4b1ee-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
b4d9458c7b1872b0a64dc381c9cd68b37810d011
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.jcef; import com.intellij.openapi.util.Disposer; import org.cef.CefClient; import org.cef.browser.CefBrowser; import org.cef.browser.CefFrame; import org....
platform/platform-api/src/com/intellij/ui/jcef/JBCefJSQuery.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.jcef; import com.intellij.openapi.util.Disposer; import org.cef.CefClient; import org.cef.browser.CefBrowser; import org.cef.browser.CefFrame; import org....
Correct javadoc for JBCefJSQuery.inject GitOrigin-RevId: 1be75c594e602f62a40a43b408caa2f7db3aded9
platform/platform-api/src/com/intellij/ui/jcef/JBCefJSQuery.java
Correct javadoc for JBCefJSQuery.inject
<ide><path>latform/platform-api/src/com/intellij/ui/jcef/JBCefJSQuery.java <ide> } <ide> <ide> /** <del> * Returns the query callback call to inject into JS code <add> * Returns the query callback to inject into JS code <ide> * <del> * @param queryResult the result that will be passed to the java handler ...
Java
apache-2.0
1995039fb99648e2b695878ea137b898b7b0f328
0
KurtYoung/druid,smartpcr/druid,druid-io/druid,cocosli/druid,zhihuij/druid,druid-io/druid,lizhanhui/data_druid,praveev/druid,milimetric/druid,kevintvh/druid,knoguchi/druid,leventov/druid,du00cs/druid,minewhat/druid,zhaown/druid,taochaoqiang/druid,se7entyse7en/druid,Deebs21/druid,deltaprojects/druid,Fokko/druid,monetate/...
/* * Druid - a distributed column store. * Copyright (C) 2012 Metamarkets Group Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your opti...
merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java
/* * Druid - a distributed column store. * Copyright (C) 2012 Metamarkets Group Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your opti...
additional logs
merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java
additional logs
<ide><path>erger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java <ide> import java.util.Set; <ide> import java.util.concurrent.Callable; <ide> import java.util.concurrent.ConcurrentHashMap; <del>import java.util.concurrent.ExecutionException; <ide> import java.util.concurrent.ExecutorService; <i...
Java
lgpl-2.1
8fc910204cefba37972177eeef59ac0a81c6dd30
0
stuartwdouglas/jboss-remoting,kabir/jboss-remoting,rhusar/jboss-remoting,bmaxwell/jboss-remoting,dpospisil/jboss-remoting,seeburger-ag/jboss-remoting
/* * JBoss, Home of Professional Open Source * Copyright 2011, JBoss Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the ter...
src/main/java/org/jboss/remoting3/remote/InboundMessage.java
/* * JBoss, Home of Professional Open Source * Copyright 2011, JBoss Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the ter...
Clean up imports
src/main/java/org/jboss/remoting3/remote/InboundMessage.java
Clean up imports
<ide><path>rc/main/java/org/jboss/remoting3/remote/InboundMessage.java <ide> <ide> import org.jboss.remoting3.MessageCancelledException; <ide> import org.jboss.remoting3.MessageInputStream; <del>import org.xnio.ChannelThread; <ide> import org.xnio.Pooled; <del>import org.xnio.Xnio; <ide> import org.xnio.channels.Chann...