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 | agpl-3.0 | 3084c6625ba7bca4cde25c119657b6a6038b5b3c | 0 | ebonnet/Silverpeas-Core,SilverYoCha/Silverpeas-Core,stephaneperry/Silverpeas-Core,mmoqui/Silverpeas-Core,SilverYoCha/Silverpeas-Core,ebonnet/Silverpeas-Core,ebonnet/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Core,SilverYoCha/Silverpeas-Core,auroreallibe/Silverpeas-Core,SilverDav/Silverpe... | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* 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.
*
* As a spe... | war-core/src/main/java/com/silverpeas/lookV5/AjaxServletLookV5.java | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* 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.
*
* As a spe... | By default, "Schedule an event" tool is not visible...
git-svn-id: 95dd7209ec50d6c3a4c961d97f2c75f69cb97ab1@2839 a8e77078-a1c7-4fa5-b8fc-53c5178a176c
| war-core/src/main/java/com/silverpeas/lookV5/AjaxServletLookV5.java | By default, "Schedule an event" tool is not visible... | <ide><path>ar-core/src/main/java/com/silverpeas/lookV5/AjaxServletLookV5.java
<ide> + "\" description=\"\" type=\"component\" kind=\"\" level=\"1\" open=\"false\" url=\"javascript:openClipboard()\"/>");
<ide> }
<ide> // fonctionnalité "Trouver une date"
<del> if (readBoolean(settings, "sche... | |
Java | apache-2.0 | error: pathspec 'src/main/java/com/sproutigy/commons/basement/collections/LazyIterator.java' did not match any file(s) known to git
| d592179077677f42bf92e5ec5cd5214e479233b3 | 1 | Sproutigy/Java-Commons-Basement | package com.sproutigy.commons.basement.collections;
import java.util.Iterator;
/**
* LazyIterator keeps reference to Iterable source
* and calls its iterator() method when it is needed
* @param <E> element type
*/
public final class LazyIterator<E> implements Iterator<E> {
private Iterable<E> source;
pri... | src/main/java/com/sproutigy/commons/basement/collections/LazyIterator.java | LazyIterator
| src/main/java/com/sproutigy/commons/basement/collections/LazyIterator.java | LazyIterator | <ide><path>rc/main/java/com/sproutigy/commons/basement/collections/LazyIterator.java
<add>package com.sproutigy.commons.basement.collections;
<add>
<add>import java.util.Iterator;
<add>
<add>/**
<add> * LazyIterator keeps reference to Iterable source
<add> * and calls its iterator() method when it is needed
<add> * @pa... | |
Java | apache-2.0 | 1595252f580bf261f573ed3a3d973f2a53da286f | 0 | ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp | package org.ofbiz.order.shoppingcart;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilProperties;
import org.ofbiz.base.util.UtilValidate;
import org.ofbiz.entity.Delegator;
import org.ofbiz.product.store.ProductStoreWorker;
import org.ofbiz.service.LocalDispatcher;
import javax.servlet.http.HttpServ... | applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartFactory.java | package org.ofbiz.order.shoppingcart;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilProperties;
import org.ofbiz.base.util.UtilValidate;
import org.ofbiz.entity.Delegator;
import org.ofbiz.product.store.ProductStoreWorker;
import org.ofbiz.service.LocalDispatcher;
import javax.servlet.http.HttpServ... | ShoppingCartFactory: cleanups
| applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartFactory.java | ShoppingCartFactory: cleanups | <ide><path>pplications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartFactory.java
<ide>
<ide> /**
<ide> * SCIPIO: Cart factory to replace hardcoded ShoppingCart and WebShoppingCart constructors.
<add> * <p>
<add> * NOTE: The actual instance is represented by {@link ShoppingCartFactory.Factory}, due to the static... | |
JavaScript | bsd-3-clause | 78c1d36c98bf4b7bd7ea0bdbca73d23cba3975e9 | 0 | firebug/tracing-console,firebug/tracing-console | /* See license.txt for terms of usage */
/*jshint esnext:true, es5:true, curly:false */
/*global FBTrace:true, Components:true, Proxy:true, define:true */
// A note on terminology: here a "closure"/"environment" is generally thought
// of as a container of "scopes".
define([
"firebug/lib/object",
"firebug/fir... | extension/content/firebug/console/closureInspector.js | /* See license.txt for terms of usage */
/*jshint esnext:true, es5:true, curly:false */
/*global FBTrace:true, Components:true, Proxy:true, define:true */
// A note on terminology: here a "closure" is generally thought of as a container of "scopes".
define([
"firebug/lib/object",
"firebug/firebug",
"fireb... | Some naming changes
| extension/content/firebug/console/closureInspector.js | Some naming changes | <ide><path>xtension/content/firebug/console/closureInspector.js
<ide> /*jshint esnext:true, es5:true, curly:false */
<ide> /*global FBTrace:true, Components:true, Proxy:true, define:true */
<ide>
<del>// A note on terminology: here a "closure" is generally thought of as a container of "scopes".
<add>// A note on termi... | |
Java | apache-2.0 | 43151a3db2c7a208f9298e7ab6cdbce52f5a7b33 | 0 | NSIT/liquibase,klopfdreh/liquibase,dbmanul/dbmanul,adriens/liquibase,maberle/liquibase,lazaronixon/liquibase,mwaylabs/liquibase,evigeant/liquibase,OpenCST/liquibase,Willem1987/liquibase,liquibase/liquibase,tjardo83/liquibase,vfpfafrf/liquibase,Willem1987/liquibase,tjardo83/liquibase,mbreslow/liquibase,talklittle/liquib... | package liquibase.jvm.integration.commandline;
import liquibase.Liquibase;
import liquibase.database.Database;
import liquibase.exception.CommandLineParsingException;
import liquibase.exception.DatabaseException;
import liquibase.exception.ValidationFailedException;
import liquibase.lockservice.LockService;
import liq... | liquibase-core/src/main/java/liquibase/jvm/integration/commandline/Main.java | package liquibase.jvm.integration.commandline;
import liquibase.Liquibase;
import liquibase.database.Database;
import liquibase.exception.CommandLineParsingException;
import liquibase.exception.DatabaseException;
import liquibase.exception.ValidationFailedException;
import liquibase.lockservice.LockService;
import liq... | Fixed failing test case where part of Main's printHelp method was
longer than 80 characters.
git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@1501 e6edf6fb-f266-4316-afb4-e53d95876a76
| liquibase-core/src/main/java/liquibase/jvm/integration/commandline/Main.java | Fixed failing test case where part of Main's printHelp method was longer than 80 characters. | <ide><path>iquibase-core/src/main/java/liquibase/jvm/integration/commandline/Main.java
<ide> stream.println("");
<ide> stream.println("Optional Diff Parameters:");
<ide> stream.println(" --referenceDriver=<jdbc.driver.ClassName> Reference Database driver class name");
<del> stream.printl... | |
Java | apache-2.0 | 8fa18209b949b6aaeade24874a9995d57f629208 | 0 | SylvesterAbreu/jackrabbit,bartosz-grabski/jackrabbit,tripodsan/jackrabbit,SylvesterAbreu/jackrabbit,Kast0rTr0y/jackrabbit,tripodsan/jackrabbit,sdmcraft/jackrabbit,bartosz-grabski/jackrabbit,sdmcraft/jackrabbit,Kast0rTr0y/jackrabbit,kigsmtua/jackrabbit,Kast0rTr0y/jackrabbit,SylvesterAbreu/jackrabbit,Overseas-Student-Liv... | /*
* 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 ... | jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.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 ... | JCR-1104: JSR 283 support
Add dummy Version methods in jcr2spi
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@770614 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java | JCR-1104: JSR 283 support | <ide><path>ackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java
<ide> }
<ide> return versions;
<ide> }
<add>
<add> public Node getFrozenNode() throws RepositoryException {
<add> throw new UnsupportedRepositoryOperationException("JCR-1104");
<add> }
<add... | |
JavaScript | mpl-2.0 | c6559c8db73bf5be7583517a3c45f5fbf181cd7d | 0 | platfarm-com/teuthis,platfarm-com/teuthis | /*! Teuthis XHR proxy/cache
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
'use strict';
// At the moment, responseText / responseXML facading are not supported
var _ =... | lib/xhr-proxy.js | /*! Teuthis XHR proxy/cache
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
'use strict';
// At the moment, responseText / responseXML facading are not supported
var _ =... | Fix cache error with LRU update
| lib/xhr-proxy.js | Fix cache error with LRU update | <ide><path>ib/xhr-proxy.js
<ide> self.status = +200;
<ide> self.statusText = '200 OK';
<ide> if (_.isFunction(self.onreadystatechange)) { self.onreadystatechange(); }
<del> self.response = cachedValue;
<add> self.response = cachedValue.v;
<ide> self.readyState = 4; // Done
... | |
Java | mit | a54ffe917e12f6626b8ae473d1b9a5c3a88e3d5d | 0 | mitritim/JavaPhone | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javaphone;
/**
*
* @author LimeDV
*/
public class CustomerListGUI extends javax.swing.JFrame {
/**
* Creates new... | src/javaphone/CustomerListGUI.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javaphone;
/**
*
* @author LimeDV
*/
public class CustomerListGUI extends javax.swing.JFrame {
/**
* Creates new... | Update CustomerListGUI.java | src/javaphone/CustomerListGUI.java | Update CustomerListGUI.java | <ide><path>rc/javaphone/CustomerListGUI.java
<ide> buttonWorker = new javax.swing.JButton();
<ide> buttonServices = new javax.swing.JButton();
<ide> buttonLoggOut = new javax.swing.JButton();
<del> jMenuBar1 = new javax.swing.JMenuBar();
<del> jMenu1 = new javax.swing.JMenu();
<del... | |
JavaScript | mit | 51b0158dc3d57b569aa8ea7ef02c5f9f1ab09a3f | 0 | gbuesing/mustache.couch.js | /*
* jquery.couch.listchanges.js
* A helper for using the CouchDB changes feed to update HTML views rendered from list funs
*
* Plays well with mustache.couch.js for server-side list fun HTML rendering:
* http://github.com/gbuesing/mustache.couch.js
*
* Copyright 2011, Geoff Buesing
* Licensed under the MIT li... | jquery.couch.listchanges.js | /*
* jquery.couch.listchanges.js
* A helper for using the CouchDB changes feed to update HTML views rendered from list funs
*
* Plays well with mustache.couch.js for server-side list fun HTML rendering:
* http://github.com/gbuesing/mustache.couch.js
*
* Copyright 2011, Geoff Buesing
* Licensed under the MIT li... | Allow url and descending opts to be specified as data- attributes. Iterate over each element when setting up plugin so that multiple containers can be specified
| jquery.couch.listchanges.js | Allow url and descending opts to be specified as data- attributes. Iterate over each element when setting up plugin so that multiple containers can be specified | <ide><path>query.couch.listchanges.js
<ide> (function( $ ){
<ide>
<ide> $.fn.listChanges = function(opts) {
<del> listChanges(this.eq(0), opts || {});
<del> return this;
<add> return this.each(function() {
<add> listChanges($(this), opts || {});
<add> });
<ide> }
<ide>
<ide> function listCh... | |
Java | apache-2.0 | error: pathspec 'src/test/java/com/emc/ecs/cloudfoundry/broker/service/BucketInstanceWorkflowTest.java' did not match any file(s) known to git
| 2746ff638b58fb75b262495abec9d192cd0df6f1 | 1 | emccode/ecs-cf-service-broker,spiegela/ecs-cf-service-broker,codedellemc/ecs-cf-service-broker | package com.emc.ecs.cloudfoundry.broker.service;
import com.emc.ecs.cloudfoundry.broker.model.PlanProxy;
import com.emc.ecs.cloudfoundry.broker.model.ServiceDefinitionProxy;
import com.emc.ecs.cloudfoundry.broker.repository.ServiceInstance;
import com.emc.ecs.cloudfoundry.broker.repository.ServiceInstanceRepository;
i... | src/test/java/com/emc/ecs/cloudfoundry/broker/service/BucketInstanceWorkflowTest.java | Add test for bucket instance workflow
| src/test/java/com/emc/ecs/cloudfoundry/broker/service/BucketInstanceWorkflowTest.java | Add test for bucket instance workflow | <ide><path>rc/test/java/com/emc/ecs/cloudfoundry/broker/service/BucketInstanceWorkflowTest.java
<add>package com.emc.ecs.cloudfoundry.broker.service;
<add>
<add>import com.emc.ecs.cloudfoundry.broker.model.PlanProxy;
<add>import com.emc.ecs.cloudfoundry.broker.model.ServiceDefinitionProxy;
<add>import com.emc.ecs.cloud... | |
Java | mit | a20aca9319fdb125c6660bc8eada902b63d5bc42 | 0 | molenzwiebel/Commons,dentmaged/Commons,dentmaged/Commons,vemacs/Commons,skipperguy12/Commons,vemacs/Commons,skipperguy12/Commons | package tc.oc.commons.bukkit.util;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.google.common.base.Strings;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.inventory.ItemFactory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BookMe... | bukkit/src/main/java/tc/oc/commons/bukkit/util/BukkitUtils.java | package tc.oc.commons.bukkit.util;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.google.common.base.Strings;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.inventory.ItemFactory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BookMe... | Add additional dashedChatMessage method
| bukkit/src/main/java/tc/oc/commons/bukkit/util/BukkitUtils.java | Add additional dashedChatMessage method | <ide><path>ukkit/src/main/java/tc/oc/commons/bukkit/util/BukkitUtils.java
<ide> message = " " + message + " ";
<ide> String dashes = Strings.repeat(c, (ChatPaginator.GUARANTEED_NO_WRAP_CHAT_PAGE_WIDTH - ChatColor.stripColor(message).length() - 2) / 2);
<ide> return color + dashes + message + col... | |
JavaScript | mit | 0299bc17cb9578b815add3a06bfb0cb54f351be8 | 0 | boykotdogan/boykotdogan,boykotdogan/boykotdogan | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
chrome.webRequest.onBeforeRequest.addListener(
function(info) {
//console.log(info.url);
// location.replace('http://www.google.com');... | background.js | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
chrome.webRequest.onBeforeRequest.addListener(
function(info) {
//console.log(info.url);
// location.replace('http://www.google.com');... | Update background.js
38. satir sonrasi yeni boykot sirketleri eklendi. bugfixler yapildi. | background.js | Update background.js | <ide><path>ackground.js
<ide> "*://*.teve2.com.tr/*",
<ide> "*://*.dreamtv.com.tr/*",
<ide> "*://*.radyod.com.tr/*",
<del> "*://*.slowturk.com.tr/*",
<del> "*://*radyonom.com/*",
<add> "*://*.radyonom.com/*",
<ide> "*://*.dproductions.com.tr/*",
<ide> "*://*.... | |
Java | apache-2.0 | 97f7ad35a525cd82d1f4916e5b6b68a870c6f5b8 | 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-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing.impl.perFileVersion;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.vfs.Virtua... | java/java-tests/testSrc/com/intellij/util/indexing/impl/perFileVersion/PersistentSubIndexerVersionEnumeratorTest.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing.impl.perFileVersion;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.vfs.Virtua... | Fix NPE in PersistentSubIndexerVersionEnumeratorTest.
GitOrigin-RevId: 8dee0640744f1076d6788204f08bfeb35d8e58dd | java/java-tests/testSrc/com/intellij/util/indexing/impl/perFileVersion/PersistentSubIndexerVersionEnumeratorTest.java | Fix NPE in PersistentSubIndexerVersionEnumeratorTest. | <ide><path>ava/java-tests/testSrc/com/intellij/util/indexing/impl/perFileVersion/PersistentSubIndexerVersionEnumeratorTest.java
<ide> @Override
<ide> protected void tearDown() throws Exception {
<ide> try {
<del> myMap.close();
<add> if (myMap != null) {
<add> myMap.close();
<add> }
<ide> ... | |
Java | bsd-3-clause | d2651a08e0fbb0436cf126c01c6edd5f83387d96 | 0 | mohsenuss91/Orchid,subgraph/Orchid | package org.torproject.jtor.circuits.impl;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.HashMap;
import java.util.Map;
import javax.net... | src/org/torproject/jtor/circuits/impl/ConnectionManagerImpl.java | package org.torproject.jtor.circuits.impl;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.HashMap;
import java.util.Map;
import javax.net... | Pass Logger to connections | src/org/torproject/jtor/circuits/impl/ConnectionManagerImpl.java | Pass Logger to connections | <ide><path>rc/org/torproject/jtor/circuits/impl/ConnectionManagerImpl.java
<ide> import javax.net.ssl.X509TrustManager;
<ide>
<ide> import org.bouncycastle.x509.X509V3CertificateGenerator;
<add>import org.torproject.jtor.Logger;
<ide> import org.torproject.jtor.TorException;
<ide> import org.torproject.jtor.directory.... | |
Java | lgpl-2.1 | d3f36d856186f51602ee4a056bbbf78484def6b3 | 0 | svartika/ccnx,ebollens/ccnmp,svartika/ccnx,cawka/ndnx,cawka/ndnx,ebollens/ccnmp,svartika/ccnx,cawka/ndnx,svartika/ccnx,svartika/ccnx,ebollens/ccnmp,svartika/ccnx,svartika/ccnx,cawka/ndnx,cawka/ndnx,ebollens/ccnmp | /**
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is ... | javasrc/src/org/ccnx/ccn/profiles/security/access/group/GroupAccessControlManager.java | /**
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is ... | Method to register additional user locations in GroupAccessControl
| javasrc/src/org/ccnx/ccn/profiles/security/access/group/GroupAccessControlManager.java | Method to register additional user locations in GroupAccessControl | <ide><path>avasrc/src/org/ccnx/ccn/profiles/security/access/group/GroupAccessControlManager.java
<ide> prefixToGroupManagerMap.put(pName.prefix(), gm);
<ide> }
<ide>
<add> public void registerUserStorage(ContentName userStorage) {
<add> ParameterizedName pName = new ParameterizedName("User", userStorage, null)... | |
Java | apache-2.0 | 0583e23316016ba5d94e100407db404f19d84797 | 0 | gurbuzali/hazelcast-jet,gurbuzali/hazelcast-jet | /*
* Copyright (c) 2008-2019, Hazelcast, 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 ... | hazelcast-jet-core/src/main/java/com/hazelcast/jet/pipeline/SourceBuilder.java | /*
* Copyright (c) 2008-2019, Hazelcast, 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 ... | Fix SourceBuilder's javadoc (#1553)
Fixes #1550 | hazelcast-jet-core/src/main/java/com/hazelcast/jet/pipeline/SourceBuilder.java | Fix SourceBuilder's javadoc (#1553) | <ide><path>azelcast-jet-core/src/main/java/com/hazelcast/jet/pipeline/SourceBuilder.java
<ide> * Pipeline p = Pipeline.create();
<ide> * StreamStage<String> srcStage = p.drawFrom(socketSource);
<ide> * }</pre>
<del> * <p>
<del> * <strong>NOTE:</strong> the source you build with this builder is no... | |
Java | mit | 496a86916773dd7b4eafd9d5e86f8412185a27e6 | 0 | ampotty/uip-pc2,ampotty/uip-pc2,ampotty/uip-pc2 | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Carro {
private String marca;
private String modelo;
private int tanque_gasolina;
public void arrancar() {
System.out.println("Arranco el carro");
}
public double avanzar(double t, double v) {
if ( this.tan... | Ejemplos/ejemplo53/Carro.java | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Carro {
private String marca;
private String modelo;
private int tanque_gasolina;
public void arrancar() {
System.out.println("Arranco el carro");
}
public int avanzar() {
if ( this.tanque_gasolina > 0 ) {
... | Una frase por ahí
| Ejemplos/ejemplo53/Carro.java | Una frase por ahí | <ide><path>jemplos/ejemplo53/Carro.java
<ide> System.out.println("Arranco el carro");
<ide> }
<ide>
<del> public int avanzar() {
<add> public double avanzar(double t, double v) {
<ide> if ( this.tanque_gasolina > 0 ) {
<del> System.out.println("Avanzo el carro");
<del> d... | |
JavaScript | isc | ff7627f275c4d77c169319afe0487c5b92c0fb98 | 0 | vyuh/sud | //'use strict';
(function () {
var pk = {};
function scope_gen(n) {
// for normal sudoku latin square, n is 3
// a latin square has n^4 cells
var i, j, r, c, gr, gc, l, p;
var out = [];
l = n * n * n * n;
/* malloc from stdlib.h */
for (i = 0; i < l; i++)... | sud.js | //'use strict';
(function () {
var pk = {};
//to not clutter global namespace. pk picks the rags ;)
function scope_gen(n) {
// for normal sudoku latin square, n is 3
// a latin square has n^4 cells
var i, j, r, c, gr, gc, l, p;
var out = [];
l = n * n * n * n;
... | some manual prettify
| sud.js | some manual prettify | <ide><path>ud.js
<ide> //'use strict';
<ide> (function () {
<ide> var pk = {};
<del> //to not clutter global namespace. pk picks the rags ;)
<add>
<ide> function scope_gen(n) {
<ide> // for normal sudoku latin square, n is 3
<ide> // a latin square has n^4 cells
<ide> pk.cell.prototype.yo... | |
JavaScript | mit | 295ff4d0c9c05c7eb08674bd4656431e3fc60961 | 0 | gavinhungry/debugger.io,gavinhungry/debugger.io | module.exports = function(grunt) {
grunt.file.defaultEncoding = 'utf8';
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-yui-compressor');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-git-describe');
grunt.initConf... | Gruntfile.js | module.exports = function(grunt) {
grunt.file.defaultEncoding = 'utf8';
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-yui-compressor');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-git-describe');
grunt.initConf... | Fix build with new libraries
| Gruntfile.js | Fix build with new libraries | <ide><path>runtfile.js
<ide>
<ide> marked: 'empty:',
<ide> less: 'empty:',
<add> sass: 'empty:',
<ide> coffeescript: 'empty:',
<add> typescript: 'empty:',
<add> gorillascript: 'empty:',
<add> traceur: 'empty:',
<ide>
<ide> cod... | |
Java | apache-2.0 | 1951358907cda1e4a9cb4b3c1f3a5dc824c52e49 | 0 | Lyleo/google-feedserver,fbpatel/google-feedserver,fbpatel/google-feedserver,fbpatel/google-feedserver,Lyleo/google-feedserver,Lyleo/google-feedserver,fbpatel/google-feedserver,Lyleo/google-feedserver | /*
* Copyright 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | src/java/com/google/feedserver/ibatisCallbackHandlers/StringToNumericCallback.java | /*
* Copyright 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Changed integer to float to support decimal numbers. | src/java/com/google/feedserver/ibatisCallbackHandlers/StringToNumericCallback.java | Changed integer to float to support decimal numbers. | <ide><path>rc/java/com/google/feedserver/ibatisCallbackHandlers/StringToNumericCallback.java
<ide> }
<ide>
<ide> public void setParameter(ParameterSetter setter, Object parameter) throws SQLException {
<del> setter.setInt(Integer.parseInt((String) parameter));
<add> setter.setFloat(Float.parseFloat((String) ... | |
Java | apache-2.0 | 063610f4759f26b89c541b7e7b6e4f68f2ee77a3 | 0 | lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,... | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/osgi/src/main/java/org/gradle/api/internal/plugins/osgi/DefaultOsgiManifest.java | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Suppress warnings for internal use of deprecated OSGI plugin types
| subprojects/osgi/src/main/java/org/gradle/api/internal/plugins/osgi/DefaultOsgiManifest.java | Suppress warnings for internal use of deprecated OSGI plugin types | <ide><path>ubprojects/osgi/src/main/java/org/gradle/api/internal/plugins/osgi/DefaultOsgiManifest.java
<ide> import java.util.*;
<ide> import java.util.jar.Manifest;
<ide>
<add>@SuppressWarnings("deprecation")
<ide> public class DefaultOsgiManifest extends DefaultManifest implements OsgiManifest {
<ide>
<ide> // ... | |
Java | bsd-3-clause | 48cd0c4cd184a8dc8e29c1cd7eff1d555d44c6b8 | 0 | stoewer/nix-java | package org.gnode.nix.internal;
import org.bytedeco.javacpp.DoublePointer;
import org.bytedeco.javacpp.IntPointer;
import org.bytedeco.javacpp.Pointer;
import java.util.ArrayList;
public class Utils {
/**
* Converts {@link IntPointer} to {@link Integer} {@link ArrayList}
*
* @param ip {@link IntP... | nix/src/main/java/org/gnode/nix/internal/Utils.java | package org.gnode.nix.internal;
import org.bytedeco.javacpp.DoublePointer;
import org.bytedeco.javacpp.IntPointer;
import org.bytedeco.javacpp.Pointer;
import java.util.ArrayList;
public class Utils {
/**
* Converts {@link IntPointer} to {@link Integer} {@link ArrayList}
*
* @param ip {@link IntP... | make util funcs public
| nix/src/main/java/org/gnode/nix/internal/Utils.java | make util funcs public | <ide><path>ix/src/main/java/org/gnode/nix/internal/Utils.java
<ide> * @param ip {@link IntPointer} pointer to be converted
<ide> * @return array list of ints
<ide> */
<del> protected static ArrayList<Integer> convertPointerToList(IntPointer ip) {
<add> public static ArrayList<Integer> convertPointe... | |
Java | bsd-3-clause | 8a72c9d2176a108dd412a8739f552cc2b074dd45 | 0 | tangentforks/piccolo2d.java | /*
* Copyright (c) 2008-2009, Piccolo2D project, http://piccolo2d.org
* Copyright (c) 1998-2008, University of Maryland
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions ... | core/src/test/java/edu/umd/cs/piccolo/util/PAffineTransformTest.java | /*
* Copyright (c) 2008-2009, Piccolo2D project, http://piccolo2d.org
* Copyright (c) 1998-2008, University of Maryland
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions ... | Added some tests for PAffineTransform
git-svn-id: d976a3fa9fd96fa05fb374ae920b691bf85e82cb@468 aadc08cf-1350-0410-9b51-cf97fce99a1b
| core/src/test/java/edu/umd/cs/piccolo/util/PAffineTransformTest.java | Added some tests for PAffineTransform | <ide><path>ore/src/test/java/edu/umd/cs/piccolo/util/PAffineTransformTest.java
<ide> */
<ide> package edu.umd.cs.piccolo.util;
<ide>
<add>import java.awt.Dimension;
<add>import java.awt.geom.Dimension2D;
<add>
<ide> import junit.framework.TestCase;
<ide>
<del>import edu.umd.cs.piccolo.util.PAffineTransform;
<del>imp... | |
Java | apache-2.0 | 7309fe9f2e18e32f531c8c7bd4549cb863fb2399 | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-core/src/main/java/org/springframework/util/CollectionUtils.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Polish "Avoid resizing of Maps created by CollectionUtils"
See gh-29190
| spring-core/src/main/java/org/springframework/util/CollectionUtils.java | Polish "Avoid resizing of Maps created by CollectionUtils" | <ide><path>pring-core/src/main/java/org/springframework/util/CollectionUtils.java
<ide> * @see #newLinkedHashMap(int)
<ide> */
<ide> public static <K, V> HashMap<K, V> newHashMap(int expectedSize) {
<del> int capacity = (int) Math.ceil(expectedSize / (double) DEFAULT_LOAD_FACTOR);
<del> return new HashMap<>(capa... | |
Java | mit | aef67b768c19ba6917d464fbd51d02cf3da64377 | 0 | simon816/Mixin,SpongePowered/Mixin | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | Add method to ClassInfo to fetch all interface methods recursively | src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java | Add method to ClassInfo to fetch all interface methods recursively | <ide><path>rc/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java
<ide> this.methods = new HashSet<Method>();
<ide> this.fields = new HashSet<Field>();
<ide> this.isInterface = ((classNode.access & Opcodes.ACC_INTERFACE) != 0);
<del> this.interfaces = Collections.unmodifiable... | |
Java | bsd-2-clause | 0d848b5dbce4a04b762f9b296ede3f926fac154f | 0 | highsource/jsonix-schema-compiler,highsource/jsonix-schema-compiler,highsource/jsonix-schema-compiler | package org.hisrc.jsonix.xml.xsom;
import static com.sun.tools.xjc.model.Multiplicity.ONE;
import java.math.BigInteger;
import com.sun.tools.xjc.model.Multiplicity;
import com.sun.xml.xsom.XSElementDecl;
import com.sun.xml.xsom.XSModelGroup;
import com.sun.xml.xsom.XSModelGroupDecl;
import com.sun.xml.xsom.XSParticl... | compiler/src/main/java/org/hisrc/jsonix/xml/xsom/MultiplicityCounterNG.java | package org.hisrc.jsonix.xml.xsom;
import static com.sun.tools.xjc.model.Multiplicity.ONE;
import static com.sun.tools.xjc.model.Multiplicity.ZERO;
import java.math.BigInteger;
import com.sun.tools.xjc.model.Multiplicity;
import com.sun.xml.xsom.XSElementDecl;
import com.sun.xml.xsom.XSModelGroup;
import com.sun.xml... | Issue #62. | compiler/src/main/java/org/hisrc/jsonix/xml/xsom/MultiplicityCounterNG.java | Issue #62. | <ide><path>ompiler/src/main/java/org/hisrc/jsonix/xml/xsom/MultiplicityCounterNG.java
<ide> package org.hisrc.jsonix.xml.xsom;
<ide>
<ide> import static com.sun.tools.xjc.model.Multiplicity.ONE;
<del>import static com.sun.tools.xjc.model.Multiplicity.ZERO;
<ide>
<ide> import java.math.BigInteger;
<ide>
<ide> Multi... | |
Java | mit | c616eb38a4208ee56d28a620e71dd4ca6ccafe2f | 0 | t3ddftw/DroidIBus | package net.littlebigisland.droidibus.ibus;
/**
* Implements functions of the BoardMonitor. For the most part
* we won't be doing any message parsing here since the BoardMonitor
* is more of an input interface than anything.
*/
public class BoardMonitorSystemCommand extends IBusSystemCommand {
// Main... | src/net/littlebigisland/droidibus/ibus/BoardMonitorSystemCommand.java | package net.littlebigisland.droidibus.ibus;
import java.util.ArrayList;
public class BoardMonitorSystemCommand extends IBusSystemCommand {
private byte BoardMonitorSystem = DeviceAddress.GraphicsNavigationDriver.toByte();
private byte IKESystem = DeviceAddress.InstrumentClusterElectronics.toByte();
//... | Added many BM functions
| src/net/littlebigisland/droidibus/ibus/BoardMonitorSystemCommand.java | Added many BM functions | <ide><path>rc/net/littlebigisland/droidibus/ibus/BoardMonitorSystemCommand.java
<ide> package net.littlebigisland.droidibus.ibus;
<ide>
<del>import java.util.ArrayList;
<add>/**
<add> * Implements functions of the BoardMonitor. For the most part
<add> * we won't be doing any message parsing here since the BoardMonito... | |
Java | apache-2.0 | 969b5266c7389d700978170a81bc6252be54aa20 | 0 | cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | sandbox/src/org/springframework/orm/jpa/config/JpaNamespaceHandler.java | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | resolved unnecessary cast to AbstractBeanDefinition
git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@12039 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
| sandbox/src/org/springframework/orm/jpa/config/JpaNamespaceHandler.java | resolved unnecessary cast to AbstractBeanDefinition | <ide><path>andbox/src/org/springframework/orm/jpa/config/JpaNamespaceHandler.java
<ide> }
<ide>
<ide> BeanDefinitionRegistry registry = parserContext.getRegistry();
<del> BeanDefinition def = builder.getBeanDefinition();
<add> AbstractBeanDefinition def = builder.getBeanDefinition();
<ide> String id = res... | |
Java | apache-2.0 | b9aa84f3838dd550bf2e336ba7f01316c241a274 | 0 | GDeviceLab/DeviceLab,GDeviceLab/DeviceLab,GDeviceLab/DeviceLab,GDeviceLab/DeviceLab | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.revevol.calendar.constants;
import com.google.appengine.api.taskqueue.Queue;
import com.google.appengine.api.taskqueue.QueueFac... | src/main/java/eu/revevol/calendar/constants/EmailTemplate.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.revevol.calendar.constants;
import com.google.appengine.api.taskqueue.Queue;
import com.google.appengine.api.taskqueue.QueueFac... | fix #121
| src/main/java/eu/revevol/calendar/constants/EmailTemplate.java | fix #121 | <ide><path>rc/main/java/eu/revevol/calendar/constants/EmailTemplate.java
<ide> pojo.setEmails(emailArrayString);
<ide> pojo.setSubject("New user asks to access to location");
<ide> String message = "Dear location Admin,<br>"+
<del> "the user BB <a href='mailto:"+Methods.notNullTex... | |
Java | mit | 39b756ccdf65cffe67daf17849a84cc3cc393f66 | 0 | oaplatform/oap,oaplatform/oap | /*
* The MIT License (MIT)
*
* Copyright (c) Open Application Platform Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... | oap-stdlib/src/test/java/oap/io/FilesPerformance.java | /*
* The MIT License (MIT)
*
* Copyright (c) Open Application Platform Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the r... | update
| oap-stdlib/src/test/java/oap/io/FilesPerformance.java | update | <ide><path>ap-stdlib/src/test/java/oap/io/FilesPerformance.java
<ide> import java.io.File;
<ide> import java.nio.file.DirectoryStream;
<ide> import java.nio.file.Path;
<add>import java.util.concurrent.TimeUnit;
<ide> import java.util.stream.IntStream;
<ide>
<ide> /**
<ide> final long[] size = { 0 };
<ide> ... | |
Java | mit | 2f9f1e081896dab131bf57168ebf051546abd272 | 0 | conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5 | package com.conveyal.r5.profile;
import com.conveyal.r5.analyst.cluster.TaskStatistics;
import com.conveyal.r5.analyst.scenario.RemoveTrip;
import com.conveyal.r5.analyst.scenario.Scenario;
import com.conveyal.r5.publish.StaticPropagatedTimesStore;
import com.conveyal.r5.streets.StreetRouter;
import com.conveyal.r5.tr... | src/main/java/com/conveyal/r5/profile/SuboptimalPathProfileRouter.java | package com.conveyal.r5.profile;
import com.conveyal.r5.analyst.cluster.TaskStatistics;
import com.conveyal.r5.analyst.scenario.RemoveTrip;
import com.conveyal.r5.analyst.scenario.Scenario;
import com.conveyal.r5.publish.StaticPropagatedTimesStore;
import com.conveyal.r5.streets.StreetRouter;
import com.conveyal.r5.tr... | try to find optimal paths with disjoint route sequences.
| src/main/java/com/conveyal/r5/profile/SuboptimalPathProfileRouter.java | try to find optimal paths with disjoint route sequences. | <ide><path>rc/main/java/com/conveyal/r5/profile/SuboptimalPathProfileRouter.java
<ide> import com.conveyal.r5.transit.RouteInfo;
<ide> import com.conveyal.r5.transit.TransportNetwork;
<ide> import gnu.trove.map.TIntIntMap;
<add>import gnu.trove.map.TObjectIntMap;
<ide> import gnu.trove.map.hash.TIntIntHashMap;
<add>imp... | |
Java | epl-1.0 | 6d2aad21fbe8eef903b2649ceb4f9bf7d0967c09 | 0 | shisoft/Nebuchadnezzar,shisoft/Nebuchadnezzar | package org.shisoft.neb.utils;
import org.shisoft.neb.io.type_lengths;
import sun.misc.Unsafe;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.StampedLock;
/**
* Created by shisoft on 8/8/2016.
*/
// Concurrent hash map dedicated to cell index
public class U... | src/java/org/shisoft/neb/utils/UnsafeConcurrentLongLongHashMap.java | package org.shisoft.neb.utils;
import org.shisoft.neb.io.type_lengths;
import sun.misc.Unsafe;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.StampedLock;
/**
* Created by shisoft on 8/8/2016.
*/
// Concurrent hash map dedicated to cell index
public class U... | MAXIMUM_BUCKETS adjustment
| src/java/org/shisoft/neb/utils/UnsafeConcurrentLongLongHashMap.java | MAXIMUM_BUCKETS adjustment | <ide><path>rc/java/org/shisoft/neb/utils/UnsafeConcurrentLongLongHashMap.java
<ide>
<ide>
<ide> private static final int INITIAL_BUCKETS = 1024; // Must be power of 2
<add> private static final int MAXIMUM_BUCKETS = INITIAL_BUCKETS * 10240; // 80 MB total, must be power of 2 either
<ide>
<ide> private sta... | |
Java | mit | 754e57caa9f29f2b17691e80637a61ed04743b8e | 0 | thesebas/opacclient,johan12345/opacclient,hurzl/opacclient,johan12345/opacclient,hurzl/opacclient,ruediger-w/opacclient,opacapp/opacclient,johan12345/opacclient,simon04/opacclient,raphaelm/opacclient,raphaelm/opacclient,opacapp/opacclient,hurzl/opacclient,ruediger-w/opacclient,thesebas/opacclient,johan12345/opacclient,... | /**
* Copyright (C) 2013 by Johan von Forstner under the MIT license:
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights ... | opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/IOpac.java | /**
* Copyright (C) 2013 by Johan von Forstner under the MIT license:
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights ... | Correctly detect non-prolongable items in new iOPAC version
| opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/IOpac.java | Correctly detect non-prolongable items in new iOPAC version | <ide><path>pacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/IOpac.java
<ide> if (copymap.optInt("prolongurl", 5) >= 0) {
<ide> if (tr.children().size() > copymap.optInt("prolongurl", 5)) {
<ide> Element cell = tr.child(copymap.optInt("prolongurl", 5));
<del... | |
JavaScript | apache-2.0 | 11745fa6d5ed80c5db20a14a6612ecff83a8e3a9 | 0 | adamtootle/servizi,adamtootle/servizi | const { accounts } = require('./database');
const config = require('../../config');
const keys = require('./keys');
const Promise = require('bluebird');
const simpleOauth2 = require('simple-oauth2');
const request = require('request-promise');
function Auth() {
//
// properties
//
this.oauthClient = simpleOaut... | app/main/auth.js | const { accounts } = require('./database');
const config = require('../../config');
const keys = require('./keys');
const Promise = require('bluebird');
const simpleOauth2 = require('simple-oauth2');
const request = require('request-promise');
function Auth() {
//
// properties
//
this.oauthClient = simpleOaut... | Small tweak to the oauth token refreshing.
| app/main/auth.js | Small tweak to the oauth token refreshing. | <ide><path>pp/main/auth.js
<ide> .then((tokenResponse) => {
<ide> const newTokenInfo = {
<ide> redirect_uri: existingTokenResult.tokenInfo.redirect_uri,
<del> token: tokenResponse,
<add> token: tokenResponse.token,
<ide> };
<ide> ... | |
Java | apache-2.0 | 3ef5cfebb5ff987781aaff677a6fe48c7ca8cdff | 0 | bladecoder/bladecoder-adventure-engine,bladecoder/bladecoder-adventure-engine | package com.bladecoder.engine.model;
import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.Json.Serializable;
import com.badlogic.gdx.utils.JsonValue;
import com.badlogic.gdx.utils.Timer;
... | blade-engine/src/com/bladecoder/engine/model/MusicManager.java | package com.bladecoder.engine.model;
import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.Json.Serializable;
import com.badlogic.gdx.utils.JsonValue;
import com.badlogic.gdx.utils.Timer;
... | Better dealing with music OpenAL bug.
| blade-engine/src/com/bladecoder/engine/model/MusicManager.java | Better dealing with music OpenAL bug. | <ide><path>lade-engine/src/com/bladecoder/engine/model/MusicManager.java
<ide> // DEAL WITH OPENAL BUG
<ide> if (Gdx.app.getType() == ApplicationType.Desktop && e.getMessage().contains("40963")) {
<ide> EngineLogger.debug("!!!!!!!!!!!!!!!!!!!!!!!ERROR playing music trying again...!!!!!!!!!!!!!!!");
<del> ... | |
JavaScript | isc | 6159b663a7adb0ac47479911522702a0159e965a | 0 | evanx/chronica,evanx/chronica-active | // Copyright (c) 2015, Evan Summers (twitter.com/evanxsummers)
// ISC license, see http://github.com/evanx/redex/LICENSE
import * as YamlAsserts from '../lib/YamlAsserts';
export default class HtmlMonitor {
constructor(config, logger, context) {
this.config = config;
this.logger = logger;
this.c... | components/HtmlMonitor.js | // Copyright (c) 2015, Evan Summers (twitter.com/evanxsummers)
// ISC license, see http://github.com/evanx/redex/LICENSE
import * as YamlAsserts from '../lib/YamlAsserts';
export default class HtmlMonitor {
constructor(config, logger, context) {
this.config = config;
this.logger = logger;
this.c... | update commit script
| components/HtmlMonitor.js | update commit script | <ide><path>omponents/HtmlMonitor.js
<ide> method: 'get',
<ide> timeout: this.config.timeout
<ide> };
<add> service.debug.url = service.url;
<ide> if (service.headers) {
<ide> options.headers = service.headers;
<add> service.debug['User-Agent'] = s... | |
Java | apache-2.0 | 4e6c07049849221a1db03d79fe72df0fbe97b0f5 | 0 | EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci | package uk.ac.ebi.spot.goci.curation.controller;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.openxml4j.exceptions.InvalidOperationException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... | goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java | package uk.ac.ebi.spot.goci.curation.controller;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.openxml4j.exceptions.InvalidOperationException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... | Commented out saving location data from webform until we have reviewed webform code
| goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java | Commented out saving location data from webform until we have reviewed webform code | <ide><path>oci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java
<ide> // Save our association information
<ide> associationRepository.save(editedAssociation);
<ide>
<add>/*
<ide> // Store mapped location data, do this after the SNP object... | |
Java | lgpl-2.1 | 158bbb9fbe65ad9822acf8a721c9dac42a3cbe50 | 0 | ebner/collaborilla,ebner/collaborilla | /* $Id$
*
* Copyright (c) 2006, KMR group at KTH (Royal Institute of Technology)
* Licensed under the GNU GPL. For full terms see the file LICENSE.
*/
package se.kth.nada.kmr.collaborilla.ldap;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.DateFormat;
import java.text.ParseException... | src/se/kth/nada/kmr/collaborilla/ldap/LDAPStringHelper.java | /* $Id$
*
* Copyright (c) 2006, KMR group at KTH (Royal Institute of Technology)
* Licensed under the GNU GPL. For full terms see the file LICENSE.
*/
package se.kth.nada.kmr.collaborilla.ldap;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.DateFormat;
import java.text.ParseException... | Deactivated Base64 again as it required com.novell.ldap.util.Base64 also on the client side. Right now we don't really want to deliver JLDAP as well. (Too many libs otherwise)
| src/se/kth/nada/kmr/collaborilla/ldap/LDAPStringHelper.java | Deactivated Base64 again as it required com.novell.ldap.util.Base64 also on the client side. Right now we don't really want to deliver JLDAP as well. (Too many libs otherwise) | <ide><path>rc/se/kth/nada/kmr/collaborilla/ldap/LDAPStringHelper.java
<ide>
<ide> private String root = null;
<ide>
<add> /**
<add> * Using Base64 requires JLDAP to be in the classpath. It is in the package
<add> * com.novell.ldap.util.Base64.
<add> */
<ide> private static final int ENCODING_BASE64 = 1;
<ide>
<... | |
Java | mit | 2a901d8f66a257802827ac845974909b941510c7 | 0 | curtbinder/AndroidStatus | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Curt Binder
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | app/src/main/java/info/curtbinder/reefangel/phone/PageDCPumpFragment.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Curt Binder
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | Removed dc pump page long clickable events
Removed the events to allow for further improvements to the dialog box that will be displayed upon long clicking. This will prevent any confusion on displaying the box.
| app/src/main/java/info/curtbinder/reefangel/phone/PageDCPumpFragment.java | Removed dc pump page long clickable events | <ide><path>pp/src/main/java/info/curtbinder/reefangel/phone/PageDCPumpFragment.java
<ide> dcpumpText[3] = (TextView) tr.findViewById(R.id.rowValue);
<ide> setRowTitle(tr, R.string.labelThreshold);
<ide>
<del> for ( int i = 0; i < Controller.MAX_DCPUMP_VALUES; i++ ) {
<del> dcpumpText[... | |
Java | epl-1.0 | ef9999476c4e3f3baa334b482e7397350444a9c4 | 0 | Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1 | /*******************************************************************************
* Copyright (c) 2004, 2010 Actuate Corporation.
* 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 av... | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/index/SerializableDataSetNumberIndex.java | /*******************************************************************************
* Copyright (c) 2004, 2010 Actuate Corporation.
* 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 av... | CheckIN:Fix a minor issue when serialize DataSetNumberIndex.
| data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/index/SerializableDataSetNumberIndex.java | CheckIN:Fix a minor issue when serialize DataSetNumberIndex. | <ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/index/SerializableDataSetNumberIndex.java
<ide> {
<ide> List<T> keyList = new LinkedList<T>( );
<ide> keyList.addAll( this.numberAndIndex.keySet( ) );
<add> if ( keyList.size( ) == 0 )
<add> {
<add> output.close( );
<add> retur... | |
Java | mit | af713dd1acb3215cd871994932f83e183f645652 | 0 | tim-group/test-driven-detectors4findbugs | /*
* test-driven-detectors4findbugs. Copyright (c) 2011 youDevise, Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to... | src/test/java/com/youdevise/fbplugins/tdd4fb/DetectorRunnerTest.java | /*
* test-driven-detectors4findbugs. Copyright (c) 2011 youDevise, Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to... | Fix compilation errors
| src/test/java/com/youdevise/fbplugins/tdd4fb/DetectorRunnerTest.java | Fix compilation errors | <ide><path>rc/test/java/com/youdevise/fbplugins/tdd4fb/DetectorRunnerTest.java
<ide>
<ide> public static ArgumentMatcher<ClassContext> isClassContextFor(final String simpleClassName) {
<ide> return new ArgumentMatcher<ClassContext>() {
<del> @Override public boolean matches(Object argument) {
<del> if (!(argum... | |
Java | apache-2.0 | a70d7382242c09b50c8ec20c6d872bd3820c9b5a | 0 | hurzl/dmix,abarisain/dmix,jcnoir/dmix,0359xiaodong/dmix,jcnoir/dmix,joansmith/dmix,hurzl/dmix,abarisain/dmix,0359xiaodong/dmix,joansmith/dmix | /*
* Copyright (C) 2010-2014 The MPDroid 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 ... | MPDroid/src/com/namelessdev/mpdroid/MPDApplication.java | /*
* Copyright (C) 2010-2014 The MPDroid 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 ... | MPDApplication: Fix many warnings.
| MPDroid/src/com/namelessdev/mpdroid/MPDApplication.java | MPDApplication: Fix many warnings. | <ide><path>PDroid/src/com/namelessdev/mpdroid/MPDApplication.java
<ide>
<ide> public class MPDApplication extends Application implements ConnectionListener {
<ide>
<del> public static final String TAG = "MPDroid";
<del>
<del> public static final int SETTINGS = 5;
<del>
<del> private static final long DISCONN... | |
Java | mit | e7a5706a57596a613b353a58f8c7c7fc3722bf5b | 0 | benjimarshall/anticake,benjimarshall/anticake | package anticake;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
public class AntiCake {
public static void main(String args[]) {
File homedir = new File("./");
ArrayList<String> names = new ArrayList<String>(Arrays.asList(homedir.list()));
for (int x = 0; x < names.size(); x++)... | anticake/AntiCake.java | package anticake;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
public class AntiCake {
public static void main(String args[]) {
File homedir = new File("./");
ArrayList<String> names = new ArrayList<String>(Arrays.asList(homedir.list()));
for (int x = 0; x < names.size(); x++)... | Newline Added | anticake/AntiCake.java | Newline Added | ||
Java | mit | 4fd0bb03daa85ceef8f2be4d555ce8afbe3127d6 | 0 | Randores/Randores2 | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 socraticphoenix@gmail.com
* Copyright (c) 2017 contributors
*
* 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,
* in... | src/main/java/com/gmail/socraticphoenix/randores/mod/component/CraftableType.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 socraticphoenix@gmail.com
* Copyright (c) 2017 contributors
*
* 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,
* in... | re-order craftables
| src/main/java/com/gmail/socraticphoenix/randores/mod/component/CraftableType.java | re-order craftables | <ide><path>rc/main/java/com/gmail/socraticphoenix/randores/mod/component/CraftableType.java
<ide> HOE(Keys.HOE, false, true, true, false, true, false),
<ide> PICKAXE(Keys.PICKAXE, false, true, true, false, true, true),
<ide> SHOVEL(Keys.SHOVEL, false, true, true, false, true, true),
<add> HELMET(Keys.HEL... | |
Java | apache-2.0 | ec816350a31e58ce4f24ff8f604aff1ee8ede822 | 0 | etnetera/jmeter,max3163/jmeter,ra0077/jmeter,ubikloadpack/jmeter,vherilier/jmeter,max3163/jmeter,max3163/jmeter,ubikloadpack/jmeter,vherilier/jmeter,vherilier/jmeter,max3163/jmeter,ra0077/jmeter,ra0077/jmeter,ra0077/jmeter,etnetera/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter,etnetera/jmeter,etnetera/jmeter,vherilier... | /*
* 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/components/org/apache/jmeter/visualizers/SummaryReport.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 ... | typo
git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1771648 13f79535-47bb-0310-9956-ffa450edef68
| src/components/org/apache/jmeter/visualizers/SummaryReport.java | typo | <ide><path>rc/components/org/apache/jmeter/visualizers/SummaryReport.java
<ide> }
<ide>
<ide> /**
<del> * @return <code>true</code> iff all functors can be found
<add> * @return <code>true</code> if all functors can be found
<ide> * @deprecated - only for use in testing
<ide> * */
<ide> @... | |
Java | mit | faca328c2be0628457aeeb0243b3b0645f684a22 | 0 | douggie/XChange | package org.knowm.xchange.bitstamp;
import static java.math.BigDecimal.ZERO;
import java.math.BigDecimal;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.knowm.xchange.bitstamp.dto.account.BitstampBalance;
import org.knowm.xchange.bitstamp.dto.mark... | xchange-bitstamp/src/main/java/org/knowm/xchange/bitstamp/BitstampAdapters.java | package org.knowm.xchange.bitstamp;
import static java.math.BigDecimal.ZERO;
import java.math.BigDecimal;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.knowm.xchange.bitstamp.dto.account.BitstampBalance;
import org.knowm.xchange.bitstamp.dto.mark... | #1512 - [Bitstamp] Order Type is wrong when there is a very small transaction fill.
| xchange-bitstamp/src/main/java/org/knowm/xchange/bitstamp/BitstampAdapters.java | #1512 - [Bitstamp] Order Type is wrong when there is a very small transaction fill. | <ide><path>change-bitstamp/src/main/java/org/knowm/xchange/bitstamp/BitstampAdapters.java
<ide> if (!t.getType().equals(BitstampUserTransaction.TransactionType.trade)) { // skip account deposits and withdrawals.
<ide> continue;
<ide> }
<del> OrderType orderType = t.get... | |
Java | apache-2.0 | 4760a5542178173e5d2b031e803da42847da6643 | 0 | cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | modules/gui/src/com/haulmont/cuba/gui/components/HtmlBoxLayout.java | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | PL-6943 JavaDoc for HtmlLayout
| modules/gui/src/com/haulmont/cuba/gui/components/HtmlBoxLayout.java | PL-6943 JavaDoc for HtmlLayout | <ide><path>odules/gui/src/com/haulmont/cuba/gui/components/HtmlBoxLayout.java
<ide>
<ide> String NAME = "htmlBox";
<ide>
<add> /**
<add> * Return filename of the related HTML template
<add> */
<ide> String getTemplateName();
<add>
<add> /**
<add> * Set filename of the related HTML template i... | |
Java | apache-2.0 | 7eb64d19f2f269341134ad0b57afb231c7ffabe1 | 0 | Syncleus/Ferma,Syncleus/Ferma | /******************************************************************************
* *
* Copyright: (c) Syncleus, Inc. *
* ... | src/main/java/com/syncleus/ferma/annotations/AnnotationFrameFactory.java | /******************************************************************************
* *
* Copyright: (c) Syncleus, Inc. *
* ... | Removed an unnecesary label on the break keyword.
Change-Id: I8657263ee408f03e7f69f7700d2af9316d42fa53
| src/main/java/com/syncleus/ferma/annotations/AnnotationFrameFactory.java | Removed an unnecesary label on the break keyword. | <ide><path>rc/main/java/com/syncleus/ferma/annotations/AnnotationFrameFactory.java
<ide> final MethodHandler handler = methodHandlers.get(annotation.annotationType());
<ide> if (handler != null) {
<ide> classBuilder = handler.processMethod(classBuilder, me... | |
Java | apache-2.0 | e4031932edaea00b5ec06f6153aa7e02e8f0e74e | 0 | sreeramjayan/elasticsearch,ZTE-PaaS/elasticsearch,ZTE-PaaS/elasticsearch,ThiagoGarciaAlves/elasticsearch,trangvh/elasticsearch,MisterAndersen/elasticsearch,wenpos/elasticsearch,brandonkearby/elasticsearch,yanjunh/elasticsearch,shreejay/elasticsearch,elasticdog/elasticsearch,liweinan0423/elasticsearch,mohit/elasticsearc... | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | core/src/main/java/org/elasticsearch/common/settings/Setting.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Use deprecation Logger
| core/src/main/java/org/elasticsearch/common/settings/Setting.java | Use deprecation Logger | <ide><path>ore/src/main/java/org/elasticsearch/common/settings/Setting.java
<ide> import org.elasticsearch.common.Booleans;
<ide> import org.elasticsearch.common.Strings;
<ide> import org.elasticsearch.common.collect.Tuple;
<add>import org.elasticsearch.common.logging.DeprecationLogger;
<ide> import org.elasticsearch.c... | |
Java | apache-2.0 | e6ee9059319e9ac5bbf1ddb5549a37d3f4c6e480 | 0 | nknize/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,HonzaKral/elasticsearch,coding0011/elasticsearch,vroyer/elassandra,scorpionvicky/elasticsearch,vroyer/elassandra,vroyer/elassandra,nknize/elasticsearch,uschindler/elasticsearch,strapdata/elassandra,ro... | elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/support/SearchRequestEquivalence.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.support;
import org.elasticsearch.act... | Watcher: Remove unused class
Original commit: elastic/x-pack-elasticsearch@ecd48b7914ebfc0d496c5c1adf4add199b09b48e
| elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/support/SearchRequestEquivalence.java | Watcher: Remove unused class | <ide><path>lasticsearch/src/main/java/org/elasticsearch/xpack/watcher/support/SearchRequestEquivalence.java
<del>/*
<del> * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
<del> * or more contributor license agreements. Licensed under the Elastic License;
<del> * you may not use this file e... | ||
Java | apache-2.0 | d658e87c9bd129004008fdb632e4c6bdc25d2860 | 0 | RapidPM/proxybuilder,tfeiner/proxybuilder,ProxyBuilder/proxybuilder,tfeiner/proxybuilder,ProxyBuilder/proxybuilder,ProxyBuilder/proxybuilder,RapidPM/proxybuilder | /*
* 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 ... | modules/core-annotationprocessor/src/main/java/org/rapidpm/proxybuilder/core/annotationprocessor/BasicAnnotationProcessor.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 ... | added support for methods like <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; <T extends List> T unwrapList(T type);
| modules/core-annotationprocessor/src/main/java/org/rapidpm/proxybuilder/core/annotationprocessor/BasicAnnotationProcessor.java | added support for methods like <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; <T extends List> T unwrapList(T type); | <ide><path>odules/core-annotationprocessor/src/main/java/org/rapidpm/proxybuilder/core/annotationprocessor/BasicAnnotationProcessor.java
<ide> import javax.lang.model.SourceVersion;
<ide> import javax.lang.model.element.*;
<ide> import javax.lang.model.type.DeclaredType;
<add>import javax.lang.model.type.TypeKind;
<ide... | |
Java | lgpl-2.1 | a1b33fcba205c57dc815d8fcb5374e35845c3b17 | 0 | golovnin/wildfly,99sono/wildfly,rhusar/wildfly,pferraro/wildfly,xasx/wildfly,tadamski/wildfly,pferraro/wildfly,jstourac/wildfly,iweiss/wildfly,99sono/wildfly,iweiss/wildfly,pferraro/wildfly,wildfly/wildfly,pferraro/wildfly,wildfly/wildfly,wildfly/wildfly,99sono/wildfly,xasx/wildfly,rhusar/wildfly,tadamski/wildfly,golov... | /*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | webservices/server-integration/src/main/java/org/jboss/as/webservices/service/EndpointService.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | [JBWS-3735] Add dependencies on WS endpoint services to the web deployment
| webservices/server-integration/src/main/java/org/jboss/as/webservices/service/EndpointService.java | [JBWS-3735] Add dependencies on WS endpoint services to the web deployment | <ide><path>ebservices/server-integration/src/main/java/org/jboss/as/webservices/service/EndpointService.java
<ide> import org.jboss.as.ejb3.security.service.EJBViewMethodSecurityAttributesService;
<ide> import org.jboss.as.security.plugins.SecurityDomainContext;
<ide> import org.jboss.as.security.service.SecurityDomain... | |
Java | mit | 71bf0470f100095443130eddc012a39096415621 | 0 | Mararok/EpicWar | /**
* EpicWar
* The MIT License
* Copyright (C) 2015 Mararok <mararok@gmail.com>
*/
package com.mararok.epicwar.control.point.internal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.logging.Level;
import org.bukkit.scheduler.Bu... | src/main/com/mararok/epicwar/control/point/internal/ControlPointManagerImpl.java | /**
* EpicWar
* The MIT License
* Copyright (C) 2015 Mararok <mararok@gmail.com>
*/
package com.mararok.epicwar.control.point.internal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import org.bukkit.scheduler.BukkitRunna... | Refactored
Removed "delete" method
Fixed update method | src/main/com/mararok/epicwar/control/point/internal/ControlPointManagerImpl.java | Refactored | <ide><path>rc/main/com/mararok/epicwar/control/point/internal/ControlPointManagerImpl.java
<ide> import java.util.Collection;
<ide> import java.util.Collections;
<ide> import java.util.LinkedList;
<del>import java.util.List;
<add>import java.util.logging.Level;
<ide>
<ide> import org.bukkit.scheduler.BukkitRunnable;
<... | |
Java | apache-2.0 | f121b6ac9040ecfe26683eb3a82848792556de5b | 0 | Peter32/spring-security,liuguohua/spring-security,cyratech/spring-security,kazuki43zoo/spring-security,raindev/spring-security,fhanik/spring-security,zgscwjm/spring-security,zshift/spring-security,olezhuravlev/spring-security,caiwenshu/spring-security,zhaoqin102/spring-security,xingguang2013/spring-security,thomasdarim... | /* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | core/src/test/java/org/springframework/security/concurrent/SessionRegistryImplTests.java | /* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Fixed tests which were making assumptions about ordering within sets.
| core/src/test/java/org/springframework/security/concurrent/SessionRegistryImplTests.java | Fixed tests which were making assumptions about ordering within sets. | <ide><path>ore/src/test/java/org/springframework/security/concurrent/SessionRegistryImplTests.java
<ide> import org.springframework.mock.web.MockHttpSession;
<ide>
<ide> import java.util.Date;
<add>import java.util.Set;
<add>import java.util.HashSet;
<add>import java.util.Arrays;
<ide>
<ide>
<ide> /**
<ide> * @vers... | |
Java | apache-2.0 | 732a94a574fa22f6bb2b8ad6195128375c03fa94 | 0 | boldtrn/graphhopper,graphhopper/graphhopper,don-philipe/graphhopper,devemux86/graphhopper,komoot/graphhopper,devemux86/graphhopper,ratrun/graphhopper,routexl/graphhopper,routexl/graphhopper,routexl/graphhopper,devemux86/graphhopper,boldtrn/graphhopper,prembasumatary/graphhopper,fbonzon/graphhopper,fbonzon/graphhopper,b... | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may n... | core/src/main/java/com/graphhopper/routing/lm/LandmarkStorage.java | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may n... | avoid exposing performance critical method to the public
| core/src/main/java/com/graphhopper/routing/lm/LandmarkStorage.java | avoid exposing performance critical method to the public | <ide><path>ore/src/main/java/com/graphhopper/routing/lm/LandmarkStorage.java
<ide> * @return the weight from the landmark to the specified node. Where the landmark integer is not
<ide> * a node ID but the internal index of the landmark array.
<ide> */
<del> public int getFromWeight(int landmarkIndex, ... | |
JavaScript | mit | 466b7c91ef211cdd2c2ca20f9206c397ca46efcf | 0 | leagueofwashu/leagueofwashu.github.io,leagueofwashu/leagueofwashu.github.io |
var smallNav = false;
$(document).ready(function() {
console.log('hello');
$('.navbar').css('min-height', '36px');
$('body').css('padding-top', '40px');
$('.dd-content').css('display', 'none');
$('.signup-hide').css('display', 'none');
if ($(window).scrollTop() > 30 && $('.navbar-toggle').css('display') === 'n... | public/js/custom.js |
var smallNav = false;
$(document).ready(function() {
console.log('hello');
$('.navbar').css('min-height', '36px');
$('body').css('padding-top', '40px');
$('.dd-content').css('display', 'none');
$('.signup-hide').css('display', 'none');
if ($(window).scrollTop() > 30){
smallNav = true;
}
});
$(window).scrol... | dsjfiosdfj
| public/js/custom.js | dsjfiosdfj | <ide><path>ublic/js/custom.js
<ide> $('.dd-content').css('display', 'none');
<ide> $('.signup-hide').css('display', 'none');
<ide>
<del> if ($(window).scrollTop() > 30){
<del> smallNav = true;
<add> if ($(window).scrollTop() > 30 && $('.navbar-toggle').css('display') === 'none'){
<add> shrinkNav();
<ide> }
<ide> ... | |
Java | mit | 5768a8b97db8f09145b3ffc9173d74f61c94168c | 0 | JCThePants/NucleusFramework,JCThePants/NucleusFramework | /*
* This file is part of NucleusFramework for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the ... | src/com/jcwhatever/nucleus/utils/items/loremeta/LoreMetaMap.java | /*
* This file is part of NucleusFramework for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the ... | use LinkedHashMap to maintain meta order
| src/com/jcwhatever/nucleus/utils/items/loremeta/LoreMetaMap.java | use LinkedHashMap to maintain meta order | <ide><path>rc/com/jcwhatever/nucleus/utils/items/loremeta/LoreMetaMap.java
<ide> import javax.annotation.Nullable;
<ide> import java.util.Collection;
<ide> import java.util.HashMap;
<add>import java.util.LinkedHashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide>
<ide> * Constructor.
<ide> ... | |
Java | apache-2.0 | 9ff81ac41c4b2be003d5c58c3c44f8a2928f0d84 | 0 | deepnarsay/JGroups,vjuranek/JGroups,deepnarsay/JGroups,rhusar/JGroups,kedzie/JGroups,pruivo/JGroups,rhusar/JGroups,rpelisse/JGroups,Sanne/JGroups,ibrahimshbat/JGroups,rvansa/JGroups,dimbleby/JGroups,Sanne/JGroups,ibrahimshbat/JGroups,danberindei/JGroups,belaban/JGroups,rpelisse/JGroups,pruivo/JGroups,tristantarrant/JGr... | package org.jgroups.protocols;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.View;
import org.jgroups.stack.Protocol;
import org.jgroups.util.Range;
import org.jgroups.util.Util;
import java.util.*;
/**
* Fragmentation layer. Fragments messages larger than fra... | src/org/jgroups/protocols/FRAG2.java | package org.jgroups.protocols;
import org.jgroups.Address;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.View;
import org.jgroups.stack.Protocol;
import org.jgroups.util.Range;
import org.jgroups.util.Util;
import java.util.*;
/**
* Fragmentation layer. Fragments messages larger than fra... | javadoc change
| src/org/jgroups/protocols/FRAG2.java | javadoc change | <ide><path>rc/org/jgroups/protocols/FRAG2.java
<ide> * Compared to FRAG, this protocol does <em>not</em> need to serialize the message in order to break it into
<ide> * smaller fragments: it looks only at the message's buffer, which is a byte[] array anyway. We assume that the
<ide> * size addition for headers and s... | |
Java | apache-2.0 | 04d19da7e42935d84cf2c05c2877a77eaaf63ced | 0 | xfournet/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,xfournet/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,xfournet/intellij... | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.roots.ui.configuration;
import com.intellij.core.JavaCoreBundle;
import com.intellij.icons.AllIcons;
import com.intellij.ide.util.BrowseFilesListene... | java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ProjectConfigurable.java | /*
* Copyright 2000-2016 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... | use ExtendableTextField to merge browse button
| java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ProjectConfigurable.java | use ExtendableTextField to merge browse button | <ide><path>ava/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ProjectConfigurable.java
<del>/*
<del> * Copyright 2000-2016 JetBrains s.r.o.
<del> *
<del> * Licensed under the Apache License, Version 2.0 (the "License");
<del> * you may not use this file except in compliance with the License.
<del> * You may ob... | |
Java | apache-2.0 | f16fc122e9b0a5ce46ac9b121884088f8ec75505 | 0 | AspiroTV/Connect-SDK-Android-Core,ConnectSDK/Connect-SDK-Android-Core | /*
* MediaControl
* Connect SDK
*
* Copyright (c) 2014 LG Electronics.
* Created by Hyun Kook Khang on 19 Jan 2014
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... | src/com/connectsdk/service/capability/MediaControl.java | /*
* MediaControl
* Connect SDK
*
* Copyright (c) 2014 LG Electronics.
* Created by Hyun Kook Khang on 19 Jan 2014
*
* 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://... | Removed reference to Google Cast SDK
| src/com/connectsdk/service/capability/MediaControl.java | Removed reference to Google Cast SDK | <ide><path>rc/com/connectsdk/service/capability/MediaControl.java
<ide>
<ide> import com.connectsdk.service.capability.listeners.ResponseListener;
<ide> import com.connectsdk.service.command.ServiceSubscription;
<del>import com.google.android.gms.cast.MediaStatus;
<ide>
<ide> public interface MediaControl extends Cap... | |
Java | apache-2.0 | 4892d049f95f9c19b8068a37422ed87706472ef4 | 0 | bogovicj/jitk-tps,bogovicj/jitk-tps,saalfeldlab/jitk-tps | package jitk.spline;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Random;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.ejml.data.DenseMatrix64F;
import org.ejml.ops.CommonOps;
import org.junit.Test;
public class ThinPlateR... | src/test/java/jitk/spline/ThinPlateR2LogRSplineKernelTransformTest.java | package jitk.spline;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Random;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.ejml.data.DenseMatrix64F;
import org.ejml.ops.CommonOps;
import org.junit.Test;
public class ThinPlateR... | stricter test for tps-inverse
| src/test/java/jitk/spline/ThinPlateR2LogRSplineKernelTransformTest.java | stricter test for tps-inverse | <ide><path>rc/test/java/jitk/spline/ThinPlateR2LogRSplineKernelTransformTest.java
<ide> final ThinPlateR2LogRSplineKernelTransform tps = new ThinPlateR2LogRSplineKernelTransform(
<ide> ndims, srcPts, tgtPts, false );
<ide>
<del> double finalError= tps.inverseTol( target, guess, 0.5, 2000 );
<add> double finalE... | |
Java | apache-2.0 | 3dbeccdf8c7c3572d22ea5a5bca3b01b3287097c | 0 | kelemen/JTrim,kelemen/JTrim | package org.jtrim.image.transform;
import org.jtrim.concurrent.async.DataConverter;
/**
* Defines an image transformation from {@link ImageTransformerData} to
* {@link TransformedImage}.
* <P>
* When applying a transformation on the input, the conversion must specify
* the coordinate transformation which transfo... | jtrim-gui/src/main/java/org/jtrim/image/transform/ImageTransformer.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jtrim.image.transform;
import org.jtrim.concurrent.async.DataConverter;
/**
*
* @author Kelemen Attila
*/
public interface ImageTransformer
extends
DataConverter<ImageTransformerData, Transforme... | Documented ImageTransformer | jtrim-gui/src/main/java/org/jtrim/image/transform/ImageTransformer.java | Documented ImageTransformer | <ide><path>trim-gui/src/main/java/org/jtrim/image/transform/ImageTransformer.java
<del>/*
<del> * To change this template, choose Tools | Templates
<del> * and open the template in the editor.
<del> */
<del>
<ide> package org.jtrim.image.transform;
<ide>
<ide> import org.jtrim.concurrent.async.DataConverter;
<ide>
<i... | |
JavaScript | mit | bc733bfbfb014ad0e09bc5a065afe1d133c8f1f0 | 0 | dhuertas/mat.js,dhuertas/mat.js | /*
* @author dhuertas
* @email huertas.dani@gmail.com
*/
var MAT = (function() {
/*
* Arithmetical operations
*/
var OP = {
sum : function(a, b) {
if (a instanceof Array && b instanceof Array) {
return [a[0] + b[0], a[1] + b[1]];
} else if (a instanceof Array && ! b instanceof Array) {
re... | mat.js | /*
* @author dhuertas
* @email huertas.dani@gmail.com
*/
var MAT = (function() {
/*
* Arithmetical operations
*/
var OP = {
sum : function(a, b) {
if (a instanceof Array && b instanceof Array) {
return [a[0] + b[0], a[1] + b[1]];
} else if (a instanceof Array && ! b instanceof Array) {
re... | toArray now uses the slice method of the javascript Array object
| mat.js | toArray now uses the slice method of the javascript Array object | <ide><path>at.js
<ide> */
<ide> toArray : function () {
<ide>
<del> var res = [], n = this.values.length;
<del>
<del> for (var i = 0; i < n; i++) {
<del>
<del> res.push(this.values[i]);
<del>
<del> }
<del>
<del> return res;
<add> return this.values.slice(0);
<ide>
<ide> },
<ide> | |
Java | mit | 826a04e8869bbd7dbc7b9a50f2fd3e88c869dc3d | 0 | bwkimmel/jmist | /**
*
*/
package ca.eandb.jmist.framework.measurement;
import java.util.Arrays;
import ca.eandb.jmist.math.MathUtil;
import ca.eandb.jmist.math.SphericalCoordinates;
import ca.eandb.jmist.math.Vector3;
/**
* A <code>CollectorSphere</code> where each stack of sensors spans the same
* polar angle.
* @author Brad ... | src/ca/eandb/jmist/framework/measurement/EqualPolarAnglesCollectorSphere.java | /**
*
*/
package ca.eandb.jmist.framework.measurement;
import java.util.Arrays;
import ca.eandb.jmist.math.MathUtil;
import ca.eandb.jmist.math.SphericalCoordinates;
import ca.eandb.jmist.math.Vector3;
/**
* A <code>CollectorSphere</code> where each stack of sensors spans the same
* polar angle.
* @author Brad ... | Bug fix: EqualPolarAnglesCollectorSphere not computing correct slice based on azimuthal angle.
| src/ca/eandb/jmist/framework/measurement/EqualPolarAnglesCollectorSphere.java | Bug fix: EqualPolarAnglesCollectorSphere not computing correct slice based on azimuthal angle. | <ide><path>rc/ca/eandb/jmist/framework/measurement/EqualPolarAnglesCollectorSphere.java
<ide> } else if (stack == 2 * stacks - 1) {
<ide> return sensors() - 1;
<ide> } else { /* 0 < stack < 2 * stacks - 1 */
<add> phi += Math.PI / (double) slices;
<add>
<ide> if (phi < 0.0) phi += 2.0 * Math.PI;
<ide> ... | |
Java | apache-2.0 | c38f4ff77cc187654cf427215b824c9240258dd8 | 0 | danielsun1106/groovy-parser,danielsun1106/groovy-parser | /*
* 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")... | src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.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")... | Minor refactoring
| src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java | Minor refactoring | <ide><path>rc/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java
<ide> if (expression instanceof ClosureExpression && !asBoolean(e.closure().ARROW())) {
<ide> List<Statement> statementList = ((BlockStatement) ((ClosureExpression) expression).getCode()).getStatements();... | |
JavaScript | apache-2.0 | c49d78252f86ab1e24ab0be024d797a9c5f6f5f9 | 0 | icereval/osf.io,monikagrabowska/osf.io,mluo613/osf.io,cslzchen/osf.io,Nesiehr/osf.io,mluo613/osf.io,CenterForOpenScience/osf.io,mluo613/osf.io,laurenrevere/osf.io,Johnetordoff/osf.io,acshi/osf.io,Nesiehr/osf.io,mfraezz/osf.io,hmoco/osf.io,alexschiller/osf.io,monikagrabowska/osf.io,mfraezz/osf.io,monikagrabowska/osf.io,... | var $ = require('jquery');
var m = require('mithril');
var mime = require('js/mime');
var bootbox = require('bootbox');
var $osf = require('js/osfHelpers');
var waterbutler = require('js/waterbutler');
// Local requires
var utils = require('./util.js');
var FileEditor = require('./editor.js');
var makeClient = require... | website/static/js/filepage/index.js | var $ = require('jquery');
var m = require('mithril');
var mime = require('js/mime');
var bootbox = require('bootbox');
var $osf = require('js/osfHelpers');
var waterbutler = require('js/waterbutler');
// Local requires
var utils = require('./util.js');
var FileEditor = require('./editor.js');
var makeClient = require... | added missing bootstrap styles that are needed for dynamic sizing of MFR PDFs
| website/static/js/filepage/index.js | added missing bootstrap styles that are needed for dynamic sizing of MFR PDFs | <ide><path>ebsite/static/js/filepage/index.js
<ide> m('.tab-pane#embed', [
<ide> m('p', 'Dynamically render iframe with JavaScript'),
<ide> m('textarea.form-control[readonly][type="text"][value="' +
<del> '<sc... | |
JavaScript | unlicense | 544625a33d71c4a81a79d6175d0489df223a7bb2 | 0 | JATS4R/jats4r.github.io,JATS4R/website,JATS4R/website,JATS4R/jats4r.github.io,JATS4R/website,JATS4R/jats4r.github.io,JATS4R/jats4r.github.io,JATS4R/website | // SAXON API: http://www.saxonica.com/ce/user-doc/1.1/html/api/xslt20processor/
// onSaxonLoad is called when Saxon has finished loading
var onSaxonLoad = function() {
var outputNode = document.getElementById('output');
outputNode.textContent = 'Choose a JATS XML file to validate.';
// insert the file sel... | validate.js | // SAXON API: http://www.saxonica.com/ce/user-doc/1.1/html/api/xslt20processor/
// onSaxonLoad is called when Saxon has finished loading
var onSaxonLoad = function() {
var outputNode = document.getElementById('output');
outputNode.textContent = 'Choose a JATS XML file to validate.';
// insert the file sel... | FileReader result is text
| validate.js | FileReader result is text | <ide><path>alidate.js
<ide> outputNode.textContent = 'Processing…';
<ide>
<ide> var reader = new FileReader;
<del> reader.responseType = 'document';
<ide>
<ide> reader.onload = function() {
<ide> // run the Schematron tests
<ide> Saxon.run({
<ide> ... | |
JavaScript | unknown | 068fc0176fbe3babcfb380e090a630e7baed000e | 0 | sr229/owo-whats-this,ClarityMoe/Clara,awau/owo-whats-this,owo-dev-team/owo-whats-this,awau/Clara | /* eslint-env node */
const {parseArgs, parsePrefix} = require(`${__baseDir}/modules/messageParser`);
const {Context} = require(`${__baseDir}/modules/CommandHolder`);
const {formatUsername} = require(`${__baseDir}/modules/utils`);
module.exports = bot => {
bot.on('messageCreate', msg => {
if (!msg.author)... | src/events/commandHandler.js | /* eslint-env node */
//we'll use wolke's version of the lib
const chatbot = require('better-cleverbot-io');
// I don't care if everyone rips this out, we have unlimited API calls here anyways
const ayaneru = new chatbot({user: config.cbUser, key: config.cbKey, nick: 'H9dG2tvV'});
const {parseArgs, parsePrefix} = requ... | Make auto cleverbot only work with mention and if the module is loaded
| src/events/commandHandler.js | Make auto cleverbot only work with mention and if the module is loaded | <ide><path>rc/events/commandHandler.js
<ide> /* eslint-env node */
<ide>
<del>//we'll use wolke's version of the lib
<del>const chatbot = require('better-cleverbot-io');
<del>// I don't care if everyone rips this out, we have unlimited API calls here anyways
<del>const ayaneru = new chatbot({user: config.cbUser, key: ... | |
Java | apache-2.0 | 8812e5fd78b714902e5b58956cdc27dbed5e565b | 0 | apache/santuario-java,apache/santuario-java,apache/santuario-java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | src/test/java/org/apache/xml/security/test/stax/signature/SignatureVerificationTest.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | Adding an enveloped test
git-svn-id: ee17208af0df0552975824e4840d757fdb463ab9@1683276 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/xml/security/test/stax/signature/SignatureVerificationTest.java | Adding an enveloped test | <ide><path>rc/test/java/org/apache/xml/security/test/stax/signature/SignatureVerificationTest.java
<ide> }
<ide>
<ide> @Test
<add> public void testEnvelopedSignatureVerification() throws Exception {
<add> // Read in plaintext document
<add> InputStream sourceDocument =
<add> ... | |
Java | apache-2.0 | f401c22276ce058cfc908bff7a72d875898eb1e4 | 0 | SIROK/growthbeat-android,growthbeat/growthbeat-android | package com.growthbeat.message;
import android.graphics.Bitmap;
import android.util.LruCache;
/**
* Created by mugi65 on 2016/06/29.
*/
public class MessageImageCacheManager extends LruCache<String, Bitmap> {
public MessageImageCacheManager() {
this((int) (Runtime.getRuntime().maxMemory() / 5));
}
... | growthbeat/src/main/java/com/growthbeat/message/MessageImageCacheManager.java | package com.growthbeat.message;
import android.graphics.Bitmap;
import android.util.LruCache;
/**
* Created by mugi65 on 2016/06/29.
*/
public class MessageImageCacheManager extends LruCache<String, Bitmap> {
public MessageImageCacheManager() {
this((int) (Runtime.getRuntime().maxMemory() / 10));
}... | adjust cache memory
| growthbeat/src/main/java/com/growthbeat/message/MessageImageCacheManager.java | adjust cache memory | <ide><path>rowthbeat/src/main/java/com/growthbeat/message/MessageImageCacheManager.java
<ide> public class MessageImageCacheManager extends LruCache<String, Bitmap> {
<ide>
<ide> public MessageImageCacheManager() {
<del> this((int) (Runtime.getRuntime().maxMemory() / 10));
<add> this((int) (Runtime.g... | |
Java | apache-2.0 | 67aae1adf518bf534853f6173400e1f8bbb73dff | 0 | NymphWeb/nymph | com/nymph/context/wrapper/JavassistUtil.java | package com.nymph.context.wrapper;
import java.lang.reflect.Method;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
import javassist.NotFoundException;
import javassist.bytecode.CodeAttribute;
import javassist.bytecode.LocalVariableAttribute;
import javassist.bytecode.MethodInfo;
pub... | Delete JavassistUtil.java | com/nymph/context/wrapper/JavassistUtil.java | Delete JavassistUtil.java | <ide><path>om/nymph/context/wrapper/JavassistUtil.java
<del>package com.nymph.context.wrapper;
<del>
<del>import java.lang.reflect.Method;
<del>
<del>import javassist.ClassPool;
<del>import javassist.CtClass;
<del>import javassist.CtMethod;
<del>import javassist.NotFoundException;
<del>import javassist.bytecode.CodeAtt... | ||
JavaScript | agpl-3.0 | eaa189476a0015258dd927c99e0166f02c94847e | 0 | SciencesPo/isari,SciencesPo/isari,SciencesPo/isari,SciencesPo/isari | 'use strict'
const templates = require('../../specs/templates')
const { getMeta } = require('./specs')
const { RESERVED_FIELDS } = require('./schemas')
const { get, clone, isObject, isArray } = require('lodash/fp')
const memoize = require('memoizee')
const { mongo } = require('mongoose')
module.exports = {
applyTem... | server/lib/model-utils.js | 'use strict'
const templates = require('../../specs/templates')
const { getMeta } = require('./specs')
const { RESERVED_FIELDS } = require('./schemas')
const { get, clone, isObject, isArray } = require('lodash/fp')
const memoize = require('memoizee')
const { mongo } = require('mongoose')
module.exports = {
applyTem... | fix(format): handling new reserved fields in mongoose (damn you)
| server/lib/model-utils.js | fix(format): handling new reserved fields in mongoose (damn you) | <ide><path>erver/lib/model-utils.js
<ide>
<ide> // Format each sub-element recursively
<ide> Object.keys(o).forEach(f => {
<add> if (f.substring(0, 3) === '$__') {
<add> // Mongoose internal cache: ignore, thank you Mongoose for your biiiiiig semver respect
<add> return
<add> }
<ide> if (f[0] === '_' || f ==... | |
Java | apache-2.0 | 908b3e71a1d2f42d0a7199d43d5a18346e4959c1 | 0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung | package org.synyx.urlaubsverwaltung.ui.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.WebDriverWait;
import o... | src/test/java/org/synyx/urlaubsverwaltung/ui/pages/NavigationPage.java | package org.synyx.urlaubsverwaltung.ui.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.synyx.urlaubsverwaltung.ui.Page;
import static org.openqa.selenium.support.ui.ExpectedConditions.ele... | add waitForElementAnimationToFinish for selenium tests
| src/test/java/org/synyx/urlaubsverwaltung/ui/pages/NavigationPage.java | add waitForElementAnimationToFinish for selenium tests | <ide><path>rc/test/java/org/synyx/urlaubsverwaltung/ui/pages/NavigationPage.java
<ide> package org.synyx.urlaubsverwaltung.ui.pages;
<ide>
<ide> import org.openqa.selenium.By;
<add>import org.openqa.selenium.JavascriptExecutor;
<ide> import org.openqa.selenium.WebDriver;
<ide> import org.openqa.selenium.WebElement;
<a... | |
Java | apache-2.0 | 8a6912a4e561ca150012725bf72f3da0f5325b21 | 0 | EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci | package uk.ac.ebi.spot.goci.curation.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
impo... | goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/StudyController.java | package uk.ac.ebi.spot.goci.curation.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
impo... | Added model attribute that stores list of all authors
| goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/StudyController.java | Added model attribute that stores list of all authors | <ide><path>oci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/StudyController.java
<ide> return "redirect:/studies?page=1&efoTraitId=" + efoTraitId;
<ide> }
<ide>
<add> // Search by string in notes
<ide> else if (notesQuery != null && !notesQuery.isEmp... | |
Java | mit | 498ca59ed3325209be867a7d62751803e4660e40 | 0 | domisum/AuxiliumLib | package de.domisum.lib.auxilium.util;
import de.domisum.lib.auxilium.util.file.DirectoryCopy;
import de.domisum.lib.auxilium.util.file.FileFilter;
import de.domisum.lib.auxilium.util.java.ThreadUtil;
import de.domisum.lib.auxilium.util.java.annotations.API;
import de.domisum.lib.auxilium.util.java.exceptions.ShouldNev... | src/main/java/de/domisum/lib/auxilium/util/FileUtil.java | package de.domisum.lib.auxilium.util;
import de.domisum.lib.auxilium.util.file.DirectoryCopy;
import de.domisum.lib.auxilium.util.file.FileFilter;
import de.domisum.lib.auxilium.util.java.ThreadUtil;
import de.domisum.lib.auxilium.util.java.annotations.API;
import de.domisum.lib.auxilium.util.java.exceptions.ShouldNev... | Changed mkdirs failure condition
| src/main/java/de/domisum/lib/auxilium/util/FileUtil.java | Changed mkdirs failure condition | <ide><path>rc/main/java/de/domisum/lib/auxilium/util/FileUtil.java
<ide> if(dir.exists())
<ide> return;
<ide>
<del> boolean success = dir.mkdirs();
<del> if(!success)
<del> throw new UncheckedIOException(new IOException(
<del> "Failed to create directory (and possibly parent directories) of "+dir));
<add>... | |
JavaScript | mit | 04c271964d6cc3269865c47aee95bfbd392a593c | 0 | simonfork/paranoid-auto-spacing,vinta/paranoid-auto-spacing,vinta/pangu.js,simonfork/paranoid-auto-spacing,vinta/pangu.js,vinta/paranoid-auto-spacing,7kfpun/paranoid-auto-spacing,7kfpun/paranoid-auto-spacing | (function(pangu) {
/*
1.
硬幹 contentEditable 元素的 child nodes 還是會被 spacing 的問題
因為 contentEditable 的值可能是 'true', 'false', 'inherit'
如果沒有顯式地指定 contentEditable 的值
一般都會是 'inherit' 而不是 'false'
2.
不要對特定 tag 裡的文字加空格
關於這個我還不是很確定
所以先註解掉
TODO:
太暴力了,應該有更好的解法
*/
... | src/pangu.js | (function(pangu) {
/*
1.
硬幹 contentEditable 元素的 child nodes 還是會被 spacing 的問題
因為 contentEditable 的值可能是 'true', 'false', 'inherit'
如果沒有顯式地指定 contentEditable 的值
一般都會是 'inherit' 而不是 'false'
2.
不要對特定 tag 裡的文字加空格
關於這個我還不是很確定
所以先註解掉
TODO:
太暴力了,應該有更好的解法
*/
... | 鬼燈就在細節裡
| src/pangu.js | 鬼燈就在細節裡 | <ide><path>rc/pangu.js
<ide> :;"'
<ide> <>?,./
<ide>
<del> 中文 ([\u4E00-\u9FFF])
<del> 日文 ([\u3040-\u30FF])
<del> http://www.diybl.com/course/6_system/linux/Linuxjs/20090426/165435.html
<add> 3000−303F 中日韩符号和标点
<add> 3040−309F 日文平假名
<add> 30A0−30FF 日文片假名... | |
JavaScript | mit | 9dd94d3b46a4d4d6a3c62b3af3f50d45a5c40702 | 0 | DesoGit/Tsunami_PS,Mystifi/Exiled,DarkSuicune/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Sora-League/Sora,SolarisFox/Pokemon-Showdown,DesoGit/Tsunami_PS,AWailOfATail/Pokemon-Showdown,Mystifi/Exiled,Kokonoe-san/Glacia-PS,EienSeiryuu/Pokemon-Showdown,Sora-League/Sora,azum4roll/Pokemon-Showdown,xfix/Pokemon-Showdown,Enig... | 'use strict';
exports.BattleFormatsData = {
bulbasaur: {
randomBattleMoves: ["sleeppowder", "gigadrain", "hiddenpowerfire", "hiddenpowerice", "sludgebomb", "powerwhip", "leechseed", "synthesis"],
randomDoubleBattleMoves: ["sleeppowder", "gigadrain", "hiddenpowerfire", "hiddenpowerice", "sludgebomb", "powerwhip", ... | data/formats-data.js | 'use strict';
exports.BattleFormatsData = {
bulbasaur: {
randomBattleMoves: ["sleeppowder", "gigadrain", "hiddenpowerfire", "hiddenpowerice", "sludgebomb", "powerwhip", "leechseed", "synthesis"],
randomDoubleBattleMoves: ["sleeppowder", "gigadrain", "hiddenpowerfire", "hiddenpowerice", "sludgebomb", "powerwhip", ... | Random Battle: Add more Silvally sets
| data/formats-data.js | Random Battle: Add more Silvally sets | <ide><path>ata/formats-data.js
<ide> requiredItem: "Bug Memory",
<ide> },
<ide> silvallydark: {
<add> randomBattleMoves: ["multiattack", "swordsdance", "flamecharge", "ironhead"],
<ide> tier: "New",
<ide> requiredItem: "Dark Memory",
<ide> },
<ide> requiredItem: "Dragon Memory",
<ide> },
<ide> silvallyele... | |
Java | apache-2.0 | 2dfc77887976057036c72d30ca6121163c2358db | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2014 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | src/main/java/com/jaamsim/input/ExpResult.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2014 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | JS: mark the BAD_Result constant as final
Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>
| src/main/java/com/jaamsim/input/ExpResult.java | JS: mark the BAD_Result constant as final | <ide><path>rc/main/java/com/jaamsim/input/ExpResult.java
<ide> import com.jaamsim.units.DimensionlessUnit;
<ide> import com.jaamsim.units.Unit;
<ide>
<add>public class ExpResult {
<add> public static final ExpResult BAD_RESULT = new ExpResult(Double.NaN, DimensionlessUnit.class);
<ide>
<del>public class ExpResult {
<... | |
Java | apache-2.0 | c1e0a31e1878e2042ea95d116d885a195779b925 | 0 | carloseduardosx/github-java-trends | package com.carloseduardo.github.base;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
public abstract class BaseAdapter<VH extends RecyclerView.ViewHolder, T> extends RecyclerView.Adapter<VH>{
protected List<T> items;
... | app/src/main/java/com/carloseduardo/github/base/BaseAdapter.java | package com.carloseduardo.github.base;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import java.util.List;
public abstract class BaseAdapter<VH extends RecyclerView.ViewHolder, T> extends RecyclerView.Adapter<VH>{
protected List<T> items;
public BaseAdapter(List... | Assign new array after clean list content
| app/src/main/java/com/carloseduardo/github/base/BaseAdapter.java | Assign new array after clean list content | <ide><path>pp/src/main/java/com/carloseduardo/github/base/BaseAdapter.java
<ide> import android.support.annotation.NonNull;
<ide> import android.support.v7.widget.RecyclerView;
<ide>
<add>import java.util.ArrayList;
<ide> import java.util.List;
<ide>
<ide> public abstract class BaseAdapter<VH extends RecyclerView.Vie... | |
Java | apache-2.0 | f303622e88f9511faba56e1cfee170504f0f66cb | 0 | McLeodMoores/starling,jerome79/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,codeaudit/OG-Platform,codeaudit/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,McLeodMoores/starling,nssales/OG-Plat... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.test;
import static com.google.common.collect.Maps.newHashMap;
import static com.google.common.collect.Sets.difference;
import static com.opengamma.util.R... | projects/OG-UtilDB/src/main/java/com/opengamma/util/test/DbScripts.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.test;
import static com.google.common.collect.Maps.newHashMap;
import static com.google.common.collect.Sets.difference;
import static com.opengamma.util.R... | [PLAT-3409] Fix script loading to also look locally
| projects/OG-UtilDB/src/main/java/com/opengamma/util/test/DbScripts.java | [PLAT-3409] Fix script loading to also look locally | <ide><path>rojects/OG-UtilDB/src/main/java/com/opengamma/util/test/DbScripts.java
<ide> File local = new File(DbTool.getWorkingDirectory(), DATABASE_INSTALL_FOLDER).getCanonicalFile();
<ide> File relative = new File(SCRIPT_RELATIVE_PATH, DATABASE_INSTALL_FOLDER).getCanonicalFile();
<ide> if (local.exi... | |
Java | apache-2.0 | 61bd0f466a0b9e353fdda49406dca4fba370aa70 | 0 | serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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/license... | plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/editors/PostgresRolePrivilegesEditor.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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/license... | #1712 PG privilege editor redesign (use nav tree)
Former-commit-id: bce8da43cb20719adcea8fea214cc16b8cb836ae | plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/editors/PostgresRolePrivilegesEditor.java | #1712 PG privilege editor redesign (use nav tree) | <ide><path>lugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/editors/PostgresRolePrivilegesEditor.java
<ide> import org.jkiss.dbeaver.model.DBUtils;
<ide> import org.jkiss.dbeaver.model.navigator.DBNDatabaseFolder;
<ide> import org.jkiss.dbeaver.model.navigator.DBNDatabaseNode;
<add>import... | |
Java | bsd-3-clause | eb0a8641cbed8ec4776c18bfb289a987f073b99a | 0 | Open-MBEE/MDK,Open-MBEE/MDK | /*******************************************************************************
* Copyright (c) <2013>, California Institute of Technology ("Caltech").
* U.S. Government sponsorship acknowledged.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are... | src/main/java/gov/nasa/jpl/mbee/DocGenConfigurator.java | /*******************************************************************************
* Copyright (c) <2013>, California Institute of Technology ("Caltech").
* U.S. Government sponsorship acknowledged.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are... | take out empty mms category when not in developer mode | src/main/java/gov/nasa/jpl/mbee/DocGenConfigurator.java | take out empty mms category when not in developer mode | <ide><path>rc/main/java/gov/nasa/jpl/mbee/DocGenConfigurator.java
<ide> return;
<ide>
<ide> if (ViewEditUtils.isPasswordSet()) {
<del> ActionsCategory modelLoad = myCategory(manager, "AlfrescoModel", "MMS");
<ide> if (MDUtils.isDeveloperMode()) {
<add> ... | |
JavaScript | apache-2.0 | 718e711b6be1e039228ee84e93695bdbf805e710 | 0 | dotnetCarpenter/eloquent,dotnetCarpenter/eloquent | var input;
if(process && process.argv) { // test if we are in a nodejs compatible environment
if(process.argv.length > 2) {
input = process.argv[process.argv.length-1];
}
}
var testString = input || "Bobby Boob Blubber";
console.log("%s has %d capital Bs in it.", testString, countBs(testString));
/*
function ... | chapter03/countBs.js | var input;
if(process && process.argv) { // test if we are in a nodejs compatible environment
if(process.argv.length > 2) {
input = process.argv[process.argv.length-1];
}
}
var testString = input || "Bobby Boob Blubber";
console.log("%s has %d capital Bs in it.", testString, countBs(testString));
function cou... | Bean Counting - version 2
| chapter03/countBs.js | Bean Counting - version 2 | <ide><path>hapter03/countBs.js
<ide> var testString = input || "Bobby Boob Blubber";
<ide> console.log("%s has %d capital Bs in it.", testString, countBs(testString));
<ide>
<add>/*
<ide> function countBs(string) { // version 1
<ide> var Bs = 0;
<ide> for(var n = 0, len = string.length; n < len; n++)
<ide> Bs ... | |
Java | apache-2.0 | 588216f66ded237ec1fbfcd423be4f91a074aac6 | 0 | jondwillis/ElectricSleep | package com.androsz.electricsleepbeta.app;
import java.util.ArrayList;
import java.util.Calendar;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.ContentObserver;
import android.database.Cur... | src/com/androsz/electricsleepbeta/app/HistoryMonthActivity.java | package com.androsz.electricsleepbeta.app;
import java.util.ArrayList;
import java.util.Calendar;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.ContentObserver;
import android.database.Cur... | Reverted accidental change to HistoryMonthActivity. | src/com/androsz/electricsleepbeta/app/HistoryMonthActivity.java | Reverted accidental change to HistoryMonthActivity. | <ide><path>rc/com/androsz/electricsleepbeta/app/HistoryMonthActivity.java
<ide> @Override
<ide> public void onPageScrollStateChanged(int state) {
<ide>
<del> if (state == ViewPager.SCROLL_STATE_SETTLING) {
<add> if (state == ViewPager.SCROLL_STATE_IDLE) {
<ide>
<ide> if (lastSettledPosition == lastPositio... | |
Java | bsd-3-clause | 2fa7ec5252004c210087ccce5e3e2c95205ba515 | 0 | mdcao/japsa,mdcao/japsa | /*****************************************************************************
* Copyright (c) Minh Duc Cao, Monash Uni & UQ, All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* m... | src/dev/java/japsadev/bio/hts/scaffold/ScaffoldGraph.java | /*****************************************************************************
* Copyright (c) Minh Duc Cao, Monash Uni & UQ, All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* m... | Trying to fix NoSuchElementException... | src/dev/java/japsadev/bio/hts/scaffold/ScaffoldGraph.java | Trying to fix NoSuchElementException... | <ide><path>rc/dev/java/japsadev/bio/hts/scaffold/ScaffoldGraph.java
<ide>
<ide> //set the remaining.FIXME
<ide> scaffoldT.trim();
<del> if(scaffoldF.size() > 0){
<del> scaffoldF.trim();
<del> addScf=scaffoldF.getFirst().getIndex();
<add> scaffoldF.trim();
<add> if(!scaffoldF.isEmpty()){
<add> ... | |
JavaScript | mit | 289e9c80daff3636c1e00d67851f05ea65075ff2 | 0 | wagerfield/colorgasm | (function(window, globalID) {
//----------------------------------------
// Vector
//----------------------------------------
var Vector = {
create: function(x, y) {
return {x:x||0, y:y||0};
},
identity: function(target) {
target.x = 0;
target.y = 0;
},
copy: function(tar... | assets/scripts/colorgasm.js | (function(window, globalID) {
//----------------------------------------
// Vector
//----------------------------------------
var Vector = {
create: function(x, y) {
return {x:x||0, y:y||0};
},
id: function(target) {
target.x = 0;
target.y = 0;
},
copy: function(target, a... | :gb: Added rotate and normalise methods to Vector
| assets/scripts/colorgasm.js | :gb: Added rotate and normalise methods to Vector | <ide><path>ssets/scripts/colorgasm.js
<ide> create: function(x, y) {
<ide> return {x:x||0, y:y||0};
<ide> },
<del> id: function(target) {
<add> identity: function(target) {
<ide> target.x = 0;
<ide> target.y = 0;
<ide> },
<ide> target.x = a.x;
<ide> target.y = a.y;
<ide> ... | |
Java | apache-2.0 | fa401b2b2e859228ef60469266588852c7c89f0f | 0 | tony810430/flink,rmetzger/flink,twalthr/flink,rmetzger/flink,kl0u/flink,gyfora/flink,zentol/flink,kl0u/flink,gyfora/flink,StephanEwen/incubator-flink,rmetzger/flink,zjureel/flink,wwjiang007/flink,StephanEwen/incubator-flink,godfreyhe/flink,lincoln-lil/flink,apache/flink,gyfora/flink,zentol/flink,clarkyzl/flink,xccui/fl... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [FLINK-21365][runtime] Document and make the contract of FutureUtils.ResultConjunctFuture more explicit
Add an explanation why is the current solution working and also
clean it up a little bit (dropping unecessary volatile and adding final keyword).
| flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java | [FLINK-21365][runtime] Document and make the contract of FutureUtils.ResultConjunctFuture more explicit | <ide><path>link-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java
<ide> private final AtomicInteger numCompleted = new AtomicInteger(0);
<ide>
<ide> /** The set of collected results so far. */
<del> private volatile T[] results;
<add> private final T[] results;
<i... | |
Java | apache-2.0 | 7076b7408f06bc8a277f58e7bb6c2ec3372d5d6f | 0 | apache/commons-lang,MarkDacek/commons-lang,britter/commons-lang,britter/commons-lang,apache/commons-lang,britter/commons-lang,apache/commons-lang,MarkDacek/commons-lang,MarkDacek/commons-lang | /*
* 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/main/java/org/apache/commons/lang3/CharRange.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 ... | Boolean comparisons in CharRange (closes #289)
Cleaned up comparisons to false to just use the boolean negation
operator (!).
| src/main/java/org/apache/commons/lang3/CharRange.java | Boolean comparisons in CharRange (closes #289) | <ide><path>rc/main/java/org/apache/commons/lang3/CharRange.java
<ide> if (obj == this) {
<ide> return true;
<ide> }
<del> if (obj instanceof CharRange == false) {
<add> if (!(obj instanceof CharRange)) {
<ide> return false;
<ide> }
<ide> final CharRa... | |
Java | apache-2.0 | 810218298156c61f1f3a2c4f51ebafebf196243d | 0 | dimbleby/JGroups,vjuranek/JGroups,rhusar/JGroups,Sanne/JGroups,dimbleby/JGroups,ibrahimshbat/JGroups,pferraro/JGroups,rvansa/JGroups,ligzy/JGroups,pruivo/JGroups,rhusar/JGroups,belaban/JGroups,deepnarsay/JGroups,pferraro/JGroups,tristantarrant/JGroups,danberindei/JGroups,rhusar/JGroups,Sanne/JGroups,danberindei/JGroups... |
package org.jgroups.tests;
import org.jgroups.Address;
import org.jgroups.Global;
import org.jgroups.blocks.TCPConnectionMap;
import org.jgroups.util.DefaultThreadFactory;
import org.jgroups.util.Util;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
im... | tests/junit-functional/org/jgroups/tests/ConnectionMapUnitTest.java |
package org.jgroups.tests;
import org.jgroups.Address;
import org.jgroups.Global;
import org.jgroups.blocks.TCPConnectionMap;
import org.jgroups.util.DefaultThreadFactory;
import org.jgroups.util.Util;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
im... | changed ports from 5555 to 15555 and 6666 to 16666 (conflicts with IntelliJ ports)
| tests/junit-functional/org/jgroups/tests/ConnectionMapUnitTest.java | changed ports from 5555 to 15555 and 6666 to 16666 (conflicts with IntelliJ ports) | <ide><path>ests/junit-functional/org/jgroups/tests/ConnectionMapUnitTest.java
<ide> @Test(groups=Global.FUNCTIONAL,sequential=true)
<ide> public class ConnectionMapUnitTest {
<ide> TCPConnectionMap ct1, ct2;
<del> static final int port1=5555, port2=6666;
<add> static final int port1=15555, port2=16666;
<ide> ... | |
Java | apache-2.0 | e6c1aca23c396502136b31f743af8ed18b9d3743 | 0 | d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor | package com.netflix.conductor.aurora;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.netflix.conductor.common.metadata.events.EventExecution;
import com.netflix.conductor.common.metadata.events.EventPublished;
import c... | postgresql-persistence/src/main/java/com/netflix/conductor/aurora/AuroraExecutionDAO.java | package com.netflix.conductor.aurora;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.netflix.conductor.common.metadata.events.EventExecution;
import com.netflix.conductor.common.metadata.events.EventPublished;
import c... | ONECOND-1557 PgHero conductor code refactoring
| postgresql-persistence/src/main/java/com/netflix/conductor/aurora/AuroraExecutionDAO.java | ONECOND-1557 PgHero conductor code refactoring | <ide><path>ostgresql-persistence/src/main/java/com/netflix/conductor/aurora/AuroraExecutionDAO.java
<ide> return Lists.newArrayList();
<ide> }
<ide>
<del> return getWithTransaction(tx -> taskIds.stream().map(id -> getTask(tx, id)))
<add> return getWithTransaction(tx -> taskIds.stream()
<add> .map(id -> getTas... | |
Java | mit | 8b3202ae492a72e6366dc0a8337ab584843cdd5c | 0 | Elorri/PopularMovies | package com.example.android.popularmovies;
import android.net.Uri;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.Ht... | app/src/main/java/com/example/android/popularmovies/TmdbAccess.java | package com.example.android.popularmovies;
import android.net.Uri;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.Ht... | Remove API key before pushing on github
| app/src/main/java/com/example/android/popularmovies/TmdbAccess.java | Remove API key before pushing on github | <ide><path>pp/src/main/java/com/example/android/popularmovies/TmdbAccess.java
<ide>
<ide>
<ide> private static final String LOG_TAG = TmdbAccess.class.getSimpleName();
<del> private final String API_KEY = "4691965cfc3e6f0591bc595986e92e84";
<add> private final String API_KEY = "real_api_key_here";
<ide>
<i... | |
Java | apache-2.0 | 9e90fa3d37a846e4acd5e86356f9e7a82f884ce8 | 0 | helyho/Voovan,helyho/Voovan,helyho/Voovan | package org.voovan.tools.reflect;
import org.voovan.tools.TDateTime;
import org.voovan.tools.TObject;
import org.voovan.tools.TString;
import org.voovan.tools.json.JSON;
import org.voovan.tools.json.annotation.NotJSON;
import org.voovan.tools.reflect.annotation.NotSerialization;
import java.lang.reflect.*;
import ja... | src/main/java/org/voovan/tools/reflect/TReflect.java | package org.voovan.tools.reflect;
import org.voovan.tools.TDateTime;
import org.voovan.tools.TObject;
import org.voovan.tools.TString;
import org.voovan.tools.json.JSON;
import org.voovan.tools.json.annotation.NotJSON;
import org.voovan.tools.reflect.annotation.NotSerialization;
import java.lang.reflect.*;
import ja... | imp: 优化反射工具类的性能
| src/main/java/org/voovan/tools/reflect/TReflect.java | imp: 优化反射工具类的性能 | <ide><path>rc/main/java/org/voovan/tools/reflect/TReflect.java
<ide>
<ide> private static Map<String, Field> fields = new HashMap<String ,Field>();
<ide> private static Map<String, Method> methods = new HashMap<String ,Method>();
<add> private static Map<String, Field[]> fieldArrays = new HashMap<String ,Field[]>();... | |
Java | apache-2.0 | a30a9cdab7354b0012fb2c87d534dda684828315 | 0 | tasomaniac/OpenLinkWith,tasomaniac/OpenLinkWith,tasomaniac/OpenLinkWith | package com.tasomaniac.openwith.homescreen;
import android.annotation.TargetApi;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.annotation... | app/src/main/java/com/tasomaniac/openwith/homescreen/AddToHomeScreenDialogFragment.java | package com.tasomaniac.openwith.homescreen;
import android.annotation.TargetApi;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.annotation... | Extract method for better readibility
| app/src/main/java/com/tasomaniac/openwith/homescreen/AddToHomeScreenDialogFragment.java | Extract method for better readibility | <ide><path>pp/src/main/java/com/tasomaniac/openwith/homescreen/AddToHomeScreenDialogFragment.java
<ide> });
<ide> }
<ide>
<del> private void showProgressBar() {
<del> progressBar.post(new Runnable() {
<del> @Override
<del> public void run() {
<del> progressBar... | |
Java | mit | 40b3005f5a51d8b57720d14fa607701b2b21e2cc | 0 | PrinceOfAmber/CyclicMagic,PrinceOfAmber/Cyclic | package com.lothrazar.cyclicmagic.component.hydrator;
import com.lothrazar.cyclicmagic.block.base.TileEntityBaseMachineInvo;
import com.lothrazar.cyclicmagic.gui.ITileRedstoneToggle;
import com.lothrazar.cyclicmagic.util.UtilItemStack;
import com.lothrazar.cyclicmagic.util.UtilWorld;
import net.minecraft.init.Blocks;
i... | src/main/java/com/lothrazar/cyclicmagic/component/hydrator/TileEntityHydrator.java | package com.lothrazar.cyclicmagic.component.hydrator;
import com.lothrazar.cyclicmagic.block.base.TileEntityBaseMachineInvo;
import com.lothrazar.cyclicmagic.gui.ITileRedstoneToggle;
import com.lothrazar.cyclicmagic.util.UtilItemStack;
import com.lothrazar.cyclicmagic.util.UtilWorld;
import net.minecraft.init.Blocks;
i... | proof of concept : concrete
| src/main/java/com/lothrazar/cyclicmagic/component/hydrator/TileEntityHydrator.java | proof of concept : concrete | <ide><path>rc/main/java/com/lothrazar/cyclicmagic/component/hydrator/TileEntityHydrator.java
<ide> import com.lothrazar.cyclicmagic.util.UtilItemStack;
<ide> import com.lothrazar.cyclicmagic.util.UtilWorld;
<ide> import net.minecraft.init.Blocks;
<add>import net.minecraft.item.EnumDyeColor;
<ide> import net.minecraft.i... | |
Java | apache-2.0 | c368821a7f51aa03e256c6683d9f6dfa6f8f6982 | 0 | thymeleaf/thymeleaf,thymeleaf/thymeleaf | /*
* =============================================================================
*
* Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ... | src/main/java/org/thymeleaf/standard/StandardDialect.java | /*
* =============================================================================
*
* Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ... | Removed unneeded processors from StandardDialect (affecting events never fired in text template modes)
| src/main/java/org/thymeleaf/standard/StandardDialect.java | Removed unneeded processors from StandardDialect (affecting events never fired in text template modes) | <ide><path>rc/main/java/org/thymeleaf/standard/StandardDialect.java
<ide> processors.add(new StandardInliningTextProcessor(TemplateMode.TEXT));
<ide>
<ide> /*
<del> * TEXT: CDATASection PROCESSORS
<del> */
<del> processors.add(new StandardInliningCDATASectionProcessor(TemplateMod... | |
JavaScript | mit | 1c09aaa988172db310fdea9512c555e66b0f5e50 | 0 | boonmeelab/opendata-hackathon-2015,boonmeelab/opendata-hackathon-2015 |
// filter data
// [filter condition]
// year: { start: START_YEAR, end: END_YEAR} -> { start: 2008, end: 2009}
// sex: ARRAY -> 0 (unknown), 1 (female), 2 (male)
// age: ARRAY -> 0 (unknown), 1 (<=18), 2 (19-35), 3 (36-55), 4 (>=56)
// alcohol: ARRAY -> 0 (unknown), 1 (no), 2 (yes)
// safety: ARRAY -> 0 (unknown), 1 (... | src/js/main-a.js |
// filter data
// [filter condition]
// year: { start: START_YEAR, end: END_YEAR} -> { start: 2008, end: 2009}
// sex: ARRAY -> 0 (unknown), 1 (female), 2 (male)
// age: ARRAY -> 0 (unknown), 1 (<=18), 2 (19-35), 3 (36-55), 4 (>=56)
// alcohol: ARRAY -> 0 (unknown), 1 (no), 2 (yes)
// safety: ARRAY -> 0 (unknown), 1 (... | Add age filter
| src/js/main-a.js | Add age filter | <ide><path>rc/js/main-a.js
<ide> return time;
<ide> }
<ide>
<add>function ageWrapper(age) {
<add> if (age <= 18) return 1;
<add> else if (age >= 19 && age <= 35) return 2;
<add> else if (age >= 36 && age <= 55) return 3;
<add> else if (age >= 56) return 4;
<add> return -1;
<add>}
<add>
<ide> function filterUtil... | |
Java | apache-2.0 | 45112bf609e93559c49d7b1c400e1fd647c31b47 | 0 | YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player | package eu.ydp.empiria.player.client.gin;
import eu.ydp.gwtutil.client.components.exlistbox.ExListBoxDelays;
public class EmpiriaExListBoxDelay implements ExListBoxDelays {
@Override
public int getCloseDelay() {
return 0;
}
}
| src/eu/ydp/empiria/player/client/gin/EmpiriaExListBoxDelay.java | package eu.ydp.empiria.player.client.gin;
import eu.ydp.gwtutil.client.components.exlistbox.ExListBoxDelays;
public class EmpiriaExListBoxDelay implements ExListBoxDelays {
@Override
public int getAutoHideDelay() {
return 0;
}
@Override
public int getCloseDelay() {
return 0;
}
}
| [YPUB-6402] - interface containing one delay method
| src/eu/ydp/empiria/player/client/gin/EmpiriaExListBoxDelay.java | [YPUB-6402] - interface containing one delay method | <ide><path>rc/eu/ydp/empiria/player/client/gin/EmpiriaExListBoxDelay.java
<ide> public class EmpiriaExListBoxDelay implements ExListBoxDelays {
<ide>
<ide> @Override
<del> public int getAutoHideDelay() {
<del> return 0;
<del> }
<del>
<del> @Override
<ide> public int getCloseDelay() {
<ide> return 0;
<ide> } | |
Java | apache-2.0 | 941afa4e81ee8c38ae3762692476d26e8e52d1ab | 0 | AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid | package me.devsaki.hentoid.util;
import org.junit.Assert;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class NaturalOrderComparatorTest {
@Test
public void compare1() {
List<String> refVals = Stre... | app/src/test/java/me/devsaki/hentoid/util/NaturalOrderComparatorTest.java | package me.devsaki.hentoid.util;
import org.junit.Assert;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class NaturalOrderComparatorTest {
@Test
public void compare() {
List<String> refVals = Strea... | Even more tests
| app/src/test/java/me/devsaki/hentoid/util/NaturalOrderComparatorTest.java | Even more tests | <ide><path>pp/src/test/java/me/devsaki/hentoid/util/NaturalOrderComparatorTest.java
<ide> public class NaturalOrderComparatorTest {
<ide>
<ide> @Test
<del> public void compare() {
<add> public void compare1() {
<ide> List<String> refVals = Stream.of("033_chr_0228_2d_r18", "034_chr_0228_2e_r18", "035_... | |
JavaScript | mit | 4da4c7cf197a5bba47971d438f6381a77cd19f7e | 0 | tprobinson/aersia,tprobinson/aersia,tprobinson/aersia | /////
// /*%= friendlyname */ v/*%= version */
//
//To do tags:
// CSS: Ongoing changes to the CSS.
// REWORK: Changes to do in the future.
// MOREFILE: Move this out into a compiled library file in the future
// FUTURE: Stuff to do much later.
/////
//"use strict";
/* jshint
maxerr:1000, eqeqeq: true, eqnull: false, ... | js/main.js | /////
// /*%= friendlyname */ v/*%= version */
//
//To do tags:
// CSS: Ongoing changes to the CSS.
// REWORK: Changes to do in the future.
// MOREFILE: Move this out into a compiled library file in the future
// FUTURE: Stuff to do much later.
/////
//"use strict";
/* jshint
maxerr:1000, eqeqeq: true, eqnull: false, ... | Rather than splicing or using ES6 sets, just iterate once.
| js/main.js | Rather than splicing or using ES6 sets, just iterate once. | <ide><path>s/main.js
<ide> }.bind(this);
<ide>
<ide> this.shuffleSong = function() {
<del> //Generate a list of songs we're allowed to play.
<del> var list = clone(this.songs);
<del>
<del> //Ensure we don't play the same song again.
<del> list.splice(list.indexOf(this.curSong),1);
<del>
<del> if( this.no... | |
Java | bsd-3-clause | 66bf3baa456957e585d4865664dfc0e94da4aa58 | 0 | wakatime/jetbrains-wakatime | /* ==========================================================
File: Dependencies.java
Description: Manages plugin dependencies.
Maintainer: WakaTime <support@wakatime.com>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
=========================================================... | src/com/wakatime/intellij/plugin/Dependencies.java | /* ==========================================================
File: Dependencies.java
Description: Manages plugin dependencies.
Maintainer: WakaTime <support@wakatime.com>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
=========================================================... | use home folder for all wakatime files even on Windows platform
| src/com/wakatime/intellij/plugin/Dependencies.java | use home folder for all wakatime files even on Windows platform | <ide><path>rc/com/wakatime/intellij/plugin/Dependencies.java
<ide> private static Boolean standalone = null;
<ide>
<ide> public static String getResourcesLocation() {
<del> if (Dependencies.resourcesLocation == null) {
<del> if (System.getenv("WAKATIME_HOME") != null && !System.getenv("WAKATI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.