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 | mit | 1a3bc509f9c4de02d1deff0872fca6cb8ebe7720 | 0 | Bimde/Blackjack-Server | package gameplay;
import java.util.ArrayList;
import java.util.Collections;
/**
* Deck object, contains all the decks of cards to be used.
*/
public class Deck {
private int numOfDecks;
private ArrayList<Card> cards;
private static final int SHUFFLE_REPEAT = 10;
/**
* Constructs a new Deck obje... | src/gameplay/Deck.java | package gameplay;
import java.util.ArrayList;
import java.util.Collections;
/**
* Deck object, contains all the decks of cards to be used.
*/
public class Deck {
private int numOfDecks;
private ArrayList<Card> cards;
/**
* Constructs a new Deck object. Sets the number of decks to the class
* v... | Hotfix for client seed guessing
See https://github.com/Bimde/Blackjack-Server/issues/40 | src/gameplay/Deck.java | Hotfix for client seed guessing | <ide><path>rc/gameplay/Deck.java
<ide> public class Deck {
<ide> private int numOfDecks;
<ide> private ArrayList<Card> cards;
<add> private static final int SHUFFLE_REPEAT = 10;
<ide>
<ide> /**
<ide> * Constructs a new Deck object. Sets the number of decks to the class
<ide> }
<ide> }
<ide>
<del> // Shuffl... | |
Java | apache-2.0 | d33503042e8296b0b540abcac7052ced750d1db1 | 0 | apache/commons-lang,apache/commons-lang,apache/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/time/FastDateParser.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 ... | Better internal name.
| src/main/java/org/apache/commons/lang3/time/FastDateParser.java | Better internal name. | <ide><path>rc/main/java/org/apache/commons/lang3/time/FastDateParser.java
<ide> * {@inheritDoc}
<ide> */
<ide> @Override
<del> void setCalendar(final FastDateParser parser, final Calendar cal, final String value) {
<add> void setCalendar(final FastDateParser parser, final Calenda... | |
JavaScript | apache-2.0 | bb8ad5f9416ebec7df1db5d116e0b72940e6ff32 | 0 | weilonge/unidisk,weilonge/unidisk,weilonge/unidisk | var pcs = require("../clouddrive/pcs");
var async = require('async');
var fs = require('fs');
var UD_BLOCK_SIZE = 1*1024*1024;
var UD_QUEUE_SIZE = 3;
var UD_CACHE_PATH = "/tmp/ud/cache";
var udManager = {};
udManager._writeCache = function (task, data, cb){
fs.writeFile(UD_CACHE_PATH + "/" + task.md5sum, data, func... | helper/udManager.js | var pcs = require("../clouddrive/pcs");
var async = require('async');
var fs = require('fs');
var UD_BLOCK_SIZE = 1*1024*1024;
var UD_QUEUE_SIZE = 3;
var UD_CACHE_PATH = "/tmp/ud/cache";
var udManager = {};
udManager._writeCache = function (task, data, cb){
fs.writeFile(UD_CACHE_PATH + "/" + task.md5sum, data, func... | Improve the log format.
| helper/udManager.js | Improve the log format. | <ide><path>elper/udManager.js
<ide> this.FileListCache = {};
<ide> this.FileDataCache = {};
<ide> this.FileDownloadQueue = async.queue(function (task, callback) {
<del> console.log(task.path + "|" + task.offset + '| downloading...');
<add> console.log(' [B] ' + task.path + "|" + task.offset + '| downloading...');... | |
Java | apache-2.0 | 51c50d8546adef7132728f65e785dff4f0d4e3bf | 0 | clebertsuconic/activemq-artemis,clebertsuconic/activemq-artemis,tabish121/activemq-artemis,tabish121/activemq-artemis,apache/activemq-artemis,tabish121/activemq-artemis,apache/activemq-artemis,tabish121/activemq-artemis,clebertsuconic/activemq-artemis,apache/activemq-artemis,clebertsuconic/activemq-artemis,apache/activ... | /*
* 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 n... | artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.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 n... | ARTEMIS-4056 Fixing compatibility with getFirstMessage()
if Empty the previous method was returning new Map[1] and the JSON output would be slightly different and I am playing safe here just in case.
| artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java | ARTEMIS-4056 Fixing compatibility with getFirstMessage() | <ide><path>rtemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
<ide>
<ide> clearIO();
<ide> try {
<del> List<Map<String, Object>> messages = new ArrayList<>();
<ide> final int attributeSizeLimit = addressSettingsRepository.getMatch(address).ge... | |
Java | mit | e228e20c7ffd73119e4496e749c068f80cc1f150 | 0 | breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android | package com.platform;
import com.breadwallet.BuildConfig;
/**
* Created by byfieldj on 3/26/18.
*/
public class JsonRpcConstants {
// Ethereum rpc endpoint
public static final String BRD_ETH_RPC_ENDPOINT = BuildConfig.BITCOIN_TESTNET ? "/ethq/ropsten/proxy" : "ethq/mainnet/proxy";
public static final S... | app/src/main/java/com/platform/JsonRpcConstants.java | package com.platform;
/**
* Created by byfieldj on 3/26/18.
*/
public class JsonRpcConstants {
// Ethereum rpc endpoint
public static final String BRD_ETH_RPC_ENDPOINT = "/ethq/ropsten/proxy";
public static final String ETH_RPC_TX_LIST = "https://ropsten.etherscan.io/api?module=account&action=txlist&a... | use testnet or mainnet links accordingly
| app/src/main/java/com/platform/JsonRpcConstants.java | use testnet or mainnet links accordingly | <ide><path>pp/src/main/java/com/platform/JsonRpcConstants.java
<ide> package com.platform;
<add>
<add>import com.breadwallet.BuildConfig;
<ide>
<ide> /**
<ide> * Created by byfieldj on 3/26/18.
<ide> */
<ide>
<ide> public class JsonRpcConstants {
<del>
<del>
<ide> // Ethereum rpc endpoint
<del> public static... | |
Java | apache-2.0 | ad29c5a9020f8e81b8f0aaba85a4c84e57361d1d | 0 | EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4 | package uk.ac.ebi.biosamples.service;
import java.util.List;
import java.util.Optional;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.Resource;
import org.springframework.hateoas.ResourceAssembler;
import org.springframework.hateoas.mvc.ControllerLinkBuilder;
import org.springframework.s... | webapps/core/src/main/java/uk/ac/ebi/biosamples/service/SampleResourceAssembler.java | package uk.ac.ebi.biosamples.service;
import java.util.List;
import java.util.Optional;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.Resource;
import org.springframework.hateoas.ResourceAssembler;
import org.springframework.hateoas.mvc.ControllerLinkBuilder;
import org.springframework.s... | fix curationLink rel generation
| webapps/core/src/main/java/uk/ac/ebi/biosamples/service/SampleResourceAssembler.java | fix curationLink rel generation | <ide><path>ebapps/core/src/main/java/uk/ac/ebi/biosamples/service/SampleResourceAssembler.java
<ide> ControllerLinkBuilder.methodOn(SampleCurationLinksRestController.class)
<ide> .getCurationLinkPageJson(accession, null, null)).withRel("curationLinks");
<ide> }
<add>
<add>
<add> private Link getCurati... | |
Java | epl-1.0 | error: pathspec 'src/main/java/org/jtrfp/trcl/img/ColorUtils.java' did not match any file(s) known to git
| 701301286fedd9931f3196b9d0b819e69f45c050 | 1 | jtrfp/terminal-recall,jtrfp/terminal-recall,jtrfp/terminal-recall | /*******************************************************************************
* This file is part of TERMINAL RECALL
* Copyright (c) 2012-2015 Chuck Ritola and contributors.
* See Github project's commit log for contribution details.
* All rights reserved. This program and the accompanying materials
* are made... | src/main/java/org/jtrfp/trcl/img/ColorUtils.java | Initial creation of ColorUtils. | src/main/java/org/jtrfp/trcl/img/ColorUtils.java | Initial creation of ColorUtils. | <ide><path>rc/main/java/org/jtrfp/trcl/img/ColorUtils.java
<add>/*******************************************************************************
<add> * This file is part of TERMINAL RECALL
<add> * Copyright (c) 2012-2015 Chuck Ritola and contributors.
<add> * See Github project's commit log for contribution details.
... | |
Java | mit | f33937eb07c693d23503ff567535a2596e4a77b6 | 0 | OreCruncher/DynamicSurroundings,OreCruncher/DynamicSurroundings | /*
* This file is part of Dynamic Surroundings, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* 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 restrictio... | src/main/java/org/blockartistry/DynSurround/client/fx/particle/ParticleBase.java | /*
* This file is part of Dynamic Surroundings, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* 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 restrictio... | Race condition when loading laggy world
| src/main/java/org/blockartistry/DynSurround/client/fx/particle/ParticleBase.java | Race condition when loading laggy world | <ide><path>rc/main/java/org/blockartistry/DynSurround/client/fx/particle/ParticleBase.java
<ide> import net.minecraft.client.gui.FontRenderer;
<ide> import net.minecraft.client.particle.Particle;
<ide> import net.minecraft.client.renderer.entity.RenderManager;
<add>import net.minecraft.client.settings.GameSettings;
<id... | |
JavaScript | apache-2.0 | 6966bd54eb199ba139a61cae9f27ac893bf7b960 | 0 | dakingdog/AlexaMyChef | // Require your files or libraries here. You can use npm to install libraries.
var Alexa = require('clay-alexa-sdk');
var USDAkey="Q2W8cDINhmomMkw2Qv91Vq3laaACY2NB8J54WsdI";
var https=require('https');
var optionsget={
host:'api.nal.usda.gov',
api_key: USDAkey,
format: 'json',
port: 443,
fg: 'fruit and fruit ... | my-chef3/index.js | // Require your files or libraries here. You can use npm to install libraries.
var Alexa = require('clay-alexa-sdk');
// var USDAkey="Q2W8cDINhmomMkw2Qv91Vq3laaACY2NB8J54WsdI";
// var https=require('https');
// var optionsget={
// host:'api.nal.usda.gov',
// api_key: USDAkey,
// format: 'json',
// port: 443,
//... | Testing fruit USDA db call
| my-chef3/index.js | Testing fruit USDA db call | <ide><path>y-chef3/index.js
<ide> // Require your files or libraries here. You can use npm to install libraries.
<ide> var Alexa = require('clay-alexa-sdk');
<del>// var USDAkey="Q2W8cDINhmomMkw2Qv91Vq3laaACY2NB8J54WsdI";
<del>// var https=require('https');
<del>// var optionsget={
<del>// host:'api.nal.usda.gov',
<d... | |
Java | apache-2.0 | 11f288bf9d32704f3cd0d1e2dad0810cb77979ae | 0 | tharikaGitHub/product-apim,chamilaadhi/product-apim,ChamNDeSilva/product-apim,amalkasubasinghe/product-apim,ChamNDeSilva/product-apim,dhanuka84/product-apim,jaadds/product-apim,sambaheerathan/product-apim,hevayo/product-apim,sambaheerathan/product-apim,lakmali/product-apim,thilinicooray/product-apim,dhanuka84/product-a... | /*
*Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LICENSE... | modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/throttling/APITierManagementTestCase.java | /*
*Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LICENSE... | Fixing typo
| modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/throttling/APITierManagementTestCase.java | Fixing typo | <ide><path>odules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/throttling/APITierManagementTestCase.java
<ide> private final Log log = LogFactory.getLog(APITierManagementTestCase.class);
<ide>
<ide> private AdminDashboardRestClient adminDashboard;
<del> private... | |
Java | bsd-3-clause | ca6176c8be318088a2be01b581675081652b651b | 0 | NCIP/cadsr-bulk-loader,NCIP/cadsr-bulk-loader | package gov.nih.nci.ncicb.cadsr.bulkloader.util;
import gov.nih.nci.ncicb.cadsr.bulkloader.beans.UnloadProperties;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFact... | cadsrbulkloader/src/main/java/gov/nih/nci/ncicb/cadsr/bulkloader/util/BulkLoaderUnclassifier.java | package gov.nih.nci.ncicb.cadsr.bulkloader.util;
import gov.nih.nci.ncicb.cadsr.bulkloader.beans.LoadProperties;
import gov.nih.nci.ncicb.cadsr.bulkloader.beans.UnloadProperties;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.apach... | bug fix for incorrect prepared statement index
SVN-Revision: 60
| cadsrbulkloader/src/main/java/gov/nih/nci/ncicb/cadsr/bulkloader/util/BulkLoaderUnclassifier.java | bug fix for incorrect prepared statement index | <ide><path>adsrbulkloader/src/main/java/gov/nih/nci/ncicb/cadsr/bulkloader/util/BulkLoaderUnclassifier.java
<ide> package gov.nih.nci.ncicb.cadsr.bulkloader.util;
<ide>
<del>import gov.nih.nci.ncicb.cadsr.bulkloader.beans.LoadProperties;
<ide> import gov.nih.nci.ncicb.cadsr.bulkloader.beans.UnloadProperties;
<ide>
<i... | |
Java | bsd-2-clause | 739984225f1074cdeb27efa84539472b45be2d69 | 0 | edgehosting/jira-dvcs-connector,edgehosting/jira-dvcs-connector,markphip/testing,markphip/testing,edgehosting/jira-dvcs-connector,markphip/testing | package com.atlassian.jira.plugins.dvcs.pageobjects.component;
import com.atlassian.pageobjects.elements.PageElement;
import org.openqa.selenium.By;
import static com.atlassian.pageobjects.elements.query.Conditions.and;
import static com.atlassian.pageobjects.elements.query.Poller.by;
import static com.atlassian.page... | jira-dvcs-connector-pageobjects/src/main/java/com/atlassian/jira/plugins/dvcs/pageobjects/component/RepositoryDiv.java | package com.atlassian.jira.plugins.dvcs.pageobjects.component;
import com.atlassian.pageobjects.elements.PageElement;
import org.openqa.selenium.By;
import static com.atlassian.pageobjects.elements.query.Conditions.and;
import static com.atlassian.pageobjects.elements.query.Poller.by;
import static com.atlassian.page... | AJAX_ACTION is only 10 seconds while default is 30, so restore default
| jira-dvcs-connector-pageobjects/src/main/java/com/atlassian/jira/plugins/dvcs/pageobjects/component/RepositoryDiv.java | AJAX_ACTION is only 10 seconds while default is 30, so restore default | <ide><path>ira-dvcs-connector-pageobjects/src/main/java/com/atlassian/jira/plugins/dvcs/pageobjects/component/RepositoryDiv.java
<ide> import static com.atlassian.pageobjects.elements.query.Poller.by;
<ide> import static com.atlassian.pageobjects.elements.query.Poller.waitUntil;
<ide> import static com.atlassian.pageob... | |
Java | apache-2.0 | ed528f37f4f812f3fd6e6056567a77794be86efb | 0 | katre/bazel,perezd/bazel,twitter-forks/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,akira-baruah/bazel,bazelbuild/bazel,ulfjack/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,perezd/bazel,ulfjack/bazel,davidzchen/bazel,twitter-forks/bazel,werkt/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,safarmer/bazel,katre/bazel,... | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Delete unused arguments to framework search path functions
They are left over from the framework cleanup.
RELNOTES: None
PiperOrigin-RevId: 279752015
| src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java | Delete unused arguments to framework search path functions | <ide><path>rc/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java
<ide> .getCoptsForCompilationMode())
<ide> .addAll(extraCompileArgs)
<ide> .build())
<del> .addFrameworkIncludeDirs(
<del> frameworkHeade... | |
Java | apache-2.0 | 679eb44465fe9fe88332ab4003df803fddc075b7 | 0 | kubatatami/JudoNetworking | package com.github.kubatatami.judonetworking.callbacks;
import java.util.Map;
import java.util.WeakHashMap;
public class CallbackCache {
private final int hash;
private AsyncResultCallback callback;
private static final Map<Integer, AsyncResultCallback> itemCache = new WeakHashMap<>();
public Call... | base/src/main/java/com/github/kubatatami/judonetworking/callbacks/CallbackCache.java | package com.github.kubatatami.judonetworking.callbacks;
import java.util.Map;
import java.util.WeakHashMap;
public class CallbackCache {
private final int hash;
private AsyncResultCallback callback;
private static final Map<Integer, AsyncResultCallback> itemCache = new WeakHashMap<>();
public Call... | bug fix
| base/src/main/java/com/github/kubatatami/judonetworking/callbacks/CallbackCache.java | bug fix | <ide><path>ase/src/main/java/com/github/kubatatami/judonetworking/callbacks/CallbackCache.java
<ide> }
<ide>
<ide> public boolean consume() {
<del> if (callback.equals(itemCache.get(hash))) {
<add> if (validCallback()) {
<ide> itemCache.remove(hash);
<ide> return true;
<id... | |
Java | agpl-3.0 | fd58992219846f2e8987b2ce520e9d82633f1b81 | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | package imcode.server.document.index.service.impl;
import com.imcode.imcms.api.DocumentLanguage;
import com.imcode.imcms.api.DocumentLanguages;
import com.imcode.imcms.mapping.DocumentMapper;
import imcode.server.document.DocumentDomainObject;
import imcode.server.document.index.DocumentIndex;
import lombok.SneakyThro... | src/main/java/imcode/server/document/index/service/impl/DocumentIndexServiceOps.java | package imcode.server.document.index.service.impl;
import com.imcode.imcms.api.DocumentLanguage;
import com.imcode.imcms.api.DocumentLanguages;
import com.imcode.imcms.mapping.DocumentMapper;
import imcode.server.document.DocumentDomainObject;
import imcode.server.document.index.DocumentIndex;
import lombok.SneakyThro... | IMCMS-233 - Apply new UI to the admin panel and editors:
- Clean up.
| src/main/java/imcode/server/document/index/service/impl/DocumentIndexServiceOps.java | IMCMS-233 - Apply new UI to the admin panel and editors: - Clean up. | <ide><path>rc/main/java/imcode/server/document/index/service/impl/DocumentIndexServiceOps.java
<ide> import org.springframework.stereotype.Component;
<ide>
<ide> import java.io.IOException;
<del>import java.io.UnsupportedEncodingException;
<del>import java.net.URLDecoder;
<del>import java.nio.charset.StandardCharsets;... | |
Java | mit | error: pathspec 'java/src/main/algorithm/leetcode/CombinationSum.java' did not match any file(s) known to git
| f9319ba18fcfab70b9b85ed0e3815eabbc9fa5d5 | 1 | chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes | package main.algorithm.leetcode;
import org.junit.Test;
import java.util.*;
import java.util.stream.Collectors;
/**
* Title : main.algorithm.leetcode <br>
* Description :
*
*
* @author chile
* @version 1.0
* @date 2019/8/28 16:43
*/
public class CombinationSum {
class Solution {
public List<List... | java/src/main/algorithm/leetcode/CombinationSum.java | leetcode: combination sum: not a good solution
| java/src/main/algorithm/leetcode/CombinationSum.java | leetcode: combination sum: not a good solution | <ide><path>ava/src/main/algorithm/leetcode/CombinationSum.java
<add>package main.algorithm.leetcode;
<add>
<add>import org.junit.Test;
<add>
<add>import java.util.*;
<add>import java.util.stream.Collectors;
<add>
<add>/**
<add> * Title : main.algorithm.leetcode <br>
<add> * Description :
<add> *
<add> *
<add> * @author... | |
Java | mit | ad4f0bb1f607204641fed1562b0617b5bbc93f7d | 0 | sake/bouncycastle-java | package org.bouncycastle.crypto.encodings;
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.Digest;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.digests.SHA1Digest;
import org.bouncycastle.... | src/org/bouncycastle/crypto/encodings/OAEPEncoding.java | package org.bouncycastle.crypto.encodings;
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.Digest;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.digests.SHA1Digest;
import org.bouncycastle.... | simplified - BJA-171
| src/org/bouncycastle/crypto/encodings/OAEPEncoding.java | simplified - BJA-171 | <ide><path>rc/org/bouncycastle/crypto/encodings/OAEPEncoding.java
<ide>
<ide> for (start = 2 * defHash.length; start != block.length; start++)
<ide> {
<del> if (block[start] == 1 || block[start] != 0)
<add> if (block[start] != 0)
<ide> {
<ide> break;
<i... | |
Java | agpl-3.0 | 5d42ca93d03c2cea55a3a8817cd9010a01ba2aa8 | 0 | mtrberzi/smt-nes | package io.lp0onfire.smtnes.generators.cpu;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import org... | src/intTest/java/io/lp0onfire/smtnes/generators/cpu/TestCPURAMHandler.java | package io.lp0onfire.smtnes.generators.cpu;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import org... | CPU RAM read and write tests | src/intTest/java/io/lp0onfire/smtnes/generators/cpu/TestCPURAMHandler.java | CPU RAM read and write tests | <ide><path>rc/intTest/java/io/lp0onfire/smtnes/generators/cpu/TestCPURAMHandler.java
<ide>
<ide> }
<ide>
<add> class VerifyDataOut implements CodeGenerator {
<add> private final String handlerPrefix;
<add> private final BinaryConstant expectedValue;
<add>
<add> public VerifyDataOut(String handle... | |
Java | apache-2.0 | 1170dea0b8fd8baa8129183e29192eeb47fa2e9e | 0 | openbaton/generic-vnfm,openbaton/generic-vnfm | package org.openbaton.registration;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.... | registration/src/main/java/org/openbaton/registration/Registration.java | package org.openbaton.registration;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import com.rabbitmq.client.*;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.UUID;
import java.util.concurrent.A... | add wait for nfvo to be started
| registration/src/main/java/org/openbaton/registration/Registration.java | add wait for nfvo to be started | <ide><path>egistration/src/main/java/org/openbaton/registration/Registration.java
<ide> import com.google.gson.Gson;
<ide> import com.google.gson.JsonObject;
<ide> import com.google.gson.JsonPrimitive;
<del>import com.rabbitmq.client.*;
<add>import com.rabbitmq.client.AMQP;
<add>import com.rabbitmq.client.Channel;
<add... | |
Java | apache-2.0 | 5547b2b23764d7c5fd2778ab56801cac67172957 | 0 | vector-im/vector-android,vector-im/vector-android,noepitome/neon-android,floviolleau/vector-android,noepitome/neon-android,noepitome/neon-android,vector-im/riot-android,riot-spanish/riot-android,noepitome/neon-android,vector-im/vector-android,riot-spanish/riot-android,vector-im/riot-android,riot-spanish/riot-android,ve... | /*
* Copyright 2016 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | vector/src/main/java/im/vector/fragments/VectorSearchRoomFilesListFragment.java | /*
* Copyright 2016 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Room files list : the back pagination was also broken.
| vector/src/main/java/im/vector/fragments/VectorSearchRoomFilesListFragment.java | Room files list : the back pagination was also broken. | <ide><path>ector/src/main/java/im/vector/fragments/VectorSearchRoomFilesListFragment.java
<ide> /**
<ide> * Search the pattern on a pagination server side.
<ide> */
<del> public void backPaginate() {
<add> @Override
<add> public void backPaginate(boolean fillHistory) {
<ide> // please wai... | |
Java | apache-2.0 | a4fbf3b0d0881db565ddb81cfd5d770857bc6d03 | 0 | da1z/intellij-community,dslomov/intellij-community,fitermay/intellij-community,samthor/intellij-community,vvv1559/intellij-community,jagguli/intellij-community,fnouama/intellij-community,semonte/intellij-community,suncycheng/intellij-community,ryano144/intellij-community,holmes/intellij-community,robovm/robovm-studio,y... | /*
* Copyright (c) 2005 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.util.io;
import org.jetbrains.annotations.NonNls;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
/**
* @author max
*/
public class MappedFile {
private By... | util/src/com/intellij/util/io/MappedFile.java | /*
* Copyright (c) 2005 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.util.io;
import org.jetbrains.annotations.NonNls;
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
/**
* @author max
*/
public class MappedFile {
private By... | smarter expand strategy (mulpiply size on the golden section approximation)
| util/src/com/intellij/util/io/MappedFile.java | smarter expand strategy (mulpiply size on the golden section approximation) | <ide><path>til/src/com/intellij/util/io/MappedFile.java
<ide> }
<ide>
<ide> private void expand() throws IOException {
<del> resize((int)(myRealSize + Math.max(myRealSize, 1024 * 32)));
<add> resize((int)((myRealSize + 1) * 13) >> 3);
<ide> }
<ide>
<ide> public void put(final byte[] src, final int offse... | |
Java | apache-2.0 | 2efa77541fd2444281c36773f5a0899483fbc6a2 | 0 | clodoaldoBasaglia/scheduler | /*
* 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 sheduler.consumidor;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java... | sheduler/src/sheduler/consumidor/PConfig.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 sheduler.consumidor;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java... | lendo dados;
| sheduler/src/sheduler/consumidor/PConfig.java | lendo dados; | <ide><path>heduler/src/sheduler/consumidor/PConfig.java
<ide> try {
<ide> stm = conn.createStatement();
<ide> ResultSet pRs = stm.executeQuery("SELECT * FROM schedule;");
<add> diferenciador(pRs);
<add> ... | |
JavaScript | mit | ebf9350530fd3b2d67169820953f4040eb6ebd1a | 0 | Flexberry/ember-flexberry-designer,Flexberry/ember-flexberry-designer,Flexberry/ember-flexberry-designer | import Ember from 'ember';
import ListFormController from 'ember-flexberry/controllers/list-form';
export default ListFormController.extend({
/**
Name of related edit form route.
@property editFormRoute
@type String
@default 'fd-generation-process-form'
*/
editFormRoute: 'fd-generation-process-... | addon/controllers/fd-generation-list-form.js | import Ember from 'ember';
import ListFormController from 'ember-flexberry/controllers/list-form';
export default ListFormController.extend({
/**
Name of related edit form route.
@property editFormRoute
@type String
@default 'fd-generation-process-form'
*/
editFormRoute: 'fd-generation-process-... | Add loading in generation list
| addon/controllers/fd-generation-list-form.js | Add loading in generation list | <ide><path>ddon/controllers/fd-generation-list-form.js
<ide> @default 'fd-generation-process-form'
<ide> */
<ide> editFormRoute: 'fd-generation-process-form',
<add>
<add> /**
<add> Service that triggers objectlistview events.
<add>
<add> @property objectlistviewEventsService
<add> @type {Class}
<add> ... | |
Java | apache-2.0 | 259a021ae5d7a36f0ebbf1d798dc8251ed688dbe | 0 | noondaysun/sakai,rodriguezdevera/sakai,Fudan-University/sakai,udayg/sakai,surya-janani/sakai,whumph/sakai,liubo404/sakai,tl-its-umich-edu/sakai,lorenamgUMU/sakai,liubo404/sakai,noondaysun/sakai,conder/sakai,frasese/sakai,ktakacs/sakai,puramshetty/sakai,puramshetty/sakai,surya-janani/sakai,willkara/sakai,ouit0408/sakai,... | package org.sakaiproject.emailtemplateservice.tool.producers;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.emailtemplateservice.model.EmailTemplate;
import org.sakaiproject... | emailtemplateservice/tool/src/java/org/sakaiproject/emailtemplateservice/tool/producers/MainViewProducer.java | package org.sakaiproject.emailtemplateservice.tool.producers;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.emailtemplateservice.model.EmailTemplate;
import org.sakaiproject.emailtemplateservice.service.EmailTemplateService;
import ... | SAK-23492 sort the list of emailTemplates
git-svn-id: 33bfb07abb5e6b25fc84e5a4806e76c6fa47d6b5@122838 66ffb92e-73f9-0310-93c1-f5514f145a0a
| emailtemplateservice/tool/src/java/org/sakaiproject/emailtemplateservice/tool/producers/MainViewProducer.java | SAK-23492 sort the list of emailTemplates | <ide><path>mailtemplateservice/tool/src/java/org/sakaiproject/emailtemplateservice/tool/producers/MainViewProducer.java
<ide> package org.sakaiproject.emailtemplateservice.tool.producers;
<ide>
<add>import java.util.Collections;
<add>import java.util.Comparator;
<ide> import java.util.List;
<ide>
<ide> import org.apa... | |
JavaScript | mit | ddee7d718dd57ba0ab8a1e489d3eca45091b1523 | 0 | compute-io/cast-arrays,dstructs/cast-arrays | 'use strict';
// MODULES //
var arrayLike = require( 'validate.io-array-like' ),
typeName = require( 'type-name' );
// VARIABLES //
var DTYPES = require( 'compute-array-dtypes/dtypes' ),
CTORS = require( 'compute-array-constructors/ctors' );
// CAST //
/**
* FUNCTION: cast( x, type )
* Casts an input array or... | lib/index.js | 'use strict';
// MODULES //
var arrayLike = require( 'validate.io-array-like' ),
typeName = require( 'type-name' );
// VARIABLES //
var DTYPES = require( 'compute-array-dtypes/dtypes' ),
CTORS = require( 'compute-array-constructors/ctors' );
// CAST //
/**
* FUNCTION: cast( x, type )
* Casts an input array or... | [FIX] length assignment.
| lib/index.js | [FIX] length assignment. | <ide><path>ib/index.js
<ide> * @returns {Array|Int8Array|Uint8Array|Uint8ClampedArray|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} casted value
<ide> */
<ide> function cast( x, type ) {
<add> /* jshint newcap:false */
<ide> var ctor,
<ide> len,
<ide> d,
<ide> if ( ctor === void 0 ) {
<... | |
Java | apache-2.0 | 4230151be6385a6f34806587e0429d5129817d3e | 0 | alonsod86/orientdb,allanmoso/orientdb,wyzssw/orientdb,mmacfadden/orientdb,mbhulin/orientdb,rprabhat/orientdb,sanyaade-g2g-repos/orientdb,alonsod86/orientdb,mbhulin/orientdb,jdillon/orientdb,wyzssw/orientdb,intfrr/orientdb,sanyaade-g2g-repos/orientdb,intfrr/orientdb,wyzssw/orientdb,cstamas/orientdb,giastfader/orientdb,m... | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | core/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeEntryDatabase.java | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | Index: added log error in case the tree nodes' record can't be loaded
| core/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeEntryDatabase.java | Index: added log error in case the tree nodes' record can't be loaded | <ide><path>ore/src/main/java/com/orientechnologies/orient/core/type/tree/OMVRBTreeEntryDatabase.java
<ide> record.reload();
<ide> } catch (Exception e) {
<ide> // ERROR, MAYBE THE RECORD WASN'T CREATED
<add> OLogManager.instance().warn(this, "Error on loading index node record %s", e, record.getIdentity());
<... | |
Java | apache-2.0 | 312ab339abb23f0204aa98474d4c0817d5d44a0c | 0 | lucaswerkmeister/ceylon.language,jvasileff/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language,ceylon/ceylon.language,jvasileff/ceylon.language,unratito/ceylon.language,lucaswerkmeister/ceylon.language | package com.redhat.ceylon.compiler.java.runtime.metamodel;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationHandler;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.S... | runtime/com/redhat/ceylon/compiler/java/runtime/metamodel/Metamodel.java | package com.redhat.ceylon.compiler.java.runtime.metamodel;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationHandler;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.S... | add todo | runtime/com/redhat/ceylon/compiler/java/runtime/metamodel/Metamodel.java | add todo | <ide><path>untime/com/redhat/ceylon/compiler/java/runtime/metamodel/Metamodel.java
<ide> if(klass.isArray())
<ide> return getJavaArrayTypeDescriptor(klass);
<ide> // make sure java.lang.Object doesn't leak in the ceylon metamodel
<add> // TODO: what about Throwable/j.l.Exception/Runti... | |
Java | apache-2.0 | 7fc2051d17682d3590a39d9906ca35ec2edccac8 | 0 | Natio/Places,Natio/Places,Natio/Places | package com.gcw.sapienza.places.fragments;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
... | app/src/main/java/com/gcw/sapienza/places/fragments/BagFragment.java | package com.gcw.sapienza.places.fragments;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
... | small refactoring
| app/src/main/java/com/gcw/sapienza/places/fragments/BagFragment.java | small refactoring | <ide><path>pp/src/main/java/com/gcw/sapienza/places/fragments/BagFragment.java
<ide> import android.support.v4.app.Fragment;
<ide> import android.support.v4.app.FragmentActivity;
<ide> import android.support.v4.content.LocalBroadcastManager;
<del>import android.support.v4.widget.DrawerLayout;
<ide> import android.suppo... | |
Java | apache-2.0 | 9201b6498b55c9e4d9d2e92fea38ddaad42e6832 | 0 | alexryndin/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,arenadata/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,arena... | /*
* 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 ... | ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.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 ... | AMBARI-16630. Extend logging for ActionQueue's retry logic (part2). (Daniel Gergely via stoader)
| ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java | AMBARI-16630. Extend logging for ActionQueue's retry logic (part2). (Daniel Gergely via stoader) | <ide><path>mbari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
<ide> retryEnabled = commandMayBeRetried;
<ide> }
<ide> }
<add> LOG.info("Auto retry setting for {}-{} on {} is retryEnabled={} and retryMaxTime={}", serviceName, co... | |
Java | epl-1.0 | error: pathspec 'tests/com.redhat.ceylon.eclipse.ui.test/src/com/redhat/ceylon/eclipse/ui/test/swtbot/MainBuildTests.java' did not match any file(s) known to git
| ea52c31dc7457d0323f2c00d1661920d8c3f05e4 | 1 | rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse | package com.redhat.ceylon.eclipse.ui.test.swtbot;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.eclipse.core.resources.IFile;
... | tests/com.redhat.ceylon.eclipse.ui.test/src/com/redhat/ceylon/eclipse/ui/test/swtbot/MainBuildTests.java | Test for #589 ( bug589_AddedJavaMethodNotSeen() ). | tests/com.redhat.ceylon.eclipse.ui.test/src/com/redhat/ceylon/eclipse/ui/test/swtbot/MainBuildTests.java | Test for #589 ( bug589_AddedJavaMethodNotSeen() ). | <ide><path>ests/com.redhat.ceylon.eclipse.ui.test/src/com/redhat/ceylon/eclipse/ui/test/swtbot/MainBuildTests.java
<add>package com.redhat.ceylon.eclipse.ui.test.swtbot;
<add>
<add>
<add>import static org.hamcrest.MatcherAssert.assertThat;
<add>import static org.junit.Assert.assertEquals;
<add>
<add>import java.util.Li... | |
Java | apache-2.0 | 9732e04c60fcaf7f9869024f7676a81af6f25359 | 0 | leventov/druid,pjain1/druid,pjain1/druid,implydata/druid,druid-io/druid,deltaprojects/druid,pjain1/druid,Fokko/druid,Fokko/druid,michaelschiff/druid,druid-io/druid,mghosh4/druid,knoguchi/druid,mghosh4/druid,leventov/druid,mghosh4/druid,nishantmonu51/druid,jon-wei/druid,Fokko/druid,michaelschiff/druid,nishantmonu51/drui... | /*
* 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 ... | indexing-hadoop/src/main/java/org/apache/druid/indexer/updater/MetadataStorageUpdaterJobSpec.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 ... | Pass in segmentTable correctly (#7492)
| indexing-hadoop/src/main/java/org/apache/druid/indexer/updater/MetadataStorageUpdaterJobSpec.java | Pass in segmentTable correctly (#7492) | <ide><path>ndexing-hadoop/src/main/java/org/apache/druid/indexer/updater/MetadataStorageUpdaterJobSpec.java
<ide> return new MetadataStorageTablesConfig(
<ide> null,
<ide> null,
<add> null,
<ide> segmentTable,
<del> null,
<ide> null,
<ide> null,
<ide> nu... | |
Java | agpl-3.0 | edffcd2beb068fe8b112130f476227591eb1647c | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | d6e8c79e-2e60-11e5-9284-b827eb9e62be | hello.java | d6e3525a-2e60-11e5-9284-b827eb9e62be | d6e8c79e-2e60-11e5-9284-b827eb9e62be | hello.java | d6e8c79e-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>d6e3525a-2e60-11e5-9284-b827eb9e62be
<add>d6e8c79e-2e60-11e5-9284-b827eb9e62be | |
Java | mit | b45108a84cc70d43b4a1ff163dd3819c5e043553 | 0 | joshua-decoder/thrax,jweese/thrax,tdomhan/thrax,joshua-decoder/thrax,dowobeha/thrax,tdomhan/thrax,jweese/thrax,jweese/thrax,joshua-decoder/thrax,joshua-decoder/thrax,tdomhan/thrax | package edu.jhu.thrax.extraction;
import java.util.Collection;
import java.util.Arrays;
import java.util.Set;
import java.util.HashSet;
import java.util.ArrayList;
import java.util.Queue;
import java.util.LinkedList;
import edu.jhu.thrax.datatypes.*;
import edu.jhu.thrax.util.Vocabulary;
import edu.jhu.thrax.features... | src/edu/jhu/thrax/extraction/HieroRuleExtractor.java | package edu.jhu.thrax.extraction;
import java.util.Collection;
import java.util.Arrays;
import java.util.Set;
import java.util.HashSet;
import java.util.ArrayList;
import java.util.Queue;
import java.util.LinkedList;
import edu.jhu.thrax.datatypes.*;
import edu.jhu.thrax.util.Vocabulary;
import edu.jhu.thrax.features... | fixed condition for extending rules with terminals
If you allow two phrases of terminals to be appended, you end up
double-counting some rules, where the larger single phrase (made up of
those two phrases) could be appended instead. I changed the condition so
that terminals can only be added after a non-terminal symbo... | src/edu/jhu/thrax/extraction/HieroRuleExtractor.java | fixed condition for extending rules with terminals | <ide><path>rc/edu/jhu/thrax/extraction/HieroRuleExtractor.java
<ide> s.extendWithNonterminal(pp);
<ide> q.offer(s);
<ide> }
<del> if (r.numNTs + r.numTerminals + pp.sourceEnd - pp.sourceStart <= SOURCE_LENGTH_LIMIT) {
<add> ... | |
Java | apache-2.0 | b5615fed3c54f6d2bb9f91d3e3d18629040520c1 | 0 | cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba | /*
* Copyright (c) 2008-2014 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.bali.util;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
/**
* Utility class for instantiation immutable Map<Stri... | modules/global/src/com/haulmont/bali/util/ParamsMap.java | /*
* Copyright (c) 2008-2014 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.bali.util;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
/**
* Utility class for instantiation immutable Map<Stri... | ParamsMap does not allow nulls in values #PL-4950
| modules/global/src/com/haulmont/bali/util/ParamsMap.java | ParamsMap does not allow nulls in values #PL-4950 | <ide><path>odules/global/src/com/haulmont/bali/util/ParamsMap.java
<ide> import java.util.Map;
<ide>
<ide> /**
<del> * Utility class for instantiation immutable Map<String, Object>
<add> * Utility class for instantiation immutable Map<String, Object>. <br/>
<add> * Null values will be ignored. Null keys ar... | |
Java | apache-2.0 | 98edad84b1d21c66163e6c7be3aba99caf030d2a | 0 | mrniko/redisson,redisson/redisson | /**
* Copyright 2018 Nikita Koksharov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | redisson-tomcat/redisson-tomcat-8/src/main/java/org/redisson/tomcat/RedissonSessionManager.java | /**
* Copyright 2018 Nikita Koksharov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [tomcat] Apply `keyPrefix` to both session and top keys
I was testing out different codecs in different environments connected to the same redis instance. I provided a different `keyPrefix` in `context.xml` to prevent one environment's codec from messing with another environment's session management. However, since ... | redisson-tomcat/redisson-tomcat-8/src/main/java/org/redisson/tomcat/RedissonSessionManager.java | [tomcat] Apply `keyPrefix` to both session and top keys | <ide><path>edisson-tomcat/redisson-tomcat-8/src/main/java/org/redisson/tomcat/RedissonSessionManager.java
<ide> }
<ide>
<ide> public RTopic getTopic() {
<del> return redisson.getTopic("redisson:tomcat_session_updates:" + getContext().getName());
<add> String separator = keyPrefix == null || keyPr... | |
Java | apache-2.0 | 4f3b14c4480e3310fe614aa509e0a4bdaf14143e | 0 | EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci | package uk.ac.ebi.spot.goci.service;
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.Pageable;
import org.springframework.data.domain.Sort;
import org.springframew... | goci-core/goci-service/src/main/java/uk/ac/ebi/spot/goci/service/AssociationService.java | package uk.ac.ebi.spot.goci.service;
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.Pageable;
import org.springframework.data.domain.Sort;
import org.springframew... | getting solr indexing working with new fields
| goci-core/goci-service/src/main/java/uk/ac/ebi/spot/goci/service/AssociationService.java | getting solr indexing working with new fields | <ide><path>oci-core/goci-service/src/main/java/uk/ac/ebi/spot/goci/service/AssociationService.java
<ide> import org.springframework.stereotype.Service;
<ide> import org.springframework.transaction.annotation.Transactional;
<ide> import uk.ac.ebi.spot.goci.model.Association;
<del>import uk.ac.ebi.spot.goci.model.Locus;
... | |
Java | mit | error: pathspec 'src/main/java/net/secknv/nkmod/blocks/GrinderBlockContainer.java' did not match any file(s) known to git
| afd94acb72a140c98ed41732d21f51f9866ea878 | 1 | secknv/Naschkatze | package net.secknv.nkmod.blocks;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.container.Container;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IWorldPosCallable;
import net.minecraft.util.math.BlockPos;
imp... | src/main/java/net/secknv/nkmod/blocks/GrinderBlockContainer.java | Added grinder container
| src/main/java/net/secknv/nkmod/blocks/GrinderBlockContainer.java | Added grinder container | <ide><path>rc/main/java/net/secknv/nkmod/blocks/GrinderBlockContainer.java
<add>package net.secknv.nkmod.blocks;
<add>
<add>import net.minecraft.entity.player.PlayerEntity;
<add>import net.minecraft.entity.player.PlayerInventory;
<add>import net.minecraft.inventory.container.Container;
<add>import net.minecraft.tileent... | |
Java | mit | 04c7b481a47c328fd46f60314fb781c9cf9f25a4 | 0 | sandeepsas/PhonePark | package com.uic.sandeep.phonepark;
import android.annotation.SuppressLint;
import android.app.*;
import android.app.PendingIntent;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.*;
import android.graphics.*;
import android.hardware.*;
import android.locatio... | app/src/main/java/com/uic/sandeep/phonepark/MainActivity.java | package com.uic.sandeep.phonepark;
import android.annotation.SuppressLint;
import android.app.*;
import android.app.PendingIntent;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.*;
import android.graphics.*;
import android.hardware.*;
import android.locatio... | Beta version release v2.01
| app/src/main/java/com/uic/sandeep/phonepark/MainActivity.java | Beta version release v2.01 | <ide><path>pp/src/main/java/com/uic/sandeep/phonepark/MainActivity.java
<ide> .strokeColor(Color.RED));
<ide> }
<ide>
<del>public static int pwed = 0;
<add>
<ide> public class ParkingSearchClientListener implements LocationListener {
<ide>
<ide> public ParkingSearchClientListener(){
<i... | |
Java | mit | 4e412e6bcc9a9bfe811fcbc023406bb5c9500242 | 0 | nfleet/java-sdk | package fi.cosky.sdk;
/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*/
public class RoutingProblemSettingsUpdateRequest {
public static final String MimeType = RoutingProblemSettingsData.MimeType;
public static final dou... | fi/cosky/sdk/RoutingProblemSettingsUpdateRequest.java | package fi.cosky.sdk;
/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*/
public class RoutingProblemSettingsUpdateRequest {
public static final String MimeType = RoutingProblemSettingsData.MimeType;
public static final dou... | Created a default constructor for routingproblemsettingsupdaterequest. Values set in constructor reflect good default values for settings.
| fi/cosky/sdk/RoutingProblemSettingsUpdateRequest.java | Created a default constructor for routingproblemsettingsupdaterequest. Values set in constructor reflect good default values for settings. | <ide><path>i/cosky/sdk/RoutingProblemSettingsUpdateRequest.java
<ide> private double InsertionAggressiveness;
<ide> private String AlgorithmTree;
<ide> private String DateTimeFormatString;
<add>
<add> /**
<add> * Default constructor with good values for settings. These
<add> * are also the ones that NFleet uses w... | |
Java | apache-2.0 | error: pathspec 'jsprit-core/src/test/java/jsprit/core/algorithm/RefuseCollectionWithCostsHigherThanTimesAndFiniteFleet_IT.java' did not match any file(s) known to git
| 78ec852f8608257f8149b9a72a4ad52bc05d9871 | 1 | HeinrichFilter/jsprit,michalmac/jsprit,balage1551/jsprit,graphhopper/jsprit,sinhautkarsh2014/winter_jsprit,muzuro/jsprit | /*******************************************************************************
* Copyright (C) 2013 Stefan Schroeder
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ... | jsprit-core/src/test/java/jsprit/core/algorithm/RefuseCollectionWithCostsHigherThanTimesAndFiniteFleet_IT.java | add test to reproduce bug #80 | jsprit-core/src/test/java/jsprit/core/algorithm/RefuseCollectionWithCostsHigherThanTimesAndFiniteFleet_IT.java | add test to reproduce bug #80 | <ide><path>sprit-core/src/test/java/jsprit/core/algorithm/RefuseCollectionWithCostsHigherThanTimesAndFiniteFleet_IT.java
<add>/*******************************************************************************
<add> * Copyright (C) 2013 Stefan Schroeder
<add> *
<add> * This library is free software; you can redistribute... | |
JavaScript | isc | d54155dce68e2db944045e293bbd473a97f3b2c3 | 0 | jurca/subscription-feed-for-youtube,jurca/subscription-feed-for-youtube |
/**
* Possible states of a subscription to a YouTube channel or playlist.
*
* @enum {string}
*/
export default Object.freeze({
/**
* The subscription is enabled, videos are fetched from the playlist.
*/
ACTIVE: "ACTIVE",
/**
* The subscription is disabled (either this is a disabled incognito
* s... | src/model/SubscriptionState.js |
/**
* Possible states of a subscription to a YouTube channel or playlist.
*
* @enum {string}
*/
export default Object.freeze({
/**
* The subscription is enabled, videos are fetched from the playlist.
*/
ACTIVE: "ACTIVE",
/**
* The subscription is disabled. This is only used with incognito
* subs... | documentation udpate
| src/model/SubscriptionState.js | documentation udpate | <ide><path>rc/model/SubscriptionState.js
<ide> ACTIVE: "ACTIVE",
<ide>
<ide> /**
<del> * The subscription is disabled. This is only used with incognito
<del> * subscriptions.
<add> * The subscription is disabled (either this is a disabled incognito
<add> * subscription, or the Google account has been disab... | |
JavaScript | agpl-3.0 | ad5658ada5609b6a479d2cf29bea2325265ba674 | 0 | FredPassos/pydio-core,ChuckDaniels87/pydio-core,sespivak/pydio-core,snw35/pydio-core,sespivak/pydio-core,sespivak/pydio-core,snw35/pydio-core,FredPassos/pydio-core,snw35/pydio-core,sespivak/pydio-core,pydio/pydio-core,ChuckDaniels87/pydio-core,pydio/pydio-core,huzergackl/pydio-core,snw35/pydio-core,pydio/pydio-core,huz... | Modal = Class.create({
pageLoading: true,
initialize: function(){
},
initForms: function(){
this.elementName = 'generic_dialog_box';
this.htmlElement = $(this.elementName);
this.dialogTitle = this.htmlElement.getElementsBySelector(".dialogTitle")[0];
this.dialogContent = this.htmlElement.getEle... | core/src/client/js/ajaxplorer/class.Modal.js | Modal = Class.create({
pageLoading: true,
initialize: function(){
},
initForms: function(){
this.elementName = 'generic_dialog_box';
this.htmlElement = $(this.elementName);
this.dialogTitle = this.htmlElement.getElementsBySelector(".dialogTitle")[0];
this.dialogContent = this.htmlElement.getEle... | Set modal dialog position to 'fixed' for Firefox problems with cursor disappearing
| core/src/client/js/ajaxplorer/class.Modal.js | Set modal dialog position to 'fixed' for Firefox problems with cursor disappearing | <ide><path>ore/src/client/js/ajaxplorer/class.Modal.js
<ide> var boxHeight = $(elementName).getHeight();
<ide> var offsetTop = parseInt(((winHeight - boxHeight)/3));
<ide> $(elementName).setStyle({top:offsetTop+'px'});
<del>
<del> //if (Prototype.Browser.IE){
<ide>
<del> //}
<del>
<del> displayLightB... | |
Java | apache-2.0 | 5e5dc112b0cbf6d177d047ec612e5d980fec9489 | 0 | wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel | /*
* Copyright 2010 - 2017 Wyona
*/
package org.wyona.yanel.impl.resources.yaneluser;
import org.wyona.yanel.core.ResourceConfiguration;
import org.wyona.yanel.core.util.MailUtil;
import org.wyona.yanel.impl.resources.BasicXMLResource;
import org.wyona.security.core.api.Identity;
import org.wyona.security.core.api.... | src/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/yaneluser/EditYanelUserProfileResource.java | /*
* Copyright 2010 Wyona
*/
package org.wyona.yanel.impl.resources.yaneluser;
import org.wyona.yanel.core.ResourceConfiguration;
import org.wyona.yanel.core.util.MailUtil;
import org.wyona.yanel.impl.resources.BasicXMLResource;
import org.wyona.security.core.api.Identity;
import org.wyona.security.core.api.User;
... | languages supported by realm added
| src/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/yaneluser/EditYanelUserProfileResource.java | languages supported by realm added | <ide><path>rc/resources/yanel-user/src/java/org/wyona/yanel/impl/resources/yaneluser/EditYanelUserProfileResource.java
<ide> /*
<del> * Copyright 2010 Wyona
<add> * Copyright 2010 - 2017 Wyona
<ide> */
<ide> package org.wyona.yanel.impl.resources.yaneluser;
<ide>
<ide> Element nameEl = doc.createElement("... | |
Java | apache-2.0 | 145530bc3fae3cb03acddc607b8f647f7fff1a26 | 0 | edgarRd/incubator-tinkerpop,robertdale/tinkerpop,vtslab/incubator-tinkerpop,mike-tr-adamson/incubator-tinkerpop,rmagen/incubator-tinkerpop,n-tran/incubator-tinkerpop,apache/incubator-tinkerpop,BrynCooke/incubator-tinkerpop,samiunn/incubator-tinkerpop,n-tran/incubator-tinkerpop,jorgebay/tinkerpop,velo/incubator-tinkerpo... | /*
* 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 ... | gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinResultSetIntegrateTest.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 ... | Now that Path implements Iterable Gremlin Server iterates it out.
Altered a failing test to just return all paths so as to validate that a DetachedPath was being returned.
| gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinResultSetIntegrateTest.java | Now that Path implements Iterable Gremlin Server iterates it out. | <ide><path>remlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinResultSetIntegrateTest.java
<ide>
<ide> @Test
<ide> public void shouldHandlePathResult() throws Exception {
<del> final ResultSet results = client.submit("g.V().out().path().next()");
<add> final ResultSet results =... | |
Java | epl-1.0 | 239fad21150b0695e0e4a6491ecee5092a039235 | 0 | sebasbaumh/portfolio,buchen/portfolio,sebasbaumh/portfolio,buchen/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,buchen/portfolio,buchen/portfolio | package name.abuchen.portfolio.ui.views;
import java.text.DecimalFormat;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.Period;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import ... | name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/SecuritiesChart.java | package name.abuchen.portfolio.ui.views;
import java.text.DecimalFormat;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.Period;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import ... | Fixed limit prices not shown in chart if data is filtered
Issue: #2455 #2456
| name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/SecuritiesChart.java | Fixed limit prices not shown in chart if data is filtered | <ide><path>ame.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/SecuritiesChart.java
<ide>
<ide> LimitPrice limitAttribute = (LimitPrice) val;
<ide>
<del> Optional<AttributeType> attributeName = client.getSettings().getAttributeTypes()
<add> Optional<AttributeType> attributeN... | |
Java | mit | b729ffa333d407523f36446d865c1529290358cf | 0 | devsunny/app-galleries,devsunny/app-galleries,devsunny/app-galleries | package com.asksunny.tls;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.concur... | tls-authentication/src/main/java/com/asksunny/tls/TLSSocketServer.java | package com.asksunny.tls;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.concur... | Add keygen command | tls-authentication/src/main/java/com/asksunny/tls/TLSSocketServer.java | Add keygen command | <ide><path>ls-authentication/src/main/java/com/asksunny/tls/TLSSocketServer.java
<ide> import javax.net.ssl.SSLServerSocket;
<ide> import javax.net.ssl.SSLServerSocketFactory;
<ide> import javax.net.ssl.SSLSocket;
<del>
<add>/**
<add> *
<add> * <pre>
<add> * keytool -genkey -keypass "changeit" -dname "CN=Sample Cert, ... | |
Java | mit | 2ba12b35bb1946c7bc9bec54673afd7aef896c82 | 0 | funIntentions/flow,funIntentions/project-smart-grid | package com.projects.view;
import com.projects.helper.Constants;
import com.projects.model.Building;
import com.projects.model.UsageTimeSpan;
import javafx.collections.ListChangeListener;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.XYChart;
import javafx.scene.control.TabPan... | src/com/projects/view/LoadProfileEditDialogController.java | package com.projects.view;
import com.projects.helper.Constants;
import com.projects.model.Building;
import com.projects.model.UsageTimeSpan;
import javafx.collections.ListChangeListener;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.XYChart;
import javafx.scene.control.TabPan... | Animations while manually editing load profiles have been improved. Now only data on the chart that is affect by a change is animated instead of the entire chart being reset for each change.
| src/com/projects/view/LoadProfileEditDialogController.java | Animations while manually editing load profiles have been improved. Now only data on the chart that is affect by a change is animated instead of the entire chart being reset for each change. | <ide><path>rc/com/projects/view/LoadProfileEditDialogController.java
<ide> {
<ide> this.building = building;
<ide> usageTable.setItems(building.getManualLoadProfileData());
<del> updateChartData();
<add> initChartData();
<ide>
<ide> building.getManualLoadProfileData().addListe... | |
Java | mit | 8cc12feb0e5dce60fdd1fecb6f29ea051e23a91f | 0 | rrbrambley/MessageBeast-Android | package com.alwaysallthetime.adnlibutils.manager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.location.Address;
import android.location.Geocoder;
import android.util.Log;
import com.alwaysallthetime.adnlib... | src/main/java/com/alwaysallthetime/adnlibutils/manager/MessageManager.java | package com.alwaysallthetime.adnlibutils.manager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.location.Address;
import android.location.Geocoder;
import android.util.Log;
import com.alwaysallthetime.adnlib... | broadcast now used to report unsent messages were sent
| src/main/java/com/alwaysallthetime/adnlibutils/manager/MessageManager.java | broadcast now used to report unsent messages were sent | <ide><path>rc/main/java/com/alwaysallthetime/adnlibutils/manager/MessageManager.java
<ide> import java.util.HashSet;
<ide> import java.util.Iterator;
<ide> import java.util.LinkedHashMap;
<del>import java.util.LinkedHashSet;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.Set;
<ide> ... | |
Java | apache-2.0 | 9a6376cedc9afd8b4e0cb967302b59992669594a | 0 | Sbrenthughes/Hygieia,Sbrenthughes/Hygieia,jimzucker/Hygieia,Sbrenthughes/Hygieia,jimzucker/Hygieia,nireeshT/Hygieia,capitalone/Hygieia,Sbrenthughes/Hygieia,jimzucker/Hygieia,nireeshT/Hygieia,capitalone/Hygieia,nireeshT/Hygieia,capitalone/Hygieia,capitalone/Hygieia,nireeshT/Hygieia,jimzucker/Hygieia | package com.capitalone.dashboard.evaluator;
import com.capitalone.dashboard.ApiSettings;
import com.capitalone.dashboard.model.AuditException;
import com.capitalone.dashboard.model.CollectorItem;
import com.capitalone.dashboard.model.CollectorType;
import com.capitalone.dashboard.model.Dashboard;
import com.capitalone... | api-audit/src/main/java/com/capitalone/dashboard/evaluator/RegressionTestResultEvaluator.java | package com.capitalone.dashboard.evaluator;
import com.capitalone.dashboard.ApiSettings;
import com.capitalone.dashboard.model.AuditException;
import com.capitalone.dashboard.model.CollectorItem;
import com.capitalone.dashboard.model.CollectorType;
import com.capitalone.dashboard.model.Dashboard;
import com.capitalone... | test case counts added in featureTestResult (#2895)
| api-audit/src/main/java/com/capitalone/dashboard/evaluator/RegressionTestResultEvaluator.java | test case counts added in featureTestResult (#2895) | <ide><path>pi-audit/src/main/java/com/capitalone/dashboard/evaluator/RegressionTestResultEvaluator.java
<ide> private static final String FAILURE_COUNT = "failureCount";
<ide> private static final String SKIP_COUNT = "skippedCount";
<ide> private static final String TOTAL_COUNT = "totalCount";
<add> priv... | |
Java | mit | 435d1d1dce9feec1defb48dcf2f20ac1ccea0ce5 | 0 | remyd/slickgraph | package fr.caladan.slickgraph;
import java.awt.Toolkit;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.IntStream;
import javafx.beans.InvalidationListener;
import javafx.beans.property.DoubleProperty;
import java... | slickgraph-core/src/main/java/fr/caladan/slickgraph/SlickGraph.java | package fr.caladan.slickgraph;
import java.awt.Toolkit;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.IntStream;
import javafx.beans.InvalidationListener;
import javafx.beans.property.DoubleProperty;
import java... | Implemented SLG shading rendering for multiple timeseries
| slickgraph-core/src/main/java/fr/caladan/slickgraph/SlickGraph.java | Implemented SLG shading rendering for multiple timeseries | <ide><path>lickgraph-core/src/main/java/fr/caladan/slickgraph/SlickGraph.java
<ide> showShadingProperty.set(showShading);
<ide> }
<ide>
<add> /** List of alpha values for the SlickGraph shading */
<add> protected List<Double> slgAlphas;
<add>
<ide> /** Color of the timeseries outine */
<ide> protected SimpleObjec... | |
Java | mit | 528fdd6690919a03fe0d97c85c6666492c6ffa93 | 0 | OliverAbdulrahim/Hangman,zorudeam/Hangman | package game;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Toolkit;
import java.awt.Window;
import java.awt.event.ActionEvent;
impo... | src/game/Hangman_GUI.java | package game;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Toolkit;
import java.awt.Window;
import java.awt.event.ActionEvent;
impo... | Fixed a bug where the hint button wouldn't disable after running out of hints
| src/game/Hangman_GUI.java | Fixed a bug where the hint button wouldn't disable after running out of hints | <ide><path>rc/game/Hangman_GUI.java
<ide> String cheaterWord = "The current word is " + game.getCurrentWord() + '.';
<ide> currentWordLabel.setToolTipText(cheaterWord);
<ide>
<del> String hintText = "Hint";
<del> if (game.correctGuessesToWin() == 1 || game.getGuessesRemaining() ==... | |
Java | apache-2.0 | c75668665919b6bfc6716a139bafdd16b7533ad4 | 0 | merlimat/pulsar,massakam/pulsar,yahoo/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar,massakam/pulsar,yahoo/pulsar,merlimat/pulsar,yahoo/pulsar,yahoo/pulsar,yahoo/pulsar | /**
* 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... | pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.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... | Don't request redelivery of dead letter messages (#4426)
If we send a message to the dead letter topic, we shouldn't also
request that the same message be redelivered.
The process to send to DLQ does do an acknowledge(), but acknowledge
is async and not guaranteed, so it can race with the redelivery
request. | pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java | Don't request redelivery of dead letter messages (#4426) | <ide><path>ulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
<ide> .collect(Collectors.toSet()), MAX_REDELIVER_UNACKNOWLEDGED);
<ide> MessageIdData.Builder builder = MessageIdData.newBuilder();
<ide> batches.forEach(ids -> {
<del> List<... | |
Java | agpl-3.0 | d41018a18f1a68bff7597c8242b50808ce32e062 | 0 | mnlipp/jgrapes,mnlipp/jgrapes | /*
* JGrapes Event Driven Framework
* Copyright (C) 2022 Michael N. Lipp
*
* 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 your option) any l... | org.jgrapes.util/src/org/jgrapes/util/ComponentProvider.java | /*
* JGrapes Event Driven Framework
* Copyright (C) 2022 Michael N. Lipp
*
* 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 your option) any l... | Use constants. | org.jgrapes.util/src/org/jgrapes/util/ComponentProvider.java | Use constants. | <ide><path>rg.jgrapes.util/src/org/jgrapes/util/ComponentProvider.java
<ide> @SuppressWarnings("PMD.DataflowAnomalyAnalysis")
<ide> public class ComponentProvider extends Component {
<ide>
<add> /** The entry name for the component's type. */
<add> public static final String COMPONENT_TYPE = "componentType";
<ad... | |
JavaScript | agpl-3.0 | a2338f8e55054e02cfbc3ffadb7671686e0d71d4 | 0 | havt/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web,havt/openerp-web,akretion/openerp-web,akretion/openerp-web,havt/openerp-web | openerp.base.search = function(openerp) {
openerp.base.SearchView = openerp.base.Widget.extend({
init: function(parent, element_id, dataset, view_id, defaults) {
this._super(parent, element_id);
this.view_manager = parent || new openerp.base.NullViewManager();
this.dataset = dataset;
... | addons/base/static/src/js/search.js | openerp.base.search = function(openerp) {
openerp.base.SearchView = openerp.base.Widget.extend({
init: function(parent, element_id, dataset, view_id, defaults) {
this._super(parent, element_id);
this.view_manager = parent || new openerp.base.NullViewManager();
this.dataset = dataset;
... | [REM] trailing comma in object literal
| addons/base/static/src/js/search.js | [REM] trailing comma in object literal | <ide><path>ddons/base/static/src/js/search.js
<ide> context_to_save: context,
<ide> domain: domain,
<ide> name: name
<del> }).then(function(result) {
<add> }).then(function() {
<ide> ... | |
Java | apache-2.0 | fe2b634dc6330f5775f797da3a600f661c576ad0 | 0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss | package com.kickstarter.ui.views;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
impor... | app/src/main/java/com/kickstarter/ui/views/DiscoveryToolbar.java | package com.kickstarter.ui.views;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
impor... | Allow toolbar to render in designer
| app/src/main/java/com/kickstarter/ui/views/DiscoveryToolbar.java | Allow toolbar to render in designer | <ide><path>pp/src/main/java/com/kickstarter/ui/views/DiscoveryToolbar.java
<ide> protected void onAttachedToWindow() {
<ide> super.onAttachedToWindow();
<ide>
<add> if (isInEditMode()) {
<add> return;
<add> }
<add>
<ide> if (currentUser.getUser() == null) {
<ide> showLoggedOutMenu();
<ide> ... | |
JavaScript | bsd-3-clause | db8ab80bef2b0d0e2cba2fe8014fd1d6aea7f637 | 0 | CartoDB/Windshaft-cartodb,CartoDB/Windshaft-cartodb,CartoDB/Windshaft-cartodb,CartoDB/Windshaft-cartodb | var testHelper = require('../../support/test_helper');
var assert = require('../../support/assert');
var step = require('step');
var FastlyPurge = require('fastly-purge');
var _ = require('underscore');
var NamedMapsCacheEntry = require(__dirname + '/../../../lib/cartodb/cache/model/named_maps_entry');
va... | test/acceptance/cache/surrogate_keys_invalidation.js | require('../../support/test_helper');
var assert = require('../../support/assert');
var redis = require('redis');
var step = require('step');
var FastlyPurge = require('fastly-purge');
var _ = require('underscore');
var NamedMapsCacheEntry = require(__dirname + '/../../../lib/cartodb/cache/model/nam... | Remove redis client
| test/acceptance/cache/surrogate_keys_invalidation.js | Remove redis client | <ide><path>est/acceptance/cache/surrogate_keys_invalidation.js
<del>require('../../support/test_helper');
<add>var testHelper = require('../../support/test_helper');
<ide>
<ide> var assert = require('../../support/assert');
<del>var redis = require('redis');
<ide> var step = require('step');
<ide> va... | |
JavaScript | mit | aa5e3bf0ea409c9fc13e8cc48d6ebe2c43b3272d | 0 | briehl/narrative,msneddon/narrative,msneddon/narrative,briehl/narrative,kbase/narrative,pranjan77/narrative,mlhenderson/narrative,nlharris/narrative,mlhenderson/narrative,pranjan77/narrative,aekazakov/narrative,jmchandonia/narrative,kbase/narrative,jmchandonia/narrative,rsutormin/narrative,mlhenderson/narrative,rsutorm... | (function($, undefined) {
var workspaceURL = "https://kbase.us/services/workspace";
var workspaceClient = new workspaceService(workspaceURL);
notLoggedIn();
$(function() {
/* $(document).on('loggedIn.kbase', function(event, token) {
console.debug("logged in")
loadPage();... | functional_site/static/js/users.js | (function($, undefined) {
var workspaceURL = "https://kbase.us/services/workspace";
var workspaceClient = new workspaceService(workspaceURL);
notLoggedIn();
$(function() {
/* $(document).on('loggedIn.kbase', function(event, token) {
console.debug("logged in")
loadPage();... | typo fix
| functional_site/static/js/users.js | typo fix | <ide><path>unctional_site/static/js/users.js
<ide>
<ide> // build data from first <= 5 items in the sorted list
<ide> var rows = [], n = indexed.length;
<del> var limit = min([n, 5]);
<add> var limit = _.min([n, 5]);
<ide> for (var i=0; i < limit; i++) {
<ide> var narr... | |
JavaScript | mit | 3c52528c1fcc4f103447ded03fa8a43c1fc7509a | 0 | partridgejiang/Kekule.js,partridgejiang/Kekule.js,partridgejiang/Kekule.js,partridgejiang/Kekule.js,partridgejiang/Kekule.js,partridgejiang/Kekule.js | (function(){
"use strict";
var PS = Class.PropertyScope;
var AU = Kekule.ArrayUtils;
var KUnit = Kekule.Unit;
/**
* Base namespace for spectra.
* @namespace
*/
Kekule.Spectroscopy = {};
/**
* Enumeration of data mode of spectrum variable.
* @enum
*/
Kekule.Spectroscopy.DataMode = {
/** Value points are conti... | src/spectroscopy/kekule.spectrum.core.js | (function(){
"use strict";
var PS = Class.PropertyScope;
var AU = Kekule.ArrayUtils;
var KUnit = Kekule.Unit;
/**
* Base namespace for spectra.
* @namespace
*/
Kekule.Spectroscopy = {};
/**
* Enumeration of data mode of spectrum variable.
* @enum
*/
Kekule.Spectroscopy.DataMode = {
/** Value points are conti... | Set owner/parent of extra info object when adding it to spectrum data
| src/spectroscopy/kekule.spectrum.core.js | Set owner/parent of extra info object when adding it to spectrum data | <ide><path>rc/spectroscopy/kekule.spectrum.core.js
<ide> this.setMode(Kekule.Spectroscopy.DataMode.CONTINUOUS);
<ide> },
<ide>
<add> /** @ignore */
<add> ownerChanged: function(newOwner, oldOwner)
<add> {
<add> // change the owner of all extra info objects if possible
<add> for (var i = 0, l = this.getDataCount()... | |
Java | apache-2.0 | ceeeff4583c4490a72148d6fad3cf78136f84a77 | 0 | asoldano/wss4j,asoldano/wss4j,clibois/wss4j,apache/wss4j,apache/wss4j,jimma/wss4j,clibois/wss4j,jimma/wss4j | /*
* Copyright 2003-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | src/org/apache/ws/security/message/token/Timestamp.java | /*
* Copyright 2003-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Apply patch from Christian to have a consistent behaviour when access created, expires fields.
git-svn-id: 10bc45916fe30ae642aa5037c9a4b05727bba413@369830 13f79535-47bb-0310-9956-ffa450edef68
| src/org/apache/ws/security/message/token/Timestamp.java | Apply patch from Christian to have a consistent behaviour when access created, expires fields. | <ide><path>rc/org/apache/ws/security/message/token/Timestamp.java
<ide> public class Timestamp {
<ide>
<ide> protected Element element = null;
<del> protected Element elementCreated = null;
<del> protected Element elementExpires = null;
<ide> protected Vector customElements = null;
<ide>
<ide> prote... | |
Java | bsd-3-clause | 90ef85b4b02a2aaa14f100a22bbb4f296d0c1da4 | 0 | all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench | package org.pmiops.workbench.cohortbuilder;
import static org.pmiops.workbench.cohortbuilder.util.Validation.from;
import static org.pmiops.workbench.cohortbuilder.util.ValidationPredicates.betweenOperator;
import static org.pmiops.workbench.cohortbuilder.util.ValidationPredicates.notBetweenAndNotInOperator;
import st... | api/src/main/java/org/pmiops/workbench/cohortbuilder/SearchGroupItemQueryBuilder.java | package org.pmiops.workbench.cohortbuilder;
import static org.pmiops.workbench.cohortbuilder.util.Validation.from;
import static org.pmiops.workbench.cohortbuilder.util.ValidationPredicates.betweenOperator;
import static org.pmiops.workbench.cohortbuilder.util.ValidationPredicates.notBetweenAndNotInOperator;
import st... | fixing PM (#4698)
| api/src/main/java/org/pmiops/workbench/cohortbuilder/SearchGroupItemQueryBuilder.java | fixing PM (#4698) | <ide><path>pi/src/main/java/org/pmiops/workbench/cohortbuilder/SearchGroupItemQueryBuilder.java
<ide> .allMatch(
<ide> sp ->
<ide> Domain.PHYSICAL_MEASUREMENT.toString().equals(sp.getDomain())
<del> && sp.getConceptId() == null);
<add> ... | |
JavaScript | apache-2.0 | 7b3022eafe8f85fd5c9e409ca9174a8cee062c63 | 0 | ShoppinPal/vend-nodejs-sdk | 'use strict';
var _ = require('underscore');
var moment = require('moment');
var Promise = require('bluebird');
var request = require('request-promise');
//request.debug = true;
var log = require('winston');
log.remove(log.transports.Console);
log.add(log.transports.Console, {colorize: true, timestamp: false, level:... | vend.js | 'use strict';
var _ = require('underscore');
var moment = require('moment');
var Promise = require('bluebird');
var request = require('request-promise');
//request.debug = true;
var log = require('winston');
log.remove(log.transports.Console);
log.add(log.transports.Console, {colorize: true, timestamp: false, level:... | add the ability to create register sale
| vend.js | add the ability to create register sale | <ide><path>end.js
<ide> return sendRequest(options, args, connectionInfo, fetchProducts, retryCounter);
<ide> };
<ide>
<add>var createRegisterSale = function(body, connectionInfo, retryCounter) {
<add> if (!retryCounter) {
<add> retryCounter = 0;
<add> } else {
<add> console.log('retry # ' + retryCounter);
<... | |
Java | apache-2.0 | 2249d8ef622a2d1e09dd863a4244ca9dd0cf7ed1 | 0 | da1z/intellij-community,asedunov/intellij-community,ThiagoGarciaAlves/intellij-community,signed/intellij-community,youdonghai/intellij-community,da1z/intellij-community,allotria/intellij-community,signed/intellij-community,semonte/intellij-community,allotria/intellij-community,asedunov/intellij-community,youdonghai/int... | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | plugins/javaFX/src/org/jetbrains/plugins/javaFX/fxml/JavaFxPsiUtil.java | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Javafx: Reduced search scope when looking for FXML controller class. Moved doPreventingRecursion() inside the computation of the cached value. (IDEA-160386)
| plugins/javaFX/src/org/jetbrains/plugins/javaFX/fxml/JavaFxPsiUtil.java | Javafx: Reduced search scope when looking for FXML controller class. Moved doPreventingRecursion() inside the computation of the cached value. (IDEA-160386) | <ide><path>lugins/javaFX/src/org/jetbrains/plugins/javaFX/fxml/JavaFxPsiUtil.java
<ide> }
<ide> }
<ide> final CachedValuesManager manager = CachedValuesManager.getManager(containingFile.getProject());
<del> final PsiClass injectedControllerClass = ourGuard.doPreventingRecursion(containingFile, ... | |
Java | apache-2.0 | 2b7bb3433df7cf18268bf2e79e6cb9b31af7dd37 | 0 | sdgdsffdsfff/hbase-indexer,chenrongwei/hbase-indexer,fiserro/hbase-indexer,NGDATA/hbase-indexer,LucidWorks/hbase-indexer,sdgdsffdsfff/hbase-indexer,cloudera/hbase-indexer,fiserro/hbase-indexer,RandyChen1985/hbase-indexer,cloudera/hbase-indexer,whoschek/hbase-indexer,NGDATA/hbase-indexer,nero520/hbase-indexer,chenrongwe... | /*
* 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 ... | hbase-indexer-mr/src/main/java/org/apache/solr/hadoop/ForkedMapReduceIndexerTool.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 ... | replace use of System.out with LOG.debug
| hbase-indexer-mr/src/main/java/org/apache/solr/hadoop/ForkedMapReduceIndexerTool.java | replace use of System.out with LOG.debug | <ide><path>base-indexer-mr/src/main/java/org/apache/solr/hadoop/ForkedMapReduceIndexerTool.java
<ide> String configName = zki.readConfigName(zkClient, options.collection);
<ide> File tmpSolrHomeDir = zki.downloadConfigDir(zkClient, configName);
<ide> SolrOutputFormat.setu... | |
Java | apache-2.0 | 1b64d4f5b24f6d2729560fac614550794583c2cd | 0 | joelind/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,joelind/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,joelind... | /*
* Copyright 2009 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | androidtest/src/com/google/zxing/client/androidtest/RGBLuminanceSource.java | /*
* Copyright 2009 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Whoops, fixed long-standing bug in the benchmark. Never noticed before because we always used square images.
| androidtest/src/com/google/zxing/client/androidtest/RGBLuminanceSource.java | Whoops, fixed long-standing bug in the benchmark. Never noticed before because we always used square images. | <ide><path>ndroidtest/src/com/google/zxing/client/androidtest/RGBLuminanceSource.java
<ide> // up front, which is the same as the Y channel of the YUVLuminanceSource in the real app.
<ide> luminances = new byte[width * height];
<ide> for (int y = 0; y < height; y++) {
<del> int offset = y * height;
<ad... | |
JavaScript | apache-2.0 | b75b1616a1ca6efc9726bede3f10c0ff6c81b365 | 0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib | 'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/math/base/random/randu' );
var isnan = require( '@stdlib/math/base/utils/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var pkg = require( './../package.json' ).name;
var dasum = require( './../lib/wasm... | lib/node_modules/@stdlib/math/base/blas/dasum/benchmark/benchmark.malloc.js | 'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/math/base/random/randu' );
var isnan = require( '@stdlib/math/base/utils/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var pkg = require( './../package.json' ).name;
var dasum = require( './../lib/wasm... | Update description
| lib/node_modules/@stdlib/math/base/blas/dasum/benchmark/benchmark.malloc.js | Update description | <ide><path>ib/node_modules/@stdlib/math/base/blas/dasum/benchmark/benchmark.malloc.js
<ide> // FUNCTIONS //
<ide>
<ide> /**
<del>* Wraps `dasum`.
<add>* Wraps `dasum`, explicitly allocating upon receiving a typed array. This would need to happen if one wanted to provide unique externally defined arrays to a WASM inter... | |
Java | bsd-3-clause | 2a65ca4cb77856e2b1f8226a07c8e9f9f17679ee | 0 | g-rocket/jmonkeyengine,atomixnmc/jmonkeyengine,InShadow/jmonkeyengine,Georgeto/jmonkeyengine,rbottema/jmonkeyengine,nickschot/jmonkeyengine,aaronang/jmonkeyengine,zzuegg/jmonkeyengine,GreenCubes/jmonkeyengine,davidB/jmonkeyengine,olafmaas/jmonkeyengine,danteinforno/jmonkeyengine,atomixnmc/jmonkeyengine,shurun19851206/j... | /*
* Copyright (c) 2009-2010 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | engine/src/core/com/jme3/app/Application.java | /*
* Copyright (c) 2009-2010 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | Added a setTimer() method for switching the default
Timer implementation.
git-svn-id: f9411aee4f13664f2fc428a5b3e824fe43a079a3@8523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
| engine/src/core/com/jme3/app/Application.java | Added a setTimer() method for switching the default Timer implementation. | <ide><path>ngine/src/core/com/jme3/app/Application.java
<ide> }
<ide> }
<ide>
<add> /**
<add> * Sets the Timer implementation that will be used for calculating
<add> * frame times. By default, Application will use the Timer as returned
<add> * by the current JmeContext implementation.
<add>... | |
Java | mit | 69cb1cd176e26919371573aa19f4352931e2f841 | 0 | Monaden/automatabuilder | /*
* 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 automatabuilder;
import interfaces.IState;
import interfaces.ITransition;
import java.util.Vector;
import org.junit.*;
import... | src/test/java/automatabuilder/StateTest.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 automatabuilder;
import interfaces.IState;
import interfaces.ITransition;
import java.util.Vector;
import org.junit.Test;
impo... | removed: comment as the code was self-explanatory that it is the State
class which is under test, and the test methods describe the
functionallity
added: setUp method which is run before every test method.
duplicate code could then be removed.
added: a build method which builds a state with one state.
duplicate code ... | src/test/java/automatabuilder/StateTest.java | removed: comment as the code was self-explanatory that it is the State class which is under test, and the test methods describe the functionallity | <ide><path>rc/test/java/automatabuilder/StateTest.java
<ide> import interfaces.IState;
<ide> import interfaces.ITransition;
<ide> import java.util.Vector;
<del>import org.junit.Test;
<add>import org.junit.*;
<add>
<ide> import static org.junit.Assert.*;
<ide>
<ide> /**
<ide> * @author Adam
<ide> */
<ide> public clas... | |
Java | bsd-3-clause | 47ba8558f280e1d9e43fa27080d1a5d2a7042b93 | 0 | sebastiangraf/treetank,sebastiangraf/treetank,sebastiangraf/treetank | /**
*
*/
package org.treetank.access;
import static org.testng.AssertJUnit.assertEquals;
import static org.treetank.CoreTestHelper.getFakedStructure;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.treetank.exception.TTIOExceptio... | coremodules/core/src/test/java/org/treetank/access/PageReadTrxTest.java | /**
*
*/
package org.treetank.access;
import static org.testng.AssertJUnit.assertEquals;
import static org.treetank.CoreTestHelper.getFakedStructure;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.treetank.exception.TTIOExceptio... | [MOD] nodepageoff and nodepagekey-methods tested
git-svn-id: a5379eb5ca3beb2b6e029be3b1b7f6aa53f2352b@7160 e3ddb328-5bfe-0310-b762-aafcbcbd2528
| coremodules/core/src/test/java/org/treetank/access/PageReadTrxTest.java | [MOD] nodepageoff and nodepagekey-methods tested | <ide><path>oremodules/core/src/test/java/org/treetank/access/PageReadTrxTest.java
<ide> // 6 as base plus five times 127 as offsets on levels above
<ide> assertEquals(641, key);
<ide>
<add> // false offset, not existing
<add> offsets[0] = 0;
<add> reader = getFakedStructure(offsets... | |
Java | unlicense | ea2cec086b2eac36e1dcd98bad7b0bce43e560f1 | 0 | ggabriel96/binary_search_tree,ggabriel96/red_black_tree | /*
* This file is part of binary_search_tree.
*
* binary_search_tree is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | src/Tree.java | /*
* This file is part of binary_search_tree.
*
* binary_search_tree 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.
... | Little adjustments to the remove() commentary.
| src/Tree.java | Little adjustments to the remove() commentary. | <ide><path>rc/Tree.java
<ide> }
<ide>
<ide> public void remove(Node u) {
<del> /*
<del> * This first 'if' treats the case when the node has
<del> * no children *or* has a right child but not left
<add> /* This first 'if' treats the case when u has
<add> * no children *or* ... | |
JavaScript | mit | 4f1bb001585d99f2bfe344c43f8ce5c82ffcf013 | 0 | infinitered/ignite,infinitered/ignite,infinitered/ignite,infinitered/ignite,ruddell/ignite,ruddell/ignite,infinitered/ignite,infinitered/ignite,infinitered/ignite,lukabers/ignite,lukabers/ignite,infinitered/ignite,lukabers/ignite,lukabers/ignite,ruddell/ignite,lukabers/ignite | import R from 'ramda'
import DebugSettings from '../Config/DebugSettings'
let globalExamplesRegistry = []
export const addExample = (renderExampleFunc) => { if (DebugSettings.includeExamples) globalExamplesRegistry.push(renderExampleFunc) }
const renderExample = (example) => example.call()
export const renderExample... | ignite-base/App/Services/ExamplesRegistry.js | import React, {View} from 'react-native'
import R from 'ramda'
import DebugSettings from '../Config/DebugSettings'
let globalExamplesRegistry = []
export const addExample = (renderExampleFunc) => { if (DebugSettings.includeExamples) globalExamplesRegistry.push(renderExampleFunc) }
const renderExample = (example) => e... | simplify render all
| ignite-base/App/Services/ExamplesRegistry.js | simplify render all | <ide><path>gnite-base/App/Services/ExamplesRegistry.js
<del>import React, {View} from 'react-native'
<ide> import R from 'ramda'
<ide> import DebugSettings from '../Config/DebugSettings'
<ide> let globalExamplesRegistry = []
<ide>
<ide> const renderExample = (example) => example.call()
<ide>
<del>export const renderE... | |
JavaScript | agpl-3.0 | c2e49d0b03234113672792c57d7f8b84fcdcda02 | 0 | eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql | ZBase.registerView((function() {
var kPathPrefix = "/a/reports/";
var docsync;
var loadReport = function(params) {
var query_id = params.path.substr(kPathPrefix.length);
$.showLoader();
$.httpGet("/api/v1/documents/" + query_id, function(r) {
if (r.status == 200) {
var doc = JSON.pars... | src/zbase/webui/views/report/report.js | ZBase.registerView((function() {
var kPathPrefix = "/a/reports/";
var doc_sync;
var loadReport = function(params) {
var query_id = params.path.substr(kPathPrefix.length);
$.showLoader();
$.httpGet("/api/v1/documents/" + query_id, function(r) {
if (r.status == 200) {
var doc = JSON.pars... | init docsync
| src/zbase/webui/views/report/report.js | init docsync | <ide><path>rc/zbase/webui/views/report/report.js
<ide> ZBase.registerView((function() {
<ide> var kPathPrefix = "/a/reports/";
<del> var doc_sync;
<add>
<add> var docsync;
<ide>
<ide> var loadReport = function(params) {
<ide> var query_id = params.path.substr(kPathPrefix.length);
<ide>
<ide> };
<ide>
<ad... | |
Java | mit | 44e4253e996e327853c22076c5c1374d83df735b | 0 | dmeybohm/organize-php-imports-plugin | package com.daveme.intellij.organizephpimports;
import com.intellij.lang.LanguageImportStatements;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.project.Project;
import com.... | src/com/daveme/intellij/organizephpimports/OrganizeImportsAction.java | package com.daveme.intellij.organizephpimports;
import com.intellij.lang.LanguageImportStatements;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.project.Project;
import com.... | Delete unused var
| src/com/daveme/intellij/organizephpimports/OrganizeImportsAction.java | Delete unused var | <ide><path>rc/com/daveme/intellij/organizephpimports/OrganizeImportsAction.java
<ide> final PsiFile[] psiFiles = convertToPsiFiles(virtualFiles, project);
<ide>
<ide> boolean visible = containsAtLeastOnePhpFile(psiFiles);
<del> boolean enabled = visible && hasImportStatements(psiFiles, project);... | |
Java | apache-2.0 | 6d1a8dd78727e55b3d19a22279a83a3d9dcd01b3 | 0 | ceylon/ceylon-js,ceylon/ceylon-js,ceylon/ceylon-js | package com.redhat.ceylon.compiler.js;
import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Stack;
import org.antlr.runtime.CommonToken;
import com.red... | src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java | package com.redhat.ceylon.compiler.js;
import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Stack;
import org.antlr.runtime.CommonToken;
import com.red... | Fixed code because Tree.SafeIndexOp was removed from language model
| src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java | Fixed code because Tree.SafeIndexOp was removed from language model | <ide><path>rc/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
<ide> }
<ide>
<ide> public void visit(IndexExpression that) {
<del> IndexOperator op = that.getIndexOperator();
<del> if (op instanceof SafeIndexOp) {
<del> out(clAlias, "exists(");
<del> that.getPr... | |
Java | epl-1.0 | 9cac3bfda5bab4762a37b2b848ab50a90c40a910 | 0 | rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt | /*************************************************************************************
* Copyright (c) 2004 Actuate Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributio... | UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java | /*************************************************************************************
* Copyright (c) 2004 Actuate Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributio... | - Summary:Fix bug 265411, factor the code.
- Bugzilla Bug (s) Resolved:265411
- Description: Allow drag the parameter to the cross tab cell.
- Tests Description :
Manual test
- Files Edited:
- Files Added:
- Files Deleted:
- Notes to Build Team:
- Notes to Developers:
- Notes to QA:
- ... | UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java | - Summary:Fix bug 265411, factor the code. | <ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java
<ide> if ( newObj instanceof Object[] )
<ide> {
<ide> Object[] newObjs = (Object[]) newObj;
<del> Object[] insertedObjs = new Object[newObjs.length];
<del> for ( in... | |
JavaScript | mit | 434336c9c5ee80574c1d03d09739605f0f1ca8fa | 0 | codefirst/keima,codefirst/keima,codefirst/keima | const model = require('./model');
exports.index = function(req, res){
model.App.all(req.getAuthDetails().user.user_id,
function(xs){
res.render('app/index',
{ title : 'Dashboard',
apps : xs });
});
};
exports.new = function(req, res){
res.... | app.js | const model = require('./model');
exports.index = function(req, res){
model.App.all(req.getAuthDetails().user.user_id,
function(xs){
res.render('app/index',
{ title : 'Dashboard',
apps : xs });
});
};
exports.new = function(req, res){
res.... | Fixed: displaying wrong URL
| app.js | Fixed: displaying wrong URL | <ide><path>pp.js
<ide>
<ide> exports.extras = function(server,listen,name) {
<ide> server.get('/' + name + '/:app/getting_start',function(req, res) {
<del> const protocol = req.protocol;
<add> const protocol = req.headers['x-forwarded-proto'] || req.protocol;
<ide> const hostname = req.header... | |
Java | bsd-3-clause | 55f4e77640fd21902dba07936def4f76802faa06 | 0 | PX4/jMAVSim,PX4/jMAVSim,PX4/jMAVSim | package me.drton.jmavsim;
//import com.sun.j3d.utils.geometry.Box;
//import com.sun.j3d.utils.geometry.Cylinder;
import com.sun.j3d.utils.geometry.Sphere;
import com.sun.j3d.utils.image.ImageException;
import com.sun.j3d.utils.image.TextureLoader;
import com.sun.j3d.utils.universe.SimpleUniverse;
import javax.imageio... | src/me/drton/jmavsim/Visualizer3D.java | package me.drton.jmavsim;
//import com.sun.j3d.utils.geometry.Box;
//import com.sun.j3d.utils.geometry.Cylinder;
import com.sun.j3d.utils.geometry.Sphere;
import com.sun.j3d.utils.image.ImageException;
import com.sun.j3d.utils.image.TextureLoader;
import com.sun.j3d.utils.universe.SimpleUniverse;
import javax.imageio... | Visualizer3D: use new textures, improve resolution of ground
and reduce world size from 50km to 5km, which is enough for testing
| src/me/drton/jmavsim/Visualizer3D.java | Visualizer3D: use new textures, improve resolution of ground | <ide><path>rc/me/drton/jmavsim/Visualizer3D.java
<ide> public static final double PI_2 = Math.PI / 2d;
<ide>
<ide> public static final String TEX_DIR = "environment/"; // folder for all environment textures
<del> public static final String SKY_TEXTURE = "earth3.jpg";
<del> public static final ... | |
Java | apache-2.0 | error: pathspec 'wink-providers/wink-json-provider/src/test/org/apache/wink/providers/json/internal/JSONProviderTest.java' did not match any file(s) known to git
| 2746525c522c8d98909f00de7c15751f874a2178 | 1 | os890/wink_patches,apache/wink,apache/wink,apache/wink,os890/wink_patches | /*******************************************************************************
* 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... | wink-providers/wink-json-provider/src/test/org/apache/wink/providers/json/internal/JSONProviderTest.java | Re-add JSON test
git-svn-id: 00d204a5454029cb4c4f043d44e9809460a5ea01@958012 13f79535-47bb-0310-9956-ffa450edef68
| wink-providers/wink-json-provider/src/test/org/apache/wink/providers/json/internal/JSONProviderTest.java | Re-add JSON test | <ide><path>ink-providers/wink-json-provider/src/test/org/apache/wink/providers/json/internal/JSONProviderTest.java
<add>/*******************************************************************************
<add> * Licensed to the Apache Software Foundation (ASF) under one
<add> * or more contributor license agreements. See... | |
JavaScript | mit | 19e2ad458010142628f9be3eb13bf11ca1253ea5 | 0 | WorldBank-Transport/ram-backend,WorldBank-Transport/Rural-Road-Accessibility,WorldBank-Transport/ram-backend,WorldBank-Transport/Rural-Road-Accessibility,WorldBank-Transport/Rural-Road-Accessibility,WorldBank-Transport/ram-backend | 'use strict';
import { assert } from 'chai';
// import fs from 'fs';
import FormData from 'form-data';
import streamToPromise from 'stream-to-promise';
import initServer from '../app/services/server';
// import db from '../app/db';
import { setupStructure as setupDdStructure } from '../app/db/structure';
import { setu... | test/test-scenario-source-data.js | 'use strict';
import { assert } from 'chai';
// import fs from 'fs';
import FormData from 'form-data';
import streamToPromise from 'stream-to-promise';
import Server from '../app/services/server';
// import db from '../app/db';
import { setupStructure as setupDdStructure } from '../app/db/structure';
import { setupStr... | Fix server init on test
| test/test-scenario-source-data.js | Fix server init on test | <ide><path>est/test-scenario-source-data.js
<ide> import FormData from 'form-data';
<ide> import streamToPromise from 'stream-to-promise';
<ide>
<del>import Server from '../app/services/server';
<add>import initServer from '../app/services/server';
<ide> // import db from '../app/db';
<ide> import { setupStructure as ... | |
Java | apache-2.0 | 17c0c7d9d68614b8b5adb04ecb964abc7e5c73e9 | 0 | vpavic/spring-boot,philwebb/spring-boot,chrylis/spring-boot,scottfrederick/spring-boot,philwebb/spring-boot,jxblum/spring-boot,aahlenst/spring-boot,jxblum/spring-boot,michael-simons/spring-boot,aahlenst/spring-boot,Buzzardo/spring-boot,chrylis/spring-boot,Buzzardo/spring-boot,dreis2211/spring-boot,jxblum/spring-boot,sc... | /*
* Copyright 2012-2021 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-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocation.java | /*
* Copyright 2012-2020 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... | Fix javadoc typo in ConfigDataLocation
See gh-24660
| spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocation.java | Fix javadoc typo in ConfigDataLocation | <ide><path>pring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocation.java
<ide> /*
<del> * Copyright 2012-2020 the original author or authors.
<add> * Copyright 2012-2021 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "... | |
Java | apache-2.0 | 7a89447ffa78c471c4e5d9a17464ca9631080ebe | 0 | DevStreet/FinanceAnalytics,jerome79/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,jeorme/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,jeorme/OG-Platform,jeorme/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,jeorme/OG-Platform,nssales/... | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import javax.time.Instant;
import javax.time.InstantProvider;
... | projects/OG-Financial/src/com/opengamma/financial/analytics/MissingInputsFunction.java | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import javax.time.Instant;
import javax.time.InstantProvider;
... | Correct MissingInputsFunction wrapper.
| projects/OG-Financial/src/com/opengamma/financial/analytics/MissingInputsFunction.java | Correct MissingInputsFunction wrapper. | <ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/MissingInputsFunction.java
<ide> return Collections.emptySet();
<ide> }
<ide> final Set<ComputedValue> results = Sets.newHashSetWithExpectedSize(underlyingResults.size());
<del> for (ComputedValue underlyingResult : results) {
<add> ... | |
JavaScript | lgpl-2.1 | 328248057f5aba885cea174d9126fd5a12e13d7c | 0 | enaeseth/loki,enaeseth/loki,enaeseth/loki | /**
* Declares instance variables.
*
* @constructor
*
* @class A class for helping insert an hr. Contains code
* common to both the button and the menu item.
*/
UI.HR_Helper = function()
{
var self = this;
Util.OOP.inherits(self, UI.Helper);
this.init = function(loki)
{
this.superclass.init.call(this, lo... | js/UI.HR_Helper.js | /**
* Declares instance variables.
*
* @constructor
*
* @class A class for helping insert an hr. Contains code
* common to both the button and the menu item.
*/
UI.HR_Helper = function()
{
var self = this;
Util.OOP.inherits(self, UI.Helper);
this.init = function(loki)
{
this.superclass.init.call(this, lo... | Fixed a bug in the HR helper where it thought a function was declared on the object when it was actually in the constructor's closure.
| js/UI.HR_Helper.js | Fixed a bug in the HR helper where it thought a function was declared on the object when it was actually in the constructor's closure. | <ide><path>s/UI.HR_Helper.js
<ide>
<ide> this.is_selected = function()
<ide> {
<del> return self._get_selected_hr() != null;
<add> return !!_get_selected_hr();
<ide> };
<ide>
<ide> var _get_selected_hr = function() | |
Java | mit | error: pathspec 'src/fr/loicdelorme/followUpYourGarden/core/services/exceptions/MissingGroupOfPlantsTypesOfPlantsException.java' did not match any file(s) known to git
| 93249562461531400233392aa321d7779e3befae | 1 | LoicDelorme/followUpYourGarden,LoicDelorme/Follow-Up-Your-Garden | package fr.loicdelorme.followUpYourGarden.core.services.exceptions;
/**
* This exception is thrown if the typesOfPlants attribute is missing.
*
* @author DELORME Loïc
* @version 1.0.0
*/
@SuppressWarnings("serial")
public class MissingGroupOfPlantsTypesOfPlantsException extends Exception
{
/**
* T... | src/fr/loicdelorme/followUpYourGarden/core/services/exceptions/MissingGroupOfPlantsTypesOfPlantsException.java | [add] exception. | src/fr/loicdelorme/followUpYourGarden/core/services/exceptions/MissingGroupOfPlantsTypesOfPlantsException.java | [add] exception. | <ide><path>rc/fr/loicdelorme/followUpYourGarden/core/services/exceptions/MissingGroupOfPlantsTypesOfPlantsException.java
<add>package fr.loicdelorme.followUpYourGarden.core.services.exceptions;
<add>
<add>/**
<add> * This exception is thrown if the typesOfPlants attribute is missing.
<add> *
<add> * @author DELORME Lo... | |
Java | apache-2.0 | 6d21c1e7a983cfbb519ab192f67ded30370e43b9 | 0 | psiinon/zaproxy,zaproxy/zaproxy,Ali-Razmjoo/zaproxy,thc202/zaproxy,psiinon/zaproxy,psiinon/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,meitar/zaproxy,gmaran23/zaproxy,zaproxy/zaproxy,meitar/zaproxy,gmaran23/zaproxy,kingthorin/zaproxy,zaproxy/zaproxy,Ali-Razmjoo/zaproxy,thc202/zaproxy,meitar/zaproxy,zaproxy/zaproxy,Ali-R... | /*
* Created on May 30, 2004
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Art... | zap/src/main/java/org/parosproxy/paros/control/Proxy.java | /*
* Created on May 30, 2004
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Art... | Simplify Proxy.stopServer()
Remove irrelevant conditional identified by sonarcloud
(https://sonarcloud.io/project/issues?id=zaproxy_zaproxy&open=AW06pHPtwvaFA2N5WdJi&resolved=false&types=BUG)
Signed-off-by: kingthorin <83ea41af2b636790c02743e48206546e1fa891e4@users.noreply.github.com>
Signed-off-by: karan preet singh... | zap/src/main/java/org/parosproxy/paros/control/Proxy.java | Simplify Proxy.stopServer() | <ide><path>ap/src/main/java/org/parosproxy/paros/control/Proxy.java
<ide> // ZAP: 2017/11/06 Removed ProxyServerSSL (Issue 3983)
<ide> // ZAP: 2019/06/01 Normalise line endings.
<ide> // ZAP: 2019/06/05 Normalise format/style.
<add>// ZAP: 2019/09/17 Remove irrelevant conditional in stopServer().
<ide> package org.paro... | |
Java | apache-2.0 | 2244d947cbedaf43259a847263dc852cd618be85 | 0 | mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter | package com.mikepenz.fastadapter;
import android.os.Bundle;
import android.support.v4.util.ArrayMap;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import com.mikepenz... | library/src/main/java/com/mikepenz/fastadapter/FastAdapter.java | package com.mikepenz.fastadapter;
import android.os.Bundle;
import android.support.v4.util.ArrayMap;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import com.mikepenz... | * fix getExpandedItemsCount in the new StateManagment
| library/src/main/java/com/mikepenz/fastadapter/FastAdapter.java | * fix getExpandedItemsCount in the new StateManagment | <ide><path>ibrary/src/main/java/com/mikepenz/fastadapter/FastAdapter.java
<ide> } else {
<ide> //first we find out how many items were added in total
<ide> //also counting subItems
<del> for (int i = position; i < position + totalAddedItems; i++) {
<add> for (int i ... | |
JavaScript | mpl-2.0 | ab90a3490aa7f39280a74b65710d5482837a59c1 | 0 | Mitch-1-2/uniqtabs,Mitch-1-2/uniqtabs | /*
* @author Mitchell Field <mitchell.field@live.com.au>
*
* 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/.
*/
// Set browser action.
browser.browser... | webextension/background.js | /*
* @author Mitchell Field <mitchell.field@live.com.au>
*
* 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/.
*/
// Set browser action.
browser.browser... | Optimise compareTokens().
| webextension/background.js | Optimise compareTokens(). | <ide><path>ebextension/background.js
<ide> */
<ide> function compareTokens(tokensA, tokensB) {
<ide>
<del> const tokensALength = tokensA.length;
<del> const tokensBLength = tokensB.length;
<del>
<del> for (let tokenIndex = 0; ; ++tokenIndex) {
<del> const isEndedA = tokenIndex >= tokensALength; // End of 'A' to... | |
Java | bsd-3-clause | 53f2fabe1d88872d9c959cd2bbf9e2a8ca953be4 | 0 | msf-oca-his/dhis2-core,hispindia/dhis2-Core,hispindia/dhis2-Core,msf-oca-his/dhis2-core,msf-oca-his/dhis2-core,msf-oca-his/dhis2-core,hispindia/dhis2-Core,hispindia/dhis2-Core,dhis2/dhis2-core,dhis2/dhis2-core,dhis2/dhis2-core,hispindia/dhis2-Core,dhis2/dhis2-core,dhis2/dhis2-core,msf-oca-his/dhis2-core | package org.hisp.dhis.webapi.utils;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above co... | dhis-2/dhis-web/dhis-web-api-test/src/test/java/org/hisp/dhis/webapi/utils/ContextUtilsTest.java | package org.hisp.dhis.webapi.utils;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above co... | fix: ContextUtilTest to use dynamic date assignment (#4799)
| dhis-2/dhis-web/dhis-web-api-test/src/test/java/org/hisp/dhis/webapi/utils/ContextUtilsTest.java | fix: ContextUtilTest to use dynamic date assignment (#4799) | <ide><path>his-2/dhis-web/dhis-web-api-test/src/test/java/org/hisp/dhis/webapi/utils/ContextUtilsTest.java
<ide> Calendar thisYear = Calendar.getInstance();
<ide> Calendar fiveYearBack = Calendar.getInstance();
<ide>
<del> thisYear.set( 2017, 01, 01 );
<del> fiveYearBack.set( 2012, 01, 01... | |
Java | bsd-3-clause | 699000a3083325e0926957b838597852deb161e4 | 0 | lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon | /*
* $Id: Tdb.java,v 1.12 2011-01-07 19:53:06 pgust Exp $
*/
/*
Copyright (c) 2000-2010 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... | src/org/lockss/config/Tdb.java | /*
* $Id: Tdb.java,v 1.11 2010-08-15 13:23:40 pgust Exp $
*/
/*
Copyright (c) 2000-2010 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... | Update to refresh headers.
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@10522 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| src/org/lockss/config/Tdb.java | Update to refresh headers. | <ide><path>rc/org/lockss/config/Tdb.java
<ide> /*
<del> * $Id: Tdb.java,v 1.11 2010-08-15 13:23:40 pgust Exp $
<add> * $Id: Tdb.java,v 1.12 2011-01-07 19:53:06 pgust Exp $
<ide> */
<ide>
<ide> /*
<ide> * a specified plugin ID.
<ide> *
<ide> * @author Philip Gust
<del> * @version $Id: Tdb.java,v 1.11 2010-08-15 1... | |
Java | apache-2.0 | ab55763937e6af2d67eb910f4973008de252c4bd | 0 | smartnews/presto,smartnews/presto,ebyhr/presto,dain/presto,ebyhr/presto,dain/presto,losipiuk/presto,smartnews/presto,dain/presto,losipiuk/presto,ebyhr/presto,ebyhr/presto,dain/presto,Praveen2112/presto,Praveen2112/presto,losipiuk/presto,losipiuk/presto,ebyhr/presto,losipiuk/presto,dain/presto,smartnews/presto,Praveen21... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Remove redundant table name qualification
| plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java | Remove redundant table name qualification | <ide><path>lugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/BaseIcebergConnectorTest.java
<ide> @Test
<ide> public void testLargeInFailureOnPartitionedColumns()
<ide> {
<del> QualifiedObjectName tableName = new QualifiedObjectName("iceberg", "tpch", "test_large_in_failure");
<del> ass... | |
Java | apache-2.0 | 01215c762663842235c7b89303ecca4afe4720a7 | 0 | coplas/SqliteDDLHelper | package sk.coplas.sqliteddlhelper;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
/**
* Created by coplas on 10/2/14.
*/
public class DDLBuilder {
private String tableName;
private LinkedHashMap<String, ColumnType> columns;
private String ... | library/src/main/java/sk/coplas/sqliteddlhelper/DDLBuilder.java | package sk.coplas.sqliteddlhelper;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
/**
* Created by coplas on 10/2/14.
*/
public class DDLBuilder {
public static enum ColumnType {
TEXT,NUMERIC,INTEGER,REAL,BOOLEAN, NONE
}
private St... | work in progress
| library/src/main/java/sk/coplas/sqliteddlhelper/DDLBuilder.java | work in progress | <ide><path>ibrary/src/main/java/sk/coplas/sqliteddlhelper/DDLBuilder.java
<ide> */
<ide> public class DDLBuilder {
<ide>
<del> public static enum ColumnType {
<del> TEXT,NUMERIC,INTEGER,REAL,BOOLEAN, NONE
<del> }
<ide>
<ide> private String tableName;
<ide> private LinkedHashMap<String, ColumnTyp... | |
JavaScript | mit | 0bd13e09210eb0917cf31d4312c65a4f9f341fcf | 0 | ptejada/ApePubSub,ptejada/ApePubSub | function APS( server, events, options ){
this.option = {
'poll': 25000,
debug: false,
session: true,
connectionArgs: {},
server: server,
transport: ["wb", "lp"],
//transport: "lp", //Should be the default transport option for APE Server v1.1.1
secure: false,
eventPush: false,
addFrequency: true
}
... | js/src/client.js | function APS( server, events, options ){
this.option = {
'poll': 25000,
debug: false,
session: true,
connectionArgs: {},
server: server,
transport: ["wb", "lp"],
//transport: "lp", //Should be the default transport option for APE Server v1.1.1
secure: false,
eventPush: false,
addFrequency: true
}
... | send an extra parameter `multi` to deremine weather th recpient is a channel or user
| js/src/client.js | send an extra parameter `multi` to deremine weather th recpient is a channel or user | <ide><path>s/src/client.js
<ide> if(pipe) {
<ide> tmp.params.pipe = typeof pipe == 'string' ? pipe : pipe.pubid;
<ide> if(this.getPipe(tmp.params.pipe) instanceof APS.channel){
<del> //tmp.params.multi = true;
<add> tmp.params.multi = true;
<ide> }else{
<del> //tmp.params.multi = false;
<add> tmp... | |
Java | lgpl-2.1 | e0b4e2fb5b98557119a9584d31b341db16771860 | 0 | levants/lightmare | package org.lightmare.ejb.interceptors;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.Queue;
import javax.ejb.Timer;
import javax.interceptor.InvocationContext;
import org.lightmare.utils.ObjectUtils;
import org.lightmare.utils.reflect.... | src/main/java/org/lightmare/ejb/interceptors/InvocationContextImpl.java | package org.lightmare.ejb.interceptors;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.Queue;
import javax.ejb.Timer;
import javax.interceptor.InvocationContext;
import org.lightmare.utils.ObjectUtils;
import org.lightmare.utils.reflect.... | improved code / comments at utility classes | src/main/java/org/lightmare/ejb/interceptors/InvocationContextImpl.java | improved code / comments at utility classes | <ide><path>rc/main/java/org/lightmare/ejb/interceptors/InvocationContextImpl.java
<ide> // Caches methods in order for proceed calls
<ide> private Queue<Method> methods = new LinkedList<Method>();
<ide>
<add> // Parameters for intercepted method
<ide> private Object[] parameters;
<ide>
<ide> // Cac... | |
Java | apache-2.0 | 5a4f1a4d81585ef961763d3764686676c62949da | 0 | freiheit-com/wicket,mafulafunk/wicket,dashorst/wicket,topicusonderwijs/wicket,selckin/wicket,freiheit-com/wicket,aldaris/wicket,bitstorm/wicket,freiheit-com/wicket,AlienQueen/wicket,topicusonderwijs/wicket,dashorst/wicket,klopfdreh/wicket,bitstorm/wicket,astrapi69/wicket,bitstorm/wicket,dashorst/wicket,aldaris/wicket,s... | /*
* 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 ... | wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authorization/strategies/role/Roles.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 ... | WICKET-5143 Create an interface for the roles replacing the current Roles class
Make Roles class non-final
| wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authorization/strategies/role/Roles.java | WICKET-5143 Create an interface for the roles replacing the current Roles class | <ide><path>icket-auth-roles/src/main/java/org/apache/wicket/authroles/authorization/strategies/role/Roles.java
<ide> * @author Eelco Hillenius
<ide> * @author Jonathan Locke
<ide> */
<del>public final class Roles extends HashSet<String> implements IClusterable
<add>public class Roles extends HashSet<String> implemen... | |
Java | apache-2.0 | 5cbb81c64f16839f9f853d559e2fffe45b391b42 | 0 | bijukunjummen/spring-boot,bjornlindstrom/spring-boot,tsachev/spring-boot,rajendra-chola/jenkins2-course-spring-boot,mbogoevici/spring-boot,ilayaperumalg/spring-boot,NetoDevel/spring-boot,tsachev/spring-boot,joansmith/spring-boot,thomasdarimont/spring-boot,philwebb/spring-boot,vpavic/spring-boot,donhuvy/spring-boot,neo4... | /*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java | /*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Fix management security when using different port
Update ManagementWebSecurityAutoConfiguration to reinstate lazy creation
of EndpointHandlerMapping from the EndpointPathRequestMatcher.
Fixes a regression introduced in eb2984781 and picked up my one of the
sample integration tests.
Fixes gh-4059
| spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java | Fix management security when using different port | <ide><path>pring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java
<ide> List<String> ignored = SpringBootWebSecurityConfiguration
<ide> .getIgnored(this.security);
<ide> if (!this.management.getSecurity().isEnabled()) {
<del> ignored.ad... | |
JavaScript | mit | 0d0f0c1e4ad285bada0f4bdcbd4eeb6e510980c1 | 0 | DemocraciaEnRed/democraciaenred.github.io | import React, { Component } from 'react'
import ThumbnailSlider from '../components/ThumbnailSlider'
let Flickity;
export default class extends Component {
constructor(props) {
super(props)
this.flickity = null
}
componentDidMount () {
Flickity = require('flickity')
}
componentDidUpdate () {
... | sections/about/containers/SliderContainer.js | import React, { Component } from 'react'
import ThumbnailSlider from '../components/ThumbnailSlider'
let Flickity;
export default class extends Component {
constructor(props) {
super(props)
this.flickity = null
}
componentDidMount () {
Flickity = require('flickity')
}
componentDidUpdate () {
... | fix slider
| sections/about/containers/SliderContainer.js | fix slider | <ide><path>ections/about/containers/SliderContainer.js
<ide> const options = {
<ide> cellCelector: '.thumbnail-item',
<ide> pageDots: false,
<del> wrapAround: true,
<add> wrapAround: false,
<ide> cellAlign: 'center',
<ide> draggable: true,
<ide> contain: true, | |
Java | apache-2.0 | error: pathspec 'src/main/java/com/spatial4j/core/math/IntersectUtils.java' did not match any file(s) known to git
| e26496ecfee081d5d5faca2ebca7adc8bd0d2ddc | 1 | varsis/spatial4j | package com.spatial4j.core.math;
/**
* Created with IntelliJ IDEA.
* User: rfalford12
* Date: 3/4/14
* Time: 3:06 PM
* To change this template use File | Settings | File Templates.
*/
public class IntersectUtils {
}
| src/main/java/com/spatial4j/core/math/IntersectUtils.java | Adding class for intersection utils - will code that and implement after polygon rep code
| src/main/java/com/spatial4j/core/math/IntersectUtils.java | Adding class for intersection utils - will code that and implement after polygon rep code | <ide><path>rc/main/java/com/spatial4j/core/math/IntersectUtils.java
<add>package com.spatial4j.core.math;
<add>
<add>/**
<add> * Created with IntelliJ IDEA.
<add> * User: rfalford12
<add> * Date: 3/4/14
<add> * Time: 3:06 PM
<add> * To change this template use File | Settings | File Templates.
<add> */
<add>public clas... | |
Java | mit | 6592c79a426767e54090807a025efa4a04077dfd | 0 | TickleThePanda/fitbit-intraday-visualiser,TickleThePanda/health-vis | package uk.co.ticklethepanda.health.weight;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.knowm.xchart.XYChart;
import org.knowm.xchart.XYChartBuilder;
import org.knowm.xchart.XYSeries;
import org.knowm.xchart.style.Styler;
import org.knowm.xchart.style.markers.SeriesMa... | src/main/java/uk/co/ticklethepanda/health/weight/WeightChartService.java | package uk.co.ticklethepanda.health.weight;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.knowm.xchart.XYChart;
import org.knowm.xchart.XYChartBuilder;
import org.knowm.xchart.XYSeries;
import org.knowm.xchart.style.Styler;
import org.knowm.xchart.style.markers.SeriesMa... | variable marker size for weight chart
| src/main/java/uk/co/ticklethepanda/health/weight/WeightChartService.java | variable marker size for weight chart | <ide><path>rc/main/java/uk/co/ticklethepanda/health/weight/WeightChartService.java
<ide> }
<ide>
<ide> private BufferedImage createChart(List<AveragedWeight> weights) {
<add> final int chartWidth = 1000;
<add> final int chartHeight = 500;
<add> final int minMarkerSize = 4;
<add> fin... | |
Java | apache-2.0 | f08b9fac2c233910d2219567f47863b549fac527 | 0 | huitseeker/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplear... | /*
*
* * Copyright 2016 Skymind,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
* *
* * U... | deeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/KerasModelImport.java | /*
*
* * Copyright 2016 Skymind,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
* *
* * U... | WIP: fixed static methods in KerasModelImport.
Former-commit-id: 371d81a4e9acdd5ba3dc2be58e77115aedd2a614 | deeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/KerasModelImport.java | WIP: fixed static methods in KerasModelImport. | <ide><path>eeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/KerasModelImport.java
<ide> */
<ide> public static ComputationGraph importKerasModelAndWeights(InputStream modelHdf5Stream)
<ide> throws IOException, InvalidKerasConfigurationException, UnsupportedKerasConfig... | |
Java | apache-2.0 | 6a5eddcbcbfc8343f358613861797b4303322f67 | 0 | jclouds/legacy-jclouds-karaf | /**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | commands/src/main/java/org/jclouds/karaf/commands/blobstore/BlobReadCommand.java | /**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | Stream display output
| commands/src/main/java/org/jclouds/karaf/commands/blobstore/BlobReadCommand.java | Stream display output | <ide><path>ommands/src/main/java/org/jclouds/karaf/commands/blobstore/BlobReadCommand.java
<ide> package org.jclouds.karaf.commands.blobstore;
<ide>
<ide> import java.io.File;
<del>import java.io.FileOutputStream;
<ide> import java.io.InputStream;
<ide>
<ide> import org.apache.felix.gogo.commands.Argument;
<ide> impo... | |
Java | epl-1.0 | 759fc09398bd1a0af3c4cd8868262be951bb97be | 0 | gnodet/wikitext | /*******************************************************************************
* Copyright (c) 2004 - 2006 University Of British Columbia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this ... | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/EditRepositoryWizard.java | /*******************************************************************************
* Copyright (c) 2004 - 2006 University Of British Columbia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this ... | Completed: 125173: add support for bugzilla 2.22
https://bugs.eclipse.org/bugs/show_bug.cgi?id=125173
| org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/EditRepositoryWizard.java | Completed: 125173: add support for bugzilla 2.22 https://bugs.eclipse.org/bugs/show_bug.cgi?id=125173 | <ide><path>rg.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/EditRepositoryWizard.java
<ide> @Override
<ide> public boolean performFinish() {
<ide> if (canFinish()) {
<add> MylarTaskListPlugin.getRepositoryManager().removeRepository(oldRepository);
<ide> TaskRepository repository = n... | |
Java | apache-2.0 | f4088cda280df9eedd90fc4625389bc9149e2e84 | 0 | kelemen/JTrim,kelemen/JTrim | package org.jtrim.image.transform;
import java.util.ArrayList;
import java.util.List;
import org.jtrim.concurrent.TaskExecutorService;
import org.jtrim.concurrent.async.*;
/**
* Defines an {@link AsyncDataQuery} which transforms its input image on the
* specified {@link TaskExecutorService}. There can be multiple t... | jtrim-gui/src/main/java/org/jtrim/image/transform/ImageTransformerQuery.java | package org.jtrim.image.transform;
import java.util.ArrayList;
import java.util.List;
import org.jtrim.concurrent.TaskExecutorService;
import org.jtrim.concurrent.async.*;
public final class ImageTransformerQuery
implements
AsyncDataQuery<ImageTransformerData, TransformedImageData> {
private final List<A... | Documented ImageTransformerQuery | jtrim-gui/src/main/java/org/jtrim/image/transform/ImageTransformerQuery.java | Documented ImageTransformerQuery | <ide><path>trim-gui/src/main/java/org/jtrim/image/transform/ImageTransformerQuery.java
<ide> import org.jtrim.concurrent.TaskExecutorService;
<ide> import org.jtrim.concurrent.async.*;
<ide>
<add>/**
<add> * Defines an {@link AsyncDataQuery} which transforms its input image on the
<add> * specified {@link TaskExecutor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.