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 | d76150517b08885c6d540ff8dafceb2aedcdfc10 | 0 | FraunhoferCESE/madcap,FraunhoferCESE/madcap | package edu.umd.fcmd.sensorlisteners.listener.location;
import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import edu.umd.fcmd.sensorlisteners.model.LocationService... | sensorlisteners/src/test/java/edu/umd/fcmd/sensorlisteners/listener/location/LocationServiceStatusReceiverTest.java | package edu.umd.fcmd.sensorlisteners.listener.location;
import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import edu.umd.fcmd.sensorlisteners.model.LocationService... | #66 adjusted test cases.
| sensorlisteners/src/test/java/edu/umd/fcmd/sensorlisteners/listener/location/LocationServiceStatusReceiverTest.java | #66 adjusted test cases. | <ide><path>ensorlisteners/src/test/java/edu/umd/fcmd/sensorlisteners/listener/location/LocationServiceStatusReceiverTest.java
<ide>
<ide> cut.onReceive(mockContext, mockIntentProvidersFalse);
<ide>
<del> //Testing inside of checkForStatus
<add> //Testing inside of updateStatus
<ide> Loca... | |
Java | mit | 2dab34ee97427d335c98be8528fa0054b8d65d95 | 0 | Chase-M/Tower-Defense-Game-Engine,brianbolze/VoogaSalad_Final_Project,gregory-lyons/CS308-final-project,akyker20/TD_Game_Engine,Chase-M/voogasalad_LosTorres,thefreshduke/voogasalad,Chase-M/voogasalad_LosTorres,Chase-M/Tower-Defense-Game-Engine,gregory-lyons/CS308-final-project,brianbolze/VoogaSalad_Final_Project,thefre... | package gamePlayer.guiItems.gameWorld;
import gamePlayer.guiItems.GuiItem;
import gamePlayer.guiItemsListeners.GameWorldListener;
import gamePlayer.mainClasses.guiBuilder.GuiConstants;
import javafx.geometry.Dimension2D;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import ... | src/gamePlayer/guiItems/gameWorld/GameWorld.java | package gamePlayer.guiItems.gameWorld;
import gamePlayer.guiItems.GuiItem;
import gamePlayer.guiItemsListeners.GameWorldListener;
import gamePlayer.mainClasses.guiBuilder.GuiConstants;
import javafx.geometry.Dimension2D;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import ... | Playing around with background
| src/gamePlayer/guiItems/gameWorld/GameWorld.java | Playing around with background | <ide><path>rc/gamePlayer/guiItems/gameWorld/GameWorld.java
<ide> @Override
<ide> public void initialize(Dimension2D containerSize) {
<ide> myMap.setPrefSize(containerSize.getWidth(), containerSize.getHeight());
<del> //myMap.getStyleClass().add("GameWorld");
<add> myMap.getStyleClass().add("GameWorld");
<ide> m... | |
Java | bsd-3-clause | 6e9e29f758315469e503977db81d19fcd2e361e2 | 0 | arurke/contiki,arurke/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,bluerover/6lbr,a... | tools/cooja/java/se/sics/cooja/PassiveMoteInterface.java | /*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* n... | removed passive mote interface
| tools/cooja/java/se/sics/cooja/PassiveMoteInterface.java | removed passive mote interface | <ide><path>ools/cooja/java/se/sics/cooja/PassiveMoteInterface.java
<del>/*
<del> * Copyright (c) 2006, Swedish Institute of Computer Science.
<del> * All rights reserved.
<del> *
<del> * Redistribution and use in source and binary forms, with or without
<del> * modification, are permitted provided that the following co... | ||
JavaScript | agpl-3.0 | 45c0cc8e57c576bc04d0e82eb0d42a12d1e5353a | 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 | c81dab4c-2e62-11e5-9284-b827eb9e62be | helloWorld.js | c80b26ac-2e62-11e5-9284-b827eb9e62be | c81dab4c-2e62-11e5-9284-b827eb9e62be | helloWorld.js | c81dab4c-2e62-11e5-9284-b827eb9e62be | <ide><path>elloWorld.js
<del>c80b26ac-2e62-11e5-9284-b827eb9e62be
<add>c81dab4c-2e62-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 1e61e864fb62cc8082128c25f927eeca9ea76a32 | 0 | cailin186/RestExpress,RestExpress/RestExpress,jyx140521/RestExpress,jasonchaffee/RestExpress,jyx140521/RestExpress,jasonchaffee/RestExpress,RestExpress/RestExpress,cailin186/RestExpress | package org.restexpress;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.By... | core/test/java/org/restexpress/RestExpressServerTest.java | package org.restexpress;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.Header;
import org.apache.http.HttpEntity... | Adding in Tests to test RestExpress' ability to encode/decode compressed data.
| core/test/java/org/restexpress/RestExpressServerTest.java | Adding in Tests to test RestExpress' ability to encode/decode compressed data. | <ide><path>ore/test/java/org/restexpress/RestExpressServerTest.java
<ide> import static org.junit.Assert.assertNull;
<ide> import static org.junit.Assert.assertTrue;
<ide>
<add>import java.io.BufferedReader;
<add>import java.io.BufferedWriter;
<add>import java.io.ByteArrayInputStream;
<add>import java.io.ByteArrayOutp... | |
Java | apache-2.0 | 12c2f239d9cdb2210d37ee64e5fbb2537a001a37 | 0 | 3-Round-Stones/callimachus,Thellmann/callimachus,edwardsph/callimachus,jimmccusker/callimachus,jimmccusker/callimachus,Thellmann/callimachus,jimmccusker/callimachus,edwardsph/callimachus,3-Round-Stones/callimachus,3-Round-Stones/callimachus,3-Round-Stones/callimachus,jimmccusker/callimachus,Thellmann/callimachus,edward... | package org.callimachusproject.server;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.commons.codec.digest.DigestUtils;
import o... | test/org/callimachusproject/server/AuthenticationTest.java | package org.callimachusproject.server;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.commons.codec.digest.DigestUtils;
import o... | Use different ports for each test
| test/org/callimachusproject/server/AuthenticationTest.java | Use different ports for each test | <ide><path>est/org/callimachusproject/server/AuthenticationTest.java
<ide> import com.sun.jersey.api.client.filter.HTTPDigestAuthFilter;
<ide>
<ide> public class AuthenticationTest extends MetadataServerTestCase {
<del> private static final int PORT = 59322;
<del> private static final String ORIGIN = "http://localhost... | |
Java | apache-2.0 | 1478002bc6df550ad4beebfcc3659598510af39a | 0 | McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,codeaudit/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,nssales/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,je... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.math.rootfinding.newton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.opengamma.math.MathException;
import com.opengamma.math.differen... | projects/OG-Analytics/src/com/opengamma/math/rootfinding/newton/NewtonVectorRootFinder.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.math.rootfinding.newton;
import com.opengamma.math.MathException;
import com.opengamma.math.differentiation.VectorFieldFirstOrderDifferentiator;
import com.op... | Quieting down a noise error message and showing the detailed error in logging.
| projects/OG-Analytics/src/com/opengamma/math/rootfinding/newton/NewtonVectorRootFinder.java | Quieting down a noise error message and showing the detailed error in logging. | <ide><path>rojects/OG-Analytics/src/com/opengamma/math/rootfinding/newton/NewtonVectorRootFinder.java
<ide> * Please see distribution for license.
<ide> */
<ide> package com.opengamma.math.rootfinding.newton;
<add>
<add>import org.slf4j.Logger;
<add>import org.slf4j.LoggerFactory;
<ide>
<ide> import com.opengamma.ma... | |
Java | mit | 5487ab0ee6ea4ca5e050528f0325c4e6586e7edb | 0 | iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller... | package org.broadinstitute.sting.utils;
import cern.jet.math.Arithmetic;
/**
* MathUtils is a static class (no instantiation allowed!) with some useful math methods.
*
* @author Kiran Garimella
*/
public class MathUtils {
/** Private constructor. No instantiating this class! */
private MathUtils() {}
... | java/src/org/broadinstitute/sting/utils/MathUtils.java | package org.broadinstitute.sting.utils;
import cern.jet.math.Arithmetic;
/**
* MathUtils is a static class (no instantiation allowed!) with some useful math methods.
*
* @author Kiran Garimella
*/
public class MathUtils {
/** Private constructor. No instantiating this class! */
private MathUtils() {}
... | Added several useful routines to MathUtils for summing and bounds checking of doubles
git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@1379 348d0f76-0448-11de-a6fe-93d51630548a
| java/src/org/broadinstitute/sting/utils/MathUtils.java | Added several useful routines to MathUtils for summing and bounds checking of doubles | <ide><path>ava/src/org/broadinstitute/sting/utils/MathUtils.java
<ide> public class MathUtils {
<ide> /** Private constructor. No instantiating this class! */
<ide> private MathUtils() {}
<add>
<add> public static double sum(double[] values) {
<add> double s = 0.0;
<add> for ( double v : value... | |
Java | apache-2.0 | 285fc07c5a0439b008c53effcf62b3717e5c77ad | 0 | arbasha/commons-lang,MuShiiii/commons-lang,byMan/naya279,britter/commons-lang,lovecindy/commons-lang,PascalSchumacher/commons-lang,suntengteng/commons-lang,mohanaraosv/commons-lang,vanta/commons-lang,Ajeet-Ganga/commons-lang,suntengteng/commons-lang,jankill/commons-lang,apache/commons-lang,longestname1/commonslang,west... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/java/org/apache/commons/lang/Entities.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 ... | Applying optimisation from LANG-287. Thanks to Stepan Koltsov and Holger Hoffstatte.
git-svn-id: d201ecbade8cc7da50e7bffa1d709f7a0d92be7d@467467 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/commons/lang/Entities.java | Applying optimisation from LANG-287. Thanks to Stepan Koltsov and Holger Hoffstatte. | <ide><path>rc/java/org/apache/commons/lang/Entities.java
<ide> * @return A new escaped <code>String</code>.
<ide> */
<ide> public String unescape(String str) {
<add> int firstAmp = str.indexOf('&');
<add> if (firstAmp < 0) {
<add> return str;
<add> }
<add>
<ide> Str... | |
Java | apache-2.0 | 2f0c529420782c04a42cbeda128c900446047e38 | 0 | kevinjiang14/Wear_Where | package com.example.kevin.wear_where.AsyncTask;
import android.os.AsyncTask;
import android.support.annotation.Nullable;
import com.example.kevin.wear_where.WundergroundData.Geolookup.GeoLookupObject;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
im... | app/src/main/java/com/example/kevin/wear_where/AsyncTask/GeolookupAST.java | package com.example.kevin.wear_where.AsyncTask;
import android.os.AsyncTask;
import android.support.annotation.Nullable;
import com.example.kevin.wear_where.WundergroundData.Geolookup.GeoLookupObject;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
im... | Update GeolookupAST.java | app/src/main/java/com/example/kevin/wear_where/AsyncTask/GeolookupAST.java | Update GeolookupAST.java | <ide><path>pp/src/main/java/com/example/kevin/wear_where/AsyncTask/GeolookupAST.java
<ide> protected GeoLookupObject doInBackground(Void... params) {
<ide> GeoLookupObject geoLookupObject;
<ide>
<del> String geolookupLink = String.format("http://api.wunderground.com/api/ad52b6bffd967fae/geolookup/q/... | |
Java | apache-2.0 | 84c6fc93c89359d52fa9d011948c4bde0968e3d0 | 0 | inder123/json2java | /*
* Copyright (C) 2015 Inderjeet Singh
*
* 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... | src/main/java/com/singhinderjeet/json2java/ClassDefinition.java | /*
* Copyright (C) 2015 Inderjeet Singh
*
* 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... | avoiding duplication of fields
| src/main/java/com/singhinderjeet/json2java/ClassDefinition.java | avoiding duplication of fields | <ide><path>rc/main/java/com/singhinderjeet/json2java/ClassDefinition.java
<ide> }
<ide>
<ide> public void addField(ClassField classField) {
<del> fields.add(classField);
<add> if (!present(classField.getName())) fields.add(classField);
<ide> }
<ide>
<ide> public void addImport(String importedClass) { | |
Java | mit | ecba266a96b60b79702fbbbfab72cb66636fe701 | 0 | KeizerDev/Dumpert | package io.jari.dumpert.api;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import android.util.Log;
import org.apache.commons.io.IOUtils;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.... | Dumpert/src/main/java/io/jari/dumpert/api/Login.java | package io.jari.dumpert.api;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import android.util.Log;
import org.apache.commons.io.IOUtils;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.... | cleaned up redundant methods
| Dumpert/src/main/java/io/jari/dumpert/api/Login.java | cleaned up redundant methods | <ide><path>umpert/src/main/java/io/jari/dumpert/api/Login.java
<ide> */
<ide> private final String sendToURL = "http://registratie.geenstijl.nl/registratie/gs_engine.php?action=login";
<ide> private final String t = "666";
<del> private final String __mode = "handle_sign_in";
<del> private... | |
Java | lgpl-2.1 | 4abe76508bcd85706849b77a75969c08c5e669f7 | 0 | ivassile/wildfly-core,yersan/wildfly-core,luck3y/wildfly-core,JiriOndrusek/wildfly-core,luck3y/wildfly-core,soul2zimate/wildfly-core,aloubyansky/wildfly-core,ivassile/wildfly-core,jamezp/wildfly-core,jfdenise/wildfly-core,darranl/wildfly-core,luck3y/wildfly-core,jfdenise/wildfly-core,yersan/wildfly-core,bstansberry/wil... | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | logging/src/main/java/org/jboss/as/logging/deployments/resources/LoggingConfigurationReadStepHandler.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | [WFCORE-1088] Don't cache the logging configuration service as this could fail for composite operations.
| logging/src/main/java/org/jboss/as/logging/deployments/resources/LoggingConfigurationReadStepHandler.java | [WFCORE-1088] Don't cache the logging configuration service as this could fail for composite operations. | <ide><path>ogging/src/main/java/org/jboss/as/logging/deployments/resources/LoggingConfigurationReadStepHandler.java
<ide> * @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
<ide> */
<ide> abstract class LoggingConfigurationReadStepHandler implements OperationStepHandler {
<del> private static fina... | |
JavaScript | mit | 7f3299368544626d1c8d210c92fc48c8dbe976c4 | 0 | pridemusvaire/bootstrap-switch,wildKids/bootstrap-switch,mubassirhayat/bootstrap-switch,Bttstrp/bootstrap-switch,zpzgone/bootstrap-switch,marclaporte/bootstrap-switch,aamirchaudhary/bootstrap-switch,mubassirhayat/bootstrap-switch,liesislukas/bootstrap-switch,BdMdesigN/bootstrap-switch,yekg880809/bootstrap-switch,gatero... | !function ($) {
"use strict";
$.fn['switch'] = function (method) {
var methods = {
init:function () {
this.each(function () {
var $element = $(this)
, $div
, $switchLeft
, $switchRight
, $label
, myClasses = ""
... | static/js/jquery.switch.js | !function ($) {
"use strict";
$.fn.switch = function (method) {
var methods = {
init:function () {
this.each(function () {
var $element = $(this)
, $div
, $switchLeft
, $switchRight
, $label
, myClasses = ""
... | ie8 fix
| static/js/jquery.switch.js | ie8 fix | <ide><path>tatic/js/jquery.switch.js
<ide> !function ($) {
<ide> "use strict";
<ide>
<del> $.fn.switch = function (method) {
<add> $.fn['switch'] = function (method) {
<ide> var methods = {
<ide> init:function () {
<ide> this.each(function () {
<ide> }(jQuery);
<ide>
<ide> $(function () {
<del> ... | |
Java | apache-2.0 | e03054d49e9b5a8a149ba658692e8938f6023479 | 0 | gnodet/camel,nicolaferraro/camel,cunningt/camel,tadayosi/camel,christophd/camel,mcollovati/camel,pax95/camel,tadayosi/camel,tdiesler/camel,tadayosi/camel,apache/camel,tdiesler/camel,gnodet/camel,cunningt/camel,pmoerenhout/camel,pax95/camel,cunningt/camel,mcollovati/camel,pmoerenhout/camel,christophd/camel,tadayosi/came... | /*
* 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 ... | core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/DefaultServiceCallProcessor.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 ... | CAMEL-15669: Fixed camel-cloud may hang if service registry is empty during service call EIP.
| core/camel-cloud/src/main/java/org/apache/camel/impl/cloud/DefaultServiceCallProcessor.java | CAMEL-15669: Fixed camel-cloud may hang if service registry is empty during service call EIP. | <ide><path>ore/camel-cloud/src/main/java/org/apache/camel/impl/cloud/DefaultServiceCallProcessor.java
<ide> private final Expression expression;
<ide> private AsyncProcessor processor;
<ide>
<del> public DefaultServiceCallProcessor(
<del> CamelContext camelContext, Stri... | |
JavaScript | mit | 246285bcc9cb93ab200c000a55d5150b23939237 | 0 | BioInf-Wuerzburg/AliTV,BioInf-Wuerzburg/AliTV,AliTVTeam/AliTV,AliTVTeam/AliTV,BioInf-Wuerzburg/AliTV,BioInf-Wuerzburg/AliTV,BioInf-Wuerzburg/AliTV,BioInf-Wuerzburg/AliTV | describe('The getLinearSpacer method is supposed to get the information of the spacer between two karyos', function(){
var svg = $('<svg></svg>');
var ali = new AliTV(svg);
it('getLinearSpacer method is supposed to be a function', function(){
expect(typeof ali.getLinearSpacer).toEqual('function');
});
it('the... | d3/test/spec/test_getter_setter.js | describe('The getLinearSpacer method is supposed to get the information of the spacer between two karyos', function(){
var svg = $('<svg></svg>');
var ali = new AliTV(svg);
it('getLinearSpacer method is supposed to be a function', function(){
expect(typeof ali.getLinearSpacer).toEqual('function');
});
it('the... | added test for overwriting values with setConf - failing
| d3/test/spec/test_getter_setter.js | added test for overwriting values with setConf - failing | <ide><path>3/test/spec/test_getter_setter.js
<ide> ali.setConf({});
<ide> expect(ali.conf).toEqual(defaultConf);
<ide> });
<del>});
<add> it('setConf method should overwrite existing/conflicting conf value', function(){
<add> ali.setConf({linear: {drawAllLinks: true}});
<add> var confClone = jQuery.extend(true, ... | |
Java | apache-2.0 | af24242af913b63b29691251025d2aa54e3890bd | 0 | mike-tr-adamson/cassandra,mshuler/cassandra,blambov/cassandra,tjake/cassandra,apache/cassandra,instaclustr/cassandra,instaclustr/cassandra,mike-tr-adamson/cassandra,instaclustr/cassandra,apache/cassandra,blambov/cassandra,mshuler/cassandra,adelapena/cassandra,adelapena/cassandra,mshuler/cassandra,jrwest/cassandra,jrwes... | /*
* 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 ... | test/unit/org/apache/cassandra/tools/TopPartitionsTest.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 ... | Flaky org.apache.cassandra.tools TopPartitionsTest testServiceTopPartitionsSingleTable
patch by Berenguer Blasi; reviewed by Brandon Williams for CASSANDRA-17455
| test/unit/org/apache/cassandra/tools/TopPartitionsTest.java | Flaky org.apache.cassandra.tools TopPartitionsTest testServiceTopPartitionsSingleTable | <ide><path>est/unit/org/apache/cassandra/tools/TopPartitionsTest.java
<ide>
<ide> package org.apache.cassandra.tools;
<ide>
<del>import static java.lang.String.format;
<del>import static org.apache.cassandra.cql3.QueryProcessor.executeInternal;
<del>import static org.junit.Assert.assertEquals;
<del>
<ide> import java... | |
Java | apache-2.0 | error: pathspec 'src/test/org/apache/commons/math/analysis/SplineInterpolatorTest.java' did not match any file(s) known to git
| dff74f574898c0b2b31118b9d4864cc50d78d51e | 1 | apache/commons-math,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,sdinot/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,apache/commons-math | /*
*
* Copyright (c) 2004 The Apache Software Foundation. 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
*
*... | src/test/org/apache/commons/math/analysis/SplineInterpolatorTest.java | Initial commit. Replaces InterpolatorTest.
git-svn-id: ba027325f5cbd8d0def94cfab53a7170165593ea@141142 13f79535-47bb-0310-9956-ffa450edef68
| src/test/org/apache/commons/math/analysis/SplineInterpolatorTest.java | Initial commit. Replaces InterpolatorTest. | <ide><path>rc/test/org/apache/commons/math/analysis/SplineInterpolatorTest.java
<add>/*
<add> *
<add> * Copyright (c) 2004 The Apache Software Foundation. All rights reserved.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License"); you may not
<add> * use this file except in compliance with th... | |
Java | mpl-2.0 | a495d02c40e99a119d15c1943d519561d1f2f350 | 0 | BrightSpots/rcv | /*
* Universal RCV Tabulator
* Copyright (c) 2017-2019 Bright Spots Developers.
*
* 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... | src/main/java/network/brightspots/rcv/StreamingCVRReader.java | /*
* Universal RCV Tabulator
* Copyright (c) 2017-2019 Bright Spots Developers.
*
* 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... | fix for #299
| src/main/java/network/brightspots/rcv/StreamingCVRReader.java | fix for #299 | <ide><path>rc/main/java/network/brightspots/rcv/StreamingCVRReader.java
<ide> xmlReader.setContentHandler(handler);
<ide> // trigger parsing
<ide> xmlReader.parse(new InputSource(xssfReader.getSheetsData().next()));
<add> // close zip file
<add> pkg.close();
<ide>
<ide> // throw if there were any... | |
Java | apache-2.0 | e2bab9d040dfc1c20766c6207610abb0285c946e | 0 | facebook/buck,Addepar/buck,Addepar/buck,romanoid/buck,JoelMarcey/buck,nguyentruongtho/buck,facebook/buck,Addepar/buck,facebook/buck,nguyentruongtho/buck,Addepar/buck,zpao/buck,facebook/buck,kageiit/buck,zpao/buck,romanoid/buck,nguyentruongtho/buck,romanoid/buck,JoelMarcey/buck,romanoid/buck,Addepar/buck,romanoid/buck,r... | /*
* Copyright 2018-present Facebook, 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... | src/com/facebook/buck/remoteexecution/util/MerkleTreeNodeCache.java | /*
* Copyright 2018-present Facebook, 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... | Cache NodeData directly on the MerkleTreeNode
Summary:
We're currently holding a separate map to cache NodeData objects when
they are requested. That's silly, these are all internal data
structures let's just cache it directly on the MerkleTreeNode.
Since callers are caching the MerkleTreeNodes that they care about, ... | src/com/facebook/buck/remoteexecution/util/MerkleTreeNodeCache.java | Cache NodeData directly on the MerkleTreeNode | <ide><path>rc/com/facebook/buck/remoteexecution/util/MerkleTreeNodeCache.java
<ide> import java.util.Map;
<ide> import java.util.Map.Entry;
<ide> import java.util.Objects;
<del>import java.util.TreeMap;
<del>import java.util.concurrent.ConcurrentHashMap;
<ide> import java.util.function.BiConsumer;
<ide> import java.uti... | |
JavaScript | apache-2.0 | f5c801daf28731328c413bfcf078966ec21ac183 | 0 | google/site-kit-wp,google/site-kit-wp,google/site-kit-wp,google/site-kit-wp | /**
* User Input Settings tests.
*
* Site Kit by Google, Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0... | tests/e2e/specs/user-input-questions.test.js | /**
* User Input Settings tests.
*
* Site Kit by Google, Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0... | Fix e2e tests.
| tests/e2e/specs/user-input-questions.test.js | Fix e2e tests. | <ide><path>ests/e2e/specs/user-input-questions.test.js
<ide> 'enter keywords',
<ide> async () => {
<ide> await expect( page ).toClick( '.googlesitekit-user-input__buttons--next' );
<del> await expect( page ).toFill( '#searchTerms-keywords', 'One,Two,Three,' );
<add> await expect( page ).toFill( '#search... | |
JavaScript | bsd-3-clause | 999fad42bbce7b180ec59632327829a5b224f706 | 0 | yahoo/ypromise | /*
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
/*global describe, specify, it, expect, Promise*/
var dummy = {dummy: 'dummy'};
function isFulfilled(promise, done, callback) {
promise.then(function (value) {
setTimeout(function () {
... | tests/unit/assets/promise-tests.js | /*
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
var dummy = {dummy: 'dummy'};
function isFulfilled(promise, done, callback) {
promise.then(function (value) {
setTimeout(function () {
callback(value);
}, 0)
}, funct... | Cleanup tests
| tests/unit/assets/promise-tests.js | Cleanup tests | <ide><path>ests/unit/assets/promise-tests.js
<ide> Licensed under the BSD License.
<ide> http://yuilibrary.com/license/
<ide> */
<add>/*global describe, specify, it, expect, Promise*/
<ide> var dummy = {dummy: 'dummy'};
<ide>
<ide> function isFulfilled(promise, done, callback) {
<ide> promise.then(function (value)... | |
JavaScript | mit | 24a46109788a780ca07ec3cf045ddd1e01a74f92 | 0 | pose/auth0-password-strength-fork,adam2314/lock,cwilgenhoff/lock,adam2314/lock,adam2314/lock,rpdiss/lock,sandrinodimattia/lock,pose/auth0-password-strength-fork,sandrinodimattia/lock,rpdiss/lock,cwilgenhoff/lock,cwilgenhoff/lock,tehsis/lock,tehsis/lock,tehsis/lock,rpdiss/lock | /**
* Module dependencies.
*/
var _ = require('underscore');
var bind = require('../bind');
var regex = require('../regex');
var stop = require('../stop-event');
var $ = require('../bonzo-augmented');
var template = require('./signin.ejs');
var create = require('../object-create');
var Emitter = require('events').Ev... | lib/mode-signin/index.js | /**
* Module dependencies.
*/
var _ = require('underscore');
var bind = require('../bind');
var regex = require('../regex');
var stop = require('../stop-event');
var $ = require('../bonzo-augmented');
var template = require('./signin.ejs');
var create = require('../object-create');
var Emitter = require('events').Ev... | Not entering HRD in `username` mode. | lib/mode-signin/index.js | Not entering HRD in `username` mode. | <ide><path>ib/mode-signin/index.js
<ide> }
<ide>
<ide> // TODO Refactor
<del> if (adConnection) {
<add> if ('username' !== this.options.usernameStyle && adConnection) {
<ide> this.hrd = true;
<ide> this.currentADConnection = adConnection;
<ide> this.currentADConnectionDomain = emailDomain; | |
Java | mit | 18d0de722af08e97a87e3bb7954a9ad498f6fe52 | 0 | sunzsh/markdown-doc-server,sunzsh/markdown-doc-server,sunzsh/markdown-doc-server | package com.dhgh.mddoc.user;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import javax.servlet.http.HttpServletResponse;
import com.dhgh.mddoc.util.MDReader;
import com.dhgh.mddoc.util.ParseMD5;
... | src/main/java/com/dhgh/mddoc/user/User.java | package com.dhgh.mddoc.user;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import javax.servlet.http.HttpServletResponse;
import com.dhgh.mddoc.util.MDReader;
import com.dhgh.mddoc.util.ParseMD5;
... | 未登录时,获取用户信息空指针
| src/main/java/com/dhgh/mddoc/user/User.java | 未登录时,获取用户信息空指针 | <ide><path>rc/main/java/com/dhgh/mddoc/user/User.java
<ide> }
<ide>
<ide> public static boolean hasAuth(String requestProject, User user) {
<add> if (user == null) {
<add> return false;
<add> }
<ide> if (user.getAuths().length == 0) {
<ide> return false;
<ide> } | |
Java | apache-2.0 | de833ba339ee3eaeb663a3cfd42da2a5a0d6a768 | 0 | YoX89/LD32,YoX89/LD32,YoX89/LD32 | package com.yox89.ld32.actors;
import java.util.ArrayList;
import box2dLight.ConeLight;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Interpolation;
import ... | Game/core/src/com/yox89/ld32/actors/GhostActor.java | package com.yox89.ld32.actors;
import java.util.ArrayList;
import box2dLight.ConeLight;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.MathUtils;
import com.... | Added floating animation to ghosts
| Game/core/src/com/yox89/ld32/actors/GhostActor.java | Added floating animation to ghosts | <ide><path>ame/core/src/com/yox89/ld32/actors/GhostActor.java
<ide> import com.badlogic.gdx.graphics.Texture;
<ide> import com.badlogic.gdx.graphics.g2d.Batch;
<ide> import com.badlogic.gdx.graphics.g2d.TextureRegion;
<add>import com.badlogic.gdx.math.Interpolation;
<ide> import com.badlogic.gdx.math.MathUtils;
<ide> i... | |
Java | apache-2.0 | c24cd7315338bec5a9e13b28bfa212dfeb3651fb | 0 | Sivaramvt/Slice | package com.cognifide.slice.mapper.strategy;
/*-
* #%L
* Slice - Mapper
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2012 Cognifide Limited
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lic... | slice-mapper/src/main/java/com/cognifide/slice/mapper/strategy/MapperStrategyFactory.java | package com.cognifide.slice.mapper.strategy;
/*-
* #%L
* Slice - Mapper
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2012 Cognifide Limited
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lic... | refactoring
| slice-mapper/src/main/java/com/cognifide/slice/mapper/strategy/MapperStrategyFactory.java | refactoring | <ide><path>lice-mapper/src/main/java/com/cognifide/slice/mapper/strategy/MapperStrategyFactory.java
<ide> private final AnnotatedFieldMapperStrategy annotatedFieldMapperStrategy = new AnnotatedFieldMapperStrategy();
<ide>
<ide> /**
<del> * Map caching class mapping strategy. Used to reduce usage of reflection and e... | |
JavaScript | mit | 05ca9be0a418580b3c0e5c6c007456fedaf6f390 | 0 | QuickenLoans/lucidboard,QuickenLoans/lucidboard,afebbraro/lucidboard,afebbraro/lucidboard,QuickenLoans/lucidboard,afebbraro/lucidboard | /**
* Route Mappings
* (sails.config.routes)
*
* Your routes map URLs to views and controllers.
*
* If Sails receives a URL that doesn't match any of the routes below,
* it will check for matching files (images, scripts, stylesheets, etc.)
* in your assets directory. e.g. `http://localhost:1337/images/foo.jpg`... | config/routes.js | /**
* Route Mappings
* (sails.config.routes)
*
* Your routes map URLs to views and controllers.
*
* If Sails receives a URL that doesn't match any of the routes below,
* it will check for matching files (images, scripts, stylesheets, etc.)
* in your assets directory. e.g. `http://localhost:1337/images/foo.jpg`... | archived board load fix
| config/routes.js | archived board load fix | <ide><path>onfig/routes.js
<ide> 'GET /': jsapp,
<ide> 'GET /signin': jsapp,
<ide> 'GET /boards': jsapp,
<add> 'GET /archived-boards': jsapp,
<ide> 'GET /boards/:boardId': jsapp,
<ide>
<ide> // Board Export (CSV) | |
Java | agpl-3.0 | f10bdc6e690a513c8fb7b670f3babab4f17db3de | 0 | tdefilip/opennms,aihua/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,tdefilip/opennms,tdefilip/opennms,roskens/opennms-pre-githu... | /*
* This file is part of the OpenNMS(R) Application.
*
* OpenNMS(R) is Copyright (C) 2010 The OpenNMS Group, Inc. All rights reserved.
* OpenNMS(R) is a derivative work, containing both original code, included code and modified
* code that was published under the GNU General Public License. Copyrights for modifi... | integration-tests/src/test/java/org/opennms/netmgt/config/ServiceConfigurationPublicConstructorTest.java | /*
* This file is part of the OpenNMS(R) Application.
*
* OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved.
* OpenNMS(R) is a derivative work, containing both original code, included code and modified
* code that was published under the GNU General Public License. Copyrights for modifi... | Updated copyright info on one class.
| integration-tests/src/test/java/org/opennms/netmgt/config/ServiceConfigurationPublicConstructorTest.java | Updated copyright info on one class. | <ide><path>ntegration-tests/src/test/java/org/opennms/netmgt/config/ServiceConfigurationPublicConstructorTest.java
<ide> /*
<ide> * This file is part of the OpenNMS(R) Application.
<ide> *
<del> * OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved.
<add> * OpenNMS(R) is Copyright (C) 2010 T... | |
Java | apache-2.0 | bf483f801641686119b9d7f92c1c40f138b2882c | 0 | gagatust/nd4j,deeplearning4j/nd4j,ambraspace/nd4j,smarthi/nd4j,huitseeker/nd4j,drlebedev/nd4j,smarthi/nd4j,deeplearning4j/nd4j,ambraspace/nd4j,huitseeker/nd4j,gagatust/nd4j,drlebedev/nd4j | package org.nd4j.jita.allocator.context;
import jcuda.driver.CUcontext;
import jcuda.driver.CUdevice;
import jcuda.driver.CUresult;
import jcuda.driver.JCudaDriver;
import jcuda.jcublas.JCublas2;
import jcuda.jcublas.cublasHandle;
import jcuda.runtime.JCuda;
import jcuda.runtime.cudaStream_t;
import org.apache.commons... | nd4j-backends/nd4j-backend-impls/nd4j-cuda-7.5/src/main/java/org/nd4j/jita/allocator/context/ContextPool.java | package org.nd4j.jita.allocator.context;
import jcuda.driver.CUcontext;
import jcuda.driver.CUdevice;
import jcuda.driver.CUresult;
import jcuda.driver.JCudaDriver;
import jcuda.jcublas.JCublas2;
import jcuda.jcublas.cublasHandle;
import jcuda.runtime.JCuda;
import jcuda.runtime.cudaStream_t;
import org.apache.commons... | default num streams to 4
| nd4j-backends/nd4j-backend-impls/nd4j-cuda-7.5/src/main/java/org/nd4j/jita/allocator/context/ContextPool.java | default num streams to 4 | <ide><path>d4j-backends/nd4j-backend-impls/nd4j-cuda-7.5/src/main/java/org/nd4j/jita/allocator/context/ContextPool.java
<ide> */
<ide> public class ContextPool {
<ide> // TODO: number of max threads should be device-dependant
<del> private static final int MAX_STREAMS_PER_DEVICE = 1;
<add> private static fin... | |
Java | agpl-3.0 | 41ebb560c92f707561f35d4fb73aec9277fa53d9 | 0 | kazssym/hugdon-bds-plugin | /*
* BDSInstallation
* Copyright (C) 2014 Kaz Nishimura
*
* 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.
... | src/main/java/org/vx68k/jenkins/plugin/bds/BDSInstallation.java | /*
* BDSInstallation
* Copyright (C) 2014 Kaz Nishimura
*
* 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.
... | Corrected the name of the batch file.
--HG--
branch : feature/read-rsvars
| src/main/java/org/vx68k/jenkins/plugin/bds/BDSInstallation.java | Corrected the name of the batch file. | <ide><path>rc/main/java/org/vx68k/jenkins/plugin/bds/BDSInstallation.java
<ide> "Not a RAD Studio installation directory.";
<ide>
<ide> private static final String BIN_DIRECTORY_NAME = "bin";
<del> private static final String BATCH_FILE_NAME = "rsbars.bat";
<add> private static final String BATCH... | |
Java | mit | 7ce95c6037ee198709f7bf19ee48a58aca882f24 | 0 | zmaster587/AdvancedRocketry,zmaster587/AdvancedRocketry | package zmaster587.advancedRocketry.tile.multiblock;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import ... | src/main/java/zmaster587/advancedRocketry/tile/multiblock/TileAstrobodyDataProcessor.java | package zmaster587.advancedRocketry.tile.multiblock;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import ... | Updated ABDP, prevents #423
| src/main/java/zmaster587/advancedRocketry/tile/multiblock/TileAstrobodyDataProcessor.java | Updated ABDP, prevents #423 | <ide><path>rc/main/java/zmaster587/advancedRocketry/tile/multiblock/TileAstrobodyDataProcessor.java
<ide> dataCables = new TileDataBus[3];
<ide> powerPerTick = 100;
<ide> massProgress = distanceProgress = atmosphereProgress = -1;
<del> inventory = new EmbeddedInventory(3);
<add> inventory = new EmbeddedInventor... | |
Java | apache-2.0 | e1949cad22a0223cc31c8374ac8b741989a648c3 | 0 | ppavlidis/baseCode,ppavlidis/baseCode | /*
* The baseCode project
*
* Copyright (c) 2006 University of British Columbia
*
* 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/ubic/basecode/gui/JMatrixDisplay.java | /*
* The baseCode project
*
* Copyright (c) 2006 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | added adjustments to allow HTML to coexist with matrix image on a page.
| src/ubic/basecode/gui/JMatrixDisplay.java | added adjustments to allow HTML to coexist with matrix image on a page. | <ide><path>rc/ubic/basecode/gui/JMatrixDisplay.java
<ide> import java.io.File;
<ide> import java.io.IOException;
<ide> import java.io.OutputStream;
<del>import java.util.HashMap;
<del>import java.util.Map;
<ide>
<ide> import javax.imageio.ImageIO;
<ide> import javax.swing.JPanel;
<ide>
<add>import org.apache.commons.... | |
JavaScript | mit | e94d2e46520577db39b232d65dec596cc09f98c6 | 0 | knownasilya/pagination-pager,knownasilya/pagination-pager | import Ember from 'ember';
var computed = Ember.computed;
var alias = computed.alias;
export default Ember.Component.extend({
tagName: 'ul',
classNameBindings: ['pager:pager:pagination', 'isHidden:hidden', 'paginationSizeClass'],
pager: false,
hide: false,
pagerNext: 'Next',
pagerPrevious: 'Previous',
p... | addon/components/pagination-pager.js | import Ember from 'ember';
var computed = Ember.computed;
var alias = computed.alias;
export default Ember.Component.extend({
tagName: 'ul',
classNameBindings: ['pager:pager:pagination', 'isHidden:hidden', 'paginationSizeClass'],
pager: false,
hide: false,
pagerNext: 'Next',
pagerPrevious: 'Previous',
p... | Remove unused variable references
| addon/components/pagination-pager.js | Remove unused variable references | <ide><path>ddon/components/pagination-pager.js
<ide>
<ide> firstUrl: computed('urlTemplate', 'current', 'firstPage', function () {
<ide> var urlTemplate = this.get('urlTemplate');
<del> var current = this.get('current');
<ide> var firstPage = this.get('firstPage');
<ide>
<ide> urlTemplate = urlTempla... | |
Java | mit | 6ee29b280c24330e81b95e00ec9dba282087bf62 | 0 | zsak1/BCmd | package net.textr.cmd;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.Play... | BCmd/BCmd/src/net/textr/cmd/Core.java | package net.textr.cmd;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.Play... | Update Core.java | BCmd/BCmd/src/net/textr/cmd/Core.java | Update Core.java | <ide><path>Cmd/BCmd/src/net/textr/cmd/Core.java
<ide> return;
<ide> }
<ide> Player p = event.getPlayer();
<del> p.sendTitle(getConfig().getString("UnCommand.linia1").replaceAll("&", "").replaceAll("/command/", cmd), getConfig().getString("UnCommand.linia2").replaceAll("&", ""));
<add> p.sendTitle(... | |
Java | mit | eab94249941b3a80a3e1e71e6ccc92a24f33d50f | 0 | Tapad/tapad-android-sdk | package com.tapad.tracking;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.preference.PreferenceManager;
import android.provider.Settings;
import com.tapad.util.Logging;
import java.math.BigInteger;
import java.security.MessageDigest... | event-tracking/src/main/java/com/tapad/tracking/Tracking.java | package com.tapad.tracking;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.preference.PreferenceManager;
import android.provider.Settings;
import com.tapad.util.Logging;
import java.math.BigInteger;
import java.security.MessageDigest... | Switch first-run event to "first-run" to differentiate it from the Android Vendor referral event
| event-tracking/src/main/java/com/tapad/tracking/Tracking.java | Switch first-run event to "first-run" to differentiate it from the Android Vendor referral event | <ide><path>vent-tracking/src/main/java/com/tapad/tracking/Tracking.java
<ide> service = new TrackingServiceImpl(new EventDispatcher(new EventResource(appId, deviceIdLocator)));
<ide>
<ide> if (firstRun) {
<del> service.onEvent("install");
<add> serv... | |
Java | mit | 66ea08b7850ed66e3a357ed654578e5aad1a741a | 0 | CruGlobal/android-gto-support,CruGlobal/android-gto-support,GlobalTechnology/android-gto-support | gto-support-core/src/main/java/org/ccci/gto/android/common/util/SharedPreferencesCompat.java | package org.ccci.gto.android.common.util;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
/**
* @deprecated Since v0.9.0, this class currently doesn't provide any necessary backwards compatible functionality
*/
@Deprecated
public class SharedPreferencesCompat {
/**
* @d... | remove old Deprecated compat code
| gto-support-core/src/main/java/org/ccci/gto/android/common/util/SharedPreferencesCompat.java | remove old Deprecated compat code | <ide><path>to-support-core/src/main/java/org/ccci/gto/android/common/util/SharedPreferencesCompat.java
<del>package org.ccci.gto.android.common.util;
<del>
<del>import android.content.SharedPreferences;
<del>import android.support.annotation.NonNull;
<del>
<del>/**
<del> * @deprecated Since v0.9.0, this class currently... | ||
JavaScript | mit | 973959b0564e1c3898313741181dfd9a3a830230 | 0 | slap-editor/slap,alicesypark/slap,deltreey/slap,freakynit/slap,mjurczyk/slap,dbkaplun/slap,pkdevbox/slap,dbkaplun/slap,alicesypark/slap,pkdevbox/slap,mjurczyk/slap,freakynit/slap,deltreey/slap,slap-editor/slap | var path = require('path');
var winston = require('winston');
var fs = require('fs');
var packageName = require('../package').name;
function logger (opts) {
var logFile = path.join(opts.dir || '.', opts.filename || packageName + '.log');
logger.stream = fs.createWriteStream(logFile, {flags: 'a'});
var winstonLo... | lib/logger.js | var path = require('path');
var winston = require('winston');
var fs = require('fs');
var packageName = require('../package').name;
function logger (opts) {
var logFile = path.join(opts.dir || '.', opts.filename || packageName + '.log');
logger.stream = fs.createWriteStream(logFile);
var winstonLogger = new win... | Fixes logfile truncation
| lib/logger.js | Fixes logfile truncation | <ide><path>ib/logger.js
<ide>
<ide> function logger (opts) {
<ide> var logFile = path.join(opts.dir || '.', opts.filename || packageName + '.log');
<del> logger.stream = fs.createWriteStream(logFile);
<add> logger.stream = fs.createWriteStream(logFile, {flags: 'a'});
<ide> var winstonLogger = new winston.Logger(... | |
Java | apache-2.0 | 1e15da9e4f37915a488bf240915c8596b2861f19 | 0 | servicefabric/servicefabric,scalecube/scalecube,scalecube/scalecube | package io.scalecube.gateway;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.epoll.EpollEventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.util.concurrent.Future;
import io.scalecube.services.gateway.Gateway;
import io.scalecube.services.gateway.GatewayConfig;
import java.n... | src/main/java/io/scalecube/gateway/GatewayTemplate.java | package io.scalecube.gateway;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.epoll.EpollEventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.util.concurrent.Future;
import io.scalecube.services.gateway.Gateway;
import io.scalecube.services.gateway.GatewayConfig;
import java.u... | Use addressSupplier instead of .host().port() for gateway server
| src/main/java/io/scalecube/gateway/GatewayTemplate.java | Use addressSupplier instead of .host().port() for gateway server | <ide><path>rc/main/java/io/scalecube/gateway/GatewayTemplate.java
<ide> import io.netty.util.concurrent.Future;
<ide> import io.scalecube.services.gateway.Gateway;
<ide> import io.scalecube.services.gateway.GatewayConfig;
<add>import java.net.InetSocketAddress;
<ide> import java.util.Optional;
<ide> import java.util.co... | |
JavaScript | mit | bc7c5d7da56dfd446866c1ed9275aef2abe4710b | 0 | GerHobbelt/CodeMirror2,GerHobbelt/CodeMirror2 | /*
LESS mode - http://www.lesscss.org/
Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>
Report bugs/issues here: https://github.com/marijnh/CodeMirror/issues
GitHub: @peterkroon
*/
CodeMirror.defineMode("less", function(config) {
var indentUnit = config.indentUnit, type;
function ret(style, tp) {ty... | mode/less/less.js | /*
LESS mode - http://www.lesscss.org/
Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>
Report bugs/issues here: https://github.com/marijnh/CodeMirror/issues
GitHub: @peterkroon
*/
CodeMirror.defineMode("less", function(config) {
var indentUnit = config.indentUnit, type;
function ret(style, tp) {ty... | Update less.js
Fix font-family | mode/less/less.js | Update less.js | <ide><path>ode/less/less.js
<ide> }
<ide> else if (/[,+<>*\/]/.test(ch)) {
<ide> if(stream.peek() == "=" || type == "a")return ret("string", "string");
<del> if(ch === ",")return ret(null, ch);
<add> if(ch === ",")return ret(null, ch);
<ide> return ret(null, "select-op");
<ide> }
<ide> ... | |
Java | apache-2.0 | 3421658de7beabf04d6825582214f42ffb78b91b | 0 | cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | modules/gui/src/com/haulmont/cuba/gui/components/Table.java | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Add JavaDoc for Table getAggregationResults method #2507
| modules/gui/src/com/haulmont/cuba/gui/components/Table.java | Add JavaDoc for Table getAggregationResults method #2507 | <ide><path>odules/gui/src/com/haulmont/cuba/gui/components/Table.java
<ide> */
<ide> void removeColumn(Column<E> column);
<ide>
<add> /**
<add> * Returns a map with aggregation results, where keys are table column ids and values are aggregation values.
<add> *
<add> * @return map with aggregati... | |
JavaScript | mit | c489f2d554631d7d9bad92152b62ed85793898f9 | 0 | jrauschenbusch/builder,alexisvincent/builder,jrauschenbusch/builder,alexisvincent/builder,jrauschenbusch/builder,systemjs/builder,alexisvincent/builder,systemjs/builder,systemjs/builder | var getCanonicalName = require('./utils').getCanonicalName;
var glob = require('glob');
var toFileURL = require('./utils').toFileURL;
var fromFileURL = require('./utils').fromFileURL;
var asp = require('bluebird').promisify;
var fs = require('fs');
var path = require('path');
var extend = require('./utils').extend;
var... | lib/trace.js | var getCanonicalName = require('./utils').getCanonicalName;
var glob = require('glob');
var toFileURL = require('./utils').toFileURL;
var fromFileURL = require('./utils').fromFileURL;
var asp = require('bluebird').promisify;
var fs = require('fs');
var path = require('path');
var extend = require('./utils').extend;
var... | tracing adjustments
| lib/trace.js | tracing adjustments | <ide><path>ib/trace.js
<ide> var metadata = {};
<ide> return Promise.resolve(loader.locate({ name: normalized.replace(interpolationRegEx, '*'), metadata: metadata }))
<ide> .then(function(address) {
<del> if (address.substr(0, 8) != 'file:///')
<add> if (address.substr(0, 8) != 'file:///... | |
Java | apache-2.0 | bc7500a368bfa2cd7a0433a8a24b29744fa4136e | 0 | apache/empire-db,apache/empire-db,apache/empire-db,apache/empire-db | /*
* 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")... | core/Empire-db/src/org/apache/empire/db/DBDatabaseDriver.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")... | EMPIREDB-6
git-svn-id: d3ba8792a8580bc76a260f900e9491be905fbfad@691333 13f79535-47bb-0310-9956-ffa450edef68
| core/Empire-db/src/org/apache/empire/db/DBDatabaseDriver.java | EMPIREDB-6 | <ide><path>ore/Empire-db/src/org/apache/empire/db/DBDatabaseDriver.java
<ide> // Illegal name chars and reserved SQL keywords
<ide> private static final char[] illegalNameChars = new char[] { '@', '?', '>', '=', '<', ';', ':',
<ide> '/', '... | |
Java | apache-2.0 | a61af5b0a208feb956a1b6708a119282b97dfc7b | 0 | tombujok/hazelcast,tufangorel/hazelcast,juanavelez/hazelcast,dbrimley/hazelcast,Donnerbart/hazelcast,emre-aydin/hazelcast,dsukhoroslov/hazelcast,mdogan/hazelcast,emre-aydin/hazelcast,tombujok/hazelcast,emrahkocaman/hazelcast,dsukhoroslov/hazelcast,tufangorel/hazelcast,Donnerbart/hazelcast,tkountis/hazelcast,tkountis/ha... | package com.hazelcast.map;
import com.hazelcast.config.Config;
import com.hazelcast.config.MapConfig;
import com.hazelcast.config.MapIndexConfig;
import com.hazelcast.config.MapStoreConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.core.MapLoader;
import com.haze... | hazelcast/src/test/java/com/hazelcast/map/MapIndexBackupTest.java | package com.hazelcast.map;
import com.hazelcast.config.Config;
import com.hazelcast.config.MapConfig;
import com.hazelcast.config.MapIndexConfig;
import com.hazelcast.config.MapStoreConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.core.MapLoader;
import com.haze... | Used getConfig instead of new Config to make MapIndexBackupTest extensible
| hazelcast/src/test/java/com/hazelcast/map/MapIndexBackupTest.java | Used getConfig instead of new Config to make MapIndexBackupTest extensible | <ide><path>azelcast/src/test/java/com/hazelcast/map/MapIndexBackupTest.java
<ide> Set<Object> foundByPredicate = new TreeSet<Object>(
<ide> bookMap.localKeySet(
<ide> Predicates.and(
<del> Predicates.in("author", "0", "1", "2", "3", "4", "5", "6... | |
Java | apache-2.0 | 5e52acc3ab35c0a81ecf736e051c12585128e4d6 | 0 | mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License a... | indexers/src/main/java/org/mousephenotype/cda/indexers/StatisticalResultsIndexer.java | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License a... | add Gross Pathology manual results to the generate list
| indexers/src/main/java/org/mousephenotype/cda/indexers/StatisticalResultsIndexer.java | add Gross Pathology manual results to the generate list | <ide><path>ndexers/src/main/java/org/mousephenotype/cda/indexers/StatisticalResultsIndexer.java
<ide> getUnidimensionalResults(),
<ide> getCategoricalResults(),
<ide> getEmbryoViabilityResults(),
<del> getEmbryoResults()
<add> getEmbryoResults(),
<add> getGrossPathologyResults()
<ide> );
<ide>
... | |
Java | apache-2.0 | 080dd1f020feb106b3aae650ef8cb792fd72a170 | 0 | redisson/redisson,jackygurui/redisson,mrniko/redisson | /**
* Copyright 2016 Nikita Koksharov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | redisson/src/main/java/org/redisson/RedissonMapCache.java | /**
* Copyright 2016 Nikita Koksharov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | refactoring
| redisson/src/main/java/org/redisson/RedissonMapCache.java | refactoring | <ide><path>edisson/src/main/java/org/redisson/RedissonMapCache.java
<ide> params.toArray());
<ide> }
<ide>
<add> private Boolean isWindows;
<add>
<ide> @Override
<ide> public int addListener(final MapEntryListener listener) {
<ide> if (listener == null) {
<ide> throw ... | |
Java | apache-2.0 | 4b88d2cc345f9059637a04771855abf55ca4dc8f | 0 | josemduarte/mmtf-java,rcsb/mmtf-java,pwrose/mmtf-java | package org.rcsb.mmtf.postupdatetests;
import java.io.IOException;
import org.biojava.nbio.structure.Structure;
import org.biojava.nbio.structure.StructureException;
import org.biojava.nbio.structure.StructureIO;
import org.biojava.nbio.structure.align.util.AtomCache;
import org.biojava.nbio.structure.io.FileParsingP... | mmtf-update/src/main/java/org/rcsb/mmtf/postupdatetests/CheckServer.java | package org.rcsb.mmtf.postupdatetests;
import java.io.IOException;
import org.biojava.nbio.structure.Structure;
import org.biojava.nbio.structure.StructureException;
import org.biojava.nbio.structure.StructureIO;
import org.biojava.nbio.structure.io.FileParsingParameters;
import org.biojava.nbio.structure.io.mmtf.Par... | bug fix
| mmtf-update/src/main/java/org/rcsb/mmtf/postupdatetests/CheckServer.java | bug fix | <ide><path>mtf-update/src/main/java/org/rcsb/mmtf/postupdatetests/CheckServer.java
<ide> import org.biojava.nbio.structure.Structure;
<ide> import org.biojava.nbio.structure.StructureException;
<ide> import org.biojava.nbio.structure.StructureIO;
<add>import org.biojava.nbio.structure.align.util.AtomCache;
<ide> import... | |
Java | apache-2.0 | ce4491da6186331721ea35c1df7bab1b709ebbe2 | 0 | jsHybugger/cordova-plugin-jshybugger,jsHybugger/cordova-plugin-jshybugger | /*
* Copyright 2013 Wolfgang Flohr-Hochbichler (info@jshybugger.org)
*
* 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/android/org/jshybugger/cordova/JsHybuggerPlugin.java | /*
* Copyright 2013 Wolfgang Flohr-Hochbichler (info@jshybugger.org)
*
* 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... | remapUri() - example implementation added
| src/android/org/jshybugger/cordova/JsHybuggerPlugin.java | remapUri() - example implementation added | <ide><path>rc/android/org/jshybugger/cordova/JsHybuggerPlugin.java
<ide>
<ide> @Override
<ide> public Uri remapUri(Uri uri) {
<del> return Uri.parse(dbgClient.getDebugUrl(uri.toString()));
<add>
<add> String path = uri != null ? uri.getPath() : null;
<add>
<add> // only remote JS and HTML resources must be load... | |
Java | apache-2.0 | dfed25f1b42646336238e77106ed7a4a6daa3619 | 0 | monetate/closure-compiler,ChadKillingsworth/closure-compiler,google/closure-compiler,tiobe/closure-compiler,anomaly/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,tiobe/closure-compiler,shantanusharma/closure-compiler,brad4d/closure-compiler,GerHobbelt/closure-compiler,anomaly/closure-compi... | /*
* Copyright 2009 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | src/com/google/javascript/jscomp/CommandLineRunner.java | /*
* Copyright 2009 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Add --continue_after_errors as command line runner option
This is so Chrome can fully remove it's custom runner, which currently calls setContinueAfterErrors(true) directly from Java.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144396660
| src/com/google/javascript/jscomp/CommandLineRunner.java | Add --continue_after_errors as command line runner option | <ide><path>rc/com/google/javascript/jscomp/CommandLineRunner.java
<ide> handler = BooleanOptionHandler.class,
<ide> usage = "Don't generate output. Run checks, but no optimization passes.")
<ide> private boolean checksOnly = false;
<add>
<add> @Option(name = "--continue_after_errors",
<add> ... | |
Java | apache-2.0 | ad7a71139436082c699a829a2244755e8d79125f | 0 | awslabs/ec2-spot-jenkins-plugin,awslabs/ec2-spot-jenkins-plugin | package com.amazon.jenkins.ec2fleet.cloud;
import com.amazon.jenkins.ec2fleet.EC2FleetCloud;
import hudson.Extension;
import hudson.Util;
import hudson.model.Computer;
import hudson.model.Descriptor;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.slaves.ComputerLauncher;
import hudson.slaves.Epheme... | src/main/java/com/amazon/jenkins/ec2fleet/cloud/FleetNode.java | package com.amazon.jenkins.ec2fleet.cloud;
import com.amazon.jenkins.ec2fleet.EC2FleetCloud;
import hudson.Extension;
import hudson.Util;
import hudson.model.Computer;
import hudson.model.Descriptor;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.slaves.ComputerLauncher;
import hudson.slaves.Epheme... | a DataBoundContructor doesn’t make sense here
as this Node isn’t designed for being configured as a standalone Computer | src/main/java/com/amazon/jenkins/ec2fleet/cloud/FleetNode.java | a DataBoundContructor doesn’t make sense here as this Node isn’t designed for being configured as a standalone Computer | <ide><path>rc/main/java/com/amazon/jenkins/ec2fleet/cloud/FleetNode.java
<ide> private final String cloudName;
<ide>
<ide> public FleetNode(final String name, final String nodeDescription, final String remoteFS, final String numExecutors, final Mode mode, final String label,
<del> final Lis... | |
Java | apache-2.0 | b5a3102d12d4d5a704acade43a621016b04416cb | 0 | google/flogger,google/flogger | /*
* Copyright (C) 2020 The Flogger Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | api/src/main/java/com/google/common/flogger/context/NoOpContextDataProvider.java | /*
* Copyright (C) 2020 The Flogger Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Add "addMetadata()" overload to the no-op provider to ensure warnings are issued as expected.
RELNOTES=n/a
PiperOrigin-RevId: 384698369
| api/src/main/java/com/google/common/flogger/context/NoOpContextDataProvider.java | Add "addMetadata()" overload to the no-op provider to ensure warnings are issued as expected. | <ide><path>pi/src/main/java/com/google/common/flogger/context/NoOpContextDataProvider.java
<ide>
<ide> package com.google.common.flogger.context;
<ide>
<add>
<ide> import com.google.common.flogger.FluentLogger;
<add>import com.google.common.flogger.MetadataKey;
<ide> import com.google.common.flogger.StackSize;
<ide> ... | |
JavaScript | agpl-3.0 | b13f3b8adae9d452818af32c09b8d29167fba4db | 0 | jmoenig/Snap--Build-Your-Own-Blocks,jmoenig/Snap--Build-Your-Own-Blocks | /*
gui.js
a programming environment
based on morphic.js, blocks.js, threads.js and objects.js
inspired by Scratch
written by Jens Mönig
jens@moenig.org
Copyright (C) 2020 by Jens Mönig
This file is part of Snap!.
Snap! is free software: you can redistribute it and/or modify
... | src/gui.js | /*
gui.js
a programming environment
based on morphic.js, blocks.js, threads.js and objects.js
inspired by Scratch
written by Jens Mönig
jens@moenig.org
Copyright (C) 2020 by Jens Mönig
This file is part of Snap!.
Snap! is free software: you can redistribute it and/or modify
... | migrated warn-about-IE dialog
| src/gui.js | migrated warn-about-IE dialog | <ide><path>rc/gui.js
<ide> dlg.labelString = "Internet Explorer";
<ide> dlg.createLabel();
<ide> dlg.addBody(txt);
<del> dlg.drawNew();
<ide> dlg.fixLayout();
<ide> dlg.popUp(this.world());
<ide> } | |
Java | mit | d3dbae90ad314ff4cc9a41733904783a950a50a1 | 0 | Bammerbom/UltimateCore | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* 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, includi... | src/main/java/bammerbom/ultimatecore/sponge/modules/weather/WeatherModule.java | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* 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, includi... | Register weather command
| src/main/java/bammerbom/ultimatecore/sponge/modules/weather/WeatherModule.java | Register weather command | <ide><path>rc/main/java/bammerbom/ultimatecore/sponge/modules/weather/WeatherModule.java
<ide> */
<ide> package bammerbom.ultimatecore.sponge.modules.weather;
<ide>
<add>import bammerbom.ultimatecore.sponge.UltimateCore;
<ide> import bammerbom.ultimatecore.sponge.api.module.Module;
<ide> import bammerbom.ultimatecore... | |
JavaScript | mit | cd497cf24cac3cab03adc8cdfb579983ec28035e | 0 | cdonohue/caffeinate | const { app, Tray } = require("electron");
const { exec, spawn } = require("child_process");
let trayIcon,
caffeinateProcess;
app.on("ready", () => {
let isActive = false;
trayIcon = new Tray(`${__dirname}/images/CupTemplate.png`);
trayIcon.on("click", () => {
isActive = !isActive;
if (isActive) {... | main.js | const { app, Tray } = require("electron");
const { spawn } = require("child_process");
const path = require("path");
const terminate = require("terminate");
let trayIcon,
caffeinateProcess;
app.on("ready", () => {
let isActive = false;
trayIcon = new Tray(`${__dirname}/images/CupTemplate.png`);
trayIcon.o... | clean up
| main.js | clean up | <ide><path>ain.js
<ide> const { app, Tray } = require("electron");
<del>const { spawn } = require("child_process");
<del>const path = require("path");
<del>const terminate = require("terminate");
<add>const { exec, spawn } = require("child_process");
<ide>
<ide> let trayIcon,
<ide> caffeinateProcess;
<ide> isA... | |
Java | apache-2.0 | ddf53c9ffd15692035d71a5d5d43e514c69cef14 | 0 | klopfdreh/wicket,mafulafunk/wicket,AlienQueen/wicket,astrapi69/wicket,freiheit-com/wicket,AlienQueen/wicket,freiheit-com/wicket,selckin/wicket,mosoft521/wicket,dashorst/wicket,AlienQueen/wicket,topicusonderwijs/wicket,selckin/wicket,aldaris/wicket,freiheit-com/wicket,dashorst/wicket,astrapi69/wicket,apache/wicket,mosof... | package org.apache.wicket.bean.validation;
import java.util.ArrayList;
import org.apache.wicket.model.LoadableDetachableModel;
import org.apache.wicket.util.reference.ClassReference;
/**
* A model that can hold on to an array of classes. Useful for keeping a definition of validation
* groups to be used to restrict... | wicket-experimental/wicket-bean-validation/src/main/java/org/apache/wicket/bean/validation/GroupsModel.java | package org.apache.wicket.bean.validation;
import java.util.ArrayList;
import org.apache.wicket.model.LoadableDetachableModel;
import org.apache.wicket.util.reference.ClassReference;
/**
* A model that can hold on to an array of classes. Useful for keeping a definition of validation
* groups to be used to restrict... | Minor improvements - make member fields 'final'.
| wicket-experimental/wicket-bean-validation/src/main/java/org/apache/wicket/bean/validation/GroupsModel.java | Minor improvements - make member fields 'final'. | <ide><path>icket-experimental/wicket-bean-validation/src/main/java/org/apache/wicket/bean/validation/GroupsModel.java
<ide> */
<ide> public class GroupsModel extends LoadableDetachableModel<Class<?>[]>
<ide> {
<del> private static Class<?>[] EMPTY = new Class<?>[0];
<add> private static final Class<?>[] EMPTY = new Cl... | |
Java | mit | abb08ddb4d688a09d1b8e367655ab716e915eb54 | 0 | raverkamp/plsql-parser | package spinat.plsqlparser;
public class T4<A, B, C, D> {
public final A f1;
public final B f2;
public final C f3;
public final D f4;
public T4(A f1, B f2, C f3, D f4) {
this.f1 = f1;
this.f2 = f2;
this.f3 = f3;
this.f4 = f4;
}
@Override
public String ... | src/spinat/plsqlparser/T4.java | package spinat.plsqlparser;
public class T4<A, B, C, D> {
public final A f1;
public final B f2;
public final C f3;
public final D f4;
public T4(A f1, B f2, C f3, D f4) {
this.f1 = f1;
this.f2 = f2;
this.f3 = f3;
this.f4 = f4;
}
@Override
public String ... | fix toString
| src/spinat/plsqlparser/T4.java | fix toString | <ide><path>rc/spinat/plsqlparser/T4.java
<ide>
<ide> @Override
<ide> public String toString() {
<del> return "<" + this.f1 + ", " + this.f2 + ", " + this.f3 + ">";
<add> return "<" + this.f1 + ", " + this.f2 + ", " + this.f3 + ", " + this.f4 + ">";
<ide> }
<ide> } | |
Java | mit | error: pathspec 'src/main/java/tgm/hit/rtn/dlock/RequestHandlers/ByeRequestHandler.java' did not match any file(s) known to git
| 05e035cb4f8baf321266c7f0fa40211765a4f236 | 1 | aayvazyan-tgm/dLock,jklepp-tgm/dLock | package tgm.hit.rtn.dlock.RequestHandlers;
import tgm.hit.rtn.dlock.Peer;
import tgm.hit.rtn.dlock.PeerManager;
import tgm.hit.rtn.dlock.UDPLockServer.ThreadedConnection;
import tgm.hit.rtn.dlock.protocol.requests.Bye;
import tgm.hit.rtn.dlock.protocol.requests.Request;
/**
* @author Ari Michael Ayvazyan
* @version... | src/main/java/tgm/hit/rtn/dlock/RequestHandlers/ByeRequestHandler.java | initial commit
| src/main/java/tgm/hit/rtn/dlock/RequestHandlers/ByeRequestHandler.java | initial commit | <ide><path>rc/main/java/tgm/hit/rtn/dlock/RequestHandlers/ByeRequestHandler.java
<add>package tgm.hit.rtn.dlock.RequestHandlers;
<add>
<add>import tgm.hit.rtn.dlock.Peer;
<add>import tgm.hit.rtn.dlock.PeerManager;
<add>import tgm.hit.rtn.dlock.UDPLockServer.ThreadedConnection;
<add>import tgm.hit.rtn.dlock.protocol.req... | |
Java | mit | 4411b0ffaa34aede5c42ad3cbc401b63db40a371 | 0 | mfietz/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod,mfietz/AntennaPod,mfietz/AntennaPod,johnjohndoe/AntennaPod | package de.danoeh.antennapod.core.service;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v4.app.JobIntentService;
import android.... | core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java | package de.danoeh.antennapod.core.service;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v4.app.JobIntentService;
import android.... | Fix possible missing sync calls
| core/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java | Fix possible missing sync calls | <ide><path>ore/src/main/java/de/danoeh/antennapod/core/service/GpodnetSyncService.java
<ide> private static final String ACTION_SYNC_SUBSCRIPTIONS = "de.danoeh.antennapod.intent.action.sync_subscriptions";
<ide> private static final String ACTION_SYNC_ACTIONS = "de.danoeh.antennapod.intent.action.sync_ACTIONS";... | |
JavaScript | apache-2.0 | 351db783d27c01a931477503bb60d9cac017eca8 | 0 | dainst/arachnefrontend,dainst/arachnefrontend,codarchlab/arachnefrontend,codarchlab/arachnefrontend | 'use strict';
angular.module('arachne.directives')
/**
* @author: David Neugebauer
* @author: Daniel M. de Oliveira
*/
.directive('arMapMenuSearchInfo', ['$modal', '$location', 'searchService', 'placesService', 'mapService',
function($modal, $location, searchService, placesService, mapService) {
return {
... | js/directives/map_menu_search_info.js | 'use strict';
angular.module('arachne.directives')
/**
* @author: David Neugebauer
* @author: Daniel M. de Oliveira
*/
.directive('arMapMenuSearchInfo', ['$modal', '$location', 'searchService', 'placesService', 'mapService',
function($modal, $location, searchService, placesService, mapService) {
return {
... | Remove debug msg.
| js/directives/map_menu_search_info.js | Remove debug msg. | <ide><path>s/directives/map_menu_search_info.js
<ide> scope.que=query;
<ide> };
<ide>
<del> console.log("hallo")
<del>
<ide> // basic information about the search depends on the type of the map
<ide> // (either a geogrid or a map with Place objects)
<ide> ... | |
Java | apache-2.0 | 7d6cfd5d24d7a2519017d058e455e952055ca692 | 0 | eivindveg/HotSUploader | // Copyright 2015 Eivind Vegsundvåg
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | src/main/java/ninja/eivind/hotsreplayuploader/services/platform/OSXService.java | // Copyright 2015 Eivind Vegsundvåg
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | hide windows on close events on osx | src/main/java/ninja/eivind/hotsreplayuploader/services/platform/OSXService.java | hide windows on close events on osx | <ide><path>rc/main/java/ninja/eivind/hotsreplayuploader/services/platform/OSXService.java
<ide> @Override
<ide> public TrayIcon getTrayIcon(final Stage primaryStage) throws PlatformNotSupportedException {
<ide> final URL imageURL = getLogoUrl();
<add>
<add> //don't close the window on clicking x,... | |
Java | apache-2.0 | 2042d6470959d30dc42734c9dd234b21931e13a8 | 0 | joshvocal/ud851-Exercises,joshvocal/ud851-Exercises | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Lesson09-ToDo-List/T09.02-Exercise-AddURIsToContract/app/src/main/java/com/example/android/todolist/data/TaskContract.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Completed Exercise 9.02
| Lesson09-ToDo-List/T09.02-Exercise-AddURIsToContract/app/src/main/java/com/example/android/todolist/data/TaskContract.java | Completed Exercise 9.02 | <ide><path>esson09-ToDo-List/T09.02-Exercise-AddURIsToContract/app/src/main/java/com/example/android/todolist/data/TaskContract.java
<ide>
<ide> package com.example.android.todolist.data;
<ide>
<add>import android.net.Uri;
<ide> import android.provider.BaseColumns;
<ide>
<ide>
<ide> public class TaskContract {
<ide... | |
Java | apache-2.0 | c634cb690b3db08cbd7ae2333b9b029e0293bb49 | 0 | bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.WebMacros;
import com.planet_ink.coffee_web.interfaces.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet... | com/planet_ink/coffee_mud/WebMacros/INIModify.java | package com.planet_ink.coffee_mud.WebMacros;
import com.planet_ink.coffee_web.interfaces.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet... | fix to control panel
git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@21826 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/WebMacros/INIModify.java | fix to control panel | <ide><path>om/planet_ink/coffee_mud/WebMacros/INIModify.java
<ide> if(keyModified || modified.contains(thisKey))
<ide> {
<ide> modified.add(thisKey);
<del> page.set(p,val);
<add> page.set(p,thisKey+"="+val);
<ide> }
<ide> }
<ide> if(modified.size()>0) | |
JavaScript | mit | 70d480d1fc1ef7b98fb2cbe1544b776849fefebf | 0 | simonv3/OpenFarm,roryaronson/OpenFarm,RickCarlino/OpenFarm,tomazin/OpenFarm,slacker87/OpenFarm,roryaronson/OpenFarm,RickCarlino/OpenFarm,simonv3/OpenFarm,CloCkWeRX/OpenFarm,roryaronson/OpenFarm,openfarmcc/OpenFarm,slacker87/OpenFarm,CloCkWeRX/OpenFarm,openfarmcc/OpenFarm,RickCarlino/OpenFarm,simonv3/OpenFarm,tomazin/Op... | openFarmApp.directive('formChecker', function(){
return {
// scope: {
// 'formId': '=',
// 'formStage': '='
// },
require: '^form',
link: function(scope, element, attr){
// loop through each stage
var rootParent = scope.$parent.$parent.$parent;
scope.$watch('$parent.stag... | app/assets/javascripts/guides/new.js | openFarmApp.directive('formChecker', function(){
return {
// scope: {
// 'formId': '=',
// 'formStage': '='
// },
require: '^form',
link: function(scope, element, attr){
// loop through each stage
var rootParent = scope.$parent.$parent.$parent;
scope.$watch('$parent.stag... | Remove logs, set 'sending' to true
| app/assets/javascripts/guides/new.js | Remove logs, set 'sending' to true | <ide><path>pp/assets/javascripts/guides/new.js
<ide> // Post! & forward if successful
<ide>
<ide> $scope.submitForm = function () {
<del> // $scope.newGuide.sending = true;
<add> $scope.newGuide.sending = true;
<ide> var practices = [];
<ide> angular.forEach($scope.newGuide.practices, function(value,... | |
Java | apache-2.0 | 17b4aa4071fe8186e9403faaba7662a0f2f478fb | 0 | tufangorel/hazelcast,tkountis/hazelcast,Donnerbart/hazelcast,juanavelez/hazelcast,emre-aydin/hazelcast,emrahkocaman/hazelcast,Donnerbart/hazelcast,emrahkocaman/hazelcast,dsukhoroslov/hazelcast,dsukhoroslov/hazelcast,Donnerbart/hazelcast,tufangorel/hazelcast,tkountis/hazelcast,mdogan/hazelcast,tkountis/hazelcast,emre-ay... | package com.hazelcast.client;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.co... | hazelcast-client/src/test/java/com/hazelcast/client/HazelcastClientListTest.java | package com.hazelcast.client;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.co... | fixed compilation error, related with generics usage
git-svn-id: 505f71283407c412190d59965c6d67c623df2891@694 3f8e66b6-ca9d-11dd-a2b5-e5f827957e07
| hazelcast-client/src/test/java/com/hazelcast/client/HazelcastClientListTest.java | fixed compilation error, related with generics usage | <ide><path>azelcast-client/src/test/java/com/hazelcast/client/HazelcastClientListTest.java
<ide> list.add(2);
<ide> list.add(3);
<ide> assertEquals(4, list.size());
<del> Map<Integer, Integer> counter = new HashMap<Integer, Integer>();
<add> Map counter = new HashMap();
<ide> ... | |
Java | apache-2.0 | 853f987e8f94e3c09fc317d83da8c5e6ce5bc9d7 | 0 | arx-deidentifier/arx,arx-deidentifier/arx,RaffaelBild/arx,RaffaelBild/arx | /*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2017 Fabian Prasser, Florian Kohlmayer and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | src/main/org/deidentifier/arx/aggregates/quality/QualityModelRowOrientedKLDivergence.java | /*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2017 Fabian Prasser, Florian Kohlmayer and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | Some improvements | src/main/org/deidentifier/arx/aggregates/quality/QualityModelRowOrientedKLDivergence.java | Some improvements | <ide><path>rc/main/org/deidentifier/arx/aggregates/quality/QualityModelRowOrientedKLDivergence.java
<ide> // Obtain frequency
<ide> double inputFrequency = inputDistribution[row];
<ide> double outputFrequency = outputDistribution[row];
<del> outputFrequency /= getArea(hand... | |
Java | apache-2.0 | error: pathspec 'debop4j-core/src/main/java/kr/debop4j/core/AbstractPool.java' did not match any file(s) known to git
| aba3a1380167bc05b762d68db68bfa4a7216b4eb | 1 | debop/debop4j,archmagece/debop4j | package kr.debop4j.core;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.pool.PoolableObjectFactory;
import org.apache.commons.pool.impl.GenericObjectPool;
/**
* Generic Pool (Jedis 의 JedisPool 를 참고하여 만들었음)
*
* @author sunghyouk.bae@gmail.com
* @since 13. 4. 8. 오전 12:41
*/
@Slf4j
public abstract clas... | debop4j-core/src/main/java/kr/debop4j/core/AbstractPool.java | AbstractPool 추가
| debop4j-core/src/main/java/kr/debop4j/core/AbstractPool.java | AbstractPool 추가 | <ide><path>ebop4j-core/src/main/java/kr/debop4j/core/AbstractPool.java
<add>package kr.debop4j.core;
<add>
<add>import lombok.extern.slf4j.Slf4j;
<add>import org.apache.commons.pool.PoolableObjectFactory;
<add>import org.apache.commons.pool.impl.GenericObjectPool;
<add>
<add>/**
<add> * Generic Pool (Jedis 의 JedisPool ... | |
Java | apache-2.0 | 70ee973440116c6057ba00397138e9b0aaaeac56 | 0 | cushon/bazel,perezd/bazel,cushon/bazel,katre/bazel,bazelbuild/bazel,perezd/bazel,katre/bazel,katre/bazel,ButterflyNetwork/bazel,cushon/bazel,katre/bazel,ButterflyNetwork/bazel,katre/bazel,perezd/bazel,cushon/bazel,ButterflyNetwork/bazel,katre/bazel,cushon/bazel,perezd/bazel,cushon/bazel,bazelbuild/bazel,ButterflyNetwor... | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibraryRule.java | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Constraint proto_library deps and exports on ProtoInfo provider.
This makes the constraint more general, perhaps allows users to create there own version of proto_library.
Because proto_library advertises the ProtoInfo provider, all the old uses will continue to work in Bazel.
PiperOrigin-RevId: 404258851
| src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibraryRule.java | Constraint proto_library deps and exports on ProtoInfo provider. | <ide><path>rc/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibraryRule.java
<ide> <code>proto_library</code> targets.
<ide> It may not depend on language-specific libraries.
<ide> <!-- #END_BLAZE_RULE.ATTRIBUTE --> */
<del> .override(attr("deps", LABEL_LIST).allowedRuleCl... | |
Java | apache-2.0 | a720d1004fee334a1536f37e97772d1c263df4b3 | 0 | MIABIS/miabis-converter | package org.miabis.converter.transform;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ListIterator;
import org.elasticsearch.common.base.Joiner;
import org.miabis.converter.batch.util.Util;
import org.miabis.exchange.schema.Biobank;
impor... | src/main/java/org/miabis/converter/transform/SampleFieldExtractor.java | package org.miabis.converter.transform;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ListIterator;
import org.elasticsearch.common.base.Joiner;
import org.miabis.converter.batch.util.Util;
import org.miabis.exchange.schema.Biobank;
impor... | using marshalDateTime instead of marshalDate
| src/main/java/org/miabis/converter/transform/SampleFieldExtractor.java | using marshalDateTime instead of marshalDate | <ide><path>rc/main/java/org/miabis/converter/transform/SampleFieldExtractor.java
<ide> //Sampled Time
<ide> String sTime = "";
<ide> if(sample.getSampledTime() != null){
<del> sTime = XsdDateTimeConverter.marshalDate(sample.getSampledTime());
<add> sTime = XsdDateTimeConverter.marshalDateTime(sample.getSample... | |
JavaScript | bsd-3-clause | 9dd31ce02246d9c136d588986b164bd6995ad9d3 | 0 | SynthSys/seek,Virtual-Liver-Network/seek,Virtual-Liver-Network/seek,HITS-SDBV/seek,aina1205/nmtrypi-seek,aina1205/nmtrypi-seek,BioVeL/seek,aina1205/SysMO-DB-seek,stuzart/seek,Virtual-Liver-Network/seek,aina1205/nmtrypi-seek,HITS-SDBV/nmtrypi-seek,kjgarza/frame_experiment,HITS-SDBV/seek,kjgarza/frame_experiment,SynthSys... | jQuery.noConflict();
var $j = jQuery;
var cytoscapeJSoptions = {
layout: {name: 'arbor'},
style: cytoscape.stylesheet()
.selector('node')
.css({
'content': 'data(name)',
'text-valign': 'center',
'color': '#000',
'background-color': '#fff',
... | app/assets/javascripts/bives_crn_graph.js | var cytoscapeJSoptions = {
layout: {name: 'arbor'},
style: cytoscape.stylesheet()
.selector('node')
.css({
'content': 'data(name)',
'text-valign': 'center',
'color': '#000',
'background-color': '#fff',
'border-width':'1',
... | fixed conflict with jquery and disable to mouse zooming
| app/assets/javascripts/bives_crn_graph.js | fixed conflict with jquery and disable to mouse zooming | <ide><path>pp/assets/javascripts/bives_crn_graph.js
<add>jQuery.noConflict();
<add>var $j = jQuery;
<add>
<ide> var cytoscapeJSoptions = {
<ide>
<ide> layout: {name: 'arbor'},
<ide> .selector('edge.bives-inserted').css({'width': '2'}),
<ide> ready: function(){
<ide> cy = this;
<add> cy.z... | |
Java | epl-1.0 | 56abb5f710725a3dc4f40d3be84444bc84c4d4ac | 0 | opendaylight/yangtools,opendaylight/yangtools | /*
* Copyright (c) 2015 Pantheon Technologies s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
pac... | yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/type/ConcreteTypes.java | /*
* Copyright (c) 2015 Pantheon Technologies s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
pac... | Remove unneeded type specification
Eclipse is informing us we are overly verbose, fix that.
Change-Id: Ibdf33a03898ab337e8352e240b9e02629f8ea0bb
Signed-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech>
| yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/type/ConcreteTypes.java | Remove unneeded type specification | <ide><path>ang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/type/ConcreteTypes.java
<ide>
<ide> private static ConcreteTypeBuilder<BinaryTypeDefinition> concreteBinaryBuilder(
<ide> final BinaryTypeDefinition baseType, final SchemaPath path) {
<del> return new Concret... | |
Java | apache-2.0 | 534b6bf70b241a1b642b0875940bbb7ca02d5269 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | xml/impl/src/com/intellij/psi/formatter/xml/HtmlPolicy.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | WEB-35831: match JSX tag names using case-sensitive matching when comparing to settings
| xml/impl/src/com/intellij/psi/formatter/xml/HtmlPolicy.java | WEB-35831: match JSX tag names using case-sensitive matching when comparing to settings | <ide><path>ml/impl/src/com/intellij/psi/formatter/xml/HtmlPolicy.java
<ide> }
<ide>
<ide> protected boolean checkName(XmlTag tag, String option) {
<add> return checkName(tag, option, true);
<add> }
<add>
<add> protected boolean checkName(XmlTag tag, String option, boolean ignoreCase) {
<ide> if (option ==... | |
JavaScript | mit | 0cccc4f8a1b59bb4e66f24e15b118c61e3fc898d | 0 | wpfpizicai/nebulafe,wpfpizicai/nebulafe,wpfpizicai/nebulafe | module.exports = {
//配置项: 配置值
port: 8361, //监听的端口
db_type: 'mysql', // 数据库类型
db_host: '127.0.0.1', // 服务器地址
db_port: '', // 端口
db_name: 'nodejs', // 数据库名
db_user: 'nodejs', // 用户名
db_pwd: 'Wpf4284286', // 密码
db_prefix: 'think_', // 数据库表前缀
app_group_list: ['Home', 'Admin'], //分组列表
show_exec_time: t... | App/Conf/config.js | module.exports = {
//配置项: 配置值
port: 8360, //监听的端口
db_type: 'mysql', // 数据库类型
db_host: '127.0.0.1', // 服务器地址
db_port: '', // 端口
db_name: 'nodejs', // 数据库名
db_user: 'nodejs', // 用户名
db_pwd: 'Wpf4284286', // 密码
db_prefix: 'think_', // 数据库表前缀
app_group_list: ['Home', 'Admin'], //分组列表
show_exec_time: t... | add files by wangpengfei
| App/Conf/config.js | add files by wangpengfei | <ide><path>pp/Conf/config.js
<ide> module.exports = {
<ide> //配置项: 配置值
<del> port: 8360, //监听的端口
<add> port: 8361, //监听的端口
<ide> db_type: 'mysql', // 数据库类型
<ide> db_host: '127.0.0.1', // 服务器地址
<ide> db_port: '', // 端口 | |
Java | apache-2.0 | c1e28f077b6a58bf7f797d1ce051227bd5ca2da8 | 0 | mmacfadden/orientdb,rprabhat/orientdb,giastfader/orientdb,orientechnologies/orientdb,rprabhat/orientdb,mbhulin/orientdb,tempbottle/orientdb,mbhulin/orientdb,orientechnologies/orientdb,wouterv/orientdb,jdillon/orientdb,cstamas/orientdb,rprabhat/orientdb,allanmoso/orientdb,giastfader/orientdb,tempbottle/orientdb,joansmit... | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdate.java | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | Fixed issue #1928
| core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdate.java | Fixed issue #1928 | <ide><path>ore/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdate.java
<ide> KEYWORD_WHERE);
<ide>
<ide> } else if (additionalStatement.equals(OCommandExecutorSQLAbstract.KEYWORD_WHERE)
<del> || additionalStatement.equals(OCommandExecutorSQLAbstract.KEYWORD_LIMIT))
<ad... | |
Java | lgpl-2.1 | f6bda761eb69569008f72bc20b34e925ce7a1386 | 0 | svartika/ccnx,svartika/ccnx,cawka/ndnx,ebollens/ccnmp,cawka/ndnx,cawka/ndnx,cawka/ndnx,svartika/ccnx,svartika/ccnx,ebollens/ccnmp,ebollens/ccnmp,svartika/ccnx,ebollens/ccnmp,svartika/ccnx,svartika/ccnx,cawka/ndnx | /**
* A CCNx library test.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This work is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
* This work is distributed in the hope t... | javasrc/src/org/ccnx/ccn/test/profiles/access/GroupTestRepo.java | /**
* A CCNx library test.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This work is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
* This work is distributed in the hope t... | Small changes to GroupTestRepo
| javasrc/src/org/ccnx/ccn/test/profiles/access/GroupTestRepo.java | Small changes to GroupTestRepo | <ide><path>avasrc/src/org/ccnx/ccn/test/profiles/access/GroupTestRepo.java
<ide> grp.addMembers(removeMembers);
<ide> succeed = true;
<ide> } catch (ContentNotReadyException e) {
<add> e.printStackTrace();
<ide> succeed = false;
<ide> } catch (AccessDeniedException e) {
<add> e.printStackTrace()... | |
Java | apache-2.0 | 433754f7e70b6e823026694fc9b55c8a480facbf | 0 | mdfeist/TypeV,mdfeist/TypeV,mdfeist/TypeV,mdfeist/TypeV,mdfeist/TypeV,mdfeist/TypeV,mdfeist/TypeV | public class Main extends AbstractTree implements ITree {
List<Integer> ints = new ArrayList<Integer>();
}; | TestJava.java | public interface ITree {
}
public class Main extends AbstractTree implements ITree {
List<Integer> ints = new ArrayList<Integer>();
}; | Update test.
| TestJava.java | Update test. | <ide><path>estJava.java
<del>public interface ITree {
<del>
<del>}
<del>
<ide> public class Main extends AbstractTree implements ITree {
<ide> List<Integer> ints = new ArrayList<Integer>();
<ide> }; | |
Java | apache-2.0 | 938615736e8185765e53cb718ffbc8462f70a9e3 | 0 | mta452/Tehreer-Android,mta452/Tehreer-Android,mta452/Tehreer-Android | /*
* Copyright (C) 2018 Muhammad Tayyab Akram
*
* 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 la... | tehreer-android/src/main/java/com/mta/tehreer/layout/FrameResolver.java | /*
* Copyright (C) 2018 Muhammad Tayyab Akram
*
* 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 la... | [lib] Extracted paragraph spans in frame filler...
| tehreer-android/src/main/java/com/mta/tehreer/layout/FrameResolver.java | [lib] Extracted paragraph spans in frame filler... | <ide><path>ehreer-android/src/main/java/com/mta/tehreer/layout/FrameResolver.java
<ide> frameFiller.charStart = charStart;
<ide> frameFiller.charEnd = segmentEnd;
<ide> frameFiller.baseLevel = paragraph.getBaseLevel();
<del> frameFiller.spans = mSpanned.getSpans(charStart,... | |
Java | apache-2.0 | 729c898d95fc498fe87afa1310ebcf1cdc2cfcf3 | 0 | maguero/killbill,sbrossie/killbill,gsanblas/Prueba,maguero/killbill,sbrossie/killbill,aglne/killbill,24671335/killbill,liqianggao/killbill,aeq/killbill,chengjunjian/killbill,kares/killbill,24671335/killbill,gsanblas/Prueba,kares/killbill,andrenpaes/killbill,andrenpaes/killbill,marksimu/killbill,gongpu/killbill,aeq/kill... | /*
* Copyright 2010-2011 Ning, Inc.
*
* Ning licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | util/src/test/java/com/ning/billing/api/TestApiListener.java | /*
* Copyright 2010-2011 Ning, Inc.
*
* Ning licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | util: cleanup log messages in TestApiListener
Signed-off-by: Pierre-Alexandre Meyer <ff019a5748a52b5641624af88a54a2f0e46a9fb5@ning.com>
| util/src/test/java/com/ning/billing/api/TestApiListener.java | util: cleanup log messages in TestApiListener | <ide><path>til/src/test/java/com/ning/billing/api/TestApiListener.java
<ide> * License for the specific language governing permissions and limitations
<ide> * under the License.
<ide> */
<add>
<ide> package com.ning.billing.api;
<ide>
<ide> import java.util.Iterator;
<ide> import org.slf4j.Logger;
<ide> import org.... | |
Java | lgpl-2.1 | 8c800cbe45f34286052435b8db0685fa5541639f | 0 | gpiancastelli/tuprolog-5,gpiancastelli/tuprolog-5 | /*
* tuProlog - Copyright (C) 2001-2007 aliCE team at deis.unibo.it
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) ... | src/alice/tuprolog/lib/BasicLibrary.java | /*
* tuProlog - Copyright (C) 2001-2007 aliCE team at deis.unibo.it
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) ... | Better fix for ClassCastException(s) in type testing predicates.
| src/alice/tuprolog/lib/BasicLibrary.java | Better fix for ClassCastException(s) in type testing predicates. | <ide><path>rc/alice/tuprolog/lib/BasicLibrary.java
<ide>
<ide> public boolean integer_1(Term t) {
<ide> t = t.getTerm();
<del> if (t instanceof Var || t instanceof Struct)
<del> return false;
<del> alice.tuprolog.Number n = (alice.tuprolog.Number) t.getTerm();
<del> return n.isInteger();
<add> if (!(t instan... | |
Java | apache-2.0 | 94476e3e5797bea91557642b61865196d28c4dbc | 0 | tipsy/j2html,tipsy/j2html,tipsy/j2html | package j2html.tags;
import j2html.attributes.Attr;
import j2html.attributes.Attribute;
public class EmptyTag extends Tag {
public EmptyTag(String tagType) {
super(tagType);
}
/**
* Sets a custom attribute
* @param attribute the attribute name
* @param value the attribute value
... | src/main/java/j2html/tags/EmptyTag.java | package j2html.tags;
import j2html.attributes.Attr;
import j2html.attributes.Attribute;
public class EmptyTag extends Tag {
public EmptyTag(String tagType) {
super(tagType);
}
/**
* Sets a custom attribute
* @param attribute the attribute name
* @param value the attribute value
... | cleanup javadoc
| src/main/java/j2html/tags/EmptyTag.java | cleanup javadoc | <ide><path>rc/main/java/j2html/tags/EmptyTag.java
<ide> }
<ide>
<ide> /**
<del> * Sets a custom attribute based on a condition
<del> * @param condition the condition that decides if attribute should be set
<del> * @param attribute the attribute name
<del> * @param value the attribute value
<del... | |
Java | apache-2.0 | 3a8af5a406c9c5b8c522411fd68b9afa6c0f3ac9 | 0 | consulo/consulo-java,consulo/consulo-java,consulo/consulo-java,consulo/consulo-java | /*
* Copyright 2000-2012 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... | java-i18n/src/com/intellij/codeInspection/i18n/folding/PropertyFoldingBuilder.java | /*
* Copyright 2000-2012 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... | assertion fix
| java-i18n/src/com/intellij/codeInspection/i18n/folding/PropertyFoldingBuilder.java | assertion fix | <ide><path>ava-i18n/src/com/intellij/codeInspection/i18n/folding/PropertyFoldingBuilder.java
<ide> import com.intellij.psi.*;
<ide> import com.intellij.psi.impl.JavaConstantExpressionEvaluator;
<ide> import com.intellij.psi.impl.source.SourceTreeToPsiMap;
<add>import com.intellij.psi.util.PsiModificationTracker;
<ide> ... | |
Java | lgpl-2.1 | c58c35e0728bc9f4c2089af9085b8460d16a3fe1 | 0 | OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs | package opendap.semantics.IRISail;
import opendap.wcs.v1_1_2.*;
import org.jdom.Element;
import org.jdom.filter.ElementFilter;
import org.jdom.output.XMLOutputter;
import org.jdom.output.Format;
import org.slf4j.Logger;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import java.... | src/opendap/semantics/IRISail/NewStaticRDFCatalog.java | package opendap.semantics.IRISail;
import opendap.wcs.v1_1_2.*;
import org.jdom.Element;
import org.jdom.filter.ElementFilter;
import org.jdom.output.XMLOutputter;
import org.jdom.output.Format;
import org.slf4j.Logger;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import java.... | olfs: Changes in support of getXXXXCoordinateId activities.
| src/opendap/semantics/IRISail/NewStaticRDFCatalog.java | olfs: Changes in support of getXXXXCoordinateId activities. | <ide><path>rc/opendap/semantics/IRISail/NewStaticRDFCatalog.java
<ide> }
<ide> return coordinateDapId;
<ide> }
<del> private String createCoordinateIdQuery(String A_time, String fieldStr){
<add> private String createCoordinateIdQuery(String coordinateName, String fieldStr){
<ide> St... | |
Java | apache-2.0 | error: pathspec 'maps-app/src/com/esri/android/mapsapp/dialogs/ProgressDialogFragment.java' did not match any file(s) known to git
| b9bbdfc381971a42ceb001206e64fd11652801fb | 1 | Esri/maps-app-android,lemib/maps-app-android,shellygill/maps-app-android,kubaszostak/maps-app-android | /*
* COPYRIGHT 1995-2014 ESRI
*
* TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
* Unpublished material - all rights reserved under the
* Copyright Laws of the United States.
*
* For additional information, contact:
* Environmental Systems Research Institute, Inc.
* Attn: Contracts Dept
* 380 New York Stree... | maps-app/src/com/esri/android/mapsapp/dialogs/ProgressDialogFragment.java | added ProgressDialogFragment | maps-app/src/com/esri/android/mapsapp/dialogs/ProgressDialogFragment.java | added ProgressDialogFragment | <ide><path>aps-app/src/com/esri/android/mapsapp/dialogs/ProgressDialogFragment.java
<add>/*
<add> * COPYRIGHT 1995-2014 ESRI
<add> *
<add> * TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
<add> * Unpublished material - all rights reserved under the
<add> * Copyright Laws of the United States.
<add> *
<add> * For addi... | |
Java | lgpl-2.1 | e1de5295bbce1a7c57c38cf9dca2b31048a50db0 | 0 | zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform | package org.fedorahosted.flies.core.action;
import org.fedorahosted.flies.core.model.HCommunity;
import org.fedorahosted.flies.core.model.HIterationProject;
import org.fedorahosted.flies.repository.model.HDocument;
import org.fedorahosted.flies.repository.model.HParentResource;
import org.fedorahosted.flies.repository... | flies-war/src/main/java/org/fedorahosted/flies/core/action/AdminActionBean.java | package org.fedorahosted.flies.core.action;
import javax.ejb.Stateless;
import org.fedorahosted.flies.core.model.HCommunity;
import org.fedorahosted.flies.core.model.HIterationProject;
import org.fedorahosted.flies.repository.model.HDocument;
import org.fedorahosted.flies.repository.model.HParentResource;
import org.... | Fixed initialisation issue (probably)
| flies-war/src/main/java/org/fedorahosted/flies/core/action/AdminActionBean.java | Fixed initialisation issue (probably) | <ide><path>lies-war/src/main/java/org/fedorahosted/flies/core/action/AdminActionBean.java
<ide> package org.fedorahosted.flies.core.action;
<del>
<del>import javax.ejb.Stateless;
<ide>
<ide> import org.fedorahosted.flies.core.model.HCommunity;
<ide> import org.fedorahosted.flies.core.model.HIterationProject;
<ide> imp... | |
Java | mit | 3125f1438c4e26488c3ab060e02c3699489c4378 | 0 | subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame | package org.amc.game.chessserver;
import static org.junit.Assert.*;
import org.amc.game.chess.ChessGamePlayer;
import org.amc.game.chess.Colour;
import org.amc.game.chess.HumanPlayer;
import org.amc.game.chessserver.ServerChessGame.ServerGameStatus;
import org.junit.After;
import org.junit.Before;
import org.junit.Te... | src/test/java/org/amc/game/chessserver/StartPageControllerJoinGameTest.java | package org.amc.game.chessserver;
import static org.junit.Assert.*;
import org.amc.game.chess.ChessGamePlayer;
import org.amc.game.chess.Colour;
import org.amc.game.chess.HumanPlayer;
import org.amc.game.chessserver.ServerChessGame.ServerGameStatus;
import org.junit.After;
import org.junit.Before;
import org.junit.Te... | CG-60 add missing test for Spring Model attributes
| src/test/java/org/amc/game/chessserver/StartPageControllerJoinGameTest.java | CG-60 add missing test for Spring Model attributes | <ide><path>rc/test/java/org/amc/game/chessserver/StartPageControllerJoinGameTest.java
<ide> ModelAndView mav = controller.joinGame(blackPlayer, gameUUID);
<ide> ModelAndViewAssert.assertViewName(mav, "chessGamePortal");
<ide> ModelAndViewAssert.assertModelAttributeAvailable(mav, "GAME_UUID");
<a... | |
Java | epl-1.0 | daafade144e9ec56c4e0896e47fbf42ba998fff6 | 0 | Shirishakanduri/SirishaGit | package com.spinsci;
//sample program
public class Div {
void div(){
int a,b;
a=10;
b=20;
System.out.println("division"+(b/a));
}
public String getValue(){
return "hello";
}
public String sayHello(){
System.out.println("haii to all");
return "haii to all";
}
public String sayHelloAll(){
System.out... | samplejava1/src/com/spinsci/Div.java | package com.spinsci;
//sample program
public class Div {
void div(){
int a,b;
a=10;
b=20;
System.out.println("division"+(b/a));
}
public String getValue(){
return "hello";
}
public String sayHello(){
System.out.println("haii to all");
return "haii to all";
}
public String sayHelloAll(){
System.out... | spinsci team
| samplejava1/src/com/spinsci/Div.java | spinsci team | <ide><path>amplejava1/src/com/spinsci/Div.java
<ide> System.out.println("haii to Sandeep");
<ide> return "Hi Sandeeep";
<ide> }
<add>
<ide>
<ide>
<ide> public String saySpinsci(){
<ide> System.out.println("haii to spsinsci");
<ide> return "Hi spinsci";
<ide> }
<add> public String saySpinsci1(){
<add> Sy... | |
Java | apache-2.0 | c0012a09093d0c7a942f932e9d7a2ae1b917b4cc | 0 | cometd/cometd,cometd/cometd,ghoullier/cometd,cometd/cometd,ghoullier/cometd,ghoullier/cometd,cometd/cometd | /*
* Copyright (c) 2008-2014 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... | cometd-java/bayeux-api/src/main/java/org/cometd/bayeux/ChannelId.java | /*
* Copyright (c) 2008-2014 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... | Fixed javadoc error.
| cometd-java/bayeux-api/src/main/java/org/cometd/bayeux/ChannelId.java | Fixed javadoc error. | <ide><path>ometd-java/bayeux-api/src/main/java/org/cometd/bayeux/ChannelId.java
<ide> * of a parameter or a wild character.</p>
<ide> * <p>Examples:</p>
<ide> * <table>
<add> * <caption>ChannelId.regularPart Examples</caption>
<ide> * <thead>
<ide> * <tr>
<ide> * ... | |
JavaScript | apache-2.0 | 348f2998e8062b25c9ab129217b5391c97a583c7 | 0 | degathem/offline-editor-js,plaxdan/offline-editor-js,eregn001/test5,eregn001/TPSEricTest1,eregn001/test5,Ricardh522/offline-editor-js,plaxdan/offline-editor-js,EnzeZY/offline-editor-js,guo7711/offline-editor-js,eregn001/TPSEricTest1,eregn001/TPSEricTest1,Esri/offline-editor-js,Esri/offline-editor-js,guo7711/offline-edi... | /*jshint -W030 */
define([
"dojo/Evented",
"dojo/_base/Deferred",
"dojo/promise/all",
"dojo/_base/declare",
"dojo/_base/array",
"dojo/dom-attr",
"dojo/dom-style",
"dojo/query",
"esri/config",
"esri/layers/GraphicsLayer",
"esri/graph... | lib/edit/offlineFeaturesManager.js | /*jshint -W030 */
define([
"dojo/Evented",
"dojo/_base/Deferred",
"dojo/promise/all",
"dojo/_base/declare",
"dojo/_base/array",
"dojo/dom-attr",
"dojo/dom-style",
"dojo/query",
"esri/config",
"esri/layers/GraphicsLayer",
"esri/graph... | add _isDBInit
| lib/edit/offlineFeaturesManager.js | add _isDBInit | <ide><path>ib/edit/offlineFeaturesManager.js
<ide> layer.objectIdField = this.DB_UID;
<ide>
<ide> // Initialize the database as well as set offline data.
<del> this._initializeDB(dataStore,callback);
<add> if(!this._editStore._isDBInit) {
<a... | |
Java | apache-2.0 | 0d62da3d337e6de075c66fcae8e33fcdc1347ad7 | 0 | mreutegg/jackrabbit-oak,trekawek/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,anchela/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrab... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/DefaultLdapLoginModuleTest.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 ... | minor improvement: fix link in javadoc
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1740338 13f79535-47bb-0310-9956-ffa450edef68
| oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/DefaultLdapLoginModuleTest.java | minor improvement: fix link in javadoc | <ide><path>ak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/DefaultLdapLoginModuleTest.java
<ide> /**
<ide> * Login with {@link javax.jcr.GuestCredentials} must succeed and result in
<ide> * an guest session as the SUFFICIENT
<del> * {@link org.apache.jackrabbit.oak.sp... | |
Java | mit | error: pathspec 'src/de/fhpotsdam/unfolding/ui/package-info.java' did not match any file(s) known to git
| eb3cecf10df1bb1fab6bbc8dedfe271b8e7f6765 | 1 | potioc/unfolding,ashr81/unfolding,potioc/unfolding,CarlCOL/unfolding,deepankverma/unfolding,ps793/unfolding | /**
* User Interface (UI) widgets like a compass or a zoom level widget.
*/
package de.fhpotsdam.unfolding.ui;
| src/de/fhpotsdam/unfolding/ui/package-info.java | Add package-info.java for ui
| src/de/fhpotsdam/unfolding/ui/package-info.java | Add package-info.java for ui | <ide><path>rc/de/fhpotsdam/unfolding/ui/package-info.java
<add>/**
<add> * User Interface (UI) widgets like a compass or a zoom level widget.
<add> */
<add>
<add>package de.fhpotsdam.unfolding.ui; | |
JavaScript | mit | aca371cb177d504cf844fb81b7de70578e29e611 | 0 | mike-north/ember.js,miguelcobain/ember.js,sandstrom/ember.js,tildeio/ember.js,qaiken/ember.js,stefanpenner/ember.js,mfeckie/ember.js,sly7-7/ember.js,qaiken/ember.js,sly7-7/ember.js,GavinJoyce/ember.js,cibernox/ember.js,givanse/ember.js,cibernox/ember.js,jaswilli/ember.js,stefanpenner/ember.js,intercom/ember.js,GavinJoy... | /**
@module ember
*/
import { combine, CONSTANT_TAG, DirtyableTag, UpdatableTag } from '@glimmer/reference';
import { meta } from '@ember/-internals/meta';
import {
get,
set,
addObserver,
removeObserver,
notifyPropertyChange,
defineProperty,
Mixin,
tagFor,
computed,
} from '@ember/-internals/metal';
... | packages/@ember/-internals/runtime/lib/mixins/-proxy.js | /**
@module ember
*/
import { combine, CONSTANT_TAG, DirtyableTag, UpdatableTag } from '@glimmer/reference';
import { meta } from '@ember/-internals/meta';
import {
get,
set,
addObserver,
removeObserver,
notifyPropertyChange,
defineProperty,
Mixin,
tagFor,
computed,
} from '@ember/-internals/metal';
... | use willDestroy in stead of destroy
| packages/@ember/-internals/runtime/lib/mixins/-proxy.js | use willDestroy in stead of destroy | <ide><path>ackages/@ember/-internals/runtime/lib/mixins/-proxy.js
<ide> m.writableTag(() => combine([DirtyableTag.create(), UpdatableTag.create(CONSTANT_TAG)]));
<ide> },
<ide>
<del> destroy() {
<add> willDestroy() {
<add> this.set('content', null);
<ide> this._super(...arguments);
<del> this.set('co... | |
Java | apache-2.0 | 24b69a72cbb785e4aa2f74f2fb5b3aef8d72e88a | 0 | kchodorow/bazel-1,spxtr/bazel,damienmg/bazel,akira-baruah/bazel,joshua0pang/bazel,charlieaustin/bazel,murugamsm/bazel,zhexuany/bazel,LuminateWireless/bazel,cushon/bazel,gavares/bazel,dinowernli/bazel,damienmg/bazel,dinowernli/bazel,murugamsm/bazel,mrdomino/bazel,rhuss/bazel,mrdomino/bazel,kidaa/bazel,perezd/bazel,rohit... | // Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | src/main/java/com/google/devtools/build/lib/syntax/SkylarkFunction.java | // Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Fix Bazel compile
--
MOS_MIGRATED_REVID=87858855
| src/main/java/com/google/devtools/build/lib/syntax/SkylarkFunction.java | Fix Bazel compile | <ide><path>rc/main/java/com/google/devtools/build/lib/syntax/SkylarkFunction.java
<ide> private boolean onlyLoadingPhase;
<ide>
<ide> /**
<del> * Creates a SkylarkFunction with the given name.
<add> * Creates a SkylarkFunction with the given name.
<ide> */
<ide> public SkylarkFunction(String name) {
<ide... | |
Java | apache-2.0 | 1a7e7c101f38c7464aa387709af6ea02e6700306 | 0 | brharrington/servo,brharrington/servo,Netflix/servo,fengshao0907/servo,eonezhang/servo,entelesis/servo,ccortezb/servo,fengshao0907/servo,gorcz/servo,entelesis/servo,eonezhang/servo,sensaid/servo,ccortezb/servo,sensaid/servo | /**
* Copyright 2013 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 ... | servo-graphite/src/main/java/com/netflix/servo/publish/graphite/BasicGraphiteNamingConvention.java | /**
* Copyright 2013 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 ... | Tag with key "statistic" is propagated in namespace
| servo-graphite/src/main/java/com/netflix/servo/publish/graphite/BasicGraphiteNamingConvention.java | Tag with key "statistic" is propagated in namespace | <ide><path>ervo-graphite/src/main/java/com/netflix/servo/publish/graphite/BasicGraphiteNamingConvention.java
<ide> String type = cleanValue(tags.getTag(DataSourceType.KEY), false);
<ide> String instanceName = cleanValue(tags.getTag("instance"), false);
<ide> String name = cleanupIllegalCharacter... | |
Java | apache-2.0 | f786f7ba2f583e4d4d6c2627fc42a00a1d01fad4 | 0 | tr3vr/jena,kidaa/jena,adrapereira/jena,CesarPantoja/jena,samaitra/jena,tr3vr/jena,kamir/jena,adrapereira/jena,CesarPantoja/jena,jianglili007/jena,adrapereira/jena,kidaa/jena,apache/jena,apache/jena,samaitra/jena,atsolakid/jena,samaitra/jena,tr3vr/jena,kamir/jena,adrapereira/jena,CesarPantoja/jena,kamir/jena,apache/jena... | /*
* 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 ... | jena-tdb/src/main/java/com/hp/hpl/jena/tdb/solver/SolverLib.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 ... | Make SolverLib.solve public. | jena-tdb/src/main/java/com/hp/hpl/jena/tdb/solver/SolverLib.java | Make SolverLib.solve public. | <ide><path>ena-tdb/src/main/java/com/hp/hpl/jena/tdb/solver/SolverLib.java
<ide> }
<ide> }
<ide>
<del> private static Iterator<BindingNodeId> solve(NodeTupleTable nodeTupleTable,
<del> Tuple<Node> tuple,
<del> ... | |
Java | apache-2.0 | 036603a2885aa9db2ad0f863c9a45a8219091237 | 0 | googleinterns/step92-2020,googleinterns/step92-2020,googleinterns/step92-2020 | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | portfolio/src/main/java/com/google/sps/data/BlogConstants.java | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Add new constants that are used throughout servlets.
| portfolio/src/main/java/com/google/sps/data/BlogConstants.java | Add new constants that are used throughout servlets. | <ide><path>ortfolio/src/main/java/com/google/sps/data/BlogConstants.java
<ide> public static String ID_PARAMETER = "messageId";
<ide> public static String TAG_QUERY = "followedTag";
<ide> public static String NICKNAME = "nickname";
<add> public static String BLOG_USER = "BlogUser";
<add> public static String I... | |
JavaScript | apache-2.0 | 03d1e62472a6b59163df3147169f90494c3445c2 | 0 | hartaproteste/webapi | var crypto = require('crypto')
, valid = require('./valid');
function _notAllowed(req, res) { res.send(new Response.MethodNotAllowed()); }
function _noCache(req, res, next) {
res.set({
'Cache-Control' : 'no-cache, no-store, must-revalidate',
'Pragma' : 'no-cache',
'Expires' : 0
});
... | logic/web.js | var crypto = require('crypto')
, valid = require('./valid');
function _notAllowed(req, res) { res.send(new Response.MethodNotAllowed()); }
function _noCache(req, res, next) {
res.set({
'Cache-Control' : 'no-cache, no-store, must-revalidate',
'Pragma' : 'no-cache',
'Expires' : 0
});
... | Throttling
| logic/web.js | Throttling | <ide><path>ogic/web.js
<ide> });
<ide>
<ide> let hash = crypto.createHash(config['hash'].algorithm);
<del>
<del> console.log(req.get('X-Real-IP') + config['hash'].salt + req.get('User-Agent'));
<add>
<ide> hash.update(req.get('X-Real-IP') + config['hash'].salt + req.get('User-Agent'));
<id... | |
Java | apache-2.0 | 3d3c9378193c8071b63de4696d479e93a1515f77 | 0 | cgeo/cgeo,yummy222/cgeo,pstorch/cgeo,ThibaultR/cgeo,matej116/cgeo,tobiasge/cgeo,brok85/cgeo,Bananeweizen/cgeo,brok85/cgeo,auricgoldfinger/cgeo,ThibaultR/cgeo,kumy/cgeo,cgeo/cgeo,marco-dev/c-geo-opensource,tobiasge/cgeo,SammysHP/cgeo,superspindel/cgeo,superspindel/cgeo,Huertix/cgeo,ThibaultR/cgeo,mucek4/cgeo,vishwakulka... | package cgeo.geocaching;
import cgeo.CGeoTestCase;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.gc.GCBase;
import cgeo.geocaching.connector.gc.GCParser;
import cgeo.geocaching.connector.gc.Login;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.enumerations.L... | tests/src/cgeo/geocaching/cgeoApplicationTest.java | package cgeo.geocaching;
import cgeo.CGeoTestCase;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.gc.GCBase;
import cgeo.geocaching.connector.gc.GCParser;
import cgeo.geocaching.connector.gc.Login;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.enumerations.L... | Fix #1421: save and restore user setting for mocked cache tests
| tests/src/cgeo/geocaching/cgeoApplicationTest.java | Fix #1421: save and restore user setting for mocked cache tests | <ide><path>ests/src/cgeo/geocaching/cgeoApplicationTest.java
<ide> */
<ide> public static void testSearchByGeocodeBasis() {
<ide> for (MockedCache mockedCache : RegExPerformanceTest.MOCKED_CACHES) {
<del> mockedCache.setMockedDataUser(Settings.getUsername());
<del> cgCache parsedC... | |
JavaScript | mit | b3619febb82a792450c3a0f8d61512f2217d6d60 | 0 | adobe/CodeMirror2,xeronith/CodeMirror,hccampos/CodeMirror,ejgallego/CodeMirror,MarcelGerber/CodeMirror,agendor/CodeMirror,jessegrosjean/CodeMirror,jkaplon/CodeMirror,wingify/CodeMirror,MarcelGerber/CodeMirror,alur/CodeMirror,jayaprabhakar/CodeMirror,wingify/CodeMirror,grzegorzmazur/CodeMirror,INTELOGIE/CodeMirror,Inter... | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../clike/clike"));
else if (typeof define == "fu... | mode/dart/dart.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../clike/clike"));
else if (typeof define == "fu... | [dart mode] Avoid unneccesary adding of state property
Issue #3601
| mode/dart/dart.js | [dart mode] Avoid unneccesary adding of state property | <ide><path>ode/dart/dart.js
<ide> }
<ide>
<ide> function sizeInterpolationStack(state) {
<del> return (state.interpolationStack || (state.interpolationStack = [])).length;
<add> return state.interpolationStack ? state.interpolationStack.length : 0;
<ide> }
<ide>
<ide> CodeMirror.defineMIME("application/... | |
Java | epl-1.0 | 0f404e8e2f9a720dff5a5c017ee358c009327efa | 0 | codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2012] - [2014] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Cod... | installation-manager-cli-bundle/src/main/java/com/codenvy/im/cli/command/InstallCommand.java | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2012] - [2014] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Cod... | added line break to the CLI InstallCommand output
| installation-manager-cli-bundle/src/main/java/com/codenvy/im/cli/command/InstallCommand.java | added line break to the CLI InstallCommand output | <ide><path>nstallation-manager-cli-bundle/src/main/java/com/codenvy/im/cli/command/InstallCommand.java
<ide> printResponse(response);
<ide>
<ide> if (isIMSuccessfullyUpdated(response)) {
<del> printInfo("'Installation Manager CLI' was updated! Please, restart it!!!");
<add> ... | |
JavaScript | apache-2.0 | 04b06963ccc49c6aeede6d0b01112b643f8e731c | 0 | Trikolon/pbz-uber,Trikolon/pbz-uber | /*
Copyright 2017 Paul Zuehlcke - paul.zuehlcke.de
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | paul.zuehlcke.de/js/CommandHistory.js | /*
Copyright 2017 Paul Zuehlcke - paul.zuehlcke.de
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | bugfix: CommandHistory: invalid variable names
| paul.zuehlcke.de/js/CommandHistory.js | bugfix: CommandHistory: invalid variable names | <ide><path>aul.zuehlcke.de/js/CommandHistory.js
<ide> this._readPos = 0;
<ide> }
<ide>
<del>
<ide> /**
<ide> * Get command in cmd history, goes one back in history every call
<ide> * @returns{String} cmd
<ide> if (this._readPos === -1) {
<ide> this._readPos = this.size - 1... | |
Java | agpl-3.0 | 10efefe011e6a4856e4f10537a536648614ec9fd | 0 | rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat | package roart.component;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson... | iclij/iclij-core/src/main/java/roart/component/ComponentPredictor.java | package roart.component;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson... | Cleanup.
| iclij/iclij-core/src/main/java/roart/component/ComponentPredictor.java | Cleanup. | <ide><path>clij/iclij-core/src/main/java/roart/component/ComponentPredictor.java
<ide> Map<String, List<Double>> probabilityMap = (Map<String, List<Double>>) maps.get(PipelineConstants.PROBABILITY);
<ide>
<ide> return param;
<del> /*
<del> String localMl = param.getInput().getConf... | |
JavaScript | mit | 56235c18d182d0147ff280cc9981545db1be83e5 | 0 | ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt | 'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { TICK_SIZE } = require ('./base/functions/number');
const { ExchangeError, InvalidOrder, BadRequest, InsufficientFunds, OrderNotFound, AuthenticationError, RateLimitExceed... | js/ftx.js | 'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { TICK_SIZE } = require ('./base/functions/number');
const { ExchangeError, InvalidOrder, BadRequest, InsufficientFunds, OrderNotFound, AuthenticationError, RateLimitExceed... | ftx fetchMyTrades end_time default to now fix #8327
| js/ftx.js | ftx fetchMyTrades end_time default to now fix #8327 | <ide><path>s/ftx.js
<ide> }
<ide> if (since !== undefined) {
<ide> request['start_time'] = parseInt (since / 1000);
<add> request['end_time'] = this.seconds ();
<ide> }
<ide> const response = await this.privateGetFills (this.extend (request, params));
<ide> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.