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
JavaScript
mit
18643eb18a70d775a466ffb74b30369e8113be39
0
jorix/OL-FeaturePopups,jorix/OL-FeaturePopups
// Create control and add some layers // ---------------------------------- var fpControl = new OpenLayers.Control.FeaturePopups({ // External div for list popups popupOptions: { list: { // Uses an existing div having an id 'divList' popupClass: 'divList' }, ...
examples/feature-popups-external.js
// Create control and add some layers // ---------------------------------- var fpControl = new OpenLayers.Control.FeaturePopups({ // External div for list popups popupOptions: { list: { // Uses an existing div having an id 'divList' popupClass: 'divList' }, ...
Fix js typo.
examples/feature-popups-external.js
Fix js typo.
<ide><path>xamples/feature-popups-external.js <ide> }, <ide> single: null // Show a list instead of single popup if the list <ide> // has only an item. <del> } <ide> }, <ide> boxSelectionOptions: {}, <ide> layers: [
Java
apache-2.0
0ff227ff0acbfb27f86d5a81194616f085bc683b
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
package org.apache.lucene.analysis; import junit.framework.TestCase; import java.io.StringReader; public class TestISOLatin1AccentFilter extends TestCase { public void testU() throws Exception { TokenStream stream = new WhitespaceTokenizer(new StringReader("\u00FC")); ISOLatin1AccentFilter filter = new ISO...
contrib/analyzers/src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
package org.apache.lucene.analysis; import junit.framework.TestCase; import java.io.StringReader; public class TestISOLatin1AccentFilter extends TestCase { public void testU() throws Exception { TokenStream stream = new WhitespaceTokenizer(new StringReader("ü")); ISOLatin1AccentFilter filter = new ISOLatin...
switch dotted u character to use unicode value reference git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@160023 13f79535-47bb-0310-9956-ffa450edef68
contrib/analyzers/src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
switch dotted u character to use unicode value reference
<ide><path>ontrib/analyzers/src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java <ide> <ide> public class TestISOLatin1AccentFilter extends TestCase { <ide> public void testU() throws Exception { <del> TokenStream stream = new WhitespaceTokenizer(new StringReader("ü")); <add> TokenStream stream =...
Java
apache-2.0
error: pathspec 'src/test/java/org/mapdb/issues/MailList_HeapReopen.java' did not match any file(s) known to git
9241f1efa1f3e70d608db161c2a3f34b25e45a0d
1
jankotek/MapDB,jankotek/MapDB,jankotek/mapdb,jankotek/mapdb
package org.mapdb.issues; import org.junit.Test; import org.mapdb.*; import java.util.concurrent.ConcurrentMap; import static org.junit.Assert.assertEquals; public class MailList_HeapReopen { @Test public void test(){ DB store = DBMaker.heapDB().make(); ConcurrentMap map = store.hashMap("m...
src/test/java/org/mapdb/issues/MailList_HeapReopen.java
Add test case from mailing list
src/test/java/org/mapdb/issues/MailList_HeapReopen.java
Add test case from mailing list
<ide><path>rc/test/java/org/mapdb/issues/MailList_HeapReopen.java <add>package org.mapdb.issues; <add> <add>import org.junit.Test; <add>import org.mapdb.*; <add> <add>import java.util.concurrent.ConcurrentMap; <add> <add>import static org.junit.Assert.assertEquals; <add> <add>public class MailList_HeapReopen { <add> <a...
Java
apache-2.0
701451a197afbfd1fb4657fce9f432b59148cd3b
0
fabric8io/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client
/** * Copyright (C) 2015 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java
/** * Copyright (C) 2015 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
refactor(iss_3892): trivial refactoring on OperationSupport
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java
refactor(iss_3892): trivial refactoring on OperationSupport
<ide><path>ubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java <ide> * @param response The {@link HttpResponse} object. <ide> */ <ide> protected void assertResponseCode(HttpRequest request, HttpResponse<?> response) { <add> if (response.isSuccessful()) { <add> ...
Java
apache-2.0
6c318181d8d5fcdc5e0a2f4d253d4bcd152d4422
0
kwon37xi/hibernate4-memcached
package kr.pe.kwonnam.hibernate4memcached.regions; import kr.pe.kwonnam.hibernate4memcached.memcached.CacheNamespace; import kr.pe.kwonnam.hibernate4memcached.memcached.MemcachedAdapter; import kr.pe.kwonnam.hibernate4memcached.timestamper.HibernateCacheTimestamper; import kr.pe.kwonnam.hibernate4memcached.util.Overri...
hibernate4-memcached-core/src/main/java/kr/pe/kwonnam/hibernate4memcached/regions/GeneralDataMemcachedRegion.java
package kr.pe.kwonnam.hibernate4memcached.regions; import kr.pe.kwonnam.hibernate4memcached.memcached.CacheNamespace; import kr.pe.kwonnam.hibernate4memcached.memcached.MemcachedAdapter; import kr.pe.kwonnam.hibernate4memcached.timestamper.HibernateCacheTimestamper; import kr.pe.kwonnam.hibernate4memcached.util.Overri...
cachedDate -> cachedData
hibernate4-memcached-core/src/main/java/kr/pe/kwonnam/hibernate4memcached/regions/GeneralDataMemcachedRegion.java
cachedDate -> cachedData
<ide><path>ibernate4-memcached-core/src/main/java/kr/pe/kwonnam/hibernate4memcached/regions/GeneralDataMemcachedRegion.java <ide> } <ide> <ide> if (!(cachedData instanceof CacheItem)) { <del> log.debug("get cachedDate is not CacheItem."); <add> log.debug("get cachedData is not Cac...
Java
apache-2.0
7f9f65060406e392d14ee3bba8e1a9c86ecc961d
0
ops4j/org.ops4j.pax.logging,ops4j/org.ops4j.pax.logging
/* * Copyright 2005 Niclas Hedhman. * Copyright 2011 Avid Technology, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
pax-logging-logback/src/main/java/org/ops4j/pax/logging/logback/internal/Activator.java
/* * Copyright 2005 Niclas Hedhman. * Copyright 2011 Avid Technology, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
Introduced property org.ops4j.pax.logging.skipJULReset to allow skipping the reset of JUL such that the LevelChangePropagator can function properly
pax-logging-logback/src/main/java/org/ops4j/pax/logging/logback/internal/Activator.java
Introduced property org.ops4j.pax.logging.skipJULReset to allow skipping the reset of JUL such that the LevelChangePropagator can function properly
<ide><path>ax-logging-logback/src/main/java/org/ops4j/pax/logging/logback/internal/Activator.java <ide> if( !Boolean.valueOf(bundleContext.getProperty("org.ops4j.pax.logging.skipJUL")) ) <ide> { <ide> LogManager manager = LogManager.getLogManager(); <del> manager.reset(); <add> <a...
Java
epl-1.0
8ad9ab4182e67d6b99b1575627ae1f49f4de5f1d
0
ubc-cs-spl/command-recommender,ubc-cs-spl/command-recommender,ubc-cs-spl/command-recommender,ubc-cs-spl/command-recommender,ubc-cs-spl/command-recommender
package ca.ubc.ca.ocrreader; import java.io.File; public class ContextCompareLoader { public static void main(String[] args) { ContextManager manager = new ContextManager(); // the folder where images are stored should be passed as the param // FIXME currently hard coded for testing purposes // TODO add la...
src/ca/ubc/ca/ocrreader/ContextCompareLoader.java
package ca.ubc.ca.ocrreader; public class ContextCompareLoader { public static void main(String[] args) { // get the file where images are stored // iterate over all files and pass to ContextManager // delete files when done? } }
Implement first shot at main method
src/ca/ubc/ca/ocrreader/ContextCompareLoader.java
Implement first shot at main method
<ide><path>rc/ca/ubc/ca/ocrreader/ContextCompareLoader.java <ide> package ca.ubc.ca.ocrreader; <add> <add>import java.io.File; <ide> <ide> public class ContextCompareLoader { <ide> <add> <ide> public static void main(String[] args) { <del> // get the file where images are stored <add> ContextManager manager = new ...
Java
mit
03de2db0a4d96c6807decb85d0947d7413419227
0
webjars/webjars-locator-core,webjars/webjars-locator-core
package org.webjars; import org.apache.catalina.LifecycleException; import org.apache.catalina.core.StandardContext; import org.apache.catalina.webresources.StandardRoot; import org.apache.catalina.webresources.WarResourceSet; import org.junit.Test; import org.springframework.boot.context.embedded.tomcat.TomcatEmbedde...
src/test/java/org/webjars/WebJarAssetLocatorTest.java
package org.webjars; import org.apache.catalina.LifecycleException; import org.apache.catalina.core.StandardContext; import org.apache.catalina.webresources.StandardRoot; import org.apache.catalina.webresources.WarResourceSet; import org.junit.Test; import org.springframework.boot.context.embedded.tomcat.TomcatEmbedde...
classpath ordering fix
src/test/java/org/webjars/WebJarAssetLocatorTest.java
classpath ordering fix
<ide><path>rc/test/java/org/webjars/WebJarAssetLocatorTest.java <ide> public void should_list_assets() throws Exception { <ide> WebJarAssetLocator locator = new WebJarAssetLocator(withList(asList("META-INF/resources/myapp/app.js", "assets/users/login.css", "META-INF/resources/webjars/third_party/1.5.2/file....
JavaScript
mit
c258eb4f0d3039570ea042cbbd93c7a208640910
0
gmmorris/Modularizer
var dom = require('./utils/dom.js'), chai = require('chai'), expect = chai.expect, assert = require('simple-assert'), _ = require('underscore'); describe('Modularizer Module management', function() { // Create a fake global `window` and `document` object and inject default script dom.init(true); describe('load(...
test/Module.spec.js
var dom = require('./utils/dom.js'), chai = require('chai'), expect = chai.expect, assert = require('simple-assert'), _ = require('underscore'); describe('Modularizer Module management', function() { // Create a fake global `window` and `document` object and inject default script dom.init(true); describe('load(...
removed commented out code
test/Module.spec.js
removed commented out code
<ide><path>est/Module.spec.js <ide> }); <ide> }); <ide> <del> //describe('fetchResource()', function() { <del> // <del> // it('', function() { <del> // assert(false); <del> // }); <del> //}); <del> <ide> describe('define()', function() { <ide> <ide> it('should throw an error when a module name ...
Java
apache-2.0
38894e8776660f5437b8d300898880e38128e736
0
rholder/fauxflake
/* * Copyright 2012-2014 Ray Holder * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacPidMachineIdProvider.java
/* * Copyright 2012-2014 Ray Holder * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
more gracefully handle UnsupportedOperationException when the MAC cannot be retrieved for MacPid, too
fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacPidMachineIdProvider.java
more gracefully handle UnsupportedOperationException when the MAC cannot be retrieved for MacPid, too
<ide><path>auxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacPidMachineIdProvider.java <ide> value |= pid() % 65536; <ide> } catch (IOException e) { <ide> e.printStackTrace(); <add> } catch (UnsupportedOperationException e) { <add> e.printStackTrace()...
Java
mit
f1e8357825b49d173f3fc404c588a030e5596cdc
0
jwfwessels/AFK,jwfwessels/AFK
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package afk.ge.tokyo; import afk.ge.tokyo.ems.Engine; import afk.ge.tokyo.ems.Entity; import afk.ge.tokyo.ems.components.*; import static afk.gfx.GfxUtils.*; import com.hackoeur.jglm.Mat4; import com.hackoeur.jglm.Matri...
src/afk/ge/tokyo/EntityManager.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package afk.ge.tokyo; import afk.ge.tokyo.ems.Engine; import afk.ge.tokyo.ems.Entity; import afk.ge.tokyo.ems.components.*; import static afk.gfx.GfxUtils.*; import com.hackoeur.jglm.Mat4; import com.hackoeur.jglm.Matri...
Added acceleration to particles.
src/afk/ge/tokyo/EntityManager.java
Added acceleration to particles.
<ide><path>rc/afk/ge/tokyo/EntityManager.java <ide> float speed = jitter(emitter.speed, emitter.speedJitter); <ide> <ide> velocity.v = dir.scale(speed); <add> velocity.a = emitter.acceleration; <ide> <ide> lifetime.life = jitter(emitter.maxLife, emitter.lifeJitter); <ide> lifeti...
Java
lgpl-2.1
264383f0ffd65ab992ef89641f67c7dd033e9afa
0
champtar/fmj-sourceforge-mirror,champtar/fmj-sourceforge-mirror,champtar/fmj-sourceforge-mirror,champtar/fmj-sourceforge-mirror,champtar/fmj-sourceforge-mirror
package net.sf.fmj.media.rtp; import javax.media.*; import javax.media.control.*; import net.sf.fmj.media.*; /** * Implements a basic <tt>JitterBufferBehaviour</tt> which is not adaptive, does * not perform buffering beyond the one performed by the associated * <tt>JitterBuffer</tt> and is agnostic of t...
src.rtp/net/sf/fmj/media/rtp/BasicJitterBufferBehaviour.java
package net.sf.fmj.media.rtp; import javax.media.*; import javax.media.control.*; import net.sf.fmj.media.*; /** * Implements a basic <tt>JitterBufferBehaviour</tt> which is not adaptive, does * not perform buffering beyond the one performed by the associated * <tt>JitterBuffer</tt> and is agnostic of t...
Deletes an incorrect Javadoc comment. Reported by Tom Denham. git-svn-id: 0e2048bb602cf70225a2d2227aa1aa58d82524a7@29 799b4810-d841-4bb4-a54b-9156a0c3e4cd
src.rtp/net/sf/fmj/media/rtp/BasicJitterBufferBehaviour.java
Deletes an incorrect Javadoc comment. Reported by Tom Denham.
<ide><path>rc.rtp/net/sf/fmj/media/rtp/BasicJitterBufferBehaviour.java <ide> */ <ide> protected final JitterBuffer q; <ide> <del> private int sockBufSize; <add> /** <add> * The value which has been applied by this instance with an invocation of <add> * {@link RTPRawReceiver#setRecvBufSize(int)}....
Java
apache-2.0
cb7ca694595d86843a4cf7db60a7aea11346832e
0
reactor/reactor-incubator,jbrisbin/reactor-extensions
package reactor.pipe; import org.junit.Test; import org.pcollections.TreePVector; import reactor.core.processor.RingBufferWorkProcessor; import reactor.fn.Consumer; import reactor.pipe.concurrent.AVar; import reactor.pipe.concurrent.Atom; import reactor.pipe.key.Key; import reactor.pipe.registry.ConcurrentRegistry; i...
reactor-pipe/src/test/java/reactor/pipe/AnonymousPipeTest.java
package reactor.pipe; import org.junit.Test; import org.pcollections.TreePVector; import reactor.core.processor.RingBufferWorkProcessor; import reactor.fn.Consumer; import reactor.pipe.concurrent.AVar; import reactor.pipe.concurrent.Atom; import reactor.pipe.key.Key; import reactor.pipe.registry.ConcurrentRegistry; i...
This test was stupid anyways
reactor-pipe/src/test/java/reactor/pipe/AnonymousPipeTest.java
This test was stupid anyways
<ide><path>eactor-pipe/src/test/java/reactor/pipe/AnonymousPipeTest.java <ide> @Test <ide> public void testUnregister() throws InterruptedException { <ide> NamedPipe<Integer> pipe = new NamedPipe<>(firehose); <del> CountDownLatch latch = new CountDownLatch(2); <add> CountDownLatch latch = new CountDownLat...
Java
apache-2.0
e497500463e0f70acd15ba694376b8b0566c8e6e
0
DevopsJK/SuitAgent,DevopsJK/SuitAgent,DevopsJK/SuitAgent,DevopsJK/SuitAgent
/* * www.msxf.com Inc. * Copyright (c) 2017 All Rights Reserved */ package com.falcon.suitagent.util; // ,%%%%%%%%, // ,%%/\%%%%/\%% // ,%%%\c "" J/%%% // %. %%%%/ o o \%%% // `%%. %%%% _ |%%% // `%% `%%%%(__Y__)%%' // // ;%%%%`\-/%%%' // (( / `%%%%%%%...
src/main/java/com/falcon/suitagent/util/DockerUtil.java
/* * www.msxf.com Inc. * Copyright (c) 2017 All Rights Reserved */ package com.falcon.suitagent.util; // ,%%%%%%%%, // ,%%/\%%%%/\%% // ,%%%\c "" J/%%% // %. %%%%/ o o \%%% // `%%. %%%% _ |%%% // `%% `%%%%(__Y__)%%' // // ;%%%%`\-/%%%' // (( / `%%%%%%%...
容器信息获取添加超时和同步处理 Signed-off-by: QianLong <ca8110ffc5630f754d4440329e0fc5244713dabe@qq.com>
src/main/java/com/falcon/suitagent/util/DockerUtil.java
容器信息获取添加超时和同步处理
<ide><path>rc/main/java/com/falcon/suitagent/util/DockerUtil.java <ide> } <ide> <ide> /** <add> * 获取容器列表 <add> * @param containersParam <add> * @return <add> */ <add> public static List<Container> getContainers(DockerClient.ListContainersParam containersParam) { <add> String cacheKey ...
Java
mit
edd97b4374ad9969bc4a0526a6692c93a2893839
0
openfact/openfact-temp,openfact/openfact-temp,openfact/openfact,openfact/openfact-pe,openfact/openfact,openfact/openfact-temp,openfact/openfact-pe,openfact/openfact,openfact/openfact-temp,openfact/openfact-pe
package org.openfact.models.jpa.entities.ubl; import java.math.BigDecimal; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; impor...
model/jpa/src/main/java/org/openfact/models/jpa/entities/ubl/InvoiceLineEntity.java
package org.openfact.models.jpa.entities.ubl; import java.math.BigDecimal; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; impor...
update invoice line
model/jpa/src/main/java/org/openfact/models/jpa/entities/ubl/InvoiceLineEntity.java
update invoice line
<ide><path>odel/jpa/src/main/java/org/openfact/models/jpa/entities/ubl/InvoiceLineEntity.java <ide> this.pricingReferences = pricingReferences; <ide> } <ide> <del> public List<TaxTotalEntity> getWithholdingTaxTotal() { <add> <add> <add> public List<InvoiceLineTaxTotalMappingEntity> getWithholdingTaxTotal() { <ide>...
Java
mit
e3779af5b0897cc7c730cd5a61c52aea276339df
0
openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java
package uk.gov.register.views.representations.turtle; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import org.junit.Test; import uk.gov.register.core.*; import uk.gov.register.util.HashValue; import uk.gov.register.views.ItemView; import java.io.ByteArrayOutputStream; ...
src/test/java/uk/gov/register/views/representations/turtle/TurtleRepresentationWriterTest.java
package uk.gov.register.views.representations.turtle; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import org.junit.Before; import org.junit.Test; import uk.gov.register.core.*; import uk.gov.register.resources.RequestContext; import uk.gov.register.util.HashValue; impo...
remove dead code (paired with @karlbaker02)
src/test/java/uk/gov/register/views/representations/turtle/TurtleRepresentationWriterTest.java
remove dead code
<ide><path>rc/test/java/uk/gov/register/views/representations/turtle/TurtleRepresentationWriterTest.java <ide> <ide> import com.google.common.collect.ImmutableMap; <ide> import com.google.common.collect.ImmutableSet; <del>import org.junit.Before; <ide> import org.junit.Test; <ide> import uk.gov.register.core.*; <del>i...
Java
apache-2.0
78c380ec18f64e21600395b0ecfb13c02b6ffaad
0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
package org.apache.solr.cloud; /** * 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...
core/src/test/org/apache/solr/cloud/FullSolrCloudTest.java
package org.apache.solr.cloud; /** * 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...
if the test fails, print out the zk state git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1235995 13f79535-47bb-0310-9956-ffa450edef68
core/src/test/org/apache/solr/cloud/FullSolrCloudTest.java
if the test fails, print out the zk state
<ide><path>ore/src/test/org/apache/solr/cloud/FullSolrCloudTest.java <ide> */ <ide> @Override <ide> public void doTest() throws Exception { <del> handle.clear(); <del> handle.put("QTime", SKIPVAL); <del> handle.put("timestamp", SKIPVAL); <del> <del> indexr(id, 1, i1, 100, tlong, 100, t1, "now is ...
Java
apache-2.0
cd4f3001ede95e3439a5c6164bb515f8a83eabe3
0
lime-company/powerauth-webflow,lime-company/powerauth-webflow,lime-company/powerauth-webflow
/* * Copyright 2021 Wultra 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 to in...
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/CreateOtpResponse.java
/* * Copyright 2021 Wultra 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 to in...
Allow OTP creation without user ID
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/CreateOtpResponse.java
Allow OTP creation without user ID
<ide><path>owerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/CreateOtpResponse.java <ide> <ide> @NotNull <ide> private String otpName; <del> @NotNull <ide> private String userId; <ide> @NotNull <ide> private String otpId;
Java
apache-2.0
61798faf627e6fd97a909fd6115c1722b5d0ab59
0
jedouard98/codeu_summer_2017,jedouard98/codeu_summer_2017
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
src/codeu/chat/server/Model.java
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
Updated Model with last feature
src/codeu/chat/server/Model.java
Updated Model with last feature
<ide><path>rc/codeu/chat/server/Model.java <ide> private final String version = "1.1"; <ide> private final Time serverStartTime = Time.now(); <ide> <del> public void togglePermission(Uuid user, Uuid userToBeChanged, int permission, Uuid conversation) { <add> public int togglePermission(Uuid user, Uuid targetUser...
Java
apache-2.0
4062da14e866fde402b2f31116c58ba9710164ae
0
AndreasAbdi/jackrabbit-oak,Kast0rTr0y/jackrabbit-oak,mduerig/jackrabbit-oak,francescomari/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,chetanmeh/jackrabbit-oak,code-distillery/jackrabbit-oak,rombert/jackrabbit-oak,kwin/jackrabbit-oak,alexkli/jackrabbit-oak,Kast0rTr0y/jackrabbit-oak,meggermo/jackrabbit-oak,afilimono...
/* * 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 ...
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/constraint/Constraints.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 ...
make utility class final git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1459804 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/constraint/Constraints.java
make utility class final
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/constraint/Constraints.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <del>public class Constraints { <add>public final class Constraints { <ide> private static final Logger log = LoggerFactory.getLogger(Co...
Java
bsd-2-clause
254dd4eb5a7e2580370c6cb3f8ecedbc70ee9191
0
joshhartigan/hex-picker
import javax.swing.*; import java.awt.*; class HpComponent extends JComponent { private Color color; HpComponent() { color = new Color(0, 0, 0); } public void setColor(Color color) { this.color = color; } public void paint(Graphics g) { g.setColor(color); int width = 200; int height...
java/src/HexPicker.java
import javax.swing.*; import java.awt.*; class HpWindow extends JComponent { public void paint(Graphics g) { // testing code { g.setColor(new Color(34, 209, 24)); g.fillRect(10, 10, 200, 200); // } } } public class HexPicker { public static void main(String[] args) { JFrame window = new...
finalise layout
java/src/HexPicker.java
finalise layout
<ide><path>ava/src/HexPicker.java <ide> import javax.swing.*; <ide> import java.awt.*; <ide> <del>class HpWindow extends JComponent { <add>class HpComponent extends JComponent { <add> private Color color; <add> <add> HpComponent() { <add> color = new Color(0, 0, 0); <add> } <add> <add> public void setColor(Colo...
Java
artistic-2.0
5c27d01c9d1f02121ce38865488c2a0279a32f14
0
Liahim85/SaltyMod_1.7.10
package ru.liahim.saltmod; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import ru.liahim.saltmod.common.CommonProxy; import ru.liahim.saltmod.init.ModBlocks; import ru.liahim.saltmod.init.ModItems; import ru.liahim.saltmod.init.SaltConfig; import cpw.mods.fml.common.Mod; import ...
java/ru/liahim/saltmod/SaltMod.java
package ru.liahim.saltmod; import ru.liahim.saltmod.common.CommonProxy; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.commo...
Added files via upload
java/ru/liahim/saltmod/SaltMod.java
Added files via upload
<ide><path>ava/ru/liahim/saltmod/SaltMod.java <ide> package ru.liahim.saltmod; <ide> <add>import org.apache.logging.log4j.LogManager; <add>import org.apache.logging.log4j.Logger; <add> <ide> import ru.liahim.saltmod.common.CommonProxy; <add>import ru.liahim.saltmod.init.ModBlocks; <add>import ru.liahim.saltmod.init.Mo...
Java
agpl-3.0
52c8137d0c7def10598a9572f6a8bc22fe7969c1
0
imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms
import java.io.*; import java.util.*; import java.text.*; import javax.servlet.*; import javax.servlet.http.*; import imcode.external.diverse.*; import imcode.external.chat.*; import imcode.util.* ; /** * @author Monika Hurtig * @version 1.0 * Date : 2001-09-05 */ public class QuotPicEngine extends HttpServlet ...
servlets/QuotPicEngine.java
import java.io.*; import java.util.*; import java.text.*; import javax.servlet.*; import javax.servlet.http.*; import imcode.external.diverse.*; import imcode.external.chat.*; import imcode.util.* ; /** * @author Monika Hurtig * @version 1.0 * Date : 2001-09-05 */ public class QuotPicEngine extends HttpServlet ...
bug 122 Finel version of quotEngine git-svn-id: b7e9aa1d6cd963481915708f70423d437278b157@1041 bd66a97b-2aff-0310-9095-89ca5cabf5a6
servlets/QuotPicEngine.java
bug 122 Finel version of quotEngine
<ide><path>ervlets/QuotPicEngine.java <ide> <ide> public void doGet(HttpServletRequest req, HttpServletResponse res) <ide> throws ServletException, IOException <del> { <add> { <add> <add> res.setContentType("text/html"); <add> PrintWriter out = res.getWriter(); <add> <ide> <ide> String host = req.getHeade...
Java
apache-2.0
c64c04be1df3d6224f6262720921a6a0f7417068
0
apache/directory-project
/* * @(#) $Id$ * * Copyright 2004 The Apache Software Foundation * * 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 * * ...
mina/core/src/main/java/org/apache/mina/common/PooledByteBufferAllocator.java
/* * @(#) $Id$ * * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
Added a call to init() on the created UnexpandableByteBuffer so that its refCount is set to 1 when wrapping an NIO ByteBuffer. git-svn-id: 5c3b06693d750a6aefbf1081b6b7d57c0165fdb2@387902 13f79535-47bb-0310-9956-ffa450edef68
mina/core/src/main/java/org/apache/mina/common/PooledByteBufferAllocator.java
Added a call to init() on the created UnexpandableByteBuffer so that its refCount is set to 1 when wrapping an NIO ByteBuffer.
<ide><path>ina/core/src/main/java/org/apache/mina/common/PooledByteBufferAllocator.java <ide> ensureNotDisposed(); <ide> PooledByteBuffer buf = allocateContainer(); <ide> buf.init( new UnexpandableByteBuffer( nioBuffer ), false ); <add> buf.buf.init(); <ide> buf.setPooled( false )...
Java
apache-2.0
18a9b5562c81c2f181295b6f7d55f899610f1a04
0
BenDol/gwt-lightslider,BenDol/gwt-lightslider
/* * Copyright 2015 Doltech Systems Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
src/main/java/nz/co/doltech/gwtls/client/ui/LightSlider.java
/* * Copyright 2015 Doltech Systems Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Minor fix.
src/main/java/nz/co/doltech/gwtls/client/ui/LightSlider.java
Minor fix.
<ide><path>rc/main/java/nz/co/doltech/gwtls/client/ui/LightSlider.java <ide> public void reinitialize() { <ide> if(impl != null) { <ide> impl.destroy(); <add> impl = null; <ide> } <del> impl = null; <del> <ide> initialize(); <ide> } <ide>
Java
mit
daff8b70acc76728ddf4a5bcf172dd7c7dfdecc1
0
jharris119/klondike
package info.jayharris.klondike; import com.beust.jcommander.IStringConverter; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.googlecode.blacken.colors.ColorNames; import com.googlecode.blacken.color...
src/main/java/info/jayharris/klondike/TerminalUI.java
package info.jayharris.klondike; import com.beust.jcommander.IStringConverter; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.googlecode.blacken.colors.ColorNames; import com.googlecode.blacken.color...
cleanup
src/main/java/info/jayharris/klondike/TerminalUI.java
cleanup
<ide><path>rc/main/java/info/jayharris/klondike/TerminalUI.java <ide> import com.googlecode.blacken.terminal.*; <ide> import info.jayharris.cardgames.Deck; <ide> import org.apache.commons.collections4.iterators.LoopingListIterator; <del>import org.slf4j.Logger; <del>import org.slf4j.LoggerFactory; <ide> <ide> import j...
Java
mit
5597fb622705bef466d7437aa155aaedc86af6ae
0
FedericoPecora/meta-csp-framework,FedericoPecora/meta-csp-framework,FedericoPecora/meta-csp-framework
package multi.activity; import java.util.Vector; import multi.allenInterval.AllenIntervalConstraint; import multi.allenInterval.AllenIntervalNetworkSolver; import symbols.SymbolicValueConstraint; import symbols.SymbolicVariableConstraintSolver; import utility.UI.PlotActivityNetworkGantt; import framework.ConstraintNet...
src/main/java/multi/activity/ActivityNetworkSolver.java
package multi.activity; import java.util.Vector; import multi.allenInterval.AllenIntervalConstraint; import multi.allenInterval.AllenIntervalNetworkSolver; import symbols.SymbolicValueConstraint; import symbols.SymbolicVariableConstraintSolver; import utility.UI.PlotActivityNetworkGantt; import framework.ConstraintNet...
Imported in ActivityNetworkSolver the possibility to get the rigidity number relaterd to the underlaying AllenIntervalConstraintSolver --Mau
src/main/java/multi/activity/ActivityNetworkSolver.java
Imported in ActivityNetworkSolver the possibility to get the rigidity number relaterd to the underlaying AllenIntervalConstraintSolver --Mau
<ide><path>rc/main/java/multi/activity/ActivityNetworkSolver.java <ide> private static ConstraintSolver[] createConstraintSolvers(long origin, long horizon, int numActivities) { <ide> ConstraintSolver[] ret = new ConstraintSolver[] {new AllenIntervalNetworkSolver(origin, horizon, numActivities), new SymbolicVariable...
Java
apache-2.0
8f0455f7acffa591fcf1388cd21a72c6f268f947
0
hyvas/libgdx,bladecoder/libgdx,fwolff/libgdx,FredGithub/libgdx,cypherdare/libgdx,josephknight/libgdx,stinsonga/libgdx,MikkelTAndersen/libgdx,fwolff/libgdx,ttencate/libgdx,MikkelTAndersen/libgdx,MovingBlocks/libgdx,cypherdare/libgdx,MovingBlocks/libgdx,MikkelTAndersen/libgdx,tommyettinger/libgdx,hyvas/libgdx,codepoke/li...
/******************************************************************************* * 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/scenes/scene2d/ui/List.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:...
[scene2d] Added down drawable for List.
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/List.java
[scene2d] Added down drawable for List.
<ide><path>dx/src/com/badlogic/gdx/scenes/scene2d/ui/List.java <ide> import com.badlogic.gdx.graphics.g2d.BitmapFont; <ide> import com.badlogic.gdx.graphics.g2d.GlyphLayout; <ide> import com.badlogic.gdx.math.Rectangle; <add>import com.badlogic.gdx.scenes.scene2d.Actor; <ide> import com.badlogic.gdx.scenes.scene2d.Inpu...
Java
mit
9072bfa4f54bee1379e28620b366bfc84bdb6063
0
Bimde/Blackjack-Server
package connection; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import gameplay.Dealer; import utilities.ClientList; import utilities.Validator; public class Client implements Runnable, Comparable<Client>...
src/connection/Client.java
package connection; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import gameplay.Dealer; import utilities.ClientList; import utilities.Validator; public class Client implements Runnable, Comparable<Client>...
Fixed error handling on disconnected client
src/connection/Client.java
Fixed error handling on disconnected client
<ide><path>rc/connection/Client.java <ide> this.sendMessage("% FORMATERROR"); <ide> } <ide> <del> } catch (IOException e) { <add> } catch (Exception e) { <ide> this.server.queueMessage("! " + this.getPlayerNo()); <ide> this.disconnect(); <add> e.printStackTrace(); <ide> } <ide> <ide> try...
Java
apache-2.0
ab65e12f3da0eb9ab12ff6a08590e4600d02815e
0
benbahrenburg/benCoding.AlarmManager,benbahrenburg/benCoding.AlarmManager,benbahrenburg/benCoding.AlarmManager
/** * benCoding.AlarmManager Project * Copyright (c) 2009-2012 by Ben Bahrenburg. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package bencoding.alarmmanager; import org.appcelerator.titanium.TiApplication; i...
src/bencoding/alarmmanager/AlarmNotificationListener.java
/** * benCoding.AlarmManager Project * Copyright (c) 2009-2012 by Ben Bahrenburg. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package bencoding.alarmmanager; import org.appcelerator.titanium.TiApplication; i...
don't override custom sound with default Fixes #34
src/bencoding/alarmmanager/AlarmNotificationListener.java
don't override custom sound with default Fixes #34
<ide><path>rc/bencoding/alarmmanager/AlarmNotificationListener.java <ide> utils.debugLog("No icon provided, default will be used"); <ide> } <ide> String soundPath = bundle.getString("notification_sound"); <add> boolean hasCustomSound = !utils.isEmptyString(soundPath); <ide> //Add...
Java
mit
7dda4387b94871cf93c490cd80c3e44b093613b4
0
mmaia/kafka-simple-demo,mmaia/kafka-simple-demo,mmaia/kafka-simple-demo,mmaia/kafka-simple-demo
package com.codespair.kafka.navigator.kafkanavigatorbe.kafka.jmx; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; import javax.management.AttributeList; import javax.management.MBeanServerConnection; import jav...
knav-be/src/main/java/com/codespair/kafka/navigator/kafkanavigatorbe/kafka/jmx/KafkaJMX.java
package com.codespair.kafka.navigator.kafkanavigatorbe.kafka.jmx; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; import javax.management.AttributeList; import javax.management.MBeanServerConnection; import jav...
working on gattering jmx informationa about broker
knav-be/src/main/java/com/codespair/kafka/navigator/kafkanavigatorbe/kafka/jmx/KafkaJMX.java
working on gattering jmx informationa about broker
<ide><path>nav-be/src/main/java/com/codespair/kafka/navigator/kafkanavigatorbe/kafka/jmx/KafkaJMX.java <ide> try { <ide> mbsc = mBeanServerConnection(url); <ide> connected = true; <del> return isConnected(); <ide> } catch (IOException e) { <ide> log.error("could not connect to jmx kafka s...
Java
lgpl-2.1
793d26e25c117932fda716546f70503b184f8017
0
keiono/biopax,cytoscape/biopax
// $Id: BioPaxVisualStyleUtil.java,v 1.17 2006/08/23 15:21:07 cerami Exp $ //------------------------------------------------------------------------------ /** Copyright (c) 2006 Memorial Sloan-Kettering Cancer Center. ** ** Code written by: Ethan Cerami ** Authors: Ethan Cerami, Gary Bader, Chris Sander ** ** Thi...
src/main/java/org/cytoscape/biopax/util/BioPaxVisualStyleUtil.java
// $Id: BioPaxVisualStyleUtil.java,v 1.17 2006/08/23 15:21:07 cerami Exp $ //------------------------------------------------------------------------------ /** Copyright (c) 2006 Memorial Sloan-Kettering Cancer Center. ** ** Code written by: Ethan Cerami ** Authors: Ethan Cerami, Gary Bader, Chris Sander ** ** Thi...
Renamed factory methods to be more consistent
src/main/java/org/cytoscape/biopax/util/BioPaxVisualStyleUtil.java
Renamed factory methods to be more consistent
<ide><path>rc/main/java/org/cytoscape/biopax/util/BioPaxVisualStyleUtil.java <ide> // want to over-ride these tweaks. <ide> synchronized (this) { <ide> if (style == null) { <del> style = styleFactory.getInstance(BIO_PAX_VISUAL_STYLE); <add> style = styleFactory.createVisualStyle(BIO_PAX_VISUAL_STYLE); <ide...
Java
mit
0830681b2c9d72ac81d11101c70e79bb9289a175
0
mcasperson/IridiumApplicationTesting,mcasperson/IridiumApplicationTesting,mcasperson/IridiumApplicationTesting
package au.com.agic.apptesting.utils.impl; import au.com.agic.apptesting.utils.JavaScriptRunner; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebElement; import javax.validation.constraints.NotNull; /** * An implementation of the JavaScript runner service */ public class JavaScriptRunn...
src/main/java/au/com/agic/apptesting/utils/impl/JavaScriptRunnerImpl.java
package au.com.agic.apptesting.utils.impl; import au.com.agic.apptesting.utils.JavaScriptRunner; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebElement; import javax.validation.constraints.NotNull; /** * An implementation of the JavaScript runner service */ public class JavaScriptRunn...
Fixing up issues with the regression test suite in Firefox
src/main/java/au/com/agic/apptesting/utils/impl/JavaScriptRunnerImpl.java
Fixing up issues with the regression test suite in Firefox
<ide><path>rc/main/java/au/com/agic/apptesting/utils/impl/JavaScriptRunnerImpl.java <ide> here. We need to dispatch the event instead. <ide> */ <ide> js.executeScript("var ev = document.createEvent('KeyboardEvent');" <del> + " ev.initKeyboardEvent(" <add> + " (ev.initKeyEvent || ev.initKeyboardEvent)....
JavaScript
mit
73042890d2fd288747b792de541bfe97f6758a55
0
Seriesbox/seriesbox-server
var fs = require('fs'), path = require('path'), _ = require('lodash'); ptn = require('parse-torrent-name'), replaceExt = require('replace-ext'), junk = require('junk'); var SUPPORTED_FILETYPES = new RegExp("(avi|mkv|mpeg|mov|mp4|m4v|wmv)$","g"); //Pipe seperated var walk = function(dir, done) { var results = [...
src/parsers/tv/Parser.js
var fs = require('fs'), path = require('path'), _ = require('lodash'); ptn = require('parse-torrent-name'), replaceExt = require('replace-ext'), junk = require('junk'); var SUPPORTED_FILETYPES = new RegExp("(avi|mkv|mpeg|mov|mp4|m4v|wmv)$","g"); //Pipe seperated var walk = function(dir, done) { var results = [...
Don't add invalid parser results to list parse-torrent-name has problems parsing certain files, so check for season and title before adding to list
src/parsers/tv/Parser.js
Don't add invalid parser results to list
<ide><path>rc/parsers/tv/Parser.js <ide> }; <ide> var FileParser = function(file){ <ide> var name = replaceExt(file, ''); <add> parsed = ptn(name); <ide> //console.log(info); <ide> return ptn(name); <ide> }; <ide> var list; <ide> files = files.filter(junk.not); <ide> list = _.each(files, function(file, index, ...
Java
apache-2.0
error: pathspec 'app/src/main/java/com/fkeglevich/rawdumper/camera/data/FocusArea.java' did not match any file(s) known to git
0112d1b3fc128746297ee60e0c156d1f59774db1
1
fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper
/* * Copyright 2017, Flávio Keglevich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
app/src/main/java/com/fkeglevich/rawdumper/camera/data/FocusArea.java
Created FocusArea
app/src/main/java/com/fkeglevich/rawdumper/camera/data/FocusArea.java
Created FocusArea
<ide><path>pp/src/main/java/com/fkeglevich/rawdumper/camera/data/FocusArea.java <add>/* <add> * Copyright 2017, Flávio Keglevich <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the L...
Java
agpl-3.0
4af84c3b9473efd0edec8fc250a24c9a6dfd471e
0
EvilOlaf/mcMMO,virustotalop/mcMMO,isokissa3/mcMMO,Maximvdw/mcMMO,jhonMalcom79/mcMMO_pers
import java.util.logging.Level; import java.util.logging.Logger; //===================================================================== //Class: vMinecraftListener //Use: The listener to catch incoming chat and commands //Author: nossr50, TrapAlice, cerevisiae //=======================================================...
vMinecraftListener.java
import java.util.logging.Level; import java.util.logging.Logger; //===================================================================== //Class: vMinecraftListener //Use: The listener to catch incoming chat and commands //Author: nossr50, TrapAlice, cerevisiae //=======================================================...
Fixed accidentally making everyone invincible.
vMinecraftListener.java
Fixed accidentally making everyone invincible.
<ide><path>MinecraftListener.java <ide> senddeath = true; <ide> deadplayer = player.getName(); <ide> } <del> return false; <add> return true; <ide> } <ide> <ide> public void onLogin(Player player){
Java
mit
50cfbeb03b8b6c631f4dcf5bb876b033af75ef45
0
dxiao/PPBunnies,dxiao/PPBunnies,dxiao/PPBunnies
package com.gravity.map; import java.util.List; import org.newdawn.slick.Graphics; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.tiled.TiledMap; import com.google.common.collect.Lists; import com.gravity.gameplay.GravityGameController; import com.gravity.physi...
Platformer/src/com/gravity/map/TileWorld.java
package com.gravity.map; import java.util.List; import org.newdawn.slick.Graphics; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.tiled.TiledMap; import com.google.common.collect.Lists; import com.gravity.gameplay.GravityGameController; import com.gravity.physi...
Fixed corner spike jumps
Platformer/src/com/gravity/map/TileWorld.java
Fixed corner spike jumps
<ide><path>latformer/src/com/gravity/map/TileWorld.java <ide> touches.add(terrain.getShape(0)); <ide> } <ide> } <add> for (Entity terrain : entityCallColls) { <add> if (shape.intersects(terrain.getShape(0))) { <add> touches.add(terrain.getShape(0)); <...
Java
lgpl-2.1
cbeb01764a4e528d5fbc6386b304d725272ed68c
0
levants/lightmare
package org.lightmare.utils.reflect; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang...
src/main/java/org/lightmare/utils/reflect/MetaUtils.java
package org.lightmare.utils.reflect; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang...
improved reflection utilities
src/main/java/org/lightmare/utils/reflect/MetaUtils.java
improved reflection utilities
<ide><path>rc/main/java/org/lightmare/utils/reflect/MetaUtils.java <ide> <ide> try { <ide> <del> if (ObjectUtils.notTrue(accessible)) { <ide> setAccessible(field, accessible); <del> } <ide> <ide> field.set(data, value); <ide> } catch (IllegalArgumentException ex) {
JavaScript
mit
9f9d414afd4334c833fdc355ce220a0a63b0085c
0
sl/drawdio,sl/drawdio
'use strict'; var fs = require('fs'); var PNG = require('png-js'); var jsfeat = require('jsfeat'); /* Creates a vector representing important features of the image given an image. */ const processImage = function(path, callback) { const blurRadius = 2; const lowThreshhold = 20; const highThreshold = 50; co...
classification.js
'use strict'; var fs = require('fs'); var PNG = require('png-js'); var jsfeat = require('jsfeat'); /* Creates a vector representing important features of the image given an image. */ const processImage = function(path, callback) { const blurRadius = 2; const lowThreshhold = 20; const highThreshold = 50; c...
added corner based classification
classification.js
added corner based classification
<ide><path>lassification.js <ide> var fs = require('fs'); <ide> var PNG = require('png-js'); <ide> var jsfeat = require('jsfeat'); <del> <ide> <ide> /* <ide> Creates a vector representing important features of the image given an image. <ide> // averageGreen: average pixel green value from (0-1) <ide> // averageB...
JavaScript
apache-2.0
83d2ac9be26d433528ab8323474a34d392947e30
0
Chinachu/Mirakurun,kanreisa/Mirakurun,upsilon/Mirakurun,akimasa/Mirakurun,upsilon/Mirakurun,Chinachu/Mirakurun,Chinachu/Mirakurun,kanreisa/Mirakurun,kanreisa/Mirakurun,Chinachu/Mirakurun,upsilon/Mirakurun,akimasa/Mirakurun,akimasa/Mirakurun
/* Copyright 2016 Yuki KAN Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
bin/postinstall.js
/* Copyright 2016 Yuki KAN Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
fix pm2 command sequence (#6)
bin/postinstall.js
fix pm2 command sequence (#6)
<ide><path>in/postinstall.js <ide> <ide> // pm2 <ide> <del> child_process.execSync("pm2 start processes.json", { <del> stdio: [ <del> null, <del> process.stdout, <del> process.stderr <del> ] <del> }); <del> <ide> let platform = ""; <ide> <ide> if (fs.e...
JavaScript
apache-2.0
88ec725703554d915d8b2222e4813f81e61610e6
0
d00rman/restbase,Pchelolo/restbase,wikimedia/restbase,milimetric/restbase,cscott/restbase,wikimedia/mediawiki-services-restbase,d00rman/restbase,cscott/restbase,wikimedia/restbase,Pchelolo/restbase,milimetric/restbase,wikimedia/mediawiki-services-restbase
'use strict'; const P = require('bluebird'); const HyperSwitch = require('hyperswitch'); const mwUtil = require('../lib/mwUtil'); const HTTPError = HyperSwitch.HTTPError; const spec = HyperSwitch.utils.loadSpec(`${__dirname}/parsoid.yaml`); const OPERATIONS = [ 'getHtml', 'getDataParsoid', 'getLintError...
sys/parsoid.js
'use strict'; const P = require('bluebird'); const HyperSwitch = require('hyperswitch'); const mwUtil = require('../lib/mwUtil'); const HTTPError = HyperSwitch.HTTPError; const spec = HyperSwitch.utils.loadSpec(`${__dirname}/parsoid.yaml`); const OPERATIONS = [ 'getHtml', 'getDataParsoid', 'getLintError...
Send lint request to Parsoid/PHP
sys/parsoid.js
Send lint request to Parsoid/PHP
<ide><path>ys/parsoid.js <ide> <ide> doRequest(operation, hyper, req) { <ide> // TEMP TEMP TEMP <del> // all linter requests go only to JS <del> if (/Lint/.test(operation)) { <del> return this._req('js', operation, hyper, req, false, true); <del> } <ide> // all html2...
Java
agpl-3.0
5f43d4b71c238b5c0c46c2408d962174b032bfb7
0
roskens/opennms-pre-github,aihua/opennms,tdefilip/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pr...
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // code that was published under the GNU General Public License. Copyrights for modifi...
opennms-webapp/src/main/java/org/opennms/web/controller/CategoryStatusController.java
package org.opennms.web.controller; import java.util.Collection; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.opennms.web.svclayer.catstatus.model.StatusSection; import org.opennms.web.svclayer.catstatus.support.DefaultCategoryStatusService; import org.sprin...
Required GPL info for release.
opennms-webapp/src/main/java/org/opennms/web/controller/CategoryStatusController.java
Required GPL info for release.
<ide><path>pennms-webapp/src/main/java/org/opennms/web/controller/CategoryStatusController.java <add>// <add>// This file is part of the OpenNMS(R) Application. <add>// <add>// OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved. <add>// OpenNMS(R) is a derivative work, containing both origina...
Java
agpl-3.0
badb103ea47f5d1cbe8e0cf0ba1a5a92758bd3d3
0
barspi/jPOS-EE,jrfinc/jPOS-EE,barspi/jPOS-EE,jpos/jPOS-EE,jpos/jPOS-EE,jpos/jPOS-EE,barspi/jPOS-EE,jrfinc/jPOS-EE,jrfinc/jPOS-EE
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2016 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
modules/dbsupport/src/main/java/org/jpos/ee/DB.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2016 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
properly set timeout on beginTransaction Thank you Amiel for the catch!
modules/dbsupport/src/main/java/org/jpos/ee/DB.java
properly set timeout on beginTransaction
<ide><path>odules/dbsupport/src/main/java/org/jpos/ee/DB.java <ide> */ <ide> public synchronized Transaction beginTransaction(int timeout) throws HibernateException <ide> { <del> Transaction tx = session.beginTransaction(); <add> Transaction tx = session.getTransaction(); <ide> if (ti...
Java
mit
error: pathspec 'src/test/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeRulesTest.java' did not match any file(s) known to git
74dd0fd82f35adf59d909a6e7b65097b11148045
1
ZoltanDalmadi/JCardGamesFX
package hu.unideb.inf.JCardGamesFX.klondike; import hu.unideb.inf.JCardGamesFX.model.CardPile; import hu.unideb.inf.JCardGamesFX.model.FrenchCard; import hu.unideb.inf.JCardGamesFX.model.FrenchRank; import hu.unideb.inf.JCardGamesFX.model.FrenchSuit; import org.junit.Before; import org.junit.Test; import java.util.Ar...
src/test/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeRulesTest.java
Added Unit test for KlondikeRules class
src/test/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeRulesTest.java
Added Unit test for KlondikeRules class
<ide><path>rc/test/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeRulesTest.java <add>package hu.unideb.inf.JCardGamesFX.klondike; <add> <add>import hu.unideb.inf.JCardGamesFX.model.CardPile; <add>import hu.unideb.inf.JCardGamesFX.model.FrenchCard; <add>import hu.unideb.inf.JCardGamesFX.model.FrenchRank; <add>import ...
Java
mit
20a9c71fc58f8cdde64cc1944a23b04f59b33553
0
projectdanube/neustar-discovery-service,neustarpc/neustar-discovery-service
src/main/java/biz/neustar/discovery/DiscoveryMessagingTarget.java
package biz.neustar.discovery; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.openxri.XRI; import org.openxri.proxy.impl.AbstractProxy; import org.openxri.r...
removing the messaging target, we use the contributor instead
src/main/java/biz/neustar/discovery/DiscoveryMessagingTarget.java
removing the messaging target, we use the contributor instead
<ide><path>rc/main/java/biz/neustar/discovery/DiscoveryMessagingTarget.java <del>package biz.neustar.discovery; <del> <del>import java.util.ArrayList; <del>import java.util.Collections; <del>import java.util.Comparator; <del>import java.util.HashMap; <del>import java.util.List; <del>import java.util.Map; <del>import ja...
Java
apache-2.0
9ab65ec568f42636ceefe60969d3fcadb15886e1
0
TEAM-Gummy/android_external_gson,byterom/android_external_gson,Mahdi-Rom/android_external_gson,neopeak/google-gson,eatnumber1/google-gson,vnc-biz/zcs-lib-gson,ThirdProject/android_external_gson,CyanogenMod/android_external_gson
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
src/main/java/com/google/gson/stream/MalformedJsonException.java
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
New overloads for constructing MalformedJsonException git-svn-id: 7b8be7b2f8bf58e8147c910303b95fa2b8d9948f@648 2534bb62-2c4b-0410-85e8-b5006b95c4ae
src/main/java/com/google/gson/stream/MalformedJsonException.java
New overloads for constructing MalformedJsonException
<ide><path>rc/main/java/com/google/gson/stream/MalformedJsonException.java <ide> public final class MalformedJsonException extends IOException { <ide> private static final long serialVersionUID = 1L; <ide> <del> public MalformedJsonException(String s) { <del> super(s); <add> public MalformedJsonException(String...
Java
apache-2.0
4e59785407183131c84c48071c1f2948a998095c
0
mohanaraosv/commons-dbcp,mohanaraosv/commons-dbcp,mohanaraosv/commons-dbcp
/* * 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/java/org/apache/commons/dbcp2/PStmtKey.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 ...
Make immutable private fields final git-svn-id: ad951d5a084f562764370c7a59da74380db26404@1331144 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/dbcp2/PStmtKey.java
Make immutable private fields final
<ide><path>rc/java/org/apache/commons/dbcp2/PStmtKey.java <ide> public class PStmtKey { <ide> <ide> /** SQL defining Prepared or Callable Statement */ <del> private String _sql = null; <add> private final String _sql; <ide> <ide> /** Result set type */ <del> private Integer _resultSetType = n...
JavaScript
mit
61ed23b28f13cb8b615a78228f6fdafeb427d317
0
ello/webapp,ello/webapp,ello/webapp
import React, { Component, PropTypes } from 'react' import ReactDOM from 'react-dom' import { connect } from 'react-redux' import classNames from 'classnames' import { delay, isEqual } from 'lodash' import Avatar from '../assets/Avatar' import Block from './Block' import EmbedBlock from './EmbedBlock' import ImageBlock...
src/components/editor/BlockCollection.js
import React, { Component, PropTypes } from 'react' import ReactDOM from 'react-dom' import { connect } from 'react-redux' import classNames from 'classnames' import { delay, isEqual } from 'lodash' import Avatar from '../assets/Avatar' import Block from './Block' import EmbedBlock from './EmbedBlock' import ImageBlock...
Don't include current user's name in reply all. [#118520581](https://www.pivotaltracker.com/story/show/118520581)
src/components/editor/BlockCollection.js
Don't include current user's name in reply all.
<ide><path>rc/components/editor/BlockCollection.js <ide> avatar: PropTypes.object, <ide> blocks: PropTypes.array, <ide> cancelAction: PropTypes.func.isRequired, <add> currentUsername: PropTypes.string, <ide> collection: PropTypes.object.isRequired, <ide> dispatch: PropTypes.func.isRequired, <ide>...
Java
apache-2.0
0a2ae87e449210ff31bdeda3d02c368447202867
0
elunez/eladmin
package me.zhengjie.service.impl; import cn.hutool.extra.mail.Mail; import cn.hutool.extra.mail.MailAccount; import cn.hutool.extra.mail.MailUtil; import me.zhengjie.domain.EmailConfig; import me.zhengjie.domain.vo.EmailVo; import me.zhengjie.exception.BadRequestException; import me.zhengjie.repository.EmailRepository...
eladmin-tools/src/main/java/me/zhengjie/service/impl/EmailServiceImpl.java
package me.zhengjie.service.impl; import cn.hutool.extra.mail.Mail; import cn.hutool.extra.mail.MailAccount; import cn.hutool.extra.mail.MailUtil; import me.zhengjie.domain.EmailConfig; import me.zhengjie.domain.vo.EmailVo; import me.zhengjie.exception.BadRequestException; import me.zhengjie.repository.EmailRepository...
EmailService
eladmin-tools/src/main/java/me/zhengjie/service/impl/EmailServiceImpl.java
EmailService
<ide><path>ladmin-tools/src/main/java/me/zhengjie/service/impl/EmailServiceImpl.java <ide> } <ide> account.setFrom(emailConfig.getUser()+"<"+emailConfig.getFromUser()+">"); <ide> //ssl方式发送 <del> account.setStartttlsEnable(true); <add> account.setSslEnable(true); <ide> Strin...
Java
apache-2.0
1e1b1b7694c09e8213c4d824389a08b56c44ffa4
0
masm11/contextplayer,masm11/contextplayer,masm11/contextplayer
package jp.ddo.masm11.cplayer; import android.app.Service; import android.media.MediaPlayer; import android.net.Uri; import android.content.Intent; import android.os.IBinder; import java.io.File; import java.util.ArrayList; import java.util.Collections; public class PlayerService extends Service { private String...
app/src/main/java/jp/ddo/masm11/cplayer/PlayerService.java
package jp.ddo.masm11.cplayer; import android.app.Service; import android.media.MediaPlayer; import android.net.Uri; import android.content.Intent; import android.os.IBinder; public class PlayerService extends Service { @Override public int onStartCommand(Intent intent, int flags, int startId) { String ...
次の曲を enqueue するようにした。 ただしまだ1曲だけ。
app/src/main/java/jp/ddo/masm11/cplayer/PlayerService.java
次の曲を enqueue するようにした。
<ide><path>pp/src/main/java/jp/ddo/masm11/cplayer/PlayerService.java <ide> import android.content.Intent; <ide> import android.os.IBinder; <ide> <add>import java.io.File; <add>import java.util.ArrayList; <add>import java.util.Collections; <add> <ide> public class PlayerService extends Service { <add> private String...
Java
apache-2.0
79a0cd2323454be656dd2404688111a0b3ae2772
0
kdbanman/nodes
package nodes; import java.util.HashMap; import java.util.ArrayList; import com.hp.hpl.jena.rdf.model.*; import controlP5.ControlP5; import controlP5.ControlWindow; import controlP5.ControllerGroup; import controlP5.Tab; import java.util.Collection; import java.util.Comparator; import java.util.Collection; import j...
src/nodes/Graph.java
package nodes; import java.util.HashMap; import java.util.ArrayList; import com.hp.hpl.jena.rdf.model.*; import controlP5.ControlP5; import controlP5.ControlWindow; import controlP5.ControllerGroup; import controlP5.Tab; import java.util.Collection; import java.util.Comparator; import java.util.Collection; import j...
document prefixed() method
src/nodes/Graph.java
document prefixed() method
<ide><path>rc/nodes/Graph.java <ide> return triples.getResource(uri); <ide> } <ide> <add> /** <add> * <add> * @param uri <add> * @return namespace prefixed version of uri. <add> * Example: http://www.w3.org/1999/02/22-rdf-syntax-ns#type --> rdf:type <add> */ <ide> publ...
Java
apache-2.0
533226c909ab82801d95f2a49742eeb1daef4521
0
failsafe-lib/failsafe,jhalterman/failsafe,failsafe-lib/failsafe,jhalterman/failsafe,jhalterman/recurrent,jhalterman/recurrent
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/main/java/net/jodah/failsafe/SyncFailsafe.java
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Fix javadoc link
src/main/java/net/jodah/failsafe/SyncFailsafe.java
Fix javadoc link
<ide><path>rc/main/java/net/jodah/failsafe/SyncFailsafe.java <ide> /** <ide> * Performs synchronous executions with failures handled according to a configured {@link #with(RetryPolicy) retry <ide> * policy}, {@link #with(CircuitBreaker) circuit breaker} and <del> * {@link #withFallback(net.jodah.failsafe.function.BiF...
Java
apache-2.0
6c1515dfa6150b654bcc9b406428807289f7dcd5
0
troels/nz-presto,troels/nz-presto,troels/nz-presto,troels/nz-presto,troels/nz-presto
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-main/src/main/java/com/facebook/presto/cost/PlanNodeCostEstimate.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Revert "fixup! Introduce CostCalculator interface" This reverts commit ca886de6fc64f1a2c92627e6646fbfde2c9c67b9.
presto-main/src/main/java/com/facebook/presto/cost/PlanNodeCostEstimate.java
Revert "fixup! Introduce CostCalculator interface"
<ide><path>resto-main/src/main/java/com/facebook/presto/cost/PlanNodeCostEstimate.java <ide> } <ide> <ide> /** <del> * Returns true if this cost has unknown components. <add> * Returns true if cost is unknowny. That is any of the components of cost is unknown. <ide> */ <del> public boolean hasU...
Java
apache-2.0
f06166e16edca71a23f9ee74ee689ce2b042fce0
0
rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid
package org.rapidoid.app; import java.util.List; import java.util.Map; import java.util.Set; import org.rapidoid.annotation.Authors; import org.rapidoid.annotation.Since; import org.rapidoid.http.HTTP; import org.rapidoid.http.HttpClient; import org.rapidoid.http.HttpExchange; import org.rapidoid.http.Services; impor...
rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java
package org.rapidoid.app; import java.util.List; import java.util.Map; import java.util.Set; import org.rapidoid.annotation.Authors; import org.rapidoid.annotation.Since; import org.rapidoid.http.HTTP; import org.rapidoid.http.HttpClient; import org.rapidoid.http.HttpExchange; import org.rapidoid.http.Services; impor...
Simplified JS context "req" method with field.
rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java
Simplified JS context "req" method with field.
<ide><path>apidoid-app/src/main/java/org/rapidoid/app/Dollar.java <ide> <ide> public final Map<String, Object> bindings; <ide> <del> private final HttpExchange exchange; <add> public final HttpExchange req; <ide> <ide> public Dollar(HttpExchange x, Map<String, Object> bindings) { <del> this.exchange = x; <add> t...
Java
apache-2.0
03c7e33ca042c97524fe704d278ce53ad5edd56b
0
AndroidX/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,An...
/* * Copyright (C) 2014 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...
v7/appcompat/src/android/support/v7/widget/Toolbar.java
/* * Copyright (C) 2014 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 Toolbar ignore its minHeight if larger than height Currently Toolbar lays out all children based on its minHeight (if set). If that minHeight is larger than the Toolbar height, then the children are laid out larger than the Toolbar and clipped. This CL fixes it back by capping the alignment height. BUG: 2904914...
v7/appcompat/src/android/support/v7/widget/Toolbar.java
Make Toolbar ignore its minHeight if larger than height
<ide><path>7/appcompat/src/android/support/v7/widget/Toolbar.java <ide> collapsingMargins[0] = collapsingMargins[1] = 0; <ide> <ide> // Align views within the minimum toolbar height, if set. <del> final int alignmentHeight = ViewCompat.getMinimumHeight(this); <add> final int minHeight = V...
JavaScript
mit
c6785194ec261deb4a9e22b6a9ce1d7d65b4a100
0
aaromp/javascript-koans,aaromp/javascript-koans
var _; //globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried tom...
koans/AboutApplyingWhatWeHaveLearnt.js
var _; //globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried tom...
Fix About Applying What We Have Learnt spec
koans/AboutApplyingWhatWeHaveLearnt.js
Fix About Applying What We Have Learnt spec
<ide><path>oans/AboutApplyingWhatWeHaveLearnt.js <ide> } <ide> } <ide> <del> expect(productsICanEat.length).toBe(3); <add> expect(productsICanEat.length).toBe(FILL_ME_IN); <ide> }); <ide> <ide> it("given I'm allergic to nuts and hate mushrooms, it should find a pizza I can eat (functional)", fun...
Java
apache-2.0
c4289de0284c57cb89660c1dddb96abc0a56d096
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.maintenance; import com.yahoo.config.provision.Deployer; import com.yahoo.config.provision.NodeResources; import com.yahoo.config.provision.NodeType; import com.yahoo.jdisc....
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/Rebalancer.java
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.maintenance; import com.yahoo.config.provision.Deployer; import com.yahoo.config.provision.NodeResources; import com.yahoo.config.provision.NodeType; import com.yaho...
Avoid running Rebalancer in cd systems Rebalancer will make asserts on number of nodes while running tests fail
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/Rebalancer.java
Avoid running Rebalancer in cd systems
<ide><path>ode-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/Rebalancer.java <del>// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. <add>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the proje...
Java
apache-2.0
72ab621c2acc5daf8b3397c4677706e4d6a1eeef
0
gianm/druid,deltaprojects/druid,Fokko/druid,du00cs/druid,tubemogul/druid,himanshug/druid,dclim/druid,monetate/druid,implydata/druid,solimant/druid,michaelschiff/druid,mrijke/druid,taochaoqiang/druid,monetate/druid,deltaprojects/druid,noddi/druid,potto007/druid-avro,potto007/druid-avro,implydata/druid,lizhanhui/data_dru...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Integration tests: print expected results in json format
integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java
Integration tests: print expected results in json format
<ide><path>ntegration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java <ide> List<Map<String, Object>> result = queryClient.query(url, queryWithResult.getQuery()); <ide> if (!QueryResultVerifier.compareResults(result, queryWithResult.getExpectedResults())) { <ide> LOG.error( <de...
Java
mit
73db0cc6ba30c2c2704c02b55088119ad86425b0
0
Emiliyan-Sokolov/diplomna-rabota,Emiliyan-Sokolov/diplomna-rabota
package com.example.cripz.bluetoothrccarcontroller; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.hardware.Sensor; import android.hardware.SensorManager; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.widget.TextView; import ...
app/src/main/java/com/example/cripz/bluetoothrccarcontroller/Accelerometer.java
package com.example.cripz.bluetoothrccarcontroller; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.hardware.Sensor; import android.hardware.SensorManager; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.widget.TextView; import ...
Updating Accelerometer
app/src/main/java/com/example/cripz/bluetoothrccarcontroller/Accelerometer.java
Updating Accelerometer
<ide><path>pp/src/main/java/com/example/cripz/bluetoothrccarcontroller/Accelerometer.java <ide> import android.widget.TextView; <ide> import android.widget.Toast; <ide> <add> <ide> public class Accelerometer extends AppCompatActivity implements SensorEventListener { <ide> private float x, y, z; <ide> private T...
Java
apache-2.0
91b1890587fd0cd9e016203d97836ca3899bc707
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2005 Columbia University * * 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 ...
src/web/edu/columbia/gemma/web/listener/UserCounterListener.java
package edu.columbia.gemma.web.listener; import java.util.HashSet; import java.util.Set; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.http.HttpSessionAttributeListener; import javax.servlet.http.HttpSessionBindingEvent...
cleanup
src/web/edu/columbia/gemma/web/listener/UserCounterListener.java
cleanup
<ide><path>rc/web/edu/columbia/gemma/web/listener/UserCounterListener.java <add>/* <add> * The Gemma project <add> * <add> * Copyright (c) 2005 Columbia University <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <...
Java
mit
error: pathspec 'Java/src/presentacio/Stats/InfoRanking.java' did not match any file(s) known to git
680090a5196c7f204fc5a90923f915eb8be6118b
1
jmigual/pKK,jmigual/pKK,jmigual/pKK
package presentacio.Stats; /** * Created by esteve on 14/12/2015. */ public class InfoRanking { private Integer rank; private String name; private Integer score; // Comentari troll perquè no es canvii de nom public InfoRanking(){ this.rank = -1; this.name = ""; this.scor...
Java/src/presentacio/Stats/InfoRanking.java
InfoRanking no sucks
Java/src/presentacio/Stats/InfoRanking.java
InfoRanking no sucks
<ide><path>ava/src/presentacio/Stats/InfoRanking.java <add>package presentacio.Stats; <add> <add>/** <add> * Created by esteve on 14/12/2015. <add> */ <add>public class InfoRanking { <add> private Integer rank; <add> private String name; <add> private Integer score; <add> <add> // Comentari troll perquè no ...
Java
lgpl-2.1
baa45c51c13a598411f1c0d1ea9f9bacfeeb76b6
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
src/java/com/threerings/io/ObjectOutputStream.java
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
Added class translation support so that I could write a DSet converter. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@3947 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/io/ObjectOutputStream.java
Added class translation support so that I could write a DSet converter.
<ide><path>rc/java/com/threerings/io/ObjectOutputStream.java <ide> } <ide> <ide> /** <add> * Configures this object output stream with a mapping from a classname <add> * to a streamed name. <add> */ <add> public void addTranslation (String className, String streamedName) <add> { <add> ...
Java
epl-1.0
9320c9cdbff5be27d4e4ae598cf1bfe697f23aec
0
Techjar/ForgeEssentials,ForgeEssentials/ForgeEssentialsMain
package com.forgeessentials.scripting; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import net.minecraft.command.ICommandSender; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlay...
src/main/java/com/forgeessentials/scripting/ScriptMethods.java
package com.forgeessentials.scripting; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import net.minecraft.command.ICommandSender; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlay...
Console should always get the nod for permchecks.
src/main/java/com/forgeessentials/scripting/ScriptMethods.java
Console should always get the nod for permchecks.
<ide><path>rc/main/java/com/forgeessentials/scripting/ScriptMethods.java <ide> protected static boolean getPermcheckResult(ICommandSender sender, String[] args) <ide> { <ide> if (!(sender instanceof EntityPlayerMP)) <del> throw new MissingPlayerException(); <add> if (sender instanc...
Java
mit
5bb70f2ff8f77c95ebde1ed3f199a6149c881ced
0
ylgrgyq/batched-flume-appender
package com.ylgrgyq.clients.log4jappender; import org.apache.avro.Schema; import org.apache.avro.generic.GenericRecord; import org.apache.avro.io.BinaryEncoder; import org.apache.avro.io.DatumWriter; import org.apache.avro.io.EncoderFactory; import org.apache.avro.reflect.ReflectData; import org.apache.avro.reflect.Re...
src/main/java/com/ylgrgyq/clients/log4jappender/Log4jAppender.java
package com.ylgrgyq.clients.log4jappender; import org.apache.avro.Schema; import org.apache.avro.generic.GenericRecord; import org.apache.avro.io.BinaryEncoder; import org.apache.avro.io.DatumWriter; import org.apache.avro.io.EncoderFactory; import org.apache.avro.reflect.ReflectData; import org.apache.avro.reflect.Re...
(feature) init queue
src/main/java/com/ylgrgyq/clients/log4jappender/Log4jAppender.java
(feature) init queue
<ide><path>rc/main/java/com/ylgrgyq/clients/log4jappender/Log4jAppender.java <ide> private int delayMillis; <ide> <ide> private int eventQueueSize = 10000; <del> private BlockingQueue<Event> queue = new ArrayBlockingQueue<>(eventQueueSize); <del> <del> private volatile WorkerAppender worker = null; <add>...
JavaScript
mit
e51f0d215ff311c2af1afc32ad83fc78f205f266
0
zinic/node-amqp,softek/node-amqp,hinson0/node-amqp,segmentio/node-amqp,segmentio/node-amqp,softek/node-amqp,seanahn/node-amqp,albert-lacki/node-amqp,zkochan/node-amqp,postwait/node-amqp,postwait/node-amqp,seanahn/node-amqp,hinson0/node-amqp,xebitstudios/node-amqp,zkochan/node-amqp,albert-lacki/node-amqp,remind101/node-...
var events = require('events'), util = require('util'), net = require('net'), protocol, jspack = require('./jspack').jspack, Buffer = require('buffer').Buffer, Promise = require('./promise').Promise, URL = require('url'), AMQPTypes = require('./constants').AMQPTypes, Indicators = req...
amqp.js
var events = require('events'), util = require('util'), net = require('net'), protocol, jspack = require('./jspack').jspack, Buffer = require('buffer').Buffer, Promise = require('./promise').Promise, URL = require('url'), AMQPTypes = require('./constants').AMQPTypes, Indicators = req...
Add callback to Connection.publish
amqp.js
Add callback to Connection.publish
<ide><path>mqp.js <ide> }; <ide> <ide> // Publishes a message to the default exchange. <del>Connection.prototype.publish = function (routingKey, body, options) { <add>Connection.prototype.publish = function (routingKey, body, options, callback) { <ide> if (!this._defaultExchange) this._defaultExchange = this.exchang...
Java
mit
6b89008f0a4fa8ddff9704bb85e0f98ef26b6ae1
0
Realiserad/kex15,Realiserad/kex15
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.LinkedList; import java.util.List; import java.util.StringTokenizer; /** * Verify a solution to The Monk...
src/Verify.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; /** * Verify a solution to The Monk problem using an EL-system. The solution should conta...
Saving states and printing in sequence after outputting "YES" or "NO".
src/Verify.java
Saving states and printing in sequence after outputting "YES" or "NO".
<ide><path>rc/Verify.java <ide> import java.io.InputStream; <ide> import java.io.InputStreamReader; <ide> import java.io.PrintWriter; <add>import java.util.LinkedList; <add>import java.util.List; <ide> import java.util.StringTokenizer; <ide> <ide> /** <ide> * directed graph G consisting of one component, and a set of...
Java
apache-2.0
ea9886395880df963d8a5c78b1d111dacabff4b1
0
ceylon/ceylon-spec,jvasileff/ceylon-spec,jvasileff/ceylon-spec,jvasileff/ceylon-spec,ceylon/ceylon-spec,ceylon/ceylon-spec
package com.redhat.ceylon.compiler.typechecker.analyzer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import com.redhat.ceylon.cmr.api.ArtifactContext; import com.redhat.ceylon.cmr.api...
src/com/redhat/ceylon/compiler/typechecker/analyzer/ModuleValidator.java
package com.redhat.ceylon.compiler.typechecker.analyzer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import com.redhat.ceylon.cmr.api.ArtifactContext; import com.redhat.ceylon.cmr.api...
ModuleValidator: change the order of module resolving for ceylon/ceylon-compiler#1797 So that the module descriptor annotations are in the classpath before we load any module descriptor
src/com/redhat/ceylon/compiler/typechecker/analyzer/ModuleValidator.java
ModuleValidator: change the order of module resolving for ceylon/ceylon-compiler#1797
<ide><path>rc/com/redhat/ceylon/compiler/typechecker/analyzer/ModuleValidator.java <ide> // only verify modules we compile (and default/language), as that makes us traverse their dependencies anyways <ide> Set<Module> compiledModules = moduleManager.getCompiledModules(); <ide> List<Module> modul...
Java
agpl-3.0
70a0771af68cb6b7772a0cc45e9e26fd3372fb3c
0
bitsquare/bitsquare,bitsquare/bitsquare,bisq-network/exchange,bisq-network/exchange
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
core/src/main/java/bisq/core/filter/Filter.java
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
Code style: Improve order of fields
core/src/main/java/bisq/core/filter/Filter.java
Code style: Improve order of fields
<ide><path>ore/src/main/java/bisq/core/filter/Filter.java <ide> this.refundAgents = refundAgents; <ide> this.bannedAccountWitnessSignerPubKeys = bannedAccountWitnessSignerPubKeys; <ide> this.btcFeeReceiverAddresses = btcFeeReceiverAddresses; <del> this.disableAutoConf = disableAutoConf; <...
JavaScript
mit
3f6e7d785bcad99d30017b593a873766011e00d1
0
6pac/SlickGrid,6pac/SlickGrid
/** * @license * (c) 2009-2016 Michael Leibman * michael{dot}leibman{at}gmail{dot}com * http://github.com/mleibman/slickgrid * * Distributed under MIT license. * All rights reserved. * * SlickGrid v2.4 * * NOTES: * Cell/row DOM manipulations are done directly bypassing jQuery's DOM manipulation methods....
slick.grid.js
/** * @license * (c) 2009-2016 Michael Leibman * michael{dot}leibman{at}gmail{dot}com * http://github.com/mleibman/slickgrid * * Distributed under MIT license. * All rights reserved. * * SlickGrid v2.4 * * NOTES: * Cell/row DOM manipulations are done directly bypassing jQuery's DOM manipulation methods....
feat: expose `reRenderColumns` as public method (#583) - this will help in calculation our own column widths and calling `reRenderColumns` to resize columns accordingly
slick.grid.js
feat: expose `reRenderColumns` as public method (#583)
<ide><path>lick.grid.js <ide> "applyFormatResultToCellNode": applyFormatResultToCellNode, <ide> <ide> "render": render, <add> "reRenderColumns": reRenderColumns, <ide> "invalidate": invalidate, <ide> "invalidateRow": invalidateRow, <ide> "invalidateRows": invalidateRows,
JavaScript
mit
681c5305984c0a429fb2acc812d9063231a6dff5
0
hojberg/mastering-react
import React from 'react'; class Header extends React.Component { render() { return <h1 style={{color: 'red'}}>{this.props.children}</h1>; } } class Greeter extends React.Component { constructor(props) { super(props); this.state = { name: 'Bruce Wayne' }; } render() { return ( <div> ...
src/main.js
import React from 'react'; class Header extends React.Component { render() { return <h1 style={{color: 'red'}}>{this.props.children}</h1>; } } class Greeter extends React.Component { render() { return <Header>Hello {this.props.name}</Header>; } } class App extends React.Component { render() { r...
video 1.4
src/main.js
video 1.4
<ide><path>rc/main.js <ide> } <ide> <ide> class Greeter extends React.Component { <add> constructor(props) { <add> super(props); <add> this.state = { name: 'Bruce Wayne' }; <add> } <add> <ide> render() { <del> return <Header>Hello {this.props.name}</Header>; <add> return ( <add> <div> <add> ...
JavaScript
agpl-3.0
f568e92a49ff7f3eb00de592a2691bbc5f0da617
0
hawkrives/gobbldygook,hawkrives/gobbldygook,hawkrives/gobbldygook
const parse = require('../src/area-tools/parse-hanson-string').parse const nom = require('nomnom') const stringify = require('json-stable-stringify') const yaml = require('js-yaml') const util = require('util') const getStdin = require('get-stdin') function parseString(args, string) { if (string.length === 0) { thr...
bin/parse-result.js
const parse = require('../src/area-tools/parse-hanson-string').parse const nom = require('nomnom') const stringify = require('json-stable-stringify') const yaml = require('js-yaml') const util = require('util') exports.cli = function cli() { const args = nom .option('json', {flag: true, help: 'Print the result as v...
update parse-result to read from STDIN or arguments
bin/parse-result.js
update parse-result to read from STDIN or arguments
<ide><path>in/parse-result.js <ide> const stringify = require('json-stable-stringify') <ide> const yaml = require('js-yaml') <ide> const util = require('util') <add>const getStdin = require('get-stdin') <add> <add>function parseString(args, string) { <add> if (string.length === 0) { <add> throw new Error('Either --std...
Java
apache-2.0
error: pathspec 'Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/sorting/SelectionAlgorithm.java' did not match any file(s) known to git
d162887a4a2c2e624069046b4a96c50d0348069a
1
ilyagubarev/Algorithms
/* * Copyright 2013 Ilya Gubarev. * * 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 ...
Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/sorting/SelectionAlgorithm.java
SelectionSort added
Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/sorting/SelectionAlgorithm.java
SelectionSort added
<ide><path>ava/Algorithms/src/main/java/com/ilyagubarev/algorithms/sorting/SelectionAlgorithm.java <add>/* <add> * Copyright 2013 Ilya Gubarev. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain ...
JavaScript
apache-2.0
67e8863b555ee4614a2325f679f41b530f44f975
0
edwardsph/callimachus,edwardsph/callimachus,Thellmann/callimachus,3-Round-Stones/callimachus,jimmccusker/callimachus,edwardsph/callimachus,edwardsph/callimachus,3-Round-Stones/callimachus,Thellmann/callimachus,Thellmann/callimachus,jimmccusker/callimachus,Thellmann/callimachus,edwardsph/callimachus,edwardsph/callimachu...
// dropzone.js /* Portions Copyright (c) 2009-10 Zepheira LLC, Some Rights Reserved Portions Copyright (c) 2010-11 Talis Inc, Some Rights Reserved Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 */ (function($, jQuery){ $(document).ready(function() { initDropAre...
webapps/callimachus/scripts/dropzone.js
// dropzone.js /* Portions Copyright (c) 2009-10 Zepheira LLC, Some Rights Reserved Portions Copyright (c) 2010-11 Talis Inc, Some Rights Reserved Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 */ (function($, jQuery){ $(document).ready(function() { initDropAre...
Prevent drop item from appearing multiple times in forms with multiple dropzones
webapps/callimachus/scripts/dropzone.js
Prevent drop item from appearing multiple times in forms with multiple dropzones
<ide><path>ebapps/callimachus/scripts/dropzone.js <ide> dropzone.bind('drop', function(event) { <ide> $(this).removeClass("drag-over"); <ide> event.preventDefault(); <del> if (typeof dropzone.attr('ondrop') == 'function') { <add> if (typeof $(this).attr('ondrop') == 'function') { <ide>...
Java
apache-2.0
e6a60213b6e2e86ea9dfacbb61e97e76508668ac
0
vanitasvitae/Smack,Flowdalic/Smack,Flowdalic/Smack,igniterealtime/Smack,Flowdalic/Smack,igniterealtime/Smack,vanitasvitae/Smack,vanitasvitae/Smack,igniterealtime/Smack
/** * * Copyright 2020 Florian Schmaus, Aditya Borikar * * 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...
smack-core/src/main/java/org/jivesoftware/smack/packet/AbstractStreamOpen.java
/** * * Copyright 2020 Aditya Borikar * * 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...
[core] Add convenience constructor to AbstractStreamOpen Most of the times when we construct a stream-open-like element, we want the jabber:client namespace. Hence add a constructor that does select the namespace implicitly.
smack-core/src/main/java/org/jivesoftware/smack/packet/AbstractStreamOpen.java
[core] Add convenience constructor to AbstractStreamOpen
<ide><path>mack-core/src/main/java/org/jivesoftware/smack/packet/AbstractStreamOpen.java <ide> /** <ide> * <del> * Copyright 2020 Aditya Borikar <add> * Copyright 2020 Florian Schmaus, Aditya Borikar <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file ex...
Java
mpl-2.0
e5385ab0792b2a4a5161749b73a503c4d17b6b95
0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
package org.helioviewer.jhv.layers; import java.awt.Component; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.annotation.Nullable; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JSlider; import javax.swing.SwingConstants; import...
src/org/helioviewer/jhv/layers/TimestampLayer.java
package org.helioviewer.jhv.layers; import java.awt.Component; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.annotation.Nullable; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JSlider; import javax.swing.SwingConstants; import...
Name first in timestamp
src/org/helioviewer/jhv/layers/TimestampLayer.java
Name first in timestamp
<ide><path>rc/org/helioviewer/jhv/layers/TimestampLayer.java <ide> if (Display.multiview) { <ide> ImageLayer im = ImageLayers.getImageLayerInViewport(vp.idx); <ide> if (im != null) { <del> text = im.getTimeString() + ' ' + im.getName(); <add> text = im.getNa...
Java
lgpl-2.1
e14f49c8270df3b1b0cfdde42ecb2baf8e7ea781
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2006 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
runtime/src/com/exedio/cope/Properties.java
/* * Copyright (C) 2004-2006 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
remove non-sense TODO git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@7192 e7d4fc99-c606-0410-b9bf-843393a9eab7
runtime/src/com/exedio/cope/Properties.java
remove non-sense TODO
<ide><path>untime/src/com/exedio/cope/Properties.java <ide> return getDialect(); <ide> } <ide> <del> public String getDatabaseUrl() // TODO SOON rename to JDBC <add> public String getDatabaseUrl() <ide> { <ide> return databaseUrl.getStringValue(); <ide> } <ide> <del> public String getDatabaseUser() // TODO SOO...
JavaScript
mit
e1a067dea0ffcacd1f664f30cd14463b00f52fa7
0
chenglou/react,cpojer/react,flarnie/react,camsong/react,jzmq/react,mjackson/react,chicoxyzzy/react,yungsters/react,billfeller/react,facebook/react,terminatorheart/react,trueadm/react,jameszhan/react,jdlehman/react,tomocchino/react,VioletLife/react,VioletLife/react,jzmq/react,terminatorheart/react,trueadm/react,mjackson...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {Interaction, Subscriber} from './Tracing'; import {enableSchedulerTracing} from 'shared/ReactFeatureFlag...
packages/scheduler/src/TracingSubscriptions.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {Interaction, Subscriber} from './Tracing'; import {enableSchedulerTracing} from 'shared/ReactFeatureFlag...
Fix circular dependency in TracingSubscriptions (#13689)
packages/scheduler/src/TracingSubscriptions.js
Fix circular dependency in TracingSubscriptions (#13689)
<ide><path>ackages/scheduler/src/TracingSubscriptions.js <ide> import type {Interaction, Subscriber} from './Tracing'; <ide> <ide> import {enableSchedulerTracing} from 'shared/ReactFeatureFlags'; <del>import {__subscriberRef} from 'scheduler/tracing'; <add>import {__subscriberRef} from './Tracing'; <ide> <ide> let su...
Java
apache-2.0
4c675f868be2259f5d5e0fda4d125d39d6abdc1d
0
eg-zhang/h2o-2,elkingtonmcb/h2o-2,111t8e/h2o-2,vbelakov/h2o,rowhit/h2o-2,h2oai/h2o-2,rowhit/h2o-2,h2oai/h2o-2,100star/h2o,h2oai/h2o-2,vbelakov/h2o,h2oai/h2o,calvingit21/h2o-2,111t8e/h2o-2,elkingtonmcb/h2o-2,h2oai/h2o-2,vbelakov/h2o,111t8e/h2o-2,h2oai/h2o,rowhit/h2o-2,rowhit/h2o-2,111t8e/h2o-2,h2oai/h2o,calvingit21/h2o-...
package hex.glm; import hex.glm.GLMParams.CaseMode; import hex.glm.GLMParams.Family; import hex.glm.GLMValidation.GLMXValidation; import java.text.DecimalFormat; import java.util.HashMap; import water.*; import water.H2O.H2OCountedCompleter; import water.api.DocGen; import water.api.Request.API; import water.fvec.Ch...
src/main/java/hex/glm/GLMModel.java
package hex.glm; import hex.glm.GLMParams.CaseMode; import hex.glm.GLMParams.Family; import hex.glm.GLMValidation.GLMXValidation; import java.text.DecimalFormat; import java.util.HashMap; import water.*; import water.H2O.H2OCountedCompleter; import water.api.DocGen; import water.api.Request.API; import water.fvec.Ch...
Added sorting of coefficients in GLM2.
src/main/java/hex/glm/GLMModel.java
Added sorting of coefficients in GLM2.
<ide><path>rc/main/java/hex/glm/GLMModel.java <ide> @API(help="Beta vector containing model coefficients.") double [] beta; <ide> @API(help="Beta vector containing normalized coefficients (coefficients obtained on normalized data).") double [] norm_beta; <ide> <del> <add> final int rank; <add> final in...
Java
apache-2.0
57277e469de709509c19e938b03e400e08e20af6
0
jitsi/jitsi,level7systems/jitsi,jibaro/jitsi,HelioGuilherme66/jitsi,laborautonomo/jitsi,mckayclarey/jitsi,mckayclarey/jitsi,bebo/jitsi,marclaporte/jitsi,tuijldert/jitsi,bebo/jitsi,jitsi/jitsi,459below/jitsi,HelioGuilherme66/jitsi,Metaswitch/jitsi,459below/jitsi,dkcreinoso/jitsi,mckayclarey/jitsi,HelioGuilherme66/jitsi,...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.slick.protocol.sip; import junit.framework.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.servic...
test/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.slick.protocol.sip; import junit.framework.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.servic...
Temporarily removed test as it fails. Will get back to it when I find the time
test/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java
Temporarily removed test as it fails. Will get back to it when I find the time
<ide><path>est/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java <ide> * @throws ParseException if we hand a malformed URI to someone <ide> * @throws OperationFailedException if something weird happens. <ide> */ <del> public void testCreateAnswerHangupCall() <add>...
Java
agpl-3.0
f4c514045bce07dcd88822287dcaeb1cad443cb0
0
deerwalk/voltdb,creative-quant/voltdb,flybird119/voltdb,migue/voltdb,flybird119/voltdb,kumarrus/voltdb,zuowang/voltdb,simonzhangsm/voltdb,zuowang/voltdb,ingted/voltdb,kobronson/cs-voltdb,paulmartel/voltdb,deerwalk/voltdb,wolffcm/voltdb,migue/voltdb,deerwalk/voltdb,simonzhangsm/voltdb,flybird119/voltdb,kumarrus/voltdb,k...
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
src/frontend/org/voltdb/sysprocs/saverestore/StreamSnapshotWritePlan.java
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
ENG-4418: Allow filtering tables for stream snapshot. If the JSON data in the request specifies which tables the destination wants, the source will only send data of those tables.
src/frontend/org/voltdb/sysprocs/saverestore/StreamSnapshotWritePlan.java
ENG-4418: Allow filtering tables for stream snapshot.
<ide><path>rc/frontend/org/voltdb/sysprocs/saverestore/StreamSnapshotWritePlan.java <ide> <ide> import java.util.ArrayList; <ide> <add>import java.util.HashSet; <add>import java.util.ListIterator; <add>import java.util.Set; <ide> import java.util.concurrent.atomic.AtomicInteger; <ide> import java.util.HashMap; <ide> ...
Java
apache-2.0
520370688c27afece90fbb07b8e07a1603d87b05
0
colezlaw/DependencyCheck,jeremylong/DependencyCheck,hansjoachim/DependencyCheck,hansjoachim/DependencyCheck,stevespringett/DependencyCheck,stevespringett/DependencyCheck,wmaintw/DependencyCheck,recena/DependencyCheck,dwvisser/DependencyCheck,dwvisser/DependencyCheck,colezlaw/DependencyCheck,adilakhter/DependencyCheck,s...
/** * Contains classes used to work with the NVD CVE data. */ package org.owasp.dependencycheck.data.nvdcve;
dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/package-info.java
/** * <html> * <head> * <title>org.owasp.dependencycheck.data.nvdcve</title> * </head> * <body> * Contains classes used to work with the NVD CVE data. * </body> * </html> */ package org.owasp.dependencycheck.data.nvdcve;
updated package-info Former-commit-id: c577b32102ac872b713df1c88b2af3424f00565c
dependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/package-info.java
updated package-info
<ide><path>ependency-check-core/src/main/java/org/owasp/dependencycheck/data/nvdcve/package-info.java <ide> /** <del> * <html> <del> * <head> <del> * <title>org.owasp.dependencycheck.data.nvdcve</title> <del> * </head> <del> * <body> <ide> * Contains classes used to work with the NVD CVE data. <del> * </body> <del> * ...
JavaScript
apache-2.0
f09cd3ca7aaa1db737f3144355753776eba51625
0
postmanlabs/postman-runtime,postmanlabs/postman-runtime
var net = require('net'), sinon = require('sinon'), expect = require('chai').expect; describe('protocolProfileBehavior', function () { var server, testrun, rawRequest, PORT = 5050, URL = 'http://localhost:' + PORT; before(function (done) { // Echo raw request me...
test/integration/request-body/protocolProfileBehavior.test.js
var net = require('net'), sinon = require('sinon'), expect = require('chai').expect; describe('protocolProfileBehavior', function () { var server, testrun, rawRequest, PORT = 5050, URL = 'http://localhost:' + PORT; before(function (done) { // Echo raw request me...
Fix tests for protocolProfileBehavior
test/integration/request-body/protocolProfileBehavior.test.js
Fix tests for protocolProfileBehavior
<ide><path>est/integration/request-body/protocolProfileBehavior.test.js <ide> <ide> var response = testrun.request.getCall(0).args[2].stream.toString(); <ide> <del> // eslint-disable-next-line max-len <del> expect(response).to.include('GET / HTTP/1.1', 'Content-Type: text...
Java
apache-2.0
777f9716998a7e520d6d422928dda1c568d49b87
0
semonte/intellij-community,kool79/intellij-community,pwoodworth/intellij-community,ryano144/intellij-community,Distrotech/intellij-community,muntasirsyed/intellij-community,salguarnieri/intellij-community,kdwink/intellij-community,FHannes/intellij-community,salguarnieri/intellij-community,vvv1559/intellij-community,rob...
/* * Copyright 2000-2005 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
appcore/src/api/com/intellij/openapi/components/BaseComponent.java
/* * Copyright 2000-2005 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
tests fix
appcore/src/api/com/intellij/openapi/components/BaseComponent.java
tests fix
<ide><path>ppcore/src/api/com/intellij/openapi/components/BaseComponent.java <ide> package com.intellij.openapi.components; <ide> <ide> import org.jetbrains.annotations.NonNls; <add>import org.jetbrains.annotations.NotNull; <ide> <ide> /** <ide> * The base interface class for all components. <ide> * <ide> * @r...
JavaScript
mit
f01421b0914c84d19939eca79d796e3e6f3ef8dd
0
webuildsg/webuild,webuildsg/webuild,webuildsg/webuild
'use strict' var express = require('express') var bodyParser = require('body-parser') var compress = require('compression') var errorHandler = require('errorhandler') var http = require('http') var path = require('path') var request = require('request') var cors = require('cors') var cal = require('./lib/cal') var mo...
app.js
'use strict' var express = require('express') var bodyParser = require('body-parser') var compress = require('compression') var errorHandler = require('errorhandler') var http = require('http') var path = require('path') var request = require('request') var cors = require('cors') var cal = require('./lib/cal') var mo...
fix build remove semicolon
app.js
fix build remove semicolon
<ide><path>pp.js <ide> var whitelistGroups = config.whitelistGroups <ide> <ide> app.use(compress()) <del> app.set('view engine', 'pug'); <add> app.set('view engine', 'pug') <ide> app.use('/public', express.static(path.join(__dirname, '/public'))) <ide> app.use('/humans.txt', express.static(path.join(__dirnam...
Java
apache-2.0
3008ae4942f1d6784d8e1b71ffc23b41d0a5ab3b
0
aw32/son-sp-infrabstract,aw32/son-sp-infrabstract,aw32/son-sp-infrabstract,aw32/son-sp-infrabstract,aw32/son-sp-infrabstract
sandman/placement/src/main/java/sonata/kernel/placement/service/PlacementMapping.java
package sonata.kernel.placement.service; import sonata.kernel.placement.config.PopResource; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; public class PlacementMapping { final static Logger logger = Logger.getLogger(PlacementMappi...
Removed PlacementMapping
sandman/placement/src/main/java/sonata/kernel/placement/service/PlacementMapping.java
Removed PlacementMapping
<ide><path>andman/placement/src/main/java/sonata/kernel/placement/service/PlacementMapping.java <del>package sonata.kernel.placement.service; <del> <del>import sonata.kernel.placement.config.PopResource; <del> <del>import java.util.ArrayList; <del>import java.util.HashMap; <del>import java.util.List; <del>import java.u...
Java
mit
7634271c0be639882fb3199b930290d3f3ae02a3
0
etsy/statsd-jvm-profiler,etsy/statsd-jvm-profiler,etsy/statsd-jvm-profiler,etsy/statsd-jvm-profiler,etsy/statsd-jvm-profiler
package com.etsy.statsd.profiler.reporter; import com.etsy.statsd.profiler.Arguments; import com.etsy.statsd.profiler.util.TagUtil; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import org.influxdb.InfluxDB; import org.influxdb.InfluxDBFactory; import org.influxdb.dto.Batc...
src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java
package com.etsy.statsd.profiler.reporter; import com.etsy.statsd.profiler.Arguments; import com.etsy.statsd.profiler.util.TagUtil; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import org.influxdb.InfluxDB; import org.influxdb.InfluxDBFactory; import org.influxdb.dto.Batc...
added https support
src/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java
added https support
<ide><path>rc/main/java/com/etsy/statsd/profiler/reporter/InfluxDBReporter.java <ide> <ide> import java.util.Map; <ide> import java.util.concurrent.TimeUnit; <add>import java.util.logging.Level; <add>import java.util.logging.Logger; <ide> <ide> /** <ide> * Reporter that sends data to InfluxDB <ide> * @author Andrew...
JavaScript
mit
71ba78952667e707052fff5755172637426d5298
0
anrl/JAM,anrl/JAM,anrl/JAM,anrl/JAM,anrl/JAM,anrl/JAM
/* eslint-env node */ 'use strict'; // -------------------------------------------------------------------- // Imports // -------------------------------------------------------------------- var fs = require('fs'); var path = require('path'); var ohm = require('ohm-js'); var cTranslator = require('../c/c').cTransla...
lib/ohm/jamscript/jam.js
/* eslint-env node */ 'use strict'; // -------------------------------------------------------------------- // Imports // -------------------------------------------------------------------- var fs = require('fs'); var path = require('path'); var ohm = require('ohm-js'); var cTranslator = require('../c/c').cTransla...
Good stuff Revert "Add js callbacks" This reverts commit 45374b0990b40ee4d2f59f953364555f055c3eae.
lib/ohm/jamscript/jam.js
Good stuff Revert "Add js callbacks"
<ide><path>ib/ohm/jamscript/jam.js <ide> jsout += elements.child(i).child(0).child(0).jamJSTranslator + '\n'; <ide> } <ide> } <del> jsout += generate_js_callbacks(); <del> <ide> return {'C': cout, 'JS': jsout, 'annotated_JS': annotated_JS}; <ide> }, <ide> Activity_def: function(node) { ...
Java
apache-2.0
error: pathspec 'src/main/java/com/cube/storm/ui/lib/spec/ListDividerSpec.java' did not match any file(s) known to git
570381e524be77815f50597c2cebad3082d3d61c
1
3sidedcube/Android-LightningUi
package com.cube.storm.ui.lib.spec; import com.cube.storm.ui.model.Model; import com.cube.storm.ui.model.list.Divider; import com.cube.storm.ui.model.list.ListItem; import com.cube.storm.ui.model.list.StandardListItem; import java.util.List; /** * Default {@link com.cube.storm.ui.lib.spec.DividerSpec} for {@link co...
src/main/java/com/cube/storm/ui/lib/spec/ListDividerSpec.java
Created default list divider spec
src/main/java/com/cube/storm/ui/lib/spec/ListDividerSpec.java
Created default list divider spec
<ide><path>rc/main/java/com/cube/storm/ui/lib/spec/ListDividerSpec.java <add>package com.cube.storm.ui.lib.spec; <add> <add>import com.cube.storm.ui.model.Model; <add>import com.cube.storm.ui.model.list.Divider; <add>import com.cube.storm.ui.model.list.ListItem; <add>import com.cube.storm.ui.model.list.StandardListItem...
Java
agpl-3.0
c3d551810c73b582b43fb6507f953a2d89b85342
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
cdf59e06-2e5f-11e5-9284-b827eb9e62be
hello.java
cdf02930-2e5f-11e5-9284-b827eb9e62be
cdf59e06-2e5f-11e5-9284-b827eb9e62be
hello.java
cdf59e06-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>cdf02930-2e5f-11e5-9284-b827eb9e62be <add>cdf59e06-2e5f-11e5-9284-b827eb9e62be
Java
apache-2.0
5191f244c62f33f6a68d12b0614ba848172d2704
0
opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
form/wicket/src/main/java/org/opensingular/form/wicket/IWicketComponentMapperRegistry.java
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
Correção RichText
form/wicket/src/main/java/org/opensingular/form/wicket/IWicketComponentMapperRegistry.java
Correção RichText
<ide><path>orm/wicket/src/main/java/org/opensingular/form/wicket/IWicketComponentMapperRegistry.java <ide> import org.opensingular.form.type.util.STypeYearMonth; <ide> import org.opensingular.form.view.*; <ide> import org.opensingular.form.wicket.mapper.*; <add>import org.opensingular.form.wicket.mapper.attachment.imag...
Java
epl-1.0
8725a5224994f2f889007fec44b3110758fe13ea
0
ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.msu.nscl.olog.api; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * * @author berryman */ public class LogBuilder { private Long id; private StringBuilder description; pr...
src/edu/msu/nscl/olog/api/LogBuilder.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.msu.nscl.olog.api; import java.util.Date; import java.util.HashSet; import java.util.Set; /** * * @author berryman */ public class LogBuilder { private Long id; private StringBuilder description; pr...
..logbook: updating the Attachment to have inputstream too. Change-Id: If7aa1eee840444af135109f9baf5d5cb48183d3f Signed-off-by: Kunal Shroff <a3b6c3928a745b45becc135941c7c4a0f4436957@bnl.gov>
src/edu/msu/nscl/olog/api/LogBuilder.java
..logbook: updating the Attachment to have inputstream too.
<ide><path>rc/edu/msu/nscl/olog/api/LogBuilder.java <ide> <ide> } <ide> <del> Log build() { <add> public Log build() { <ide> return new Log(this.toXml()); <ide> } <ide>
JavaScript
mit
e2bd1190f48eae07f17dbc0ccdc19386b29d4236
0
kalabox/kalabox-engine-docker,kalabox/kalabox-engine-docker
'use strict'; var fs = require('fs'); var path = require('path'); var mkdirp = require('mkdirp'); var meta = require('./meta.js'); var PROVIDER_ATTEMPTS = 3; module.exports = function(kbox) { var sysProfiler = kbox.install.sysProfiler; var provider = kbox.engine.provider; var shell = kbox.util.shell; var pro...
lib/install.js
'use strict'; var fs = require('fs'); var path = require('path'); var mkdirp = require('mkdirp'); var meta = require('./meta.js'); var PROVIDER_ATTEMPTS = 3; module.exports = function(kbox) { var sysProfiler = kbox.install.sysProfiler; var provider = kbox.engine.provider; var shell = kbox.util.shell; var pro...
#364: Clean up, aisle 3
lib/install.js
#364: Clean up, aisle 3
<ide><path>ib/install.js <ide> <ide> if (!provisioned) { <ide> <add> // @todo: add this step into the install docs <add> /* <ide> kbox.install.registerStep(function(step) { <ide> step.name = 'engine-docker-finalize-engine'; <ide> step.description = 'Halting engine on Windows...'; <ide> s...
Java
apache-2.0
0339bf0209a09e5853958c2dede9ab5c050f8907
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-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/table/GraphTableController.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
[file-history] only allow to click on browser links (and not on speed search matches)
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/table/GraphTableController.java
[file-history] only allow to click on browser links (and not on speed search matches)
<ide><path>latform/vcs-log/impl/src/com/intellij/vcs/log/ui/table/GraphTableController.java <ide> import com.intellij.ide.IdeTooltipManager; <ide> import com.intellij.openapi.ui.popup.Balloon; <ide> import com.intellij.openapi.vcs.changes.issueLinks.TableLinkMouseListener; <add>import com.intellij.ui.SimpleColoredCompo...
Java
apache-2.0
730e6b3d232896350f2acfafa4293bcc096200b2
0
luoxn28/mybatis-wheel
package com.intrack.session; import com.intrack.cursor.Cursor; import java.io.Closeable; import java.sql.Connection; import java.util.List; import java.util.Map; /** * The primary Java interface for working with mybatis-wheel. * Through this interface you can execute commands, get mappers nad manage transactions. ...
src/main/java/com/intrack/session/SqlSession.java
package com.intrack.session; import com.intrack.cursor.Cursor; import java.io.Closeable; import java.util.List; import java.util.Map; /** * The primary Java interface for working with mybatis-wheel. * Through this interface you can execute commands, get mappers nad manage transactions. * * @author intrack */ pu...
update SqlSession
src/main/java/com/intrack/session/SqlSession.java
update SqlSession
<ide><path>rc/main/java/com/intrack/session/SqlSession.java <ide> import com.intrack.cursor.Cursor; <ide> <ide> import java.io.Closeable; <add>import java.sql.Connection; <ide> import java.util.List; <ide> import java.util.Map; <ide> <ide> */ <ide> void select(String statement, Object parameter, ResultHandle...
JavaScript
apache-2.0
0e781df50a603e6e519d8ca62a07e1372a155b17
0
cafjs/caf_pull
/*! Copyright 2013 Hewlett-Packard Development Company, L.P. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
lib/plug_pull.js
/*! Copyright 2013 Hewlett-Packard Development Company, L.P. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
Fix logging
lib/plug_pull.js
Fix logging
<ide><path>ib/plug_pull.js <ide> async.waterfall([ <ide> function(cb1) { <ide> // load head <del> $.log.trace('begin head caid:' + <del> meta.caId +...
JavaScript
mit
8f27b539d2e25af744550c4714177b3828a881b2
0
tangentstorm/ok-bot
// An IRC bot for the k5 programming language, // using oK from : https://github.com/JohnEarnest/ok "use strict"; var irc = require('irc'); var ok = require('./lib/ok/oK'); const MAXLINES = 8; var client = new irc.Client('irc.freenode.net', 'ok-bot', { channels: ['#jsoftware', '#learnprogramming', '#kq', '#lpmc'] }...
ok-bot.js
// An IRC bot for the k5 programming language, // using oK from : https://github.com/JohnEarnest/ok "use strict"; var irc = require('irc'); var ok = require('./lib/ok/oK'); const MAXLINES = 8; var client = new irc.Client('irc.freenode.net', 'ok-bot', { channels: ['#jsoftware', '#learnprogramming', '#kq'] }); var e...
add #lpmc
ok-bot.js
add #lpmc
<ide><path>k-bot.js <ide> const MAXLINES = 8; <ide> <ide> var client = new irc.Client('irc.freenode.net', 'ok-bot', { <del> channels: ['#jsoftware', '#learnprogramming', '#kq'] <add> channels: ['#jsoftware', '#learnprogramming', '#kq', '#lpmc'] <ide> }); <ide> <ide> var env = ok.baseEnv();
Java
mit
0c4de1303e0d75e4479cb001f111b5403fe7aa4e
0
125m125/ktapi-java,125m125/ktapi-java
package de._125m125.kt.ktapi.smartCache; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Predicate; import java.util.function.Supplier; import de._125m125.kt.ktapi.core.BUY_SELL; import de._125...
ktapi-smartCache/src/main/java/de/_125m125/kt/ktapi/smartCache/KtCachingRequesterIml.java
package de._125m125.kt.ktapi.smartCache; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Predicate; import java.util.function.Supplier; import de._125m125.kt.ktapi.core.BUY_SELL; import de._125...
use correct cache-prefixes for KtCachingRequesterImpl (fix #23) and subscribe to updates on get (fix #24)
ktapi-smartCache/src/main/java/de/_125m125/kt/ktapi/smartCache/KtCachingRequesterIml.java
use correct cache-prefixes for KtCachingRequesterImpl (fix #23) and subscribe to updates on get (fix #24)
<ide><path>tapi-smartCache/src/main/java/de/_125m125/kt/ktapi/smartCache/KtCachingRequesterIml.java <ide> <ide> private final Map<String, CacheData<?>> cache; <ide> private final KtRequester<U> requester; <add> private KtNotificationManager<U> ktNotificationManager; <ide> private final...
Java
apache-2.0
069103a9e0b533f34d26e335075b64b06f87bf25
0
Cognifide/AET,Cognifide/AET,Cognifide/AET,Cognifide/AET
/** * AET * * Copyright (C) 2013 Cognifide Limited * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
api/jobs-api/src/main/java/com/cognifide/aet/job/api/collector/HttpRequestExecutor.java
/** * AET * * Copyright (C) 2013 Cognifide Limited * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
fix for incorrect JAVADOC
api/jobs-api/src/main/java/com/cognifide/aet/job/api/collector/HttpRequestExecutor.java
fix for incorrect JAVADOC
<ide><path>pi/jobs-api/src/main/java/com/cognifide/aet/job/api/collector/HttpRequestExecutor.java <ide> HttpRequestExecutor removeCookie(String key); <ide> <ide> /** <del> * Executes a GET request to the given <bb>url</bb> and returns {@link ResponseObject} <add> * Executes a GET request to the given <b>url</b...
Java
mit
86853cf9151789435f7eaca26408a4215084cadb
0
JCPedroza/XochiJava
import static org.junit.Assert.*; import java.util.*; public class Test{ // Instance variables for use with testing Note aNoteA = new Note("A", 440, 60, 1, 1, 127, 1); Note aNoteC = new Note("C", 450, 61, 2, 4, 125, 6); Note aNoteE = new Note("E", 460, 62, 3, 5, 126, 7); Note...
Test.java
import static org.junit.Assert.*; import java.util.*; public class Test{ // Instance variables for use with testing Note aNoteA = new Note("A", 440, 60, 1, 1, 127, 1); Note aNoteC = new Note("C", 450, 61, 2, 4, 125, 6); Note aNoteE = new Note("E", 460, 62, 3, 5, 126, 7); Note...
added tests for harmonize() and ChordGroup.getChordsAsStringArray()
Test.java
added tests for harmonize() and ChordGroup.getChordsAsStringArray()
<ide><path>est.java <ide> String[] aPool2 = {"Ab", "A", "Bb", "B", "C", "Db", "D", "Eb", "E", "F", "Gb", "G"}; <ide> List<String> aPool3 = new ArrayList<String>(Arrays.asList(aPool2)); <ide> Chord aChord1 = new Chord(aNoteArray, "Am"); <add> Chord aChord2 = new Chord(aNoteArray); <ide...
Java
apache-2.0
4f83bc8f7d9bb5456f0784f39c623377905a7542
0
Tamicer/Novate,NeglectedByBoss/Novate
package com.tamic.novate; import android.content.Context; import android.support.annotation.NonNull; import android.util.Log; import com.google.gson.Gson; import com.tamic.novate.util.Utils; import java.io.File; import java.io.InputStream; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; im...
novate/src/main/java/com/tamic/novate/Novate.java
package com.tamic.novate; import android.content.Context; import android.support.annotation.NonNull; import android.util.Log; import com.google.gson.Gson; import com.tamic.novate.util.Utils; import java.io.File; import java.io.InputStream; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; im...
增加开始和完成被遗漏的回调
novate/src/main/java/com/tamic/novate/Novate.java
增加开始和完成被遗漏的回调
<ide><path>ovate/src/main/java/com/tamic/novate/Novate.java <ide> } <ide> <ide> @Override <add> public void onStart() { <add> super.onStart(); <add> // todo some common as show loadding and check netWork is NetworkAvailable <add> if (callBack != null) { <add> ...