lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
17d1bcfaf5083caf89a00e4670924b8fa85185de
0
leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * 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 ...
sharding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/registry/config/listener/AuthenticationChangedListenerTest.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 ...
check style
sharding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/registry/config/listener/AuthenticationChangedListenerTest.java
check style
<ide><path>harding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/registry/config/listener/AuthenticationChangedListenerTest.java <ide> <ide> @Test <ide> public void assertCreateShardingOrchestrationEvent() { <del> assertThat( <del> ...
Java
apache-2.0
a70f94df895b6b41de831e67ede8dcd659199a51
0
archiecobbs/jsimpledb,permazen/permazen,permazen/permazen,archiecobbs/jsimpledb,archiecobbs/jsimpledb,permazen/permazen
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.spring; import com.google.common.base.Preconditions; import io.permazen.JTransaction; import io.permazen.Permazen; import io.permazen.ValidationMode; import io.permazen.core.DatabaseException; import io.permazen.core.Transaction;...
permazen-spring/src/main/java/io/permazen/spring/PermazenTransactionManager.java
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.spring; import com.google.common.base.Preconditions; import io.permazen.JTransaction; import io.permazen.Permazen; import io.permazen.ValidationMode; import io.permazen.core.DatabaseException; import io.permazen.core.Transaction;...
Invoke superclass's doCleanupAfterCompletion() in override.
permazen-spring/src/main/java/io/permazen/spring/PermazenTransactionManager.java
Invoke superclass's doCleanupAfterCompletion() in override.
<ide><path>ermazen-spring/src/main/java/io/permazen/spring/PermazenTransactionManager.java <ide> @Override <ide> protected void doCleanupAfterCompletion(Object txObj) { <ide> JTransaction.setCurrent(null); <add> super.doCleanupAfterCompletion(txObj); <ide> } <ide> <ide> @Override
Java
apache-2.0
d9e77445bd8bd75a63fcecc2178e310baf96535b
0
madurangasiriwardena/carbon-identity,IndunilRathnayake/carbon-identity,IndunilRathnayake/carbon-identity,0xkasun/carbon-identity,madurangasiriwardena/carbon-identity,darshanasbg/carbon-identity,dracusds123/carbon-identity,thilina27/carbon-identity,wso2/carbon-identity,hasinthaindrajee/carbon-identity,GayanM/carbon-iden...
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
components/sso-saml/org.wso2.carbon.identity.sso.saml/src/main/java/org/wso2/carbon/identity/sso/saml/session/SSOSessionPersistenceManager.java
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
Sync up timeout of all cache operations of SAML component
components/sso-saml/org.wso2.carbon.identity.sso.saml/src/main/java/org/wso2/carbon/identity/sso/saml/session/SSOSessionPersistenceManager.java
Sync up timeout of all cache operations of SAML component
<ide><path>omponents/sso-saml/org.wso2.carbon.identity.sso.saml/src/main/java/org/wso2/carbon/identity/sso/saml/session/SSOSessionPersistenceManager.java <ide> return sessionPersistenceManager; <ide> } <ide> <del> public static void addSessionInfoDataToCache(String key, SessionInfoData sessionInfoData, ...
Java
apache-2.0
af692899350b75b4bfc25e1460c8f924507cda84
0
wwjiang007/flink,darionyaphet/flink,greghogan/flink,godfreyhe/flink,wwjiang007/flink,lincoln-lil/flink,zjureel/flink,gyfora/flink,fhueske/flink,fhueske/flink,zjureel/flink,zjureel/flink,shaoxuan-wang/flink,twalthr/flink,kl0u/flink,tony810430/flink,mbode/flink,bowenli86/flink,darionyaphet/flink,tony810430/flink,tony8104...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
[FLINK-11718] Remove start override from JobMaster
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
[FLINK-11718] Remove start override from JobMaster
<ide><path>link-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java <ide> // Lifecycle management <ide> //---------------------------------------------------------------------------------------------- <ide> <del> @Override <del> public void start() { <del> throw new UnsupportedOperationException...
Java
apache-2.0
dc1671ca509586d7fecb81e24fddab56d5380dae
0
apache/incubator-kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin
/* * 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 ...
engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/SaveStatisticsStep.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 ...
KYLIN-1418 Memory hungry cube should select LAYER and INMEM cubing smartly Signed-off-by: shaofengshi <343a8420a449fe29c41bd9872c51272089e172fe@apache.org>
engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/SaveStatisticsStep.java
KYLIN-1418 Memory hungry cube should select LAYER and INMEM cubing smartly
<ide><path>ngine-mr/src/main/java/org/apache/kylin/engine/mr/steps/SaveStatisticsStep.java <ide> } else if (AlgorithmEnum.LAYER.name().equalsIgnoreCase(algPref)) { <ide> alg = AlgorithmEnum.LAYER; <ide> } else { <del> boolean memoryHungry = false; <add> int memoryHungry...
Java
apache-2.0
error: pathspec 'src/main/java/com/silverpop/api/client/command/DoubleOptInRecipientCommand.java' did not match any file(s) known to git
ffd44bb1a60dfeeeebe4dbf30b5b37b2f4d843c0
1
rkovarik/engage-api-client
package com.silverpop.api.client.command; import java.util.ArrayList; import java.util.List; import com.silverpop.api.client.ApiCommand; import com.silverpop.api.client.XmlApiProperties; import com.silverpop.api.client.command.elements.Column; import com.silverpop.api.client.result.RecipientResult; import co...
src/main/java/com/silverpop/api/client/command/DoubleOptInRecipientCommand.java
Issue #37 implement DoubleOptInRecipientCommand
src/main/java/com/silverpop/api/client/command/DoubleOptInRecipientCommand.java
Issue #37 implement DoubleOptInRecipientCommand
<ide><path>rc/main/java/com/silverpop/api/client/command/DoubleOptInRecipientCommand.java <add>package com.silverpop.api.client.command; <add> <add>import java.util.ArrayList; <add>import java.util.List; <add> <add>import com.silverpop.api.client.ApiCommand; <add>import com.silverpop.api.client.XmlApiProperties; <add>i...
Java
agpl-3.0
58413e92ead4d04d999bf7bc18609578dd7a2087
0
splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceeng...
package com.splicemachine.derby.impl.sql.execute.operations; import static com.splicemachine.test_tools.Rows.row; import static com.splicemachine.test_tools.Rows.rows; import static org.junit.Assert.fail; import java.sql.ResultSet; import java.sql.Timestamp; import java.text.DateFormat; import java.text.ParseExceptio...
splice_machine_test/src/test/java/com/splicemachine/derby/impl/sql/execute/operations/SimpleDateArithmeticIT.java
package com.splicemachine.derby.impl.sql.execute.operations; import static com.splicemachine.test_tools.Rows.row; import static com.splicemachine.test_tools.Rows.rows; import static org.junit.Assert.fail; import java.sql.ResultSet; import java.sql.Timestamp; import java.text.DateFormat; import java.text.ParseExceptio...
DB-2862: Allow Date cast to Timestamp. DB-2881: Allow comparison if different date types. DB-2892: Exception subtracting CURRENT_DATE from Date type column. The fix was to generally allow Dates and Timestamps to be compared and to be involved in arithmetic by creating a Timestamp from a Date and leaving the time compo...
splice_machine_test/src/test/java/com/splicemachine/derby/impl/sql/execute/operations/SimpleDateArithmeticIT.java
DB-2862: Allow Date cast to Timestamp. DB-2881: Allow comparison if different date types. DB-2892: Exception subtracting CURRENT_DATE from Date type column.
<ide><path>plice_machine_test/src/test/java/com/splicemachine/derby/impl/sql/execute/operations/SimpleDateArithmeticIT.java <ide> @BeforeClass <ide> public static void createTable() throws Exception { <ide> new TableCreator(spliceClassWatcher.getOrCreateConnection()) <del> .withCreate(String....
JavaScript
bsd-3-clause
f64b36bf513758ed6733eee85aa60bcb088c2b8f
0
modulexcite/scrollbench.js,modulexcite/scrollbench.js,natduca/scrollbench.js
/** * ScrollBench.js - Browser Scroll Benchmark * @author Matteo Spinelli <matteo@cubiq.org> * * Copyright (c) 2013 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ (function (window, document) { var CONFIG_URL =...
src/scrollbench.js
/** * ScrollBench.js - Browser Scroll Benchmark * @author Matteo Spinelli <matteo@cubiq.org> * * Copyright (c) 2013 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ (function (window, document) { var CONFIG_URL =...
always take the shortest path
src/scrollbench.js
always take the shortest path
<ide><path>rc/scrollbench.js <ide> _step: function () { <ide> var scrollTop = this._getScrollPosition().top; <ide> // check travel at every iteration, this covers possible DOM changes while scrolling <del> this.travel = this.element.scrollHeight - (this.isDocument ? window.innerHeight : this.element.clientHei...
Java
apache-2.0
4ef0028ae7738901549903f09ccde049bc443dc0
0
FITeagle/adapters,FITeagle/adapters,FITeagle/adapters,FITeagle/adapters
package org.fiteagle.abstractAdapter.dm; import info.openmultinet.ontology.vocabulary.Http; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.logging.Level; import java.util.l...
abstract/src/main/java/org/fiteagle/abstractAdapter/dm/AbstractAdapterWebsocket.java
package org.fiteagle.abstractAdapter.dm; import info.openmultinet.ontology.vocabulary.Http; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.logging.Level; import java.util.l...
improved websocket parsing exception
abstract/src/main/java/org/fiteagle/abstractAdapter/dm/AbstractAdapterWebsocket.java
improved websocket parsing exception
<ide><path>bstract/src/main/java/org/fiteagle/abstractAdapter/dm/AbstractAdapterWebsocket.java <ide> try{ <ide> requestModel = MessageUtil.parseSerializedModel(message, IMessageBus.SERIALIZATION_TURTLE); <ide> } catch(RiotException e){ <del> throw new InvalidRequestException("Input must be a turtle-s...
Java
apache-2.0
b025f71666d971f1770da5830bb3c80bbc2fa242
0
jitsi/jigasi,jitsi/jigasi
/* * Jigasi, the JItsi GAteway to SIP. * * Copyright @ 2015 Atlassian Pty 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 * *...
src/main/java/org/jitsi/jigasi/stats/StatsHandler.java
/* * Jigasi, the JItsi GAteway to SIP. * * Copyright @ 2015 Atlassian Pty 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 * *...
Cleans stats init listener from initial xmpp call.
src/main/java/org/jitsi/jigasi/stats/StatsHandler.java
Cleans stats init listener from initial xmpp call.
<ide><path>rc/main/java/org/jitsi/jigasi/stats/StatsHandler.java <ide> + " for account: " + targetAccountIDDescription); <ide> <ide> bundleContext.removeServiceListener(serviceListener); <add> <add> // callstats holds this lambda and listener i...
Java
apache-2.0
e4b02bd2486c78456afc81137b0562c5d750d22e
0
apache/creadur-whisker
/** * 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"); yo...
apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.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"); yo...
Enforce factory pattern. git-svn-id: 58702fe1ff5294ea29773cbe6445e6edf216c548@1372587 13f79535-47bb-0310-9956-ffa450edef68
apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java
Enforce factory pattern.
<ide><path>pache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java <ide> * @param parameters parameters passed <ide> * @param name license name <ide> */ <del> public LicenseTemplateException(final String message, <add> private LicenseTemplateException(final ...
Java
apache-2.0
9f02f3bfa5ae8999fc08ac9e340dfd8b6fd4b853
0
etcinitd/jalf
package jalf.relation.csv; import static jalf.util.CollectionUtils.mapOf; import jalf.AttrName; import jalf.Relation; import jalf.Tuple; import jalf.Type; import jalf.Visitor; import jalf.compiler.AbstractRelation; import jalf.compiler.BaseCog; import jalf.compiler.Cog; import jalf.compiler.Compiler; import jalf.relat...
src/main/java/jalf/relation/csv/CsvRelation.java
package jalf.relation.csv; import static jalf.util.CollectionUtils.mapOf; import jalf.AttrName; import jalf.Relation; import jalf.Tuple; import jalf.Type; import jalf.Visitor; import jalf.compiler.AbstractRelation; import jalf.compiler.BaseCog; import jalf.compiler.Cog; import jalf.compiler.Compiler; import jalf.relat...
Fix stream closing of CsvRelation.
src/main/java/jalf/relation/csv/CsvRelation.java
Fix stream closing of CsvRelation.
<ide><path>rc/main/java/jalf/relation/csv/CsvRelation.java <ide> <ide> private CSVReader reader; <ide> <add> private boolean closed = false; <add> <ide> public CsvSpliterator(Supplier<CSVReader> supplier) { <ide> readerSupplier = supplier; <ide> } <ide> <ide> @Overr...
JavaScript
mit
6c7aff3f19a24e2f57da9e2df6745850579ce3bd
0
ottobonn/roots
import React, {Component} from "react"; import { StyleSheet, View, Text, TouchableHighlight } from "react-native"; import {Ionicons} from "@exponent/vector-icons"; import {withNavigation} from "@exponent/ex-navigation"; import GlobalStyles from "../styles"; import TitleText from "./TitleText"; import Router fr...
components/PageFrame.js
import React, {Component} from "react"; import { StyleSheet, View, Text, TouchableHighlight } from "react-native"; import {Ionicons} from "@exponent/vector-icons"; import {withNavigation} from "@exponent/ex-navigation"; import GlobalStyles from "../styles"; import TitleText from "./TitleText"; import Router fr...
Increase title box size to prevent wrapping after fonts load
components/PageFrame.js
Increase title box size to prevent wrapping after fonts load
<ide><path>omponents/PageFrame.js <ide> title: { <ide> color: "white", <ide> fontSize: 20, <del> paddingLeft: 10 <add> paddingLeft: 10, <add> flex: 1 <ide> }, <ide> leftContainer: { <add> flex: 4, <ide> alignItems: "center", <del> flex: 2, <ide> flexDirection: "row", <del> justif...
JavaScript
mit
43f0fedf0470562796ea03b983ecf4e13e45a16f
0
floriico/onyx,floriico/onyx
define([], function () { 'use strict'; var GameRenderer = function (canvas, entities) { this.canvas = canvas; this.entities = entities; this.gc = this.canvas.getContext('2d'); }; GameRenderer.prototype.paint = function paint() { var len = this.entities.length; var i; var entity; t...
js/game-renderer.js
define([], function () { 'use strict'; var GameRenderer = function (canvas, entities) { this.canvas = canvas; this.entities = entities; this.gc = this.canvas.getContext('2d'); }; GameRenderer.prototype.paint = function paint() { var len = this.entities.length; var i; var entity; t...
Avoid subpixel in rendering Round the position of entities to display them on canvas to avoid subpixel rendering.
js/game-renderer.js
Avoid subpixel in rendering
<ide><path>s/game-renderer.js <ide> for (i = 0; i < len; i++) { <ide> entity = this.entities[i]; <ide> this.gc.save() <del> this.gc.translate(entity.position.x, entity.position.y); <add> this.gc.translate(Math.round(entity.position.x), Math.round(entity.position.y)); <ide> entity.compone...
Java
apache-2.0
bd5810458716e6beb655e6b209542ace154d798a
0
RackerWilliams/xercesj,RackerWilliams/xercesj,RackerWilliams/xercesj
/* * 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/org/apache/xerces/impl/dv/xs/TypeValidator.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 ...
Introducing a system property for controlling how string length is computed by the schema validator. When org.apache.xerces.impl.dv.xs.useCodePointCountForStringLength=true, the length of an xs:string or xs:anyURI value is calculated by counting the number of Unicode code points in the string. The value of the system p...
src/org/apache/xerces/impl/dv/xs/TypeValidator.java
Introducing a system property for controlling how string length is computed by the schema validator. When org.apache.xerces.impl.dv.xs.useCodePointCountForStringLength=true, the length of an xs:string or xs:anyURI value is calculated by counting the number of Unicode code points in the string. The value of the system p...
<ide><path>rc/org/apache/xerces/impl/dv/xs/TypeValidator.java <ide> <ide> package org.apache.xerces.impl.dv.xs; <ide> <add>import java.security.AccessController; <add>import java.security.PrivilegedAction; <add> <ide> import org.apache.xerces.impl.dv.InvalidDatatypeValueException; <ide> import org.apache.xerces.impl....
Java
mit
2b3e396e75d7dbe59b2c99b1859cd6597519d8e7
0
roxanne-baker/game-authoring-environment,roxanne-baker/game-authoring-environment,roxanne-baker/game-authoring-environment
package model.vooga; import javafx.geometry.Pos; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.BorderPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class SplashScreen { private Stage myStage; private VBox myVBox; /** ...
src/model/vooga/SplashScreen.java
package model.vooga; import javafx.collections.ObservableList; import javafx.geometry.Pos; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.ComboBox; import javafx.scene.layout.BorderPane; import javafx.scene.layout.GridPane; import javafx.scene.layo...
delete some shit
src/model/vooga/SplashScreen.java
delete some shit
<ide><path>rc/model/vooga/SplashScreen.java <ide> package model.vooga; <ide> <del>import javafx.collections.ObservableList; <ide> import javafx.geometry.Pos; <ide> import javafx.scene.Group; <ide> import javafx.scene.Scene; <ide> import javafx.scene.control.Button; <del>import javafx.scene.control.ComboBox; <ide> impo...
JavaScript
mit
7986bf32f04e0001bf44d34806b0270fcc0fea11
0
a8m/ng-translation
/** * @ngdoc module * @name ng.static.filter * * @description * ngStaticFilter get key as a string, and staticFileName as an arguments * and return the value. * @example * <p>{{ 'someKey' | ng-static: 'homepage' }}</p> */ angular.module('ng.static.filter', [ 'ng.static.provider' ]) .filter('static', ['$par...
src/ngStaticFilter.js
/** * @ngdoc module * @name ng.static.filter * * @description * ngStaticFilter get key as a string, and staticFileName as an arguments * and return the value. * @example * <p>{{ 'someKey' | ng-static: 'homepage' }}</p> */ angular.module('ng.static.filter', [ 'ng.static.provider' ]) .filter('static', ['$par...
fix(staticFilter): fix undfined issue
src/ngStaticFilter.js
fix(staticFilter): fix undfined issue
<ide><path>rc/ngStaticFilter.js <ide> <ide> return function(string, staticFile) { <ide> <del> return $parse(string)(ngStatic.get(staticFile)); <add> return $parse(string)(ngStatic.get(staticFile)) || string; <ide> <ide> } <ide>
Java
bsd-3-clause
be83edf6d04aa659834ccf2bd0c057dd01dc5acf
0
worsht/antlr4,ericvergnaud/antlr4,antlr/antlr4,lncosie/antlr4,chandler14362/antlr4,wjkohnen/antlr4,lncosie/antlr4,parrt/antlr4,parrt/antlr4,chandler14362/antlr4,ericvergnaud/antlr4,chienjchienj/antlr4,hce/antlr4,joshids/antlr4,Pursuit92/antlr4,parrt/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,supriyantomaftuh/antlr4...
/* * [The "BSD license"] * Copyright (c) 2012 Terence Parr * Copyright (c) 2012 Sam Harwell * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code...
tool/test/org/antlr/v4/test/TestPerformance.java
/* * [The "BSD license"] * Copyright (c) 2012 Terence Parr * Copyright (c) 2012 Sam Harwell * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code...
Gather additional parsing statistics from each file
tool/test/org/antlr/v4/test/TestPerformance.java
Gather additional parsing statistics from each file
<ide><path>ool/test/org/antlr/v4/test/TestPerformance.java <ide> int inputSize = 0; <ide> int inputCount = 0; <ide> <del> Collection<Future<Integer>> results = new ArrayList<Future<Integer>>(); <add> Collection<Future<FileParseResult>> results = new ArrayList<Future<FileParseResult>>(); <ide> ExecutorSer...
Java
apache-2.0
bdf2db79a34e4d432856e0e658f3dbe30099a5f3
0
synthetichealth/synthea,synthetichealth/synthea,synthetichealth/synthea
package org.mitre.synthea.export; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.ExtensionDt; import ca.uhn.fhir.model.api.IDatatype; import ca.uhn.fhir.model.dstu2.composite.AddressDt; import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt; import ca.uhn.fhir.model.dstu2.composite.CodingDt; ...
src/main/java/org/mitre/synthea/export/FhirDstu2.java
package org.mitre.synthea.export; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.ExtensionDt; import ca.uhn.fhir.model.api.IDatatype; import ca.uhn.fhir.model.dstu2.composite.AddressDt; import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt; import ca.uhn.fhir.model.dstu2.composite.CodingDt; ...
swapped latitude and longitude
src/main/java/org/mitre/synthea/export/FhirDstu2.java
swapped latitude and longitude
<ide><path>rc/main/java/org/mitre/synthea/export/FhirDstu2.java <ide> addrResource.setCountry(COUNTRY_CODE); <ide> } <ide> <del> DirectPosition2D coord = (DirectPosition2D) person.attributes.get(Person.COORDINATE); <add> DirectPosition2D coord = person.getLatLon(); <ide> if (coord != null) { <ide> ...
Java
mit
fa64a0ef93ccf852147fb3f69f3d334b705acbbf
0
hayaksu/Android_IM_App
package com.TextMining; import com.parse.CountCallback; import com.parse.FindCallback; import com.parse.GetCallback; import com.parse.ParseException; import com.parse.ParseObject; import com.parse.ParseQuery; import java.io.OutputStream; import java.io.PrintStream; import java.net.URL; import java.net.URL...
MessagingTutorialSkeleton/src/main/java/com/TextMining/WordNormalization.java
package com.TextMining; import com.parse.CountCallback; import com.parse.FindCallback; import com.parse.GetCallback; import com.parse.ParseException; import com.parse.ParseObject; import com.parse.ParseQuery; import java.io.OutputStream; import java.io.PrintStream; import java.net.URL; import java.net.URL...
Update WordNormalization.java Code cleaning + Class description
MessagingTutorialSkeleton/src/main/java/com/TextMining/WordNormalization.java
Update WordNormalization.java
<ide><path>essagingTutorialSkeleton/src/main/java/com/TextMining/WordNormalization.java <ide> import java.util.List; <ide> <ide> /** <del> * Created by Sakurmi on 11/3/2015. <add> * Created by Marwa Khan on 20/3/2016. <add> * Class Description: This class should remove any ignore words in the message <add> * Note: the...
Java
agpl-3.0
60d7c2fbaa7c0d6ecb195d96d05e7f848e0c1a80
0
ngaut/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,ngaut/sql-layer,relateiq/sql-layer,relateiq/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,wfxiang08/sql...
package com.akiban.cserver.util; import com.akiban.cserver.message.BulkLoadRequest; import com.akiban.message.AkibaConnection; import com.akiban.message.MessageRegistry; import com.akiban.network.AkibaNetworkHandler; import com.akiban.network.CommEventNotifier; import com.akiban.network.NetworkHandlerFactory; import ...
src/main/java/com/akiban/cserver/util/BulkLoaderClient.java
package com.akiban.cserver.util; import com.akiban.cserver.message.BulkLoadRequest; import com.akiban.message.AkibaConnection; import com.akiban.message.MessageRegistry; import com.akiban.network.AkibaNetworkHandler; import com.akiban.network.CommEventNotifier; import com.akiban.network.NetworkHandlerFactory; import ...
Small fix to bulk loading client to check if exception passed to usage method is null before using it.
src/main/java/com/akiban/cserver/util/BulkLoaderClient.java
Small fix to bulk loading client to check if exception passed to usage method is null before using it.
<ide><path>rc/main/java/com/akiban/cserver/util/BulkLoaderClient.java <ide> for (String line : USAGE) { <ide> System.err.println(line); <ide> } <del> System.err.println(e.getMessage()); <add> if (null != e) { <add> System.err.println(e.getMessage()); <add> } <...
Java
mit
error: pathspec 'src/e131_prodcon_dispatchqueue.java' did not match any file(s) known to git
25d99a50b3b5612dbef1008b0a9380832e05e391
1
pluton8/java_concurrency_examples
import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * A classical, simplified example of the producer and consumer pattern. Here a * Produc...
src/e131_prodcon_dispatchqueue.java
Producer/consumer sample where the main object shuts down the DispatchQueue
src/e131_prodcon_dispatchqueue.java
Producer/consumer sample where the main object shuts down the DispatchQueue
<ide><path>rc/e131_prodcon_dispatchqueue.java <add>import java.util.concurrent.BlockingQueue; <add>import java.util.concurrent.LinkedBlockingQueue; <add>import java.util.concurrent.locks.Condition; <add>import java.util.concurrent.locks.Lock; <add>import java.util.concurrent.locks.ReentrantLock; <add> <add>/** <add> * ...
JavaScript
mit
b41ba11032b12da9501a742d56b7e17db2d18aba
0
template-extension/template-chrome
/* Copyright (C) 2011 Alasdair Mercer, http://neocotic.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
src/js/background.js
/* Copyright (C) 2011 Alasdair Mercer, http://neocotic.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
replacing deprecated methods for #54
src/js/background.js
replacing deprecated methods for #54
<ide><path>rc/js/background.js <ide> executeScriptsInExistingWindows: function () { <ide> chrome.windows.getAll(null, function (windows) { <ide> for (var i = 0; i < windows.length; i++) { <del> chrome.tabs.getAllInWindow(windows[i].id, <add> chrome.tabs.query({windo...
Java
apache-2.0
error: pathspec 'platform/util/src/com/intellij/util/ui/JBInsets.java' did not match any file(s) known to git
0fd893c1e801097a4337bedf347956620339e9df
1
pwoodworth/intellij-community,vvv1559/intellij-community,jagguli/intellij-community,robovm/robovm-studio,allotria/intellij-community,supersven/intellij-community,akosyakov/intellij-community,blademainer/intellij-community,ryano144/intellij-community,holmes/intellij-community,ernestp/consulo,clumsy/intellij-community,mi...
/* * Copyright 2000-2011 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/util/src/com/intellij/util/ui/JBInsets.java
width + height
platform/util/src/com/intellij/util/ui/JBInsets.java
width + height
<ide><path>latform/util/src/com/intellij/util/ui/JBInsets.java <add>/* <add> * Copyright 2000-2011 JetBrains s.r.o. <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 License at <ad...
Java
apache-2.0
07efb963a967fd8d3c2342fb137f826481390ad3
0
FasterXML/jackson-core,FasterXML/jackson-core
package com.fasterxml.jackson.core.json; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.io.*; public class UTF8JsonGenerator extends JsonGeneratorImpl { private final static byte BYTE_u = (byte) 'u'; priv...
src/main/java/com/fasterxml/jackson/core/json/UTF8JsonGenerator.java
package com.fasterxml.jackson.core.json; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.io.*; public class UTF8JsonGenerator extends JsonGeneratorImpl { private final static byte BYTE_u = (byte) 'u'; priv...
Last tweaking of byte-based writer
src/main/java/com/fasterxml/jackson/core/json/UTF8JsonGenerator.java
Last tweaking of byte-based writer
<ide><path>rc/main/java/com/fasterxml/jackson/core/json/UTF8JsonGenerator.java <ide> * (Question: should quoting of spaces (etc) still be enabled?) <ide> */ <ide> if (_cfgUnqNames) { <del> _writeStringSegments(name); <add> _writeStringSegments(name, false); <ide> ...
Java
epl-1.0
d862575fceaf74cd105b71695bcd9efd862f59bb
0
DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base
package ch.elexis.ebanking.qr; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.time.LocalDate; import org.apache.commons.lang3.StringUtils; import org.junit.Before; import org.junit.Test; import ch.elexis.core.model.IC...
tests/ch.elexis.ebanking.qr.test/src/ch/elexis/ebanking/qr/QRBillDataBuilderTest.java
package ch.elexis.ebanking.qr; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.time.LocalDate; import org.apache.commons.lang3.StringUtils; import org.junit.Before; import org.junit.Test; import ch.elexis.core.model.IC...
[19897] test for QRR reference type
tests/ch.elexis.ebanking.qr.test/src/ch/elexis/ebanking/qr/QRBillDataBuilderTest.java
[19897] test for QRR reference type
<ide><path>ests/ch.elexis.ebanking.qr.test/src/ch/elexis/ebanking/qr/QRBillDataBuilderTest.java <ide> assertEquals("Rue du Lac 1268", parts[22]); <ide> assertEquals("CH", parts[26]); <ide> <del> assertEquals("SCOR", parts[27]); <add> assertEquals("QRR", parts[27]); <ide> assertEquals("97759800000000241428138...
Java
apache-2.0
3331d7484d473042fae19df9b9d96a5a09e853ff
0
kakao/hbase-tools,kakao/hbase-tools,kakao/hbase-tools
/* * Copyright 2015 Kakao Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
hbase0.98/hbase-common-0.98/src/main/java/com/kakao/hbase/common/Args.java
/* * Copyright 2015 Kakao Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
update usage
hbase0.98/hbase-common-0.98/src/main/java/com/kakao/hbase/common/Args.java
update usage
<ide><path>base0.98/hbase-common-0.98/src/main/java/com/kakao/hbase/common/Args.java <ide> + " --" + Args.OPTION_DEBUG + ": Print debug log.\n" <ide> + " --" + Args.OPTION_VERBOSE + ": Print some more messages.\n" <ide> + " --" + Args.OPTION_AFTER_FAILURE <del> + ...
Java
agpl-3.0
7f3c59c9630dc753060b06d4826d22704a09ef98
0
imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms
package com.imcode.imcms.domain.service.api; import com.imcode.imcms.domain.dto.PhoneDTO; import com.imcode.imcms.domain.dto.UserDTO; import com.imcode.imcms.domain.dto.UserFormData; import com.imcode.imcms.domain.exception.UserNotExistsException; import com.imcode.imcms.domain.service.PhoneService; import com.imcode....
src/main/java/com/imcode/imcms/domain/service/api/DefaultUserService.java
package com.imcode.imcms.domain.service.api; import com.imcode.imcms.domain.dto.PhoneDTO; import com.imcode.imcms.domain.dto.UserDTO; import com.imcode.imcms.domain.dto.UserFormData; import com.imcode.imcms.domain.exception.UserNotExistsException; import com.imcode.imcms.domain.service.PhoneService; import com.imcode....
IMCMS-300 - New design to superadmin-pages: - User service now transactional.
src/main/java/com/imcode/imcms/domain/service/api/DefaultUserService.java
IMCMS-300 - New design to superadmin-pages: - User service now transactional.
<ide><path>rc/main/java/com/imcode/imcms/domain/service/api/DefaultUserService.java <ide> import java.util.stream.Collectors; <ide> <ide> @Service <add>@Transactional <ide> class DefaultUserService implements UserService { <ide> <ide> private final static Logger log = Logger.getLogger(DefaultUserService.class.get...
Java
apache-2.0
e047694cd074566aeb26369d2ff49c17f8044f30
0
DevAhamed/MultiViewAdapter
/* * Copyright 2017 Riyaz Ahamed * * 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 ...
sample/src/main/java/com/ahamed/sample/simple/SimpleAdapterActivity.java
/* * Copyright 2017 Riyaz Ahamed * * 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 ...
Change reference of SimpleAdapter -> SimpleRecyclerAdapter
sample/src/main/java/com/ahamed/sample/simple/SimpleAdapterActivity.java
Change reference of SimpleAdapter -> SimpleRecyclerAdapter
<ide><path>ample/src/main/java/com/ahamed/sample/simple/SimpleAdapterActivity.java <ide> import android.support.v7.widget.DividerItemDecoration; <ide> import android.support.v7.widget.LinearLayoutManager; <ide> import android.util.Log; <del>import com.ahamed.multiviewadapter.SimpleAdapter; <add>import com.ahamed.multiv...
Java
apache-2.0
3a635d11752803dc06d450e8c70d5c20793e5439
0
caot/intellij-community,pwoodworth/intellij-community,ivan-fedorov/intellij-community,holmes/intellij-community,slisson/intellij-community,idea4bsd/idea4bsd,holmes/intellij-community,ernestp/consulo,jagguli/intellij-community,ahb0327/intellij-community,suncycheng/intellij-community,vladmm/intellij-community,MER-GROUP/i...
package com.intellij.codeInsight.generation.actions; import com.intellij.codeInsight.generation.GenerateEqualsHandler; import com.intellij.openapi.editor.Editor; import com.intellij.psi.PsiAnonymousClass; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiFile; /** * @author dsl */ public class GenerateEq...
source/com/intellij/codeInsight/generation/actions/GenerateEqualsAction.java
package com.intellij.codeInsight.generation.actions; import com.intellij.codeInsight.generation.GenerateEqualsHandler; import com.intellij.openapi.project.Project; import com.intellij.openapi.editor.Editor; import com.intellij.psi.PsiFile; import com.intellij.psi.PsiClass; /** * @author dsl */ public class Generate...
(no message)
source/com/intellij/codeInsight/generation/actions/GenerateEqualsAction.java
(no message)
<ide><path>ource/com/intellij/codeInsight/generation/actions/GenerateEqualsAction.java <ide> package com.intellij.codeInsight.generation.actions; <ide> <ide> import com.intellij.codeInsight.generation.GenerateEqualsHandler; <del>import com.intellij.openapi.project.Project; <ide> import com.intellij.openapi.editor.Edit...
Java
apache-2.0
2448875a6ad92a7c4fc62c65a82ac44d326412a9
0
asaph/Handy-URI-Templates,asaph/Handy-URI-Templates
/* * * */ package com.damnhandy.uri.template; import java.util.LinkedHashMap; import java.util.Map; import junit.framework.Assert; import org.junit.Test; /** * A TestMultipleOperators. * * @author <a href="ryan@damnhandy.com">Ryan J. McDonough</a> * @version $Revision: 1.1 $ */ public class TestMultipleOpe...
src/test/java/com/damnhandy/uri/template/TestMultipleOperators.java
/* * * */ package com.damnhandy.uri.template; import java.util.LinkedHashMap; import java.util.Map; import org.junit.Test; /** * A TestMultipleOperators. * * @author <a href="ryan@damnhandy.com">Ryan J. McDonough</a> * @version $Revision: 1.1 $ */ public class TestMultipleOperators { private static fina...
Modified assertion
src/test/java/com/damnhandy/uri/template/TestMultipleOperators.java
Modified assertion
<ide><path>rc/test/java/com/damnhandy/uri/template/TestMultipleOperators.java <ide> <ide> import java.util.LinkedHashMap; <ide> import java.util.Map; <add> <add>import junit.framework.Assert; <ide> <ide> import org.junit.Test; <ide> <ide> @Test <ide> public void testMultiplePathOperators() <ide> { <del> ...
Java
apache-2.0
error: pathspec 'src/test/java/com/alibaba/json/bvt/issue_1100/Issue1151.java' did not match any file(s) known to git
ac41a8f1c5dc615e3da70f5970b1c255b4318907
1
alibaba/fastjson,alibaba/fastjson,alibaba/fastjson,alibaba/fastjson
package com.alibaba.json.bvt.issue_1100; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import junit.framework.TestCase; import java.util.ArrayList; import java.util.List; /** * Created by wenshao on 19/04/2017. */ public class Issue1151 extends TestCase { public vo...
src/test/java/com/alibaba/json/bvt/issue_1100/Issue1151.java
add testcase for issue #1151
src/test/java/com/alibaba/json/bvt/issue_1100/Issue1151.java
add testcase for issue #1151
<ide><path>rc/test/java/com/alibaba/json/bvt/issue_1100/Issue1151.java <add>package com.alibaba.json.bvt.issue_1100; <add> <add>import com.alibaba.fastjson.JSON; <add>import com.alibaba.fastjson.serializer.SerializerFeature; <add>import junit.framework.TestCase; <add> <add>import java.util.ArrayList; <add>import java.u...
Java
apache-2.0
a32bb602774b1c8125f95afb6c8055bb8c7c3e7b
0
yukezhu/LifeGameSim,yukezhu/LifeGameSim,yukezhu/LifeGameSim,yukezhu/LifeGameSim
package ca.sfu.client; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Random; import ca.sfu.cmpt431.facility.Board; import ca.sfu.cmpt431.facility.BoardOperation; import ca.sfu.cmpt431.facility.Border; import ca.sfu.cmpt431.facility.Comrade; import ca.sfu.cmpt431.facili...
GameOfLifeClient/src/ca/sfu/client/Client.java
package ca.sfu.client; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Random; import ca.sfu.cmpt431.facility.Board; import ca.sfu.cmpt431.facility.BoardOperation; import ca.sfu.cmpt431.facility.Border; import ca.sfu.cmpt431.facility.Comrade; import ca.sfu.cmpt431.facili...
client debug
GameOfLifeClient/src/ca/sfu/client/Client.java
client debug
<ide><path>ameOfLifeClient/src/ca/sfu/client/Client.java <ide> private void computeAndReport() throws IOException { <ide> BoardOperation.NextMoment(outfit.myBoard, null, null, null, null, false, false, false, false); <ide> server.sender.sendMsg(new RegularBoardReturnMsg(outfit.myId, outfit.top, outfit.left, outfit...
Java
mit
aa8b27ecd9458a34c97a50c1834b330436cf3fbd
0
nls-oskari/oskari-server,nls-oskari/oskari-server,nls-oskari/oskari-server
package fi.nls.oskari.wfs.extension; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import fi.nls.oskari.service.ServiceRuntimeException; import fi.nls.oskari.wfs.LayerProcessor; import fi.n...
servlet-transport/src/main/java/fi/nls/oskari/wfs/extension/UserLayerProcessor.java
package fi.nls.oskari.wfs.extension; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import fi.nls.oskari.service.ServiceRuntimeException; import fi.nls.oskari.wfs.LayerProcessor; import fi.n...
added id to excluded properties
servlet-transport/src/main/java/fi/nls/oskari/wfs/extension/UserLayerProcessor.java
added id to excluded properties
<ide><path>ervlet-transport/src/main/java/fi/nls/oskari/wfs/extension/UserLayerProcessor.java <ide> excludedProperties.add("created"); <ide> excludedProperties.add("updated"); <ide> excludedProperties.add("attention_text"); <add> excludedProperties.add("id"); <ide> } <ide> <ide> ...
Java
mit
c4bb2b86d363c4a516c8cc6e7fe12fb11f756165
0
jimregan/jngramtool,jimregan/jngramtool
package ie.tcd.slscs.tools; import java.io.*; import java.nio.charset.Charset; import java.util.HashMap; import java.util.Map; /* * Copyright 2016 Jim O'Regan <jaoregan@tcd.ie> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (t...
src/main/java/ie/tcd/slscs/tools/AKDiscardKFNGramPunct.java
package ie.tcd.slscs.tools; import java.io.*; import java.nio.charset.Charset; import java.util.HashMap; import java.util.Map; /* * Copyright 2016 Jim O'Regan <jaoregan@tcd.ie> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (t...
state
src/main/java/ie/tcd/slscs/tools/AKDiscardKFNGramPunct.java
state
<ide><path>rc/main/java/ie/tcd/slscs/tools/AKDiscardKFNGramPunct.java <ide> if(!has_punct) { <ide> bw.write(line); <ide> bw.newLine(); <add> } else { <add> has_punct = false; <ide> } <ide> } <ide>
Java
apache-2.0
c46dcd74373607d54031437132685c455d9d44e5
0
ajordens/clouddriver,spinnaker/clouddriver,ajordens/clouddriver,duftler/clouddriver,spinnaker/clouddriver,duftler/clouddriver,spinnaker/clouddriver,duftler/clouddriver,ajordens/clouddriver,ajordens/clouddriver,duftler/clouddriver
/* * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
cats/cats-redis/src/main/java/com/netflix/spinnaker/cats/redis/cluster/ClusteredAgentScheduler.java
/* * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
fix(cats): ClusteredAgentScheduler.deleteLock LUA call was returning a Long not an Integer, deleteLock was always returning false. Previously we ignored the value, now we use it to drive a logging message.
cats/cats-redis/src/main/java/com/netflix/spinnaker/cats/redis/cluster/ClusteredAgentScheduler.java
fix(cats): ClusteredAgentScheduler.deleteLock
<ide><path>ats/cats-redis/src/main/java/com/netflix/spinnaker/cats/redis/cluster/ClusteredAgentScheduler.java <ide> private static final String SET_IF_NOT_EXIST = "NX"; <ide> private static final String SET_EXPIRE_TIME_MILLIS = "PX"; <ide> private static final String SUCCESS_RESPONSE = "OK"; <del> private static...
JavaScript
mpl-2.0
426d030aa7d28e569c863ca1c57c741dbbb71898
0
JAMESAPP/JAMES,JAMESAPP/JAMES
define([ 'underscore' , 'marionette' , 'app' , 'views/bindingView' , 'views/register' , 'hideShowPassword' ], function (_, Marionette, App, BindingView, RegisterView) { var ItemView = RegisterView.extend({ tagName: 'div', className: 'box' , template: 'app/templates/settings.tpl' , objectStore: 'settings'...
app/js/views/settings.js
define([ 'underscore' , 'marionette' , 'app' , 'views/bindingView' , 'views/register' , 'hideShowPassword' ], function (_, Marionette, App, BindingView, RegisterView) { var ItemView = RegisterView.extend({ tagName: 'div', className: 'box' , template: 'app/templates/settings.tpl' , objectStore: 'settings'...
Settings Replace motorcycle by refuel and oil;
app/js/views/settings.js
Settings
<ide><path>pp/js/views/settings.js <ide> console.log('Cleaned expenses'); <ide> }; <ide> <del> transaction.objectStore('motorcycles').clear().onsuccess = function(event) { <del> console.log('Cleaned motorcycles'); <add> transaction.objectStore('oils').clear().onsuccess = function(event) { <add> consol...
Java
mit
bbf9e5f6294239ddab386ab83c17eeb93a7c0ef3
0
Adaptivity/JustEnoughItems,mezz/JustEnoughItems,Adaptivity/JustEnoughItems,mezz/JustEnoughItems,way2muchnoise/JustEnoughItems
package mezz.jei.gui.ingredients; import com.google.common.base.Joiner; import mezz.jei.Internal; import mezz.jei.config.Config; import mezz.jei.config.Constants; import mezz.jei.gui.TooltipRenderer; import mezz.jei.util.Translator; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRe...
src/main/java/mezz/jei/gui/ingredients/GuiItemStackFast.java
package mezz.jei.gui.ingredients; import com.google.common.base.Joiner; import mezz.jei.Internal; import mezz.jei.config.Config; import mezz.jei.config.Constants; import mezz.jei.gui.TooltipRenderer; import mezz.jei.util.Translator; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRe...
Cleanup
src/main/java/mezz/jei/gui/ingredients/GuiItemStackFast.java
Cleanup
<ide><path>rc/main/java/mezz/jei/gui/ingredients/GuiItemStackFast.java <ide> import java.util.Collection; <ide> import java.util.List; <ide> <del>@SuppressWarnings("deprecation") <ide> public class GuiItemStackFast { <ide> private static final ResourceLocation RES_ITEM_GLINT = new ResourceLocation("textures/misc/ench...
Java
epl-1.0
3ccbc685a69d339150a39293b0459d384c1b56f7
0
debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.debrief.legacy/src/Debrief/Tools/Palette/CreateLabel.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
refactor to streamline logic
org.mwc.debrief.legacy/src/Debrief/Tools/Palette/CreateLabel.java
refactor to streamline logic
<ide><path>rg.mwc.debrief.legacy/src/Debrief/Tools/Palette/CreateLabel.java <ide> <ide> public final Action getData() <ide> { <del> Action res = null; <del> WorldArea wa = getBounds(); <add> final Action res; <add> final WorldArea wa = getBounds(); <ide> boolean userSelected=false; <ide> if(wa ...
Java
apache-2.0
8bdeb9aa2e3da013edcd7641dcd1a041b179b106
0
futurice/freesound-android,futurice/freesound-android
/* * Copyright 2016 Futurice GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
app/src/main/java/com/futurice/freesound/utils/Preconditions.java
/* * Copyright 2016 Futurice GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Move the private constructor to the bottom of the class in Preconditions
app/src/main/java/com/futurice/freesound/utils/Preconditions.java
Move the private constructor to the bottom of the class in Preconditions
<ide><path>pp/src/main/java/com/futurice/freesound/utils/Preconditions.java <ide> * Static class that provides helper methods to check preconditions. <ide> */ <ide> public final class Preconditions { <del> <del> private Preconditions() { <del> throw new AssertionError("Don't create instances of this object"...
Java
apache-2.0
6d33d57821f32bbb21ea303685e2df3452c3949f
0
SciGaP/seagrid-rich-client,SciGaP/seagrid-rich-client,SciGaP/seagrid-rich-client
package org.seagrid.desktop.ui.login; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import java.io.IOException; public class LoginWindow extends Application { @Override ...
src/main/java/org/seagrid/desktop/ui/login/LoginWindow.java
package org.seagrid.desktop.ui.login; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import java.io.IOException; public class LoginWindow extends Application { @Override ...
not showing error in refresh token retreival AIRAVATA-2206
src/main/java/org/seagrid/desktop/ui/login/LoginWindow.java
not showing error in refresh token retreival AIRAVATA-2206
<ide><path>rc/main/java/org/seagrid/desktop/ui/login/LoginWindow.java <ide> primaryStage.setTitle("SEAGrid Desktop Client - Login"); <ide> primaryStage.setScene(new Scene(root)); <ide> primaryStage.setResizable(true); <add> primaryStage.setAlwaysOnTop(true); <ide> primaryStage.set...
Java
apache-2.0
531ebe8fe085c5fe5605b0e02ca11c415d29a544
0
binarytemple/mybatis-all-syncing-test,ekirkilevics/iBatis
/* * Copyright 2009-2012 The MyBatis Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
src/test/java/org/apache/ibatis/jdbc/ScriptRunnerTest.java
/* * Copyright 2009-2012 The MyBatis Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
dropped useless testcase git-svn-id: 38b70485df25d5e096a1845b40b72a0bf0ca9ea6@5177 6a4a4fef-ff2a-56b0-fee9-946765563393
src/test/java/org/apache/ibatis/jdbc/ScriptRunnerTest.java
dropped useless testcase
<ide><path>rc/test/java/org/apache/ibatis/jdbc/ScriptRunnerTest.java <ide> try { <ide> runner.runScript(reader); <ide> } catch (Exception e) { <del> e.printStackTrace(); <ide> fail(e.getMessage()); <ide> } <ide> }
Java
apache-2.0
7463017a27b6c9ea3be1a1fb14b4e7c5efacf804
0
metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr
package org.spoofax.jsglr2.inputstack; import org.spoofax.jsglr2.inputstack.incremental.AbstractInputStack; public class InputStack extends AbstractInputStack { int currentChar; // Current ASCII char in range [0, 256] public InputStack(String inputString) { super(inputString); currentChar = g...
org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/inputstack/InputStack.java
package org.spoofax.jsglr2.inputstack; import org.spoofax.jsglr2.inputstack.incremental.AbstractInputStack; public class InputStack extends AbstractInputStack { int currentChar; // Current ASCII char in range [0, 256] public InputStack(String inputString) { super(inputString); } @Override pu...
Correctly set `currentChar` for first character in InputStack
org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/inputstack/InputStack.java
Correctly set `currentChar` for first character in InputStack
<ide><path>rg.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/inputstack/InputStack.java <ide> <ide> public InputStack(String inputString) { <ide> super(inputString); <add> currentChar = getChar(currentOffset); <ide> } <ide> <ide> @Override public InputStack clone() {
Java
apache-2.0
c9f94e3dfd9a9d078e1a78446b6526330d84e725
0
carlphilipp/chicago-commutes,carlphilipp/chicago-commutes,carlphilipp/chicago-commutes
/** * Copyright 2016 Carl-Philipp Harmant * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applica...
src/fr/cph/chicago/app/activity/TrainMapActivity.java
/** * Copyright 2016 Carl-Philipp Harmant * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applica...
More butterknife in train map activity
src/fr/cph/chicago/app/activity/TrainMapActivity.java
More butterknife in train map activity
<ide><path>rc/fr/cph/chicago/app/activity/TrainMapActivity.java <ide> <ide> import android.app.Activity; <ide> import android.app.FragmentManager; <add>import android.graphics.drawable.Drawable; <ide> import android.os.Build; <ide> import android.os.Bundle; <ide> import android.support.annotation.NonNull; <ide> import...
JavaScript
mit
b2d3e3e85cdcdf91b8d880a5fadc2958cdc399aa
0
cloudmine/cloudmine-js,cloudmine/cloudmine-js,cloudmine/CloudMineSDK-JavaScript,cloudmine/CloudMineSDK-JavaScript,cloudmine/cloudmine-js,cloudmine/CloudMineSDK-JavaScript
/* CloudMine JavaScript Library v0.10.x cloudmineinc.com | https://github.com/cloudmine/cloudmine-js/blob/master/LICENSE */ (function() { var version = '0.9.20'; /** * Construct a new WebService instance * * <p>Each method on the WebService instance will return an APICall object which may be used to * ...
js/cloudmine.js
/* CloudMine JavaScript Library v0.10.x cloudmineinc.com | https://github.com/cloudmine/cloudmine-js/blob/master/LICENSE */ (function() { var version = '0.9.18'; /** * Construct a new WebService instance * * <p>Each method on the WebService instance will return an APICall object which may be used to * ...
updating version number in code and cleaning up search_es pre reqs
js/cloudmine.js
updating version number in code and cleaning up search_es pre reqs
<ide><path>s/cloudmine.js <ide> /* CloudMine JavaScript Library v0.10.x cloudmineinc.com | https://github.com/cloudmine/cloudmine-js/blob/master/LICENSE */ <ide> (function() { <del> var version = '0.9.18'; <add> var version = '0.9.20'; <ide> <ide> /** <ide> * Construct a new WebService instance <ide> }); ...
Java
lgpl-2.1
d7528d8cf3ba13cca6020e208fc43ea62fe25e6b
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * Copyright (C) 2002-2004 David Pavlis <david_pavlis@hotmail.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,...
cloveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java
/* * Copyright (C) 2002-2004 David Pavlis <david_pavlis@hotmail.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,...
FIX:fixed lookup_found,lookup_admin,lookup_next git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@2738 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java
FIX:fixed lookup_found,lookup_admin,lookup_next
<ide><path>loveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java <ide> <ide> public Object visit(CLVFLookupNode node,Object data){ <ide> DataRecord record=null; <del> if (node.lookup==null){ <del> node.lookup=graph.getLookupTable(node.lookupName); <del> if (n...
JavaScript
mit
fa6e489db69784fffce3133e2f06a03be4e17b3c
0
alcedo-ui/alcedo-ui
/** * @file Calculation vendor * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import isArray from 'lodash/isArray'; import Valid from './Valid'; import SelectMode from '../_statics/SelectMode'; import Util from './Util'; function pageSize(pageSize, pageSizes, defaultValue) { if (pageSize) { ret...
src/_vendors/Calculation.js
/** * @file Calculation vendor * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import isArray from 'lodash/isArray'; import Valid from './Valid'; import SelectMode from '../_statics/SelectMode'; import Util from './Util'; function pageSize(pageSize, pageSizes, defaultValue) { if (pageSize) { ret...
update Calculation
src/_vendors/Calculation.js
update Calculation
<ide><path>rc/_vendors/Calculation.js <ide> Util.preOrderTraverse(node, nodeItem => { <ide> total++; <ide> if (value.findIndex(item => <del> Util.getValueByValueField(item, valueField, displayField) <del> === Util.getValueByValueField(nodeItem, valueField, displayField)...
Java
apache-2.0
102ec87e6af7ee13eafa0510daff6a04ace9061b
0
mjuhasz/BDSup2Sub,mjuhasz/BDSup2Sub
/* * Copyright 2012 Miklos Juhasz (mjuhasz) * * 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...
src/main/java/bdsup2sub/core/Configuration.java
/* * Copyright 2012 Miklos Juhasz (mjuhasz) * * 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...
Store the configuration in the user's home on Mac and Windows.
src/main/java/bdsup2sub/core/Configuration.java
Store the configuration in the user's home on Mac and Windows.
<ide><path>rc/main/java/bdsup2sub/core/Configuration.java <ide> configFileDir.mkdir(); <ide> } <ide> return configFileDir + "/" + CONFIG_FILE; <add> } else if (PlatformUtils.isMac()) { <add> File configFileDir = new File(System.getProperty("user.home") + "/Libra...
Java
apache-2.0
978a4d857a436788249b0c439929109d09d9ddb8
0
Movile/movile-exoplayer,anton46/ExoPlayer,jcable/ExoPlayer,piterwilson/ExoPlayer,souji1103/ExoPlayer,tieusangaka/ExoPlayer,satorufujiwara/ExoPlayer,ziyaozou/ExoPlayer,MaTriXy/ExoPlayer,KiminRyu/ExoPlayer,sunfeiXjoyin/ExoPlayer,rodrigodzf/ExoPlayer,TheWeatherCompany/ExoPlayer,saki4510t/ExoPlayer,julo15/ExoPlayer,JasonFe...
/* * 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...
library/src/main/java/com/google/android/exoplayer/audio/AudioTrack.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...
Handle getting the audio track's position before the first AC-3 buffer. ac3Bitrate is set only after the first buffer is handled, which meant that getting the playback position would cause a divide by zero before then. When playing back AC-3 content, the ac3Bitrate will always be set after the first buffer is handled...
library/src/main/java/com/google/android/exoplayer/audio/AudioTrack.java
Handle getting the audio track's position before the first AC-3 buffer.
<ide><path>ibrary/src/main/java/com/google/android/exoplayer/audio/AudioTrack.java <ide> <ide> private long bytesToFrames(long byteCount) { <ide> if (isAc3) { <del> return byteCount * 8 * sampleRate / (1000 * ac3Bitrate); <add> return <add> ac3Bitrate == UNKNOWN_AC3_BITRATE ? 0L : byteCount * ...
Java
mit
794d5873edf4d5cbbbb80a590539527e22270471
0
Brian-Wuest/MC-Prefab
package com.wuest.prefab.Structures.Config; import com.wuest.prefab.Structures.Items.StructureItem; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.ItemStack; import net.minecraft.nbt.Compou...
src/main/java/com/wuest/prefab/Structures/Config/StructureConfiguration.java
package com.wuest.prefab.Structures.Config; import com.wuest.prefab.Structures.Items.StructureItem; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.ItemStack; import net.minecraft.nbt.Compou...
Fixing issue where a player could get infinite structures
src/main/java/com/wuest/prefab/Structures/Config/StructureConfiguration.java
Fixing issue where a player could get infinite structures
<ide><path>rc/main/java/com/wuest/prefab/Structures/Config/StructureConfiguration.java <ide> */ <ide> @SuppressWarnings("WeakerAccess") <ide> public class StructureConfiguration { <del> public static String houseFacingName = "House Facing"; <del> <del> private static String hitXTag = "hitX"; <del> private static Strin...
Java
apache-2.0
fd4a178cdf5f7c81463938f6909fafb41f54fe9c
0
apache/incubator-kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin
/* * 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 ...
core-metadata/src/main/java/org/apache/kylin/metadata/model/SegmentRange.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 ...
KYLIN-2871, fix ineffective null check
core-metadata/src/main/java/org/apache/kylin/metadata/model/SegmentRange.java
KYLIN-2871, fix ineffective null check
<ide><path>ore-metadata/src/main/java/org/apache/kylin/metadata/model/SegmentRange.java <ide> return new Comparator<Endpoint>() { <ide> @Override <ide> public int compare(Endpoint a, Endpoint b) { <add> if (a == null || b == null) <add> ...
Java
apache-2.0
0024efe87c44c3b9eba4e0e188a59ed819407f31
0
SimonVT/cathode,SimonVT/cathode
cathode/src/main/java/net/simonvt/cathode/util/SelectionBuilder.java
/* * Copyright (C) 2013 Simon Vig Therkildsen * * 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 ...
Remove unused class.
cathode/src/main/java/net/simonvt/cathode/util/SelectionBuilder.java
Remove unused class.
<ide><path>athode/src/main/java/net/simonvt/cathode/util/SelectionBuilder.java <del>/* <del> * Copyright (C) 2013 Simon Vig Therkildsen <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del> * You may obtain a copy o...
Java
apache-2.0
b0e7daf047799d8e696f09d477c045d9db48289a
0
maobaolong/alluxio,maobaolong/alluxio,bf8086/alluxio,Reidddddd/alluxio,PasaLab/tachyon,bf8086/alluxio,apc999/alluxio,EvilMcJerkface/alluxio,bf8086/alluxio,calvinjia/tachyon,PasaLab/tachyon,EvilMcJerkface/alluxio,wwjiang007/alluxio,Alluxio/alluxio,maobaolong/alluxio,Alluxio/alluxio,maboelhassan/alluxio,maboelhassan/allu...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
underfs/swift/src/main/java/alluxio/underfs/swift/SwiftOutputStream.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Improved comment style in SwiftOutputStream.java (#6899)
underfs/swift/src/main/java/alluxio/underfs/swift/SwiftOutputStream.java
Improved comment style in SwiftOutputStream.java (#6899)
<ide><path>nderfs/swift/src/main/java/alluxio/underfs/swift/SwiftOutputStream.java <ide> mOutputStream.close(); <ide> InputStream is = null; <ide> try { <del> // Status 400 and up should be read from error stream <del> // Expecting here 201 Create or 202 Accepted <add> // Status 400 and up sh...
Java
apache-2.0
acc47c0e13a9a7dbd6028ed1ff33f1d4963cc6d2
0
jaceksokol/postgres-async-driver
/* * 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 * distributed u...
src/main/java/com/github/pgasync/impl/protocol/ProtocolStream.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 * distributed u...
Fix ProtocolStream
src/main/java/com/github/pgasync/impl/protocol/ProtocolStream.java
Fix ProtocolStream
<ide><path>rc/main/java/com/github/pgasync/impl/protocol/ProtocolStream.java <ide> if (messages.length == 0) <ide> return Observable.error(new IllegalArgumentException("No messages to send")); <ide> else if (!isConnected()) <del> Observable.error(new IllegalStateException("Channel...
JavaScript
apache-2.0
d8449d1a83828922ee151c538b581cf2e09c24ff
0
EchoAppsTeam/js-sdk,EchoAppsTeam/js-sdk
(function(jQuery) { "use strict"; var $ = jQuery; var canvas = Echo.Control.manifest("Echo.Canvas"); if (Echo.Control.isDefined(canvas)) return; /** * @class Echo.Canvas * Class which implements Canvas mechanics on the client side. * The instance of this class is created for each Canvas found on the page by * t...
src/canvas.js
(function(jQuery) { "use strict"; var $ = jQuery; var canvas = Echo.Control.manifest("Echo.Canvas"); if (Echo.Control.isDefined(canvas)) return; /** * @class Echo.Canvas * Class which implements Canvas mechanics on the client side. * The instance of this class is created for each Canvas found on the page by * t...
Typo fixed
src/canvas.js
Typo fixed
<ide><path>rc/canvas.js <ide> target.addClass(cssClass); <ide> } <ide> <del> // fetch canvas config from remove storage <add> // fetch canvas config from remote storage <ide> this._fetchConfig(function() { <ide> if (self.get("data.backplane")) Backplane.init(this.get("data.backplane")); <ide> self._loadAppReso...
Java
apache-2.0
ad3b6affb492f55405e29038f0adb745bd19315a
0
dslomov/intellij-community,samthor/intellij-community,semonte/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,kool79/intellij-community,robovm/robovm-studio,ibinti/intellij-community,vladmm/intellij-community,idea4bsd/idea4bsd,kdwink/intellij-community,vladmm/intellij-community,ahb0327/intell...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
python/src/com/jetbrains/python/sdk/skeletons/PySkeletonRefresher.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Removed unused method
python/src/com/jetbrains/python/sdk/skeletons/PySkeletonRefresher.java
Removed unused method
<ide><path>ython/src/com/jetbrains/python/sdk/skeletons/PySkeletonRefresher.java <ide> <ide> private PySkeletonGenerator mySkeletonsGenerator; <ide> <del> public static void refreshSkeletonsOfSdk(@NotNull Project project, @NotNull Sdk sdk) throws InvalidSdkException { <del> refreshSkeletonsOfSdk(project, null, ...
JavaScript
mit
8ad97a4ddfd0e6dd142c76540a65e6b87a7b85c9
0
sbarton272/WebGremlin
/* Web Gremlin * Tartan Hacks 2015 * CMU * Carson, Adam, Billy and Spencer */ // TODO // add audio // //--------------------------------------------- // Gremlin engine //--------------------------------------------- function WebGremlin(animations) { //----------- Constants ----------------------- // Cons...
app/js/webGremlin.js
/* Web Gremlin * Tartan Hacks 2015 * CMU * Carson, Adam, Billy and Spencer */ // TODO // add audio // //--------------------------------------------- // Gremlin engine //--------------------------------------------- function WebGremlin(animations) { //----------- Constants ----------------------- // Cons...
IN_PALCE => IN_PLACE
app/js/webGremlin.js
IN_PALCE => IN_PLACE
<ide><path>pp/js/webGremlin.js <ide> <ide> // Defined animations <ide> this.MOVEMENT = "ANIMATION_MOVE"; <del> this.IN_PALCE = "ANIMATION_IN_PLACE"; <add> this.IN_PLACE = "ANIMATION_IN_PLACE"; <ide> <ide> //----------- Actions ----------------------- <ide> <ide> case this.MOVEMENT: <ide...
Java
unlicense
2a61312a7c0d8517c28e1ac48ed953d033c240a6
0
rctillotson25/cs-fundamentals
package bits; public class Practice { public static int ON = 1; public static int OFF = 0; public static void main(String[] args) { // getBit tests System.out.println("1,0 " + getBit(1,0)); System.out.println("1,1 " + getBit(1,1)); System.out.println("2,1 " + getBit(2,1)); System.out.println("25...
bits/Practice.java
package bits; public class Practice { public static int ON = 1; public static int OFF = 0; public static void main(String[] args) { // getBit tests System.out.println("1,0 " + getBit(1,0)); System.out.println("1,1 " + getBit(1,1)); System.out.println("2,1 " + getBit(2,1)); System.out.println("25...
Added function that will binary insert a number into another called insertMN in the bit classes.
bits/Practice.java
Added function that will binary insert a number into another called insertMN in the bit classes.
<ide><path>its/Practice.java <ide> System.out.println("2,1 " + getBit(2,1)); <ide> System.out.println("256,8 " + getBit(256,8)); <ide> <add> // getBitValue tests <add> System.out.println("Value 1,0 " + getBitValue(1,0)); <add> System.out.println("Value 1,1 " + getBitValue(1,1)); <add> System.out.println("Value...
Java
agpl-3.0
b74d26acb45b86809568eaad68e1aad4bbf085d0
0
DJmaxZPL4Y/Photon-Server
package org.mcphoton.impl.network; import com.electronwill.utils.IndexMap; import com.electronwill.utils.SimpleBag; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.mcphoton.Photon; import org.mcphoton.impl.server.PhotonServer; import org.mcphoton.netw...
src/main/java/org/mcphoton/impl/network/PhotonPacketsManager.java
package org.mcphoton.impl.network; import com.electronwill.utils.IndexMap; import com.electronwill.utils.SimpleBag; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.mcphoton.impl.server.PhotonServer; import org.mcphoton.network.Client; import org.mcpho...
Add a method for registering necessary packets' handlers
src/main/java/org/mcphoton/impl/network/PhotonPacketsManager.java
Add a method for registering necessary packets' handlers
<ide><path>rc/main/java/org/mcphoton/impl/network/PhotonPacketsManager.java <ide> import java.util.Arrays; <ide> import java.util.Collection; <ide> import java.util.List; <add>import org.mcphoton.Photon; <ide> import org.mcphoton.impl.server.PhotonServer; <ide> import org.mcphoton.network.Client; <ide> import org.mcpho...
Java
apache-2.0
8aa6e5bfea2c7314deaa1b432554e9e914b09ee7
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-webflux/src/main/java/org/springframework/web/reactive/socket/client/UndertowWebSocketClient.java
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Undertow WebSocket sessions use shared ByteBufferPool Issues: SPR-16957
spring-webflux/src/main/java/org/springframework/web/reactive/socket/client/UndertowWebSocketClient.java
Undertow WebSocket sessions use shared ByteBufferPool
<ide><path>pring-webflux/src/main/java/org/springframework/web/reactive/socket/client/UndertowWebSocketClient.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "Licen...
Java
apache-2.0
0d236b502538a674cfb032a5cfbbe2f4e859ce9d
0
mozafari/verdict,mozafari/verdict,mozafari/verdict,mozafari/verdict,mozafari/verdict
package org.verdictdb.core.querying.simplifier; import java.util.ArrayList; import java.util.List; import com.google.common.base.Optional; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.spark.sql.catalyst.expressions.Alias; import org...
src/main/java/org/verdictdb/core/querying/simplifier/ConsolidatedExecutionNode.java
package org.verdictdb.core.querying.simplifier; import java.util.ArrayList; import java.util.List; import com.google.common.base.Optional; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.spark.sql.catalyst.expressions.Alias; import org...
add comment
src/main/java/org/verdictdb/core/querying/simplifier/ConsolidatedExecutionNode.java
add comment
<ide><path>rc/main/java/org/verdictdb/core/querying/simplifier/ConsolidatedExecutionNode.java <ide> for (int i = 0; i < queryResult.getMetaData().isAggregate.size(); i++) { <ide> if (!selectQueryColumnAlias.get(i).equals(asteriskAlias)) { <ide> int idx = 0; <add> // Get the inde...
Java
apache-2.0
c58788f1d4e84b9e5f2da7fee56edb453134473a
0
parker20121/nxcore,parker20121/nxcore,parker20121/nxcore,parker20121/nxcore,parker20121/nxcore
package mil.darpa.nxcore; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache...
nxcore-split/src/main/java/mil/darpa/nxcore/SplitFiles.java
package mil.darpa.nxcore; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.io.Text; import org.apache...
Added constants
nxcore-split/src/main/java/mil/darpa/nxcore/SplitFiles.java
Added constants
<ide><path>xcore-split/src/main/java/mil/darpa/nxcore/SplitFiles.java <ide> */ <ide> public static class SplitFilesReducer extends Reducer<Text,Text,NullWritable,Text> { <ide> <add> public static final int RECORD_TYPE = 1; <add> public static final int RECORD_DATE = 0; <add> <ide...
Java
apache-2.0
d336b4da57e2eae549267bb94b201cf579e5949d
0
jlinn/quartz-redis-jobstore
package net.joelinn.quartz; import com.fasterxml.jackson.databind.ObjectMapper; import net.joelinn.quartz.jobstore.RedisJobStoreSchema; import net.joelinn.quartz.jobstore.AbstractRedisStorage; import net.joelinn.quartz.jobstore.RedisStorage; import net.joelinn.quartz.jobstore.RedisTriggerState; import org.hamcrest.Mat...
src/test/java/net/joelinn/quartz/StoreTriggerTest.java
package net.joelinn.quartz; import com.fasterxml.jackson.databind.ObjectMapper; import net.joelinn.quartz.jobstore.RedisJobStoreSchema; import net.joelinn.quartz.jobstore.AbstractRedisStorage; import net.joelinn.quartz.jobstore.RedisStorage; import net.joelinn.quartz.jobstore.RedisTriggerState; import org.hamcrest.Mat...
Fix StoreTriggerTest
src/test/java/net/joelinn/quartz/StoreTriggerTest.java
Fix StoreTriggerTest
<ide><path>rc/test/java/net/joelinn/quartz/StoreTriggerTest.java <ide> public void triggersFired() throws Exception { <ide> // store some jobs with triggers <ide> Map<JobDetail, Set<? extends Trigger>> jobsAndTriggers = getJobsAndTriggers(2, 2, 2, 2, "* * * * * ?"); <add> <add> // disallow co...
Java
apache-2.0
e5a01cc4dee4134a0c4fe7658854ee5a87cfce23
0
SAP/cloud-odata-java,SAP/cloud-odata-java
package com.sap.core.odata.ref.model; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashSet; import java.util.Set; public class DataContainer { private static final int NUMBER_OF_PHOTOS = 4; private static final String[] a...
odata-ref/src/main/java/com/sap/core/odata/ref/model/DataContainer.java
package com.sap.core.odata.ref.model; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashSet; import java.util.Set; public class DataContainer { private static final int NUMBER_OF_PHOTOS = 4; private static final String[] a...
revert ref. scenario data change Change-Id: I0e0c87f3418e37c4990fbb063ef8c941f6e86f6c
odata-ref/src/main/java/com/sap/core/odata/ref/model/DataContainer.java
revert ref. scenario data change
<ide><path>data-ref/src/main/java/com/sap/core/odata/ref/model/DataContainer.java <ide> <ide> Manager emp3 = new Manager("Jonathan Smith", 56, room2, team1); <ide> emp3.setManager((Manager) emp1); <del> emp3.setEntryDate(generateDate("2012-12-12")); <ide> emp3.setLocation(new Location("Germany", "69190"...
Java
mit
09a2981f379e13099296273233e9734548331654
0
kmdouglass/Micro-Manager,kmdouglass/Micro-Manager
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * PixelCalibratorDialog.java * * Created on Mar 1, 2010, 10:21:50 AM */ package org.micromanager.pixelcalibrator; import java.awt.Dimension; import java.awt.Point; import java.util.prefs.Preferences; import org...
plugins/PixelCalibrator/src/org/micromanager/pixelcalibrator/PixelCalibratorDialog.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * PixelCalibratorDialog.java * * Created on Mar 1, 2010, 10:21:50 AM */ package org.micromanager.pixelcalibrator; import java.awt.Dimension; import java.awt.Point; import java.util.prefs.Preferences; import org...
Storing location of window size using GUIUtils calls. git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@4314 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
plugins/PixelCalibrator/src/org/micromanager/pixelcalibrator/PixelCalibratorDialog.java
Storing location of window size using GUIUtils calls.
<ide><path>lugins/PixelCalibrator/src/org/micromanager/pixelcalibrator/PixelCalibratorDialog.java <ide> import java.awt.Dimension; <ide> import java.awt.Point; <ide> import java.util.prefs.Preferences; <add>import org.micromanager.utils.GUIUtils; <ide> import org.micromanager.utils.JavaUtils; <ide> <ide> /** <ide> */...
JavaScript
mit
75199691adeccc7a31586182ce567981f6988bfe
0
fireball-packages/code-editor,fireball-packages/code-editor
/* global __dirname */ /* global Editor */ var Util = require( 'util' ); var Path = require( 'path' ); var Firedoc = require( 'firedoc' ).Firedoc; var enginePath = Editor.url( 'app://utils/api/engine-framework' ); var editorPath = Editor.url( 'app://utils/api/editor-framework' ); var runtimePath = Editor.runtimePath; ...
main.js
/* global __dirname */ /* global Editor */ var Util = require( 'util' ); var Path = require( 'path' ); var Firedoc = require( 'firedoc' ).Firedoc; var enginePath = Editor.url( 'app://utils/api/engine-framework' ); var editorPath = Editor.url( 'app://utils/api/editor-framework' ); var runtimePath = Editor.runtimePath; ...
add init code for code ast
main.js
add init code for code ast
<ide><path>ain.js <ide> // path: Editor.assetdb.uuidToFspath( uuid ), <ide> // } ); <ide> <add> var editorWin = Editor.Panel.findWindow('code-editor.panel'); <add> <ide> Editor.Panel.open('code-editor.panel', { <ide> url: Editor.assetdb.uuidToUrl( uuid ), <ide> ...
Java
agpl-3.0
a8957bb3bdc875a68729b69bf23ad340b1e56ce1
0
cojen/Tupl
/* * Copyright (C) 2011-2017 Cojen.org * * 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 later version. * * This p...
src/test/java/org/cojen/tupl/core/CompactTest.java
/* * Copyright (C) 2011-2017 Cojen.org * * 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 later version. * * This p...
Add stress test failure info.
src/test/java/org/cojen/tupl/core/CompactTest.java
Add stress test failure info.
<ide><path>rc/test/java/org/cojen/tupl/core/CompactTest.java <ide> } <ide> } <ide> <add> /* FIXME <add> <add>java.lang.IllegalArgumentException: Negative position <add> at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:785) <add> at org.cojen.tupl@1.5.0/org.cojen.tupl.io.Ja...
Java
mit
93ee1ef14e838c8ad0cea64f325b820742d872ca
0
hhu-stups/bmoth
package de.bmoth.ltl; import de.bmoth.backend.ltl.LTLTransformations; import de.bmoth.parser.Parser; import de.bmoth.parser.ParserException; import de.bmoth.parser.ast.nodes.ltl.BuechiAutomaton; import de.bmoth.parser.ast.nodes.ltl.LTLFormula; import de.bmoth.parser.ast.nodes.ltl.LTLNode; import org.junit.Ignore; impo...
src/test/java/de/bmoth/ltl/LTLBuechiTest.java
package de.bmoth.ltl; import de.bmoth.backend.ltl.LTLTransformations; import de.bmoth.parser.Parser; import de.bmoth.parser.ParserException; import de.bmoth.parser.ast.nodes.ltl.BuechiAutomaton; import de.bmoth.parser.ast.nodes.ltl.LTLFormula; import de.bmoth.parser.ast.nodes.ltl.LTLNode; import org.junit.Ignore; impo...
Two ignored tests for finally
src/test/java/de/bmoth/ltl/LTLBuechiTest.java
Two ignored tests for finally
<ide><path>rc/test/java/de/bmoth/ltl/LTLBuechiTest.java <ide> String formula = "G (F (X {0=1}))"; <ide> LTLFormula ltlFormula = Parser.getLTLFormulaAsSemanticAst(formula); <ide> LTLNode node = LTLTransformations.transformLTLNode(ltlFormula.getLTLNode()); <add> System.out.println(node.toSt...
Java
apache-2.0
8a5a36bd1d4f4b9b66ade9ddfbdec57269bf8268
0
smartcommunitylab/sco.cityreport,smartcommunitylab/sco.cityreport,smartcommunitylab/sco.cityreport
package it.smartcommunitylab.cityreport.utils; import it.smartcommunitylab.cityreport.data.IssueRepository; import it.smartcommunitylab.cityreport.model.Issuer; import it.smartcommunitylab.cityreport.model.Location; import it.smartcommunitylab.cityreport.model.ServiceIssue; import it.smartcommunitylab.cityreport.servi...
cityreport-web/src/main/java/it/smartcommunitylab/cityreport/utils/GericoConnector.java
package it.smartcommunitylab.cityreport.utils; import it.smartcommunitylab.cityreport.data.IssueRepository; import it.smartcommunitylab.cityreport.model.Issuer; import it.smartcommunitylab.cityreport.model.Location; import it.smartcommunitylab.cityreport.model.ServiceIssue; import it.smartcommunitylab.cityreport.servi...
fix for data format
cityreport-web/src/main/java/it/smartcommunitylab/cityreport/utils/GericoConnector.java
fix for data format
<ide><path>ityreport-web/src/main/java/it/smartcommunitylab/cityreport/utils/GericoConnector.java <ide> data.put(F_OGGETTO, oggetto); <ide> <ide> String note = ""; <del> if (issue.getAttribute() != null && issue.getAttribute().containsKey("description")) { <add> if (issue.getAttribute() != null && issue.getA...
Java
mit
600917e2e79ba1b86013431f3d6055cdc3bc1745
0
raviflipsyde/zab_java
package servers; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.i...
src/main/java/servers/NodeServer.java
package servers; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.i...
FLE v0.0.5
src/main/java/servers/NodeServer.java
FLE v0.0.5
<ide><path>rc/main/java/servers/NodeServer.java <ide> import java.util.List; <ide> import java.util.Map.Entry; <ide> import java.util.concurrent.ConcurrentLinkedQueue; <add>import java.util.concurrent.CopyOnWriteArrayList; <ide> import java.util.Queue; <ide> <ide> import org.apache.logging.log4j.LogManager; <ide> th...
Java
bsd-3-clause
652ced7f8e3d415a85f94988b85ef3d795670c29
0
Monsters-308/FRC2016
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
src/org/usfirst/frc308/FRC2016/subsystems/Shooter.java
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
Turned shooter pseudo code into true code Bill gates first commit
src/org/usfirst/frc308/FRC2016/subsystems/Shooter.java
Turned shooter pseudo code into true code
<ide><path>rc/org/usfirst/frc308/FRC2016/subsystems/Shooter.java <ide> // Matteo <ide> package org.usfirst.frc308.FRC2016.subsystems; <ide> <add>import org.usfirst.frc308.FRC2016.Robot; <add>import org.usfirst.frc308.FRC2016.RobotConstants; <ide> import org.usfirst.frc308.FRC2016.RobotMap; <ide> import org.usfirst.frc...
Java
mit
ba63b4c1668ea03d37ac57ad0ce68d1554d6dde8
0
jenkinsci/saltstack-plugin,jenkinsci/saltstack-plugin,spacanowski/saltstack-plugin,spacanowski/saltstack-plugin
package com.waytta; import hudson.Launcher; import hudson.Extension; import hudson.util.FormValidation; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.AbstractProject; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import net.sf.json.JSONObject; import ...
src/main/java/com/waytta/SaltAPIBuilder.java
package com.waytta; import hudson.Launcher; import hudson.Extension; import hudson.util.FormValidation; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.AbstractProject; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import net.sf.json.JSONObject; import ...
Allow paramoized server input and fail on non-zero retcode value when running script salt module in blocking mode.
src/main/java/com/waytta/SaltAPIBuilder.java
Allow paramoized server input and fail on non-zero retcode value when running script salt module in blocking mode.
<ide><path>rc/main/java/com/waytta/SaltAPIBuilder.java <ide> } <ide> Boolean mySaltMessageDebug = getDescriptor().getSaltMessageDebug(); <ide> String myClientInterface = clientInterface; <add> String myservername = servername; <ide> String mytarget = target; <ide> String myfunction = fun...
Java
unlicense
ba7913fe3d33e406c5628737da1910e1760b0472
0
tsal/ElysiumFrontend,wastevens/ElysiumFrontend,wastevens/ElysiumFrontend,gnu-lorien/ElysiumFrontend,wastevens/ElysiumFrontend,tsal/ElysiumFrontend,tsal/ElysiumFrontend,gnu-lorien/ElysiumFrontend,gnu-lorien/ElysiumFrontend
package com.dstevens.event; import java.util.Date; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.ManyToMany; import org.hiberna...
src/java/com/dstevens/event/VenueEvent.java
package com.dstevens.event; import java.util.Date; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.ManyToMany; import org.hiberna...
Changed VenueEvent to carry PlayerCharacterOwnerships for attendance.
src/java/com/dstevens/event/VenueEvent.java
Changed VenueEvent to carry PlayerCharacterOwnerships for attendance.
<ide><path>rc/java/com/dstevens/event/VenueEvent.java <ide> private final Venue venue; <ide> <ide> @ManyToMany(cascade={CascadeType.ALL}) <del> @JoinTable(name="TroupeEvent_Attendance", joinColumns = @JoinColumn(name="event_id"), <add> @JoinTable(name="VenueEvent_Attendance", joinColumns = @JoinColumn(name="even...
Java
mit
4bc170428943a32db58b9022e7e1c41b6cc81010
0
danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails
package org.mindtrails.controller; import org.mindtrails.domain.ExportMode; import org.mindtrails.domain.Participant; import org.mindtrails.domain.RestExceptions.NoModelForFormException; import org.mindtrails.domain.RestExceptions.WrongFormException; import org.mindtrails.domain.questionnaire.HasReturnDate; import org...
core/src/main/java/org/mindtrails/controller/QuestionController.java
package org.mindtrails.controller; import org.mindtrails.domain.ExportMode; import org.mindtrails.domain.Participant; import org.mindtrails.domain.RestExceptions.NoModelForFormException; import org.mindtrails.domain.RestExceptions.WrongFormException; import org.mindtrails.domain.questionnaire.HasReturnDate; import org...
This is a slighty scary change. We would log that a questionnaire was complete before saving it. If it caused a database error, we would have the log of progress, but not the actual questionnaire record. This subtle change is risky, but important, to prevent missing data.
core/src/main/java/org/mindtrails/controller/QuestionController.java
This is a slighty scary change. We would log that a questionnaire was complete before saving it. If it caused a database error, we would have the log of progress, but not the actual questionnaire record. This subtle change is risky, but important, to prevent missing data.
<ide><path>ore/src/main/java/org/mindtrails/controller/QuestionController.java <ide> import org.springframework.mobile.device.Device; <ide> import org.springframework.security.core.context.SecurityContextHolder; <ide> import org.springframework.stereotype.Controller; <add>import org.springframework.stereotype.Repositor...
JavaScript
apache-2.0
8cd635dc6d5f951ee2ee28d0eace138606ee6df0
0
puppeteer/puppeteer,puppeteer/puppeteer,puppeteer/puppeteer,puppeteer/puppeteer
/** * Copyright 2020 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
commitlint.config.js
/** * Copyright 2020 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
chore: remove subject-case rule from commitlint (#8091)
commitlint.config.js
chore: remove subject-case rule from commitlint (#8091)
<ide><path>ommitlint.config.js <ide> rules: { <ide> 'body-max-line-length': [0, 'always', 100], <ide> 'footer-max-line-length': [0, 'always', 100], <add> 'subject-case': [0, 'never'], <ide> }, <ide> };
Java
lgpl-2.1
21e2b3ec7fc3efa2730a3a8e1537320b8b731124
0
fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA
/* $Id$ * * OpenMAMA: The open middleware agnostic messaging API * Copyright (C) 2011 NYSE Technologies, Inc. * * 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....
mama/jni/src/junittests/MamaDateTimeSetTimeZone.java
/* $Id$ * * OpenMAMA: The open middleware agnostic messaging API * Copyright (C) 2011 NYSE Technologies, Inc. * * 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....
PLAT-971: Junittests for PLAT-773 Some new Junittests for extended datetimes Signed-off-by: Gary Molloy <cf79966eeadaa7bd42214a55ca4b3a5780279b56@velatt.com>
mama/jni/src/junittests/MamaDateTimeSetTimeZone.java
PLAT-971: Junittests for PLAT-773
<ide><path>ama/jni/src/junittests/MamaDateTimeSetTimeZone.java <ide> String time = mDateTime.getTimeAsString(); <ide> assertEquals(time, "03:16:42.000099"); <ide> } <add> <add> public void testSetEpochTimeLargePositive() <add> { <add> mDateTime.setEpochTime (4211753600L, 0, MamaDateTime...
Java
apache-2.0
07391aac445a1e4e61bb96edad55c67dde4fa542
0
ricomaster9000/sageOneApiLibrary-SA,ricomaster9000/sageOneApiLibrary-GLOBAL
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use...
src/main/java/SageOneIntegration/SageOneApiEntities/SageOneCompany.java
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use...
for previous commit
src/main/java/SageOneIntegration/SageOneApiEntities/SageOneCompany.java
for previous commit
<ide><path>rc/main/java/SageOneIntegration/SageOneApiEntities/SageOneCompany.java <ide> private Date LastLoginDate; <ide> private SageOneCompanyStatus Status; <ide> <add> public Integer getId() { <add> return ID; <add> } <add> <ide> public final String getName() { <ide> return this.Nam...
Java
mit
4aea90eb39daff9858db2228778be66f63481ed6
0
UCSB-CS56-Projects/cs56-games-poker
package edu.ucsb.cs56.projects.games.poker; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * The Poker Game Main Page (Start-Up) screen */ public class PokerMain { /** * Frame holding buttons representing initial options */ JFrame playButtonFrame; /**...
src/edu/ucsb/cs56/projects/games/poker/PokerMain.java
package edu.ucsb.cs56.projects.games.poker; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * The Poker Game Main Page (Start-Up) screen */ public class PokerMain { /** * Frame holding buttons representing initial options */ JFrame playButtonFrame; /**...
AB/HS Added multiplayer option to GUI, not yet implemented
src/edu/ucsb/cs56/projects/games/poker/PokerMain.java
AB/HS Added multiplayer option to GUI, not yet implemented
<ide><path>rc/edu/ucsb/cs56/projects/games/poker/PokerMain.java <ide> multiPlayerButton.addActionListener(listener); <ide> panel.add(multiPlayerButton); <ide> <del> <ide> /* <ide> serverButton = new JButton("Create Poker Server"); <ide> serverButton.addActionListener(listener);
JavaScript
agpl-3.0
4b21e3f125f8cb5bd24de7649a74850af6641829
0
sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,panpawn/Gold-Client,sirDonovan/Pokemon-Showdown-Client,panpawn/Gold-Client,asgdf/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-S...
(function (exports, $) { // this is a useful global var teams; var TeambuilderRoom = exports.TeambuilderRoom = exports.Room.extend({ type: 'teambuilder', title: 'Teambuilder', initialize: function () { teams = Storage.teams; // left menu this.$el.addClass('ps-room-light').addClass('scrollable'); ...
js/client-teambuilder.js
(function (exports, $) { // this is a useful global var teams; var TeambuilderRoom = exports.TeambuilderRoom = exports.Room.extend({ type: 'teambuilder', title: 'Teambuilder', initialize: function () { teams = Storage.teams; // left menu this.$el.addClass('ps-room-light').addClass('scrollable'); ...
Add a playable R-P-S game to Teambuilder greeting
js/client-teambuilder.js
Add a playable R-P-S game to Teambuilder greeting
<ide><path>s/client-teambuilder.js <ide> buf += '<p><button class="button" name="greeting" value="WR"><i class="fa fa-exclamation-triangle"></i> Wait, really?</button></p>'; <ide> } else if (answer === 'WR') { <ide> buf += '<p>No, they were free. That just makes it easier to get my money\'s worth. Let\'s pla...
Java
apache-2.0
2429ace84a6da8137122e7c323f4c5c8112d4d78
0
apache/xml-graphics-commons,apache/xml-graphics-commons,apache/xml-graphics-commons
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/test/java/org/apache/xmlgraphics/util/io/Base64TestCase.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 ...
Fix test on Windows git-svn-id: c1447309447e562cc43d70ade9fe6c70ff9b4cec@1876186 13f79535-47bb-0310-9956-ffa450edef68
src/test/java/org/apache/xmlgraphics/util/io/Base64TestCase.java
Fix test on Windows
<ide><path>rc/test/java/org/apache/xmlgraphics/util/io/Base64TestCase.java <ide> <ide> package org.apache.xmlgraphics.util.io; <ide> <add>import java.io.ByteArrayInputStream; <add>import java.io.ByteArrayOutputStream; <ide> import java.io.File; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide>...
Java
apache-2.0
436037cc6a731d5ff9b524c2ea61eaddd50fb7c5
0
jruesga/cm-cloud-generator,jruesga/cm-cloud-generator
import org.apache.batik.transcoder.TranscoderInput; import org.apache.batik.transcoder.TranscoderOutput; import org.apache.batik.transcoder.image.PNGTranscoder; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.IOFileFilter; import org.apache.commons.io.filefilter.TrueFileFilter; import or...
source/src/main/java/CloudGenerator.java
import org.apache.batik.transcoder.TranscoderInput; import org.apache.batik.transcoder.TranscoderOutput; import org.apache.batik.transcoder.image.PNGTranscoder; import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.IOFileFilter; import org.apache.commons.io.filefilter.TrueFileFilter; import or...
close metadata db prior to compress it Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
source/src/main/java/CloudGenerator.java
close metadata db prior to compress it
<ide><path>ource/src/main/java/CloudGenerator.java <ide> <ide> public static void main(String[] args) throws Exception { <ide> boolean FROM_GERRIT = true; <add> boolean closed = false; <ide> <ide> new File(DB_NAME).delete(); <ide> new File(CLOUD_DB_FILE).delete(); <ide> ...
Java
mit
600ae3b0af461f953f4d88a0060d9b61aa02e70e
0
icode/ameba,icode/ameba,wangscript/ameba,xiangyong/ameba
package ameba.db.ebean.internal; import ameba.db.ebean.EbeanUtils; import ameba.db.model.Model; import ameba.lib.LoggerOwner; import com.avaje.ebean.*; import com.avaje.ebean.bean.EntityBean; import com.avaje.ebean.bean.EntityBeanIntercept; import com.avaje.ebeaninternal.api.ScopeTrans; import com.avaje.ebeaninternal....
src/main/java/ameba/db/ebean/internal/ModelResourceStructure.java
package ameba.db.ebean.internal; import ameba.db.ebean.EbeanUtils; import ameba.db.model.Model; import ameba.lib.LoggerOwner; import com.avaje.ebean.*; import com.avaje.ebean.bean.EntityBean; import com.avaje.ebean.bean.EntityBeanIntercept; import com.avaje.ebeaninternal.api.ScopeTrans; import com.avaje.ebeaninternal....
更改ebean判断id存在
src/main/java/ameba/db/ebean/internal/ModelResourceStructure.java
更改ebean判断id存在
<ide><path>rc/main/java/ameba/db/ebean/internal/ModelResourceStructure.java <ide> protected void setForInsertId(final M model) { <ide> BeanDescriptor descriptor = getModelBeanDescriptor(); <ide> EntityBeanIntercept intercept = ((EntityBean) model)._ebean_getIntercept(); <del> if (descriptor.h...
Java
bsd-3-clause
73643925937666c1bd99da018afb848922ad54e7
0
bdezonia/zorbage,bdezonia/zorbage
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (c) 2016-2021 Barry DeZonia All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of so...
src/test/java/nom/bdezonia/zorbage/type/real/float128/TestFloat128Member.java
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (c) 2016-2021 Barry DeZonia All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of so...
Improve testing coverage fpr flt128s
src/test/java/nom/bdezonia/zorbage/type/real/float128/TestFloat128Member.java
Improve testing coverage fpr flt128s
<ide><path>rc/test/java/nom/bdezonia/zorbage/type/real/float128/TestFloat128Member.java <ide> <ide> Float128Member num = new Float128Member(); <ide> <del> int[] ints = new int[]{1,7,4,1,2,4,8,3,3}; <del> <ide> byte[] arr = new byte[16]; <del> for (int i = 0; i < ints.length; i++) { <del> <del> BigDecim...
Java
mit
af1ad7a63f8708e944715368ef1655dea243afbe
0
jpinho/soaba,jpinho/soaba,jpinho/soaba,jpinho/soaba
package soaba.core.config; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import soaba.core.api.IDatapoint; import soaba.core.api.IDatapoint.ACCESSTYPE;...
src/main/java/soaba/core/config/AppConfig.java
package soaba.core.config; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import soaba.core.api.IDatapoint; import soaba.core.api.IDatapoint.ACCESSTYPE;...
[FIX] NullRef in AppConfig.findDatapoint
src/main/java/soaba/core/config/AppConfig.java
[FIX] NullRef in AppConfig.findDatapoint
<ide><path>rc/main/java/soaba/core/config/AppConfig.java <ide> return result; <ide> } <ide> <add> /** <add> * Searchs for a datapoint by their id, read address or write address, the first to match <add> * returns the underlyining datapoint. <add> * <add> * @param dpointIdOrAddress, the ...
Java
apache-2.0
bad3ead31e8a214278b60627f2f60769e491dbd1
0
lovemomia/mapi,lovemomia/mapi
package cn.momia.mapi.api.v1.im; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.dto.CourseSku; import cn.momia.api.im.ImServiceApi; import cn.momia.api.im.dto.Group; import cn.momia.api.im.dto.GroupMember; import cn.momia.api.im.dto.UserGroup; import cn.momia.api.user.UserServiceApi; import cn...
src/main/java/cn/momia/mapi/api/v1/im/ImV1Api.java
package cn.momia.mapi.api.v1.im; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.dto.CourseSku; import cn.momia.api.im.ImServiceApi; import cn.momia.api.im.dto.Group; import cn.momia.api.im.dto.Member; import cn.momia.api.user.UserServiceApi; import cn.momia.api.user.dto.User; import cn.momia.c...
refactor im
src/main/java/cn/momia/mapi/api/v1/im/ImV1Api.java
refactor im
<ide><path>rc/main/java/cn/momia/mapi/api/v1/im/ImV1Api.java <ide> import cn.momia.api.course.dto.CourseSku; <ide> import cn.momia.api.im.ImServiceApi; <ide> import cn.momia.api.im.dto.Group; <del>import cn.momia.api.im.dto.Member; <add>import cn.momia.api.im.dto.GroupMember; <add>import cn.momia.api.im.dto.UserGroup; ...
Java
epl-1.0
ee8ce9737cefb8ffe3a4a2715558942869d60672
0
golo-lang/golo-lang,golo-lang/golo-lang,golo-lang/golo-lang
/* * Copyright (c) 2012-2020 Institut National des Sciences Appliquées de Lyon (INSA Lyon) and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-License-Identifier: E...
src/main/java/gololang/Tuple.java
/* * Copyright (c) 2012-2020 Institut National des Sciences Appliquées de Lyon (INSA Lyon) and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-License-Identifier: E...
Refactor tuple to use array implementation
src/main/java/gololang/Tuple.java
Refactor tuple to use array implementation
<ide><path>rc/main/java/gololang/Tuple.java <ide> import java.util.Iterator; <ide> import java.util.NoSuchElementException; <ide> import org.eclipse.golo.runtime.InvalidDestructuringException; <add>import org.eclipse.golo.runtime.ArrayHelper; <ide> <ide> /** <ide> * Represents an tuple object. <ide> * @return a tu...
JavaScript
apache-2.0
a7bb36a95010ab590c48925e68a3d7cac6c33679
0
NextCenturyCorporation/digapp-ht,NextCenturyCorporation/digapp-ht,NextCenturyCorporation/digapp-ht,NextCenturyCorporation/digapp-ht
/* * Copyright 2017 Next Century Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
app/scripts/search-transform.js
/* * Copyright 2017 Next Century Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Fixed lint error.
app/scripts/search-transform.js
Fixed lint error.
<ide><path>pp/scripts/search-transform.js <ide> var selects; <ide> <ide> if(predicate) { <del> var selects = [{ <add> selects = [{ <ide> 'function': 'count', <ide> type: 'function', <ide> variable: '?' + predicate
Java
lgpl-2.1
1c97ec7092ff410ef8d3a1f78d0b449193899e14
0
cwarden/kettle,juanmjacobs/kettle,cwarden/kettle,juanmjacobs/kettle,cwarden/kettle,juanmjacobs/kettle
package org.pentaho.di.core.database.util; import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import org.pentaho.di.core.database.Messages; public class DatabaseUtil { priv...
src/org/pentaho/di/core/database/util/DatabaseUtil.java
package org.pentaho.di.core.database.util; import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import org.pentaho.di.core.database.Messages; public class DatabaseUtil { priv...
Fix formatting throwing Pentaho Translator off guard. git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@5566 5fb7f6ec-07c1-534a-b4ca-9155e429e800
src/org/pentaho/di/core/database/util/DatabaseUtil.java
Fix formatting throwing Pentaho Translator off guard.
<ide><path>rc/org/pentaho/di/core/database/util/DatabaseUtil.java <ide> { <ide> throw firstNe; <ide> } <del> throw new NamingException(Messages.getString( <del> "DatabaseUtil.DSNotFound", dsName)); //$NON-NLS-1$ <add> throw new NamingException(Messages.getString("DatabaseUtil.DSNotFound", dsName)); //$NON-N...
Java
apache-2.0
09faa72296a4a20bf554da729dccd5bd31a5e347
0
tbrooks8/netty,fenik17/netty,artgon/netty,Squarespace/netty,andsel/netty,mikkokar/netty,bryce-anderson/netty,tbrooks8/netty,NiteshKant/netty,NiteshKant/netty,doom369/netty,mikkokar/netty,netty/netty,netty/netty,Spikhalskiy/netty,bryce-anderson/netty,johnou/netty,doom369/netty,NiteshKant/netty,fengjiachun/netty,doom369/...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpResponseStreamIdHandler.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Use ArrayDeque instead of LinkedList (#9046) Motivation: Prefer ArrayDeque to LinkedList because latter will produce more GC. Modification: - Replace LinkedList with ArrayDeque Result: Less GC
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpResponseStreamIdHandler.java
Use ArrayDeque instead of LinkedList (#9046)
<ide><path>odec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpResponseStreamIdHandler.java <ide> import io.netty.handler.codec.spdy.SpdyHttpHeaders.Names; <ide> import io.netty.util.ReferenceCountUtil; <ide> <del>import java.util.LinkedList; <add>import java.util.ArrayDeque; <ide> import java.util.List; <ide>...
Java
agpl-3.0
154034b058bdf396353a2f3f1a44df733c2918c5
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
c6affb0e-2e60-11e5-9284-b827eb9e62be
hello.java
c6aa6b6c-2e60-11e5-9284-b827eb9e62be
c6affb0e-2e60-11e5-9284-b827eb9e62be
hello.java
c6affb0e-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>c6aa6b6c-2e60-11e5-9284-b827eb9e62be <add>c6affb0e-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
173df167b1eca61d2b5266c1d1e4d22012486ff9
0
cherryhill/collectionspace-application
package org.collectionspace.chain.storage; import static org.junit.Assert.*; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.IOUtils; import org.collectionspace.chain.controller.ChainServlet; import org.collectionspace.chain.util.json.JSONUtils; import org.collectionspace.bconfig...
tomcat-main/src/test/java/org/collectionspace/chain/storage/TestServiceThroughWebapp.java
package org.collectionspace.chain.storage; import static org.junit.Assert.*; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.IOUtils; import org.collectionspace.chain.controller.ChainServlet; import org.collectionspace.chain.util.json.JSONUtils; import org.collectionspace.bconfig...
nojira - improve test for login
tomcat-main/src/test/java/org/collectionspace/chain/storage/TestServiceThroughWebapp.java
nojira - improve test for login
<ide><path>omcat-main/src/test/java/org/collectionspace/chain/storage/TestServiceThroughWebapp.java <ide> UTF8SafeHttpTester out=jettyDo(jetty,"POST","/chain/login","userid=test@collectionspace.org&password=testtest"); <ide> assertEquals(303,out.getStatus()); <ide> assertEquals("/cspace-ui/html/createnew.html",o...
Java
apache-2.0
f0683ed0032ef0dc250d708614cccd4d6fa696ab
0
gkatsikas/onos,gkatsikas/onos,gkatsikas/onos,gkatsikas/onos,gkatsikas/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,gkatsikas/onos
/* * Copyright 2019-present Open Networking 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 * * Unless required by appli...
apps/k8s-networking/app/src/main/java/org/onosproject/k8snetworking/impl/K8sNodePortHandler.java
/* * Copyright 2019-present Open Networking 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 * * Unless required by appli...
Support Kubernetes LoadBalancer service type Change-Id: Ife5a75a68a5b83dbf51787e686412b9318c27aa0 (cherry picked from commit 897d92d094473847a1a843b72a2b9946ad902a6e)
apps/k8s-networking/app/src/main/java/org/onosproject/k8snetworking/impl/K8sNodePortHandler.java
Support Kubernetes LoadBalancer service type
<ide><path>pps/k8s-networking/app/src/main/java/org/onosproject/k8snetworking/impl/K8sNodePortHandler.java <ide> import java.util.Set; <ide> import java.util.concurrent.ExecutorService; <ide> <add>import static java.lang.Thread.sleep; <ide> import static java.util.concurrent.Executors.newSingleThreadExecutor; <ide> im...
JavaScript
agpl-3.0
1d40145d525a1cc23dff419d0afdf96b21ba19ff
0
fyruna/WoWAnalyzer,fyruna/WoWAnalyzer,Juko8/WoWAnalyzer,anom0ly/WoWAnalyzer,Juko8/WoWAnalyzer,WoWAnalyzer/WoWAnalyzer,yajinni/WoWAnalyzer,FaideWW/WoWAnalyzer,sMteX/WoWAnalyzer,anom0ly/WoWAnalyzer,ronaldpereira/WoWAnalyzer,FaideWW/WoWAnalyzer,ronaldpereira/WoWAnalyzer,Juko8/WoWAnalyzer,sMteX/WoWAnalyzer,WoWAnalyzer/WoWA...
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import { calculateSecondaryStatDefault} from 'common/stats'; import { formatPercentage, formatNumber } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; /** * Construct Overcharger - * Equip: Your attac...
src/Parser/Core/Modules/Items/BFA/Raids/Uldir/ConstructOvercharger.js
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import { calculateSecondaryStatDefault} from 'common/stats'; import { formatPercentage, formatNumber } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; /** * Construct Overcharger - * Equipe: Your atta...
Fix comment typos.
src/Parser/Core/Modules/Items/BFA/Raids/Uldir/ConstructOvercharger.js
Fix comment typos.
<ide><path>rc/Parser/Core/Modules/Items/BFA/Raids/Uldir/ConstructOvercharger.js <ide> <ide> /** <ide> * Construct Overcharger - <del> * Equipe: Your attacks have a chance to increase your Haste by 6 for 10 sec, stacking up to 8 times. <add> * Equip: Your attacks have a chance to increase your Haste by 21 for 10 sec, ...
Java
mit
error: pathspec 'java/Point.java' did not match any file(s) known to git
cb6124b60c37d680864dc6b817809beb1b0e6c01
1
consttgit/crosssection,consttgit/crosssection
public class Point { public double x; public double y; private static int num = 0; public Point(double x, double y) { this.x = x; this.y = y; ++num; } public Point() { this(0.0, 0.0); } public double distance(Point other) { return Math.sqrt( ...
java/Point.java
add a point class
java/Point.java
add a point class
<ide><path>ava/Point.java <add>public class Point { <add> public double x; <add> public double y; <add> private static int num = 0; <add> <add> public Point(double x, double y) { <add> this.x = x; <add> this.y = y; <add> ++num; <add> } <add> <add> public Point() { <add> thi...
Java
mit
error: pathspec 'BOJ/17181/Main.java' did not match any file(s) known to git
23b2b2baa93af4a74ddd5a412c395ce85176be92
1
ISKU/Algorithm
/* * Author: Minho Kim (ISKU) * Date: May 4, 2019 * E-mail: minho.kim093@gmail.com * * https://github.com/ISKU/Algorithm * https://www.acmicpc.net/problem/17181 */ import java.io.*; import java.util.*; public class Main { public static final int[] dy = new int[] { -1, 1, 0, 0 }; public static...
BOJ/17181/Main.java
BOJ #17181: 나랏말싸미 America와 different~
BOJ/17181/Main.java
BOJ #17181: 나랏말싸미 America와 different~
<ide><path>OJ/17181/Main.java <add>/* <add> * Author: Minho Kim (ISKU) <add> * Date: May 4, 2019 <add> * E-mail: minho.kim093@gmail.com <add> * <add> * https://github.com/ISKU/Algorithm <add> * https://www.acmicpc.net/problem/17181 <add> */ <add> <add>import java.io.*; <add>import java.util.*; <add> <add>public class M...
Java
apache-2.0
b0595873432ccfb298d780da92151bc9dd2f6840
0
apache/incubator-asterixdb,heriram/incubator-asterixdb,ty1er/incubator-asterixdb,heriram/incubator-asterixdb,ty1er/incubator-asterixdb,heriram/incubator-asterixdb,ecarm002/incubator-asterixdb,heriram/incubator-asterixdb,apache/incubator-asterixdb,apache/incubator-asterixdb,ecarm002/incubator-asterixdb,apache/incubator-...
/* * 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 ...
hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.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 ...
Add getURL Accessor To IApplicationConfig Change-Id: I7823ebe31d787399523386f0439128150c58ab39 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1731 Sonar-Qube: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@fulliautomatix.ics.u...
hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java
Add getURL Accessor To IApplicationConfig
<ide><path>yracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java <ide> */ <ide> package org.apache.hyracks.api.config; <ide> <add>import java.net.URL; <ide> import java.util.List; <ide> import java.util.Set; <ide> import java.util.function.Predicate; <ide> defaul...
Java
mit
fe260a7c0f4cf08027d6ad5743943abce1ff098d
0
olavloite/spanner-jdbc
package nl.topicus.jdbc.test.integration; import java.io.IOException; import java.net.URISyntaxException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Arrays; import java.util.Iterator; import java.util.Random; import java.util.logging.Level; impo...
src/test/java/nl/topicus/jdbc/test/integration/JdbcIntegrationTest.java
package nl.topicus.jdbc.test.integration; import java.io.IOException; import java.net.URISyntaxException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Arrays; import java.util.Iterator; import java.util.logging.Level; import java.util.logging.Logge...
generate unique id for test instance to allow multiple integration tests to run in parallel
src/test/java/nl/topicus/jdbc/test/integration/JdbcIntegrationTest.java
generate unique id for test instance to allow multiple integration tests to run in parallel
<ide><path>rc/test/java/nl/topicus/jdbc/test/integration/JdbcIntegrationTest.java <ide> import java.sql.SQLException; <ide> import java.util.Arrays; <ide> import java.util.Iterator; <add>import java.util.Random; <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <ide> <ide> private st...
Java
apache-2.0
b98453b778fbbe4aa9fb9b0af569c5c6f591c62e
0
apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc
/* * 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 ...
sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/result/DistinctQueryResult.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 ...
retry check
sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/result/DistinctQueryResult.java
retry check
<ide><path>harding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/result/DistinctQueryResult.java <ide> * <ide> * @author panjuan <ide> * @author yangyi <add> * @author sunbufu <ide> */ <ide> @RequiredArgsConstructor <ide> @Getter(AccessLevel.PROTECTED)
JavaScript
bsd-3-clause
b676292207aba207666494527478a360d49fe147
0
MalucoMarinero/fixed-data-table-backup,MalucoMarinero/fixed-data-table-backup
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule F...
src/FixedDataTable.react.js
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule F...
Added scrollsOut to reinstantiation of ScrollHelper.
src/FixedDataTable.react.js
Added scrollsOut to reinstantiation of ScrollHelper.
<ide><path>rc/FixedDataTable.react.js <ide> props.rowsCount, <ide> props.rowHeight, <ide> viewportHeight, <del> props.rowHeightGetter <add> props.rowHeightGetter, <add> props.groupHeaderScrollsOut ? props.groupHeaderHeight : 0 <ide> ); <ide> var scrollState = <id...
Java
apache-2.0
c2166ebafcf522e4f414f0019b186b4a5fe007b7
0
aduprat/james,chibenwa/james,rouazana/james,chibenwa/james,chibenwa/james,aduprat/james,rouazana/james,rouazana/james,chibenwa/james,rouazana/james,aduprat/james,aduprat/james
/* * 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...
sandbox/james-jcr/src/main/java/org/apache/james/jcr/JCRStoreBean.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...
james-jcr: Added some documentation and an intermediate .../year/month/day/... folder structure. git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@617122 13f79535-47bb-0310-9956-ffa450edef68
sandbox/james-jcr/src/main/java/org/apache/james/jcr/JCRStoreBean.java
james-jcr: Added some documentation and an intermediate .../year/month/day/... folder structure.
<ide><path>andbox/james-jcr/src/main/java/org/apache/james/jcr/JCRStoreBean.java <ide> import java.io.ByteArrayInputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <del>import java.text.DateFormat; <ide> import java.text.SimpleDateFormat; <ide> import java.util.Calendar; <ide> import java.ut...