lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 9b33a129596af41e0ef8e83efb1b7e11c1c82d44 | 0 | TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML | /**
* Copyright (C) 2014 SINTEF <franck.fleurey@sintef.no>
*
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Unless req... | testJar/src/main/java/org/thingml/testjar/TestJar.java | /**
* Copyright (C) 2014 SINTEF <franck.fleurey@sintef.no>
*
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Unless req... | Arduino tests partially working
| testJar/src/main/java/org/thingml/testjar/TestJar.java | Arduino tests partially working | <ide><path>estJar/src/main/java/org/thingml/testjar/TestJar.java
<ide> wl.add("testInstanceInitializationOrder");
<ide> wl.add("testArrays");
<ide> wl.add("testDeepCompositeStates");
<del> //Set<File> testFiles = whiteListFiles(testFolder, wl);
<add> Set<File> testFiles = whiteList... | |
JavaScript | mit | 796d70629636292fbb2d038f83c142f80c37b989 | 0 | katekourbatova/helium-overflow,katekourbatova/helium-overflow,katekourbatova/helium-overflow | $(document).ready(function() {
$('#show-answer-form').click(function(event){
event.preventDefault();
$.get($(this).attr('href'), showAnswerForm)
})
///////////////////// CALLBACK FUNCTIONS /////////////////////
function showAnswerForm(response){
$('#show-answer-form').hide();
$('.question-container').... | public/js/application.js | $(document).ready(function() {
$('#show-answer-form').click(function(event){
event.preventDefault();
$.get($(this).attr('href'), function(response){
$('#show-answer-form').hide();
$('.question-container').after(response);
$('#answer-body').focus();
})
})
});
| refactor with added calback function
| public/js/application.js | refactor with added calback function | <ide><path>ublic/js/application.js
<ide> $(document).ready(function() {
<ide> $('#show-answer-form').click(function(event){
<ide> event.preventDefault();
<del> $.get($(this).attr('href'), function(response){
<del> $('#show-answer-form').hide();
<del> $('.question-container').after(response);
<del> ... | |
Java | apache-2.0 | 885b01a4cdb61c5e61e1449daa42b191c7a64b85 | 0 | hortonworks/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,sequenceiq/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak | package com.sequenceiq.cloudbreak.service.stack;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.annotation.Resource;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotatio... | src/main/java/com/sequenceiq/cloudbreak/service/stack/DefaultStackService.java | package com.sequenceiq.cloudbreak.service.stack;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.annotation.Resource;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotatio... | CLOUD-39 fixed metadata problem when new node adding
| src/main/java/com/sequenceiq/cloudbreak/service/stack/DefaultStackService.java | CLOUD-39 fixed metadata problem when new node adding | <ide><path>rc/main/java/com/sequenceiq/cloudbreak/service/stack/DefaultStackService.java
<ide> import org.springframework.beans.factory.annotation.Autowired;
<ide> import org.springframework.stereotype.Service;
<ide> import org.springframework.util.DigestUtils;
<del>
<del>import reactor.core.Reactor;
<del>import reacto... | |
Java | apache-2.0 | 76fc9a82f769480aaaa908645bec27e8fd9ec2bb | 0 | damingerdai/web-qq,damingerdai/web-qq,damingerdai/web-qq,damingerdai/web-qq | package org.aming.web.qq.utils;
import org.aming.web.qq.exceptions.WebQQException;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Optional;
/**
* @author aming
* @version 2017-10-10
*/
public class Security... | src/main/java/org/aming/web/qq/utils/SecurityContextUtils.java | package org.aming.web.qq.utils;
import org.aming.web.qq.exceptions.WebQQException;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Optional;
/**
* @author aming
* @version 2017-10-10
*/
public class Security... | fix bug
| src/main/java/org/aming/web/qq/utils/SecurityContextUtils.java | fix bug | <ide><path>rc/main/java/org/aming/web/qq/utils/SecurityContextUtils.java
<ide> (UserDetails) SecurityContextHolder.getContext().getAuthentication().getPrincipal()
<ide> ).get();
<ide> } catch (NullPointerException ex){
<del> throw new WebQQException(500... | |
Java | apache-2.0 | 115623a6ee4eb7391c7c26e1728fa153c0698803 | 0 | wwjiang007/hadoop,wwjiang007/hadoop,apache/hadoop,mapr/hadoop-common,JingchengDu/hadoop,nandakumar131/hadoop,mapr/hadoop-common,JingchengDu/hadoop,apache/hadoop,nandakumar131/hadoop,apurtell/hadoop,mapr/hadoop-common,mapr/hadoop-common,JingchengDu/hadoop,nandakumar131/hadoop,wwjiang007/hadoop,nandakumar131/hadoop,Jingc... | /**
* 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... | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.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... | HDFS-15791. Possible Resource Leak in FSImageFormatProtobuf. (#2652)
| hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java | HDFS-15791. Possible Resource Leak in FSImageFormatProtobuf. (#2652) | <ide><path>adoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java
<ide> String compressionCodec)
<ide> throws IOException {
<ide> FileInputStream fin = new FileInputStream(filename);
<del> FileChan... | |
Java | lgpl-2.1 | a965f4f6b7de0943129e7b9819a66ceaab8a2e67 | 0 | pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-observation/xwiki-platform-observation-remote/src/main/java/org/xwiki/observation/remote/internal/jgroups/JGroupsNetworkAdapter.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | Use javax.inject annotations
| xwiki-platform-core/xwiki-platform-observation/xwiki-platform-observation-remote/src/main/java/org/xwiki/observation/remote/internal/jgroups/JGroupsNetworkAdapter.java | Use javax.inject annotations | <ide><path>wiki-platform-core/xwiki-platform-observation/xwiki-platform-observation-remote/src/main/java/org/xwiki/observation/remote/internal/jgroups/JGroupsNetworkAdapter.java
<ide> import java.util.Map;
<ide> import java.util.concurrent.ConcurrentHashMap;
<ide>
<add>import javax.inject.Inject;
<add>import javax.inj... | |
Java | apache-2.0 | 3acb8d8dff0517a4364d627bb8d8fdcd31e01e9a | 0 | ibinti/intellij-community,da1z/intellij-community,fitermay/intellij-community,semonte/intellij-community,michaelgallacher/intellij-community,youdonghai/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,ibinti/intellij-community,hurricup/intellij-community,FHannes/intellij-community,fitermay/i... | /*
* Copyright 2000-2010 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/vcs-impl/src/com/intellij/openapi/vcs/actions/ShowDiffFromAnnotation.java | /*
* Copyright 2000-2010 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... | diff: @NotNull
| platform/vcs-impl/src/com/intellij/openapi/vcs/actions/ShowDiffFromAnnotation.java | diff: @NotNull | <ide><path>latform/vcs-impl/src/com/intellij/openapi/vcs/actions/ShowDiffFromAnnotation.java
<ide> import com.intellij.util.containers.CacheOneStepIterator;
<ide> import com.intellij.vcsUtil.VcsUtil;
<ide> import org.jetbrains.annotations.NotNull;
<add>import org.jetbrains.annotations.Nullable;
<ide>
<ide> import java... | |
Java | apache-2.0 | d0622d14b151dcfaa2888c37359460e50b79bbfc | 0 | domdomegg/apps-android-commons,nicolas-raoul/apps-android-commons,domdomegg/apps-android-commons,maskaravivek/apps-android-commons,RSBat/apps-android-commons,whym/apps-android-commons,misaochan/apps-android-commons,sandarumk/apps-android-commons,psh/apps-android-commons,misaochan/apps-android-commons,nicolas-raoul/apps... | package fr.free.nrw.commons.nearby;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.M... | app/src/main/java/fr/free/nrw/commons/nearby/NearbyActivity.java | package fr.free.nrw.commons.nearby;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.Vie... | Display toast if no nearby places found
| app/src/main/java/fr/free/nrw/commons/nearby/NearbyActivity.java | Display toast if no nearby places found | <ide><path>pp/src/main/java/fr/free/nrw/commons/nearby/NearbyActivity.java
<ide> package fr.free.nrw.commons.nearby;
<ide>
<add>import android.content.Context;
<ide> import android.net.Uri;
<ide> import android.os.AsyncTask;
<ide> import android.os.Bundle;
<ide> import android.view.MenuItem;
<ide> import android.view.... | |
Java | mit | 556cd679acb68e04ea5a0715af8e919511356978 | 0 | HumBuch/HumBuch,HumBuch/HumBuch,HumBuch/HumBuch | package de.dhbw.humbuch.util;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
im... | src/main/java/de/dhbw/humbuch/util/BookLookup.java | package de.dhbw.humbuch.util;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
im... | Fixed NullPointer | src/main/java/de/dhbw/humbuch/util/BookLookup.java | Fixed NullPointer | <ide><path>rc/main/java/de/dhbw/humbuch/util/BookLookup.java
<ide> Element element = (Element) data.item(0);
<ide> if (element != null) {
<ide> Node node = element.getChildNodes().item(0);
<del> return node.getNodeValue();
<add> if (node != null) {
<add> return node.getNodeValue();
<add> }
<ide> }
<id... | |
Java | mit | 59fd546860355105623d95b3a35a9db8fd4c084e | 0 | cs2103aug2015-t10-4j/care-lender,cs2103aug2015-t10-4j/main | package carelender.model.data;
import java.text.SimpleDateFormat;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import carelender.controller.Controller;
import carelender.controller.Search;
import carelender.model.Model;
/**
* Used for list queries
*/
public class QueryList extends... | src/carelender/model/data/QueryList.java | package carelender.model.data;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import carelender.controller.Controller;
import carelender.controller.Search;
import carelender.model.Model;
/**
* Used for list queries
*/
public class QueryList extends QueryBase {
private HashM... | Modified Code - Sorting for QueryList
TODO: Actually use the comparators and Collections.sort
| src/carelender/model/data/QueryList.java | Modified Code - Sorting for QueryList | <ide><path>rc/carelender/model/data/QueryList.java
<ide> package carelender.model.data;
<ide>
<ide> import java.text.SimpleDateFormat;
<add>import java.util.Comparator;
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<ide>
<ide>
<ide> public class QueryList extends QueryBase {
<ide>
<add> private Hash... | |
Java | apache-2.0 | d115e4895eda0b41f60a38da60da4e7c7f099eeb | 0 | beyond-snail/ImageLoad | package com.example.imageload.load;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
impo... | src/com/example/imageload/load/ImageLoader.java | package com.example.imageload.load;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
impo... | 修正加载图片,添加从缓存中加载
| src/com/example/imageload/load/ImageLoader.java | 修正加载图片,添加从缓存中加载 | <ide><path>rc/com/example/imageload/load/ImageLoader.java
<ide>
<ide> //ͼƬ
<ide> public void displayImage(final String url, final ImageView imageView){
<add> Bitmap bitmap = mImageCache.get(url);
<add> if (bitmap != null){
<add> imageView.setImageBitmap(bitmap);
<add> return;
<add> }
<ide> imageView.setTag... | |
Java | apache-2.0 | 537422fed559f444b201713bf0cd81700fd155b2 | 0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE | package uk.ac.ebi.quickgo.ontology.controller;
import uk.ac.ebi.quickgo.graphics.ontology.RenderingGraphException;
import uk.ac.ebi.quickgo.graphics.service.GraphImageService;
import uk.ac.ebi.quickgo.ontology.common.document.OntologyFields;
import uk.ac.ebi.quickgo.ontology.common.document.OntologyType;
import uk.ac.... | ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/controller/OBOController.java | package uk.ac.ebi.quickgo.ontology.controller;
import uk.ac.ebi.quickgo.graphics.ontology.RenderingGraphException;
import uk.ac.ebi.quickgo.graphics.service.GraphImageService;
import uk.ac.ebi.quickgo.ontology.common.document.OntologyFields;
import uk.ac.ebi.quickgo.ontology.common.document.OntologyType;
import uk.ac.... | Add page number validation.
| ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/controller/OBOController.java | Add page number validation. | <ide><path>ntology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/controller/OBOController.java
<ide> import uk.ac.ebi.quickgo.ontology.model.OntologyRelationship;
<ide> import uk.ac.ebi.quickgo.ontology.service.OntologyService;
<ide> import uk.ac.ebi.quickgo.ontology.service.search.SearchServiceConfig;
<add>import uk.a... | |
JavaScript | mit | 67b79fa6f1239033cf1e10c03760f40a3b70a418 | 0 | LukeLin/data-structure-with-js,soliury/data-structure-with-js,LukeLin/js-stl,sabrinaluo/data-structure-with-js,LukeLin/data-structure-with-js,LukeLin/js-stl | /**
* 图(Graph)
*
* 图(Graph)是一种比线性表和树更为复杂的数据结构。
*
* 线性结构:是研究数据元素之间的一对一关系。在这种结构中,除第一个和最后一个元素外,任何一个元素都有唯一的一个直接前驱和直接后继。
*
* 树结构:是研究数据元素之间的一对多的关系。在这种结构中,每个元素对下(层)可以有0个或多个元素相联系,对上(层)只有唯一的一个元素相关,数据元素之间有明显的层次关系。
*
* 图结构:是研究数据元素之间的多对多的关系。在这种结构中,任意两个元素之间可能存在关系。即结点之间的关系可以是任意的,图中任意元素之间都可能相关。
*
* 图的应用极为广泛,已渗入到诸如语言学、逻辑学、物... | Graph/Graph.js | /**
* 图(Graph)
*
* 图(Graph)是一种比线性表和树更为复杂的数据结构。
*
* 线性结构:是研究数据元素之间的一对一关系。在这种结构中,除第一个和最后一个元素外,任何一个元素都有唯一的一个直接前驱和直接后继。
*
* 树结构:是研究数据元素之间的一对多的关系。在这种结构中,每个元素对下(层)可以有0个或多个元素相联系,对上(层)只有唯一的一个元素相关,数据元素之间有明显的层次关系。
*
* 图结构:是研究数据元素之间的多对多的关系。在这种结构中,任意两个元素之间可能存在关系。即结点之间的关系可以是任意的,图中任意元素之间都可能相关。
*
* 图的应用极为广泛,已渗入到诸如语言学、逻辑学、物... | modified
| Graph/Graph.js | modified | <ide><path>raph/Graph.js
<ide> }
<ide> OLGraph.prototype = {
<ide> constructor: OLGraph,
<add>
<add> locateVex: function(vp){
<add> for(var i = 0; i < this.vexnum; i++){
<add> if(this.xList[i].data === vp) return i;
<add> }
<add>
<add> return -1;
<add> },
<add>
<ide> create... | |
Java | apache-2.0 | f2a82d1cdd92932ba585c5a42adc5815b6245f5d | 0 | blipinsk/cortado | /*
* Copyright 2017 Bartosz Lipinski
*
* 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... | cortado/src/main/java/cortado/Cortado.java | /*
* Copyright 2017 Bartosz Lipinski
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Fix: method name
| cortado/src/main/java/cortado/Cortado.java | Fix: method name | <ide><path>ortado/src/main/java/cortado/Cortado.java
<ide> super(Cortado.this);
<ide> }
<ide>
<del> public Unfinished.And.ViewInteraction or() {
<add> public Unfinished.And.ViewInteraction and() {
<ide> return new Unfinished().new And().new ViewInteract... | |
Java | apache-2.0 | dfe78eab99c25d4cc897a304d35eaece38b2511a | 0 | wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning,wasn-lab/visual-positioning | /*
* Copyright (C) 2008 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 agr... | android/src/com/google/zxing/client/android/CaptureActivity.java | /*
* Copyright (C) 2008 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 agr... | change textview and add prepareInfoString funciton for better debug
| android/src/com/google/zxing/client/android/CaptureActivity.java | change textview and add prepareInfoString funciton for better debug | <ide><path>ndroid/src/com/google/zxing/client/android/CaptureActivity.java
<ide> }
<ide> }
<ide>
<del>public void logCatOrientations() {
<del> float tmpOrientation[] = new float[3];
<del>
<del> //rotate to landscape
<del> tmpOrientation = rotateToLandscape(accMagOrientation.clone());
<del>
<del> ... | |
Java | unlicense | 511424cad3d76dfe7922b3c2e82bc4f10423eca1 | 0 | Egga/bootkick,Egga/bootkick,Egga/bootkick | package de.egga.persons;
import de.egga.configuration.MainConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRun... | src/test/java/de/egga/persons/PersonControllerTest.java | package de.egga.persons;
import de.egga.configuration.MainConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.http.MediaType;
import org.springframewo... | optimize imports
| src/test/java/de/egga/persons/PersonControllerTest.java | optimize imports | <ide><path>rc/test/java/de/egga/persons/PersonControllerTest.java
<ide> import org.junit.runner.RunWith;
<ide> import org.springframework.boot.test.IntegrationTest;
<ide> import org.springframework.boot.test.SpringApplicationConfiguration;
<del>import org.springframework.http.MediaType;
<ide> import org.springframework... | |
Java | agpl-3.0 | d41315146b9b0e1ec67b9fa79e25e5fb8d7a47cf | 0 | sakazz/exchange,sakazz/exchange,metabit/bitsquare,ManfredKarrer/exchange,bitsquare/bitsquare,haiqu/bitsquare,haiqu/bitsquare,bisq-network/exchange,bisq-network/exchange,metabit/bitsquare,ManfredKarrer/exchange,bitsquare/bitsquare | package io.bitsquare.gui.main.overlays.windows;
import com.google.inject.Inject;
import io.bitsquare.app.BitsquareApp;
import io.bitsquare.gui.main.overlays.Overlay;
import io.bitsquare.user.Preferences;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static io.bitsquare.gui.util.FormBuilder.addHyperl... | gui/src/main/java/io/bitsquare/gui/main/overlays/windows/TacWindow.java | package io.bitsquare.gui.main.overlays.windows;
import com.google.inject.Inject;
import io.bitsquare.app.BitsquareApp;
import io.bitsquare.gui.main.overlays.Overlay;
import io.bitsquare.user.Preferences;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static io.bitsquare.gui.util.FormBuilder.addHyperl... | Typo fix. | gui/src/main/java/io/bitsquare/gui/main/overlays/windows/TacWindow.java | Typo fix. | <ide><path>ui/src/main/java/io/bitsquare/gui/main/overlays/windows/TacWindow.java
<ide> "arising from, out of or in connection with the software or the use or other dealings in the software.\n\n" +
<ide> "2. The user is responsible to use the software in compliance with local law... | |
Java | apache-2.0 | 1a4f53058cca04b12287b794d4858b57e0324d72 | 0 | gjroelofs/artemis-odb,snorrees/artemis-odb,antag99/artemis-odb,gjroelofs/artemis-odb,Namek/artemis-odb,snorrees/artemis-odb,antag99/artemis-odb,gjroelofs/artemis-odb,DaanVanYperen/artemis-odb | package com.artemis;
import java.util.BitSet;
import java.util.HashMap;
import com.artemis.utils.Bag;
import com.artemis.utils.ImmutableBag;
/**
* The most raw entity system. It should not typically be used, but you can create your own
* entity system handling by extending this. It is recommended that yo... | src/com/artemis/EntitySystem.java | package com.artemis;
import java.util.BitSet;
import java.util.HashMap;
import com.artemis.utils.Bag;
import com.artemis.utils.ImmutableBag;
/**
* The most raw entity system. It should not typically be used, but you can create your own
* entity system handling by extending this. It is recommended that yo... | Added enabled flag to EntitySystem.
| src/com/artemis/EntitySystem.java | Added enabled flag to EntitySystem. | <ide><path>rc/com/artemis/EntitySystem.java
<ide> private BitSet oneSet;
<ide>
<ide> private boolean passive;
<add> private boolean enabled;
<ide>
<ide> private boolean dummy;
<ide>
<ide> oneSet = aspect.getOneSet();
<ide> systemIndex = SystemIndexManager.getIndexFor(this.getClass());
<ide> dummy = allSet.... | |
Java | apache-2.0 | 506c9ba168755d3349ea0e87f467d92783694ef2 | 0 | speedment/speedment,speedment/speedment | /*
*
* Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/controller/ProjectTreeController.java | /*
*
* Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | Force tree view refresh
After disabling a table, the columns that are not included in the code generation process stay in the state they were in before the table was disabled until they are clicked on in the tree view. By forcing a render refresh on the tree view we avoid this problem.
| tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/controller/ProjectTreeController.java | Force tree view refresh | <ide><path>ool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/controller/ProjectTreeController.java
<ide> } else {
<ide> disable();
<ide> }
<add>
<add> getTreeView().refresh();
<ide> }
<ide> }
<ide> } | |
Java | apache-2.0 | cd6431405409920e42ee376e1a84ae4b016471fd | 0 | ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf | /*
* $Log: IdocXmlHandler.java,v $
* Revision 1.2 2008-01-30 14:43:40 europe\L190409
* improved logging
*
* Revision 1.1 2008/01/29 12:36:17 Gerrit van Brakel <gerrit.van.brakel@ibissource.org>
* first version
*
*/
package nl.nn.adapterframework.extensions.sap;
import java.util.ArrayList;
import java.util.... | JavaSource/nl/nn/adapterframework/extensions/sap/IdocXmlHandler.java | /*
* $Log: IdocXmlHandler.java,v $
* Revision 1.1 2008-01-29 12:36:17 europe\L190409
* first version
*
*/
package nl.nn.adapterframework.extensions.sap;
import java.util.ArrayList;
import java.util.List;
import nl.nn.adapterframework.util.LogUtil;
import org.apache.commons.lang.StringUtils;
import org.apache.... | improved logging
| JavaSource/nl/nn/adapterframework/extensions/sap/IdocXmlHandler.java | improved logging | <ide><path>avaSource/nl/nn/adapterframework/extensions/sap/IdocXmlHandler.java
<ide> /*
<ide> * $Log: IdocXmlHandler.java,v $
<del> * Revision 1.1 2008-01-29 12:36:17 europe\L190409
<add> * Revision 1.2 2008-01-30 14:43:40 europe\L190409
<add> * improved logging
<add> *
<add> * Revision 1.1 2008/01/29 12:36:17 G... | |
JavaScript | mit | 995dbb765fb128e349141fa7615b55020d35fe60 | 0 | TylerMcKenzie/BrickVBrick,TylerMcKenzie/BrickVBrick | webpackJsonp([1],[,function(t,e,i){"use strict";(function(e){function s(t){return"[object Array]"===T.call(t)}function n(t){return void 0!==e&&e.isBuffer&&e.isBuffer(t)}function r(t){return"[object ArrayBuffer]"===T.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"und... | public/game.js | webpackJsonp([1],[,function(t,e,i){"use strict";(function(e){function s(t){return"[object Array]"===T.call(t)}function n(t){return void 0!==e&&e.isBuffer&&e.isBuffer(t)}function r(t){return"[object ArrayBuffer]"===T.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"und... | heroku push
| public/game.js | heroku push | <ide><path>ublic/game.js
<del>webpackJsonp([1],[,function(t,e,i){"use strict";(function(e){function s(t){return"[object Array]"===T.call(t)}function n(t){return void 0!==e&&e.isBuffer&&e.isBuffer(t)}function r(t){return"[object ArrayBuffer]"===T.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof For... | |
Java | mit | 1669832a0967cb78f2d323547ac58019f6d094cc | 0 | jimregan/jngramtool,jimregan/jngramtool | package ie.tcd.slscs.kfclone;
import java.awt.*;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
import java.awt.event.KeyEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import jav... | jngramtool-core/src/main/java/ie/tcd/slscs/kfclone/MainInterface.java | package ie.tcd.slscs.kfclone;
import java.awt.*;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
import java.awt.event.KeyEvent;
import java.awt.event.InputEvent;
import javax.swing.JCheckBoxMenuItem;
import java... | one piece implemented... aside from getting the size right
| jngramtool-core/src/main/java/ie/tcd/slscs/kfclone/MainInterface.java | one piece implemented... aside from getting the size right | <ide><path>ngramtool-core/src/main/java/ie/tcd/slscs/kfclone/MainInterface.java
<ide> import javax.swing.JMenuItem;
<ide> import javax.swing.KeyStroke;
<ide> import java.awt.event.KeyEvent;
<add>import java.awt.event.ActionEvent;
<add>import java.awt.event.ActionListener;
<ide> import java.awt.event.InputEvent;
<ide> i... | |
Java | epl-1.0 | e10831e3a5786614877bc1f6a10a35de64760ef9 | 0 | phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool | DynamicPool/core/src/vn/edu/hust/student/dynamicpool/presentation/gameobject/EDirection.java | package vn.edu.hust.student.dynamicpool.presentation.gameobject;
public enum EDirection {
RIGHT,
TOP,
LEFT,
BOTTOM
}
| chuyen vi tri
| DynamicPool/core/src/vn/edu/hust/student/dynamicpool/presentation/gameobject/EDirection.java | chuyen vi tri | <ide><path>ynamicPool/core/src/vn/edu/hust/student/dynamicpool/presentation/gameobject/EDirection.java
<del>package vn.edu.hust.student.dynamicpool.presentation.gameobject;
<del>
<del>public enum EDirection {
<del> RIGHT,
<del> TOP,
<del> LEFT,
<del> BOTTOM
<del>} | ||
Java | bsd-2-clause | 9edcd69977d92a41bbf49dddb78118059e6e2220 | 0 | Sollace/BlazeLoader,BlazeLoader/BlazeLoader,warriordog/BlazeLoader,Sollace/BlazeLoader,warriordog/BlazeLoader,BlazeLoader/BlazeLoader,BlazeLoader/BlazeLoader | package net.acomputerdog.BlazeLoader.fix;
@Deprecated
/**
* A one-time-run class that is loaded at various times of startup to fix issues with Mojang code.
*/
public abstract class Fix {
/**
* Gets the stage of game startup/run to apply at. Defaults to EFixType.INIT.
* @return Return an EFixType repr... | net/acomputerdog/BlazeLoader/fix/Fix.java | package net.acomputerdog.BlazeLoader.fix;
import net.acomputerdog.BlazeLoader.annotation.Beta;
@Beta(stable = true)
/**
* A one-time-run class that is loaded at various times of startup to fix issues with Mojang code.
*/
public abstract class Fix {
/**
* Gets the stage of game startup/run to apply at. De... | Deprecate Fix
| net/acomputerdog/BlazeLoader/fix/Fix.java | Deprecate Fix | <ide><path>et/acomputerdog/BlazeLoader/fix/Fix.java
<ide> package net.acomputerdog.BlazeLoader.fix;
<ide>
<del>import net.acomputerdog.BlazeLoader.annotation.Beta;
<del>
<del>@Beta(stable = true)
<add>@Deprecated
<ide> /**
<ide> * A one-time-run class that is loaded at various times of startup to fix issues with Moja... | |
JavaScript | mit | 6e150a580ff94691486b8d39473ddf90679754bd | 0 | depackt/depackt-map,depackt/depackt-map | /**
* @link https://github.com/choojs/choo
* @link https://github.com/stackcss/sheetify
*/
// require('babel-polyfill')
const choo = require('choo')
const logger = require('choo-log')
const expose = require('choo-expose')
const css = require('sheetify')
const _findIndex = require('lodash/findIndex')
const Nanoboun... | app/client/index.js | /**
* @link https://github.com/choojs/choo
* @link https://github.com/stackcss/sheetify
*/
// require('babel-polyfill')
const choo = require('choo')
const logger = require('choo-log')
const expose = require('choo-expose')
const css = require('sheetify')
const _findIndex = require('lodash/findIndex')
const Nanoboun... | Add listener for serviceworker installation
| app/client/index.js | Add listener for serviceworker installation | <ide><path>pp/client/index.js
<ide> emitter.on('DOMContentLoaded', () => {
<ide> emitter.on('set:coords', setCoords)
<ide> emitter.on('get:locations', getLocations)
<add> emitter.on('sw:installed', (registration) => {
<add> if (registration.active) {
<add> console.log(registration)
<add> }... | |
JavaScript | mit | c21e9db27249664107abdc9af05507b0b654fec4 | 0 | styled-components/css-to-react-native | /* eslint-disable no-param-reassign */
const parse = require('postcss-value-parser');
const camelizeStyleName = require('fbjs/lib/camelizeStyleName');
const transforms = require('./transforms');
const TokenStream = require('./TokenStream');
// Note if this is wrong, you'll need to change tokenTypes.js too
const number... | src/index.js | /* eslint-disable no-param-reassign */
const parse = require('postcss-value-parser');
const camelizeStyleName = require('fbjs/lib/camelizeStyleName');
const transforms = require('./transforms');
const TokenStream = require('./TokenStream');
// Note if this is wrong, you'll need to change tokenTypes.js too
const number... | Allow boolean values in CSS (fixes #26)
| src/index.js | Allow boolean values in CSS (fixes #26) | <ide><path>rc/index.js
<ide> const TokenStream = require('./TokenStream');
<ide>
<ide> // Note if this is wrong, you'll need to change tokenTypes.js too
<del>const numberOrLengthRe = /^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)(?:px)?$/;
<add>const numberOrLengthRe = /^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)(?:px)?$/i;
<add>... | |
Java | apache-2.0 | 0a1392fd06bea4f5ede36f82021f4e8f6a781b39 | 0 | DmitriyLy/travel_portal,DmitriyLy/travel_portal,DmitriyLy/travel_portal | package com.netcracker.entities;
/**
* Created by dima_2 on 30.11.2016.
*/
public class Category {
private long id;
private String name;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
... | repository/src/main/java/com/netcracker/entities/Category.java | package com.netcracker.entities;
/**
* Created by dima_2 on 30.11.2016.
*/
public class Category {
}
| POJO Category
| repository/src/main/java/com/netcracker/entities/Category.java | POJO Category | <ide><path>epository/src/main/java/com/netcracker/entities/Category.java
<ide> * Created by dima_2 on 30.11.2016.
<ide> */
<ide> public class Category {
<add> private long id;
<add> private String name;
<add>
<add> public long getId() {
<add> return id;
<add> }
<add>
<add> public void setId(long... | |
JavaScript | bsd-3-clause | 6127d4f70fa2e6285b12f8fb6007d87e550d2f01 | 0 | jpoirier/stratux,jpoirier/stratux,jpoirier/stratux,westphae/stratux,cyoung/stratux,cyoung/stratux,westphae/stratux,westphae/stratux,cyoung/stratux,jpoirier/stratux,cyoung/stratux,jpoirier/stratux,westphae/stratux,westphae/stratux,westphae/stratux,cyoung/stratux,jpoirier/stratux,cyoung/stratux | angular.module('appControllers').controller('GPSCtrl', GPSCtrl); // get the main module contollers set
GPSCtrl.$inject = ['$rootScope', '$scope', '$state', '$http', '$interval']; // Inject my dependencies
// create our controller function with all necessary logic
function GPSCtrl($rootScope, $scope, $state, $http, $in... | web/plates/js/gps.js | angular.module('appControllers').controller('GPSCtrl', GPSCtrl); // get the main module contollers set
GPSCtrl.$inject = ['$rootScope', '$scope', '$state', '$http', '$interval']; // Inject my dependencies
// create our controller function with all necessary logic
function GPSCtrl($rootScope, $scope, $state, $http, $in... | Only report turn tate < 10 min/turn on web UI.
| web/plates/js/gps.js | Only report turn tate < 10 min/turn on web UI. | <ide><path>eb/plates/js/gps.js
<ide> $scope.ahrs_gload = situation.AHRSGLoad.toFixed(2);
<ide> gMeter.update(situation.AHRSGLoad);
<ide>
<del> if (situation.AHRSTurnRate> 0.25) {
<del> $scope.ahrs_turn_rate = (60/situation.AHRSTurnRate).toFixed(1); // minutes/turn
<add> if (sit... | |
Java | apache-2.0 | 3d00bda4964a63c862b694342e366627a91741b4 | 0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue | package net.openhft.chronicle.queue.impl.single;
import net.openhft.chronicle.bytes.MethodReader;
import net.openhft.chronicle.queue.ChronicleQueue;
import net.openhft.chronicle.queue.DirectoryUtils;
import net.openhft.chronicle.queue.ExcerptTailer;
import net.openhft.chronicle.queue.TailerDirection;
import net.openhf... | src/test/java/net/openhft/chronicle/queue/impl/single/MessageHistoryTest.java | package net.openhft.chronicle.queue.impl.single;
import net.openhft.chronicle.bytes.MethodReader;
import net.openhft.chronicle.queue.ChronicleQueue;
import net.openhft.chronicle.queue.DirectoryUtils;
import net.openhft.chronicle.queue.ExcerptTailer;
import net.openhft.chronicle.queue.TailerDirection;
import net.openhf... | Allow MethodWriters to be thread safe by default, closes https://github.com/OpenHFT/Chronicle-Queue/issues/625
| src/test/java/net/openhft/chronicle/queue/impl/single/MessageHistoryTest.java | Allow MethodWriters to be thread safe by default, closes https://github.com/OpenHFT/Chronicle-Queue/issues/625 | <ide><path>rc/test/java/net/openhft/chronicle/queue/impl/single/MessageHistoryTest.java
<ide> public void chainedMessageHistory() {
<ide> try (final ChronicleQueue inputQueue = createQueue(inputQueueDir, 1);
<ide> final ChronicleQueue middleQueue = createQueue(middleQueueDir, 2);
<del> ... | |
Java | bsd-3-clause | 206b4a2190456be34f15fa07f1e27a4a907c7f1f | 0 | turn/tpmml,jpmml/jpmml,jpmml/jpmml | /*
* Copyright (c) 2012 University of Tartu
*/
package org.jpmml.evaluator;
import java.util.*;
import org.jpmml.manager.*;
import org.dmg.pmml.*;
public class ArrayUtil {
private ArrayUtil(){
}
static
public Boolean isIn(Array array, Object value){
List<String> values = getContent(array);
validateData... | pmml-evaluator/src/main/java/org/jpmml/evaluator/ArrayUtil.java | /*
* Copyright (c) 2012 University of Tartu
*/
package org.jpmml.evaluator;
import java.util.*;
import org.jpmml.manager.*;
import org.dmg.pmml.*;
public class ArrayUtil {
private ArrayUtil(){
}
static
public Boolean isIn(Array array, Object value){
List<String> values = getContent(array);
boolean resu... | Disallow Array functions for floating-point data types
| pmml-evaluator/src/main/java/org/jpmml/evaluator/ArrayUtil.java | Disallow Array functions for floating-point data types | <ide><path>mml-evaluator/src/main/java/org/jpmml/evaluator/ArrayUtil.java
<ide> public Boolean isIn(Array array, Object value){
<ide> List<String> values = getContent(array);
<ide>
<add> validateDataType(value);
<add>
<ide> boolean result = values.contains(ParameterUtil.toString(value));
<ide>
<ide> return Bo... | |
JavaScript | mit | 10f0ca690b106ddfa60b2091b2b70eea76dae6fa | 0 | Step7750/ScheduleStorm,Step7750/ScheduleStorm | class Generator {
constructor(classes, blockedTimes) {
// chosen classes
this.classes = JSON.parse(JSON.stringify(classes));
this.convertTimes();
this.addCourseInfo();
// update blocked times
this.blockedTimes = jQuery.extend(true, [], window.calendar.blockedTimes);... | js/Generator.js | class Generator {
constructor(classes, blockedTimes) {
// chosen classes
this.classes = JSON.parse(JSON.stringify(classes));
this.convertTimes();
this.addCourseInfo();
// update blocked times
this.blockedTimes = jQuery.extend(true, [], window.calendar.blockedTimes);... | Removes Redundant isConflicting Function
| js/Generator.js | Removes Redundant isConflicting Function | <ide><path>s/Generator.js
<ide> }
<ide> }
<ide>
<del> static isConflicting(time1, time2) {
<del> /*
<del> time1 and time2 are arrays with the first index being the total minutes
<del> since 12:00AM that day of the starttime and the second being the endtime
<del> ... | |
Java | mit | e3e8bb2e1dc4c9b0ffb30401da53382089e93ca9 | 0 | martenbohlin/lombok,mg6maciej/hrisey,fpeter8/lombok,redundent/lombok,derektom14/lombok,vampiregod1996/lombok,Tradunsky/lombok,Arvoreen/lombok,Arvoreen/lombok,luanpotter/lombok,openlegacy/lombok,dmissoh/lombok,nickbarban/lombok,dcendents/lombok,vampiregod1996/lombok,develhack/develhacked-lombok,arielnetworks/lombok,open... | /*
* Copyright © 2009 Reinier Zwitserloot and Roel Spilker.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | src/installer/lombok/installer/netbeans/NetbeansLocation.java | /*
* Copyright © 2009 Reinier Zwitserloot and Roel Spilker.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | Fix for installation - now uses quotes instead of backslash-space, as backslash-space doesn't work in windows.
| src/installer/lombok/installer/netbeans/NetbeansLocation.java | Fix for installation - now uses quotes instead of backslash-space, as backslash-space doesn't work in windows. | <ide><path>rc/installer/lombok/installer/netbeans/NetbeansLocation.java
<ide> }
<ide>
<ide> private final String ID_CHARS = "(?:\\\\.|[^\"\\\\])*";
<del> private final String ID_CHARS_NS = "(?:\\\\.|[^\"\\\\ ])*";
<ide> private final Pattern JAVA_AGENT_LINE_MATCHER = Pattern.compile(
<del> "^\\s*netbeans_default... | |
Java | bsd-3-clause | e7ed014d40ef7e9c092fcc31210b36e02440f307 | 0 | jamie-dryad/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,jamie-dryad/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,jimallman/dryad-r... | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.paymentsystem;
import org.apache.cocoon.environment.ObjectModelHelper;
import org.a... | dspace/modules/payment-system/payment-api/src/main/java/org/dspace/paymentsystem/PaymentSystemImpl.java | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.paymentsystem;
import org.apache.cocoon.environment.ObjectModelHelper;
import org.a... | Refactor large file surcharge for testability
| dspace/modules/payment-system/payment-api/src/main/java/org/dspace/paymentsystem/PaymentSystemImpl.java | Refactor large file surcharge for testability | <ide><path>space/modules/payment-system/payment-api/src/main/java/org/dspace/paymentsystem/PaymentSystemImpl.java
<ide> return price;
<ide> }
<ide>
<del> public double getSurchargeLargeFileFee(Context context, ShoppingCart shoppingcart) throws SQLException {
<del> Item item =Item.find(context, sh... | |
Java | apache-2.0 | d9ff1132d307760b8e34abc13b4e10a55d8bb62e | 0 | liqianggao/BroadleafCommerce,liqianggao/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,udayinfy/BroadleafCommerce,macielbombonato/BroadleafCommerce,shopizer/BroadleafCommerce,bijukunjummen/BroadleafCommerce,wenmangbo/BroadleafCommerce,alextiannus/BroadleafCommerce,cloudbearings/BroadleafCommerce,daniellavoie/Broadl... | /*
* Copyright 2008-2012 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 a... | admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/dao/SessionFactoryChangeListener.java | /*
* Copyright 2008-2012 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 a... | BLC-694 - org.springframework.orm.hibernate3.HibernateSystemException: Don't change the reference to a collection with cascade="all-delete-orphan" can sometime occur when merging an entity
| admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/dao/SessionFactoryChangeListener.java | BLC-694 - org.springframework.orm.hibernate3.HibernateSystemException: Don't change the reference to a collection with cascade="all-delete-orphan" can sometime occur when merging an entity | <ide><path>dmin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/dao/SessionFactoryChangeListener.java
<ide>
<ide> package org.broadleafcommerce.openadmin.server.dao;
<ide>
<add>import org.broadleafcommerce.common.persistence.IdOverrideTableGenerator;
<ide> import org.broadleafcommer... | |
Java | agpl-3.0 | dc7cb22845cd3960703f79ea8477820a90a68683 | 0 | bio4j/bio4j | /*
# NCBI Taxonomy graph
This graph includes the whole NCBI taxonomy tree.
Files used in the importing process can be found [here](ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz)
Once that information is extracted we are building the tree from the information included in the following files:
* **nodes.... | src/main/java/com/bio4j/model/ncbiTaxonomy/NCBITaxonomyGraph.java | // package com.bio4j.model.ncbiTaxonomy;
//
// import com.bio4j.model.ncbiTaxonomy.vertices.*;
// import com.bio4j.model.ncbiTaxonomy.edges.*;
// import com.bio4j.angulillos.*;
//
// /*
//
// # NCBI Taxonomy graph
//
// This graph includes the whole NCBI taxonomy tree.
// Files used in the importing process can be foun... | start updating NCBITaxonomy
| src/main/java/com/bio4j/model/ncbiTaxonomy/NCBITaxonomyGraph.java | start updating NCBITaxonomy | <ide><path>rc/main/java/com/bio4j/model/ncbiTaxonomy/NCBITaxonomyGraph.java
<del>// package com.bio4j.model.ncbiTaxonomy;
<del>//
<del>// import com.bio4j.model.ncbiTaxonomy.vertices.*;
<del>// import com.bio4j.model.ncbiTaxonomy.edges.*;
<del>// import com.bio4j.angulillos.*;
<del>//
<del>// /*
<del>//
<del>// # NCBI ... | |
Java | apache-2.0 | 6248950fe7aa56e50dee0944919dd776fd2c5611 | 0 | metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax | package org.metaborg.spoofax.core.context;
import java.io.IOException;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import javax.annotation.Nullable;
import org.apache.commons.vfs2.AllFileSelector;
import org.apache... | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/context/IndexTaskContext.java | package org.metaborg.spoofax.core.context;
import java.io.IOException;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import javax.annotation.Nullable;
import org.apache.commons.vfs2.AllFileSelector;
import org.apache... | Load index and task engine, instead of initializing them as empty.
| org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/context/IndexTaskContext.java | Load index and task engine, instead of initializing them as empty. | <ide><path>rg.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/context/IndexTaskContext.java
<ide> * check before is disjunct.
<ide> */
<ide> if(index == null) {
<del> index = initIndex();
<add> index = loadIndex();
<id... | |
Java | apache-2.0 | c168b51e0d03ca8070ffd12ce664ab7c6f2a8670 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vfs.impl.local;
import com.intellij.execution.process.OSProcessHandler;
import com.intellij.execution.process.ProcessOutputTypes;
import com.intellij... | platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/NativeFileWatcherImpl.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vfs.impl.local;
import com.intellij.execution.process.OSProcessHandler;
import com.intellij.execution.process.ProcessOutputTypes;
import com.intellij... | [tests] file watcher: allowing longer shutdown
GitOrigin-RevId: 5558ec88bb213fb6f531e650467af50649e72f8f | platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/NativeFileWatcherImpl.java | [tests] file watcher: allowing longer shutdown | <ide><path>latform/platform-impl/src/com/intellij/openapi/vfs/impl/local/NativeFileWatcherImpl.java
<ide>
<ide> long t = System.currentTimeMillis();
<ide> while (!processHandler.isProcessTerminated()) {
<del> if (System.currentTimeMillis() - t > 5000) {
<add> if (System.currentTimeMillis() - ... | |
JavaScript | mit | 836e04848773d117022196af19c810e9fba049a8 | 0 | adrian-castravete/amber,amber-smalltalk/amber,amber-smalltalk/amber,amber-smalltalk/amber,adrian-castravete/amber,adrian-castravete/amber | var path = require('path');
module.exports = function (grunt) {
var helpers = require('./external/amber-dev/lib/helpers');
grunt.loadTasks('./internal/grunt-tasks');
grunt.loadTasks('./external/amber-dev/tasks');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean'... | Gruntfile.js | var path = require('path');
module.exports = function (grunt) {
var helpers = require('./external/amber-dev/lib/helpers');
grunt.loadTasks('./internal/grunt-tasks');
grunt.loadTasks('./external/amber-dev/tasks');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean'... | Gruntfile: test generates config.js first
| Gruntfile.js | Gruntfile: test generates config.js first | <ide><path>runtfile.js
<ide>
<ide> grunt.registerTask('default', ['peg', 'amberc:all']);
<ide> grunt.registerTask('amberc:all', ['amberc:amber', 'amberc:cli', 'amberc:dev']);
<del> grunt.registerTask('test', ['requirejs:test_runner', 'execute:test_runner', 'clean:test_runner']);
<add> grunt.registerTask(... | |
JavaScript | mit | cdf5888c834afb4daece8a0729f60ba1d3f43fd5 | 0 | vanoden/Porkchop,vanoden/Porkchop,vanoden/Porkchop,vanoden/Porkchop | const gulp = require('gulp');
const template = require('gulp-template');
const data = require('gulp-data');
const debug = require('gulp-debug');
const fs = require('fs');
var preProcessPath = 'html.src/pre';
var postProcessPath = 'tmp';
var today = new Date();
var month = today.getMonth() + 1;
const configJSON = fs.r... | gulpfile.js | const gulp = require('gulp');
const template = require('gulp-template');
const data = require('gulp-data');
const debug = require('gulp-debug');
const fs = require('fs');
var preProcessPath = 'html.src/pre';
var today = new Date();
var month = today.getMonth() + 1;
const configJSON = fs.readFileSync('html.src/gulp_co... | Fixed gulp preprocessing
| gulpfile.js | Fixed gulp preprocessing | <ide><path>ulpfile.js
<ide> const fs = require('fs');
<ide>
<ide> var preProcessPath = 'html.src/pre';
<add>var postProcessPath = 'tmp';
<ide> var today = new Date();
<ide> var month = today.getMonth() + 1;
<ide>
<ide>
<ide> const videoPath = configDict.videoPath;
<ide> const docsPath = configDict.docsPath;
<del>con... | |
JavaScript | mit | 73df384a0f8b817bc0f9b87f7ff64f9a96a62a65 | 0 | RalphSleigh/bookings,RalphSleigh/bookings,RalphSleigh/bookings | import {
Email,
Box,
Item,
Span,
A,
renderEmail
} from 'react-html-email'
import React from 'react'
import ReactMarkdown from 'react-markdown'
import feeFactory from '../../shared/fee/feeFactory.js'
const config = require('../../config');
export function html(valu... | server/emails/applicationApproved.js | import {
Email,
Box,
Item,
Span,
A,
renderEmail
} from 'react-html-email'
import React from 'react'
import ReactMarkdown from 'react-markdown'
import feeFactory from '../../shared/fee/feeFactory.js'
const config = require('../../config');
export function html(valu... | Add note to Roles
| server/emails/applicationApproved.js | Add note to Roles | <ide><path>erver/emails/applicationApproved.js
<ide> }
<ide>
<ide> export function subject(values) {
<del> return `Application Approved for ${values.name}`
<add> return `Application Approved for ${values.event.name}`
<ide> } | |
Java | apache-2.0 | error: pathspec 'src/main/java/com/scavi/brainsqueeze/adventofcode2016/Day1NoTimeForATaxicab.java' did not match any file(s) known to git
| 33bb1b3be320434f44d3a70c75c331c59cfd9b9e | 1 | Scavi/BrainSqueeze | /*
* 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
* distr... | src/main/java/com/scavi/brainsqueeze/adventofcode2016/Day1NoTimeForATaxicab.java | solution for day one of advent of code
| src/main/java/com/scavi/brainsqueeze/adventofcode2016/Day1NoTimeForATaxicab.java | solution for day one of advent of code | <ide><path>rc/main/java/com/scavi/brainsqueeze/adventofcode2016/Day1NoTimeForATaxicab.java
<add>/*
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a copy of the License at
<add> *
<add> * http... | |
JavaScript | mit | cfb35269be4b4ca5df47d27be3acd144f8c39bfe | 0 | chartjs/chartjs-plugin-annotation,chartjs/chartjs-plugin-annotation,chartjs/chartjs-plugin-annotation | const istanbul = require('rollup-plugin-istanbul');
const json = require('@rollup/plugin-json');
const resolve = require('@rollup/plugin-node-resolve').default;
const builds = require('./rollup.config');
const yargs = require('yargs');
const env = process.env.NODE_ENV;
module.exports = function(karma) {
const args =... | karma.conf.js | const istanbul = require('rollup-plugin-istanbul');
const json = require('@rollup/plugin-json');
const resolve = require('@rollup/plugin-node-resolve').default;
const builds = require('./rollup.config');
const yargs = require('yargs');
const env = process.env.NODE_ENV;
module.exports = function(karma) {
const args =... | Insane timeouts for insanely slow actions (#392)
| karma.conf.js | Insane timeouts for insanely slow actions (#392) | <ide><path>arma.conf.js
<ide> // These settings deal with browser disconnects. We had seen test flakiness from Firefox
<ide> // [Firefox 56.0.0 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
<ide> // https://github.com/jasmine/jasmine/issues/1327#issuecomment-332939551
<del> brow... | |
Java | apache-2.0 | e871ae96780686973aca08e3a3388299b1999343 | 0 | vietansegan/gtpounder | package util.govtrack;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import util.IOUtils;
import util.MiscUtils;
/**
* Here are some major differences of this pre-proces... | src/util/govtrack/GTProcessorV2.java | package util.govtrack;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import util.IOUtils;
import util.MiscUtils;
/**
* Here are some major differences of this pre-proces... | Add datetime to debates & debate turns
| src/util/govtrack/GTProcessorV2.java | Add datetime to debates & debate turns | <ide><path>rc/util/govtrack/GTProcessorV2.java
<ide> * @author vietan
<ide> */
<ide> public class GTProcessorV2 extends GTProcessor {
<add>
<add> public static final String DATETIME = "datetime";
<ide>
<ide> public GTProcessorV2() {
<ide> super();
<ide>
<ide> String title = docEle.getAttribut... | |
Java | apache-2.0 | 5009a2b4570474f4588026bc406651b1ba5711be | 0 | apixandru/intellij-community,ibinti/intellij-community,asedunov/intellij-community,allotria/intellij-community,idea4bsd/idea4bsd,ibinti/intellij-community,asedunov/intellij-community,mglukhikh/intellij-community,idea4bsd/idea4bsd,signed/intellij-community,youdonghai/intellij-community,youdonghai/intellij-community,fite... | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | python/src/com/jetbrains/python/validation/CompatibilityVisitor.java | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Introduce registerFirst method in CompatibilityVisitor to simplify languages processing
| python/src/com/jetbrains/python/validation/CompatibilityVisitor.java | Introduce registerFirst method in CompatibilityVisitor to simplify languages processing | <ide><path>ython/src/com/jetbrains/python/validation/CompatibilityVisitor.java
<ide> super.visitPyStarExpression(node);
<ide>
<ide> if (node.isAssignmentTarget()) {
<del> for (LanguageLevel level : myVersionsToProcess) {
<del> if (level.isOlderThan(LanguageLevel.PYTHON30)) {
<del> register... | |
JavaScript | mit | 87dbe96516dd6d4695369f1857439dfdc158781d | 0 | elvinyung/strapbots | 'use strict';
var lfmt = require('lfmt');
var errorMsgs = {
noSuchCommand: 'Could not find the command {{query}}',
noHelpData: 'No documentation was provided for the command {{name}}',
noDesc: '(No description was provided for the command {{name}})'
};
var helpPageTemplate = '{{name}} -- {{description}}';
// ... | help/index.js | 'use strict';
var lfmt = require('lfmt');
var errorMsgs = {
noSuchCommand: 'Could not find the command {{query}}',
noHelpData: 'No documentation was provided for the command {{name}}',
noDesc: '(No description was provided for the command {{name}})'
};
var helpPageTemplate = '{{name}} -- {{description}}';
var... | Add support for traversing subcommands
| help/index.js | Add support for traversing subcommands | <ide><path>elp/index.js
<ide> };
<ide>
<ide> var helpPageTemplate = '{{name}} -- {{description}}';
<add>
<add>// given a root (as an object), find subcommand as a path.
<add>var findCommand = function findCommand(root, path) {
<add>
<add> var node = root;
<add> var child;
<add> while (path.length > 0) {
<add> va... | |
Java | apache-2.0 | f0a9870c85728fbda611376ec7475d0f2fc8e44b | 0 | mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid | /*
* 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 ... | stack/services/src/test/java/org/apache/usergrid/management/cassandra/ApplicationCreatorIT.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 ... | Fixes Creator test to use unique strings
| stack/services/src/test/java/org/apache/usergrid/management/cassandra/ApplicationCreatorIT.java | Fixes Creator test to use unique strings | <ide><path>tack/services/src/test/java/org/apache/usergrid/management/cassandra/ApplicationCreatorIT.java
<ide> import org.apache.usergrid.management.OrganizationOwnerInfo;
<ide> import org.apache.usergrid.persistence.index.impl.ElasticSearchResource;
<ide>
<add>import static org.apache.usergrid.UUIDTestHelper.newUUID... | |
Java | apache-2.0 | 036ca6a2b22d1ae7c4f4f8647e6b5d8c2d4f8ab1 | 0 | atlasapi/atlas-deer,atlasapi/atlas-deer | package org.atlasapi.application;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import javax.annotation.Nullable;
import org.atlasapi.entity.Sourced;
import org.atlasapi.entity.Sourceds;
import org.atlasapi.media.entity.Publisher;
import com.google.common.ba... | atlas-core/src/main/java/org/atlasapi/application/ApplicationSources.java | package org.atlasapi.application;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import javax.annotation.Nullable;
import org.atlasapi.entity.Sourced;
import org.atlasapi.entity.Sourceds;
import org.atlasapi.media.entity.Publisher;
import com.google.common.ba... | Copy image precedence status in copy() method
| atlas-core/src/main/java/org/atlasapi/application/ApplicationSources.java | Copy image precedence status in copy() method | <ide><path>tlas-core/src/main/java/org/atlasapi/application/ApplicationSources.java
<ide> return builder()
<ide> .withPrecedence(this.isPrecedenceEnabled())
<ide> .withReadableSources(this.getReads())
<add> .withImagePrecedenceEnabled(this.imagePrecedenceEnabled)
<... | |
Java | mit | cf204425fd661daf0d539535df788437286ea4bd | 0 | nicomero/tarea1distribuidos | import java.io.*;
public class mainServer {
public static void main(String[] args) throws IOException {
new mainServerThread().start();
}
}
| mainServer.java | clase mainServer lista
| mainServer.java | clase mainServer lista | <ide><path>ainServer.java
<add>import java.io.*;
<add>
<add>public class mainServer {
<add> public static void main(String[] args) throws IOException {
<add> new mainServerThread().start();
<add> }
<add>} | ||
Java | apache-2.0 | 172f0310537b3834104f63b6e3bdd8a95fb93c51 | 0 | consulo/consulo-csharp,consulo/consulo-csharp,consulo/consulo-csharp | /*
* Copyright 2013-2014 must-be.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | csharp-impl/src/org/mustbe/consulo/csharp/lang/formatter/CSharpFormattingBlock.java | /*
* Copyright 2013-2014 must-be.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | always wrap first statement of block statement
| csharp-impl/src/org/mustbe/consulo/csharp/lang/formatter/CSharpFormattingBlock.java | always wrap first statement of block statement | <ide><path>sharp-impl/src/org/mustbe/consulo/csharp/lang/formatter/CSharpFormattingBlock.java
<ide> import org.mustbe.consulo.csharp.lang.psi.impl.source.CSharpArrayInitializationExpressionImpl;
<ide> import org.mustbe.consulo.csharp.lang.psi.impl.source.CSharpBlockStatementImpl;
<ide> import org.mustbe.consulo.dotnet.... | |
Java | agpl-3.0 | f7c664a23dafe1e0cb1996b16991018782cacc63 | 0 | acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2010 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
* Contact: ... | src/resource-manager/src/org/ow2/proactive/resourcemanager/frontend/RMMonitoringImpl.java | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2010 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
* Contact: ... | SCHEDULING-572 JMX statistics fixed in the resource manager
git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@15615 28e8926c-6b08-0410-baaa-805c5e19b8d6
| src/resource-manager/src/org/ow2/proactive/resourcemanager/frontend/RMMonitoringImpl.java | SCHEDULING-572 JMX statistics fixed in the resource manager | <ide><path>rc/resource-manager/src/org/ow2/proactive/resourcemanager/frontend/RMMonitoringImpl.java
<ide> try {
<ide> if (event instanceof RMNodeEvent) {
<ide> RMNodeEvent nodeEvent = (RMNodeEvent) event;
<del> RMMonitoringImpl.rmStatistics.nodeEvent(no... | |
Java | mit | 574facf79b308e407c1a69b232b9c2aa03db8f03 | 0 | rollbar/rollbar-java,rollbar/rollbar-java,rollbar/rollbar-java | package com.rollbar.web.provider;
import static java.util.Arrays.asList;
import com.rollbar.api.payload.Payload;
import com.rollbar.api.payload.data.Request;
import com.rollbar.notifier.provider.Provider;
import com.rollbar.web.listener.RollbarRequestListener;
import java.util.Enumeration;
import java.util.HashMap;
i... | rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java | package com.rollbar.web.provider;
import static java.util.Arrays.asList;
import com.rollbar.api.payload.Payload;
import com.rollbar.api.payload.data.Request;
import com.rollbar.notifier.provider.Provider;
import com.rollbar.web.listener.RollbarRequestListener;
import java.util.Enumeration;
import java.util.HashMap;
i... | fix style of comment
| rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java | fix style of comment | <ide><path>ollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java
<ide> /**
<ide> * The policy to use for capturing the user ip.
<ide> * @param captureIp One of: full, anonymize, none
<del> * If this value is empty, null, or otherwise invalid
<del> * the default policy is ful... | |
Java | apache-2.0 | 022949989eb2c96884ef5c401ff7729208edf25d | 0 | sitexa/AndroidFFmpeg,kyawkyaw/AndroidFFmpeg,lulufei/AndroidFFmpeg,sitexa/AndroidFFmpeg,shakin/AndroidFFmpeg,QDPeng/AndroidFFmpeg,lulufei/AndroidFFmpeg,ShawnKoo/AndroidFFmpeg,mondoktamas/AndroidFFmpeg,kyawkyaw/AndroidFFmpeg,mrduongnv/AndroidFFmpeg,shakin/AndroidFFmpeg,lulufei/AndroidFFmpeg,shine-chen/AndroidFFmpeg-with-... | example/src/main/java/com/ffmpegtest/helpers/RectEvaluator.java | package com.ffmpegtest.helpers;
import android.animation.TypeEvaluator;
import android.graphics.RectF;
public class RectEvaluator implements TypeEvaluator<RectF> {
private RectF mRectF;
public RectEvaluator() {
mRectF = new RectF();
}
private float evaluate(float fraction, float startValue, float endValue... | Removed unused evaluator
| example/src/main/java/com/ffmpegtest/helpers/RectEvaluator.java | Removed unused evaluator | <ide><path>xample/src/main/java/com/ffmpegtest/helpers/RectEvaluator.java
<del>package com.ffmpegtest.helpers;
<del>
<del>import android.animation.TypeEvaluator;
<del>import android.graphics.RectF;
<del>
<del>public class RectEvaluator implements TypeEvaluator<RectF> {
<del>
<del> private RectF mRectF;
<del>
<del> pu... | ||
Java | mit | 653d3ed1d3d704bdd1c010ceb555e04612cdc235 | 0 | sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking | package il.ac.technion.ie.experiments.threads;
import il.ac.technion.ie.experiments.exception.OSNotSupportedException;
import il.ac.technion.ie.experiments.model.ConvexBPContext;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.IOException;
import java.ut... | MFIblocks/experiments/src/main/java/il/ac/technion/ie/experiments/threads/CommandExacter.java | package il.ac.technion.ie.experiments.threads;
import il.ac.technion.ie.experiments.exception.OSNotSupportedException;
import il.ac.technion.ie.experiments.model.ConvexBPContext;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.IOException;
import java.ut... | Changed the logging if statement
| MFIblocks/experiments/src/main/java/il/ac/technion/ie/experiments/threads/CommandExacter.java | Changed the logging if statement | <ide><path>FIblocks/experiments/src/main/java/il/ac/technion/ie/experiments/threads/CommandExacter.java
<ide> }
<ide>
<ide> private boolean keepJobRunning(File outputFile, int numberOfExecutions) {
<del> if ((outputFile == null || !outputFile.exists()) && numberOfExecutions < 11) {
<add> if (outp... | |
Java | apache-2.0 | d13f01f9238a429395352963f571764fba65842e | 0 | akuhtz/izpack,Sage-ERP-X3/izpack,tomas-forsman/izpack,rkrell/izpack,dasapich/izpack,Sage-ERP-X3/izpack,optotronic/izpack,izpack/izpack,awilhelm/izpack-with-ips,kanayo/izpack,codehaus/izpack,dasapich/izpack,izpack/izpack,rkrell/izpack,Sage-ERP-X3/izpack,codehaus/izpack,stenix71/izpack,kanayo/izpack,yukron/izpack,izpack/... | /*
* IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved.
*
* http://www.izforge.com/izpack/
* http://developer.berlios.de/projects/izpack/
*
* Copyright 2004 Elmar Klaus Bartz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | src/lib/com/izforge/izpack/util/IoHelper.java | /*
* IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved.
*
* http://www.izforge.com/izpack/
* http://developer.berlios.de/projects/izpack/
*
* Copyright 2004 Elmar Klaus Bartz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | Fixed detection of getFreeSpace() not for tru64 but HP-UX
git-svn-id: 408af81b9e4f0a5eaad229a6d9eed76d614c4af6@1415 7d736ef5-cfd4-0310-9c9a-b52d5c14b761
| src/lib/com/izforge/izpack/util/IoHelper.java | Fixed detection of getFreeSpace() not for tru64 but HP-UX | <ide><path>rc/lib/com/izforge/izpack/util/IoHelper.java
<ide> fe.executeCommand(params, output);
<ide> retval = extractLong(output[0], -3, 3, "%") * 1024;
<ide> }
<del> else if (OsVersion.IS_TRU64)
<add> else if (OsVersion.IS_HPUX)
<ide> {
<ide> String[]... | |
JavaScript | mit | fa3da3b6d6e0ac308d5d6de621392a11296716af | 0 | CptPie/telegram-shipit-bot,CptPie/telegram-shipit-bot | const TelegramBot = require('node-telegram-bot-api');
const request = require('request');
const token = '<YOUR TOKEN>'
const bot = new TelegramBot(token, {polling: true})
bot.onText(/\/greet (.+)/, (msg, input) => {
const chatId = msg.chat.id;
var blub = input[1];
var resp ='Hello, '+blub;
bot.sendMessage(chatId... | bot.js | const TelegramBot = require('node-telegram-bot-api');
const request = require('request');
const token = '438965853:AAGwB7Y5g8KqM3OVjkQilBuOrvCh8s9ZqmM'
const bot = new TelegramBot(token, {polling: true})
bot.onText(/\/greet (.+)/, (msg, input) => {
const chatId = msg.chat.id;
var blub = input[1];
var resp ='Hello,... | removed my bot token for security reasons
| bot.js | removed my bot token for security reasons | <ide><path>ot.js
<ide> const TelegramBot = require('node-telegram-bot-api');
<ide> const request = require('request');
<ide>
<del>const token = '438965853:AAGwB7Y5g8KqM3OVjkQilBuOrvCh8s9ZqmM'
<add>const token = '<YOUR TOKEN>'
<ide> const bot = new TelegramBot(token, {polling: true})
<ide>
<ide> bot.onText(/\/greet (.... | |
Java | apache-2.0 | f02762aabfbb12397c7a54cec0ef72d00a0d0cdd | 0 | ispras/binnavi,nihilus/binnavi,google/binnavi,mayl8822/binnavi,ant4g0nist/binnavi,noikiy/binnavi,noikiy/binnavi,bmihaila/binnavi,AmesianX/binnavi,firebitsbr/binnavi,hoangcuongflp/binnavi,AmesianX/binnavi,ispras/binnavi,noikiy/binnavi,bmihaila/binnavi,ant4g0nist/binnavi,chubbymaggie/binnavi,google/binnavi,ant4g0nist/bin... | /*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | src/main/java/com/google/security/zynamics/zylib/net/WebsiteReader.java | /*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | Update WebsiteReader.java | src/main/java/com/google/security/zynamics/zylib/net/WebsiteReader.java | Update WebsiteReader.java | <ide><path>rc/main/java/com/google/security/zynamics/zylib/net/WebsiteReader.java
<ide>
<ide> conn.setDoOutput(true);
<ide>
<del> final OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
<del> try {
<add> try (OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream())) {
... | |
JavaScript | isc | b60bfc91f2b95cb7fc071ed1c107e808a5b20daf | 0 | wilsonianb/ripple-lib,wilsonianb/ripple-lib,darkdarkdragon/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,darkdarkdragon/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,wilsonianb/ripple-lib | // Represent Ripple amounts and currencies.
// - Numbers in hex are big-endian.
var sjcl = require('./sjcl/core.js');
var bn = require('./sjcl/core.js').bn;
var utils = require('./utils.js');
var jsbn = require('./jsbn.js');
var BigInteger = jsbn.BigInteger;
var nbi = jsbn.nbi;
var alphabets = {
'ripp... | src/js/amount.js | // Represent Ripple amounts and currencies.
// - Numbers in hex are big-endian.
var sjcl = require('./sjcl/core.js');
var bn = require('./sjcl/core.js').bn;
var utils = require('./utils.js');
var jsbn = require('./jsbn.js');
var BigInteger = jsbn.BigInteger;
var nbi = jsbn.nbi;
var alphabets = {
'ripp... | Fix fractional part in to_human().
| src/js/amount.js | Fix fractional part in to_human(). | <ide><path>rc/js/amount.js
<ide> if ("undefined" === typeof opts.group_sep) opts.group_sep = true;
<ide> opts.group_width = opts.group_width || 3;
<ide>
<del> var denominator = this._is_native ?
<del> consts.bi_xns_unit :
<del> consts.bi_10.clone().pow(-this._offset);
<add> var order = this._is_nat... | |
Java | apache-2.0 | bb4c491be49d13280ff3a4d9d1e31f43dad6693f | 0 | lepdou/apollo,ctripcorp/apollo,lepdou/apollo,yiming187/apollo,bulletqi/netposa-config,anycrane/apollo,nobodyiam/apollo,ctripcorp/apollo,bulletqi/netposa-config,ctripcorp/apollo,timothynode/apollo,lepdou/apollo,timothynode/apollo,ctripcorp/apollo,nobodyiam/apollo,yiming187/apollo,nobodyiam/apollo,yiming187/apollo,bullet... | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import com.ctrip.framework.apollo.core.dto.NamespaceDTO;
import com.ctrip.framework.apollo.core.enums.Env;
import com.ctrip.framework.apollo.core.utils.StringUtils;
import com.ctrip.framework.apollo.port... | apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import com.ctrip.framework.apollo.core.dto.NamespaceDTO;
import com.ctrip.framework.apollo.core.enums.Env;
import com.ctrip.framework.apollo.core.utils.StringUtils;
import com.ctrip.framework.apollo.port... | update
| apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java | update | <ide><path>pollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java
<ide> checkArgument(model.getEnv(), namespace.getAppId(), namespace.getClusterName(), namespace.getNamespaceName());
<ide>
<ide> try {
<add> // TODO: 16/6/17 某些环境创建失败,统一处理这种场景
<ide> na... | |
JavaScript | apache-2.0 | 14fbb4c6471f142fcd700c13a1661d7a6e173a2d | 0 | jrios6/GreenNav,Greennav/greennav,jrios6/GreenNav,Greennav/greennav,Greennav/greennav | import React, { Component, PropTypes } from 'react';
import ol from 'openlayers';
import AutoComplete from 'material-ui/AutoComplete';
import Slider from 'material-ui/Slider';
import RaisedButton from 'material-ui/RaisedButton';
import FontIcon from 'material-ui/FontIcon';
import SelectField from 'material-ui/SelectFie... | src/components/ReachabilityTab.js | import React, { Component, PropTypes } from 'react';
import ol from 'openlayers';
import AutoComplete from 'material-ui/AutoComplete';
import Slider from 'material-ui/Slider';
import RaisedButton from 'material-ui/RaisedButton';
import FontIcon from 'material-ui/FontIcon';
import SelectField from 'material-ui/SelectFie... | Fix AutoComplete: Cannot read property 'type' of undefined
| src/components/ReachabilityTab.js | Fix AutoComplete: Cannot read property 'type' of undefined | <ide><path>rc/components/ReachabilityTab.js
<ide>
<ide> updateFromInput = (value) => {
<ide> this.props.updateRangeFromField(value);
<del> this.updateAutocomplete(value);
<add> if (value.length > 0) {
<add> this.updateAutocomplete(value);
<add> }
<ide> };
<ide>
<ide> updateToInput = (value) =>... | |
Java | apache-2.0 | 66a5265e4892e959269e915d14f4351f608e84b1 | 0 | apache/commons-bcel,Maccimo/commons-bcel,typetools/commons-bcel,mohanaraosv/commons-bcel,tempbottle/commons-bcel,Maccimo/commons-bcel,Maccimo/commons-bcel,typetools/commons-bcel,apache/commons-bcel,mohanaraosv/commons-bcel,typetools/commons-bcel,apache/commons-bcel,tempbottle/commons-bcel,tempbottle/commons-bcel,mohana... | /*
* Copyright 2000-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/java/org/apache/bcel/generic/ConstantPoolGen.java | /*
* Copyright 2000-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 ... | forgot one
git-svn-id: 77ab32d24b47fe90dc24bcc15ad4d4ee91dcaedf@384784 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/bcel/generic/ConstantPoolGen.java | forgot one | <ide><path>rc/java/org/apache/bcel/generic/ConstantPoolGen.java
<ide> else if(c instanceof ConstantFieldref)
<ide> delim = FIELDREF_DELIM;
<ide>
<del> cp_table.put(class_name + delim + method_name + delim + signature, new Index(i));
<add> String key = class_name + delim + method_name + delim + signature;
<add> ... | |
JavaScript | isc | 9bcb223f9644441b259b0e90de31db1ad17ec3ab | 0 | LearnersGuild/icons | /* eslint-disable no-console, no-undef */
process.env.PORT = process.env.PORT || '8080'
import path from 'path'
import Express from 'express'
import serveStatic from 'serve-static'
import configureDevEnvironment from './configure-dev-environment'
import configureSwagger from './configure-swagger'
import generateIcons... | server/server.js | /* eslint-disable no-console, no-undef */
process.env.PORT = process.env.PORT || '8080'
import path from 'path'
import Express from 'express'
import serveStatic from 'serve-static'
import configureDevEnvironment from './configure-dev-environment'
import configureSwagger from './configure-swagger'
const serverHost = ... | asynchronously generate icons and metadata on startup
| server/server.js | asynchronously generate icons and metadata on startup | <ide><path>erver/server.js
<ide>
<ide> import configureDevEnvironment from './configure-dev-environment'
<ide> import configureSwagger from './configure-swagger'
<add>import generateIconsAndMetadata from './generateIconsAndMetadata'
<ide>
<ide> const serverHost = process.env.APP_HOSTNAME || 'localhost'
<ide> const se... | |
Java | apache-2.0 | 73107c0c40f29596c6addfa396c8053698de2efa | 0 | EvilMcJerkface/presto,shixuan-fan/presto,electrum/presto,smartnews/presto,haozhun/presto,losipiuk/presto,arhimondr/presto,Praveen2112/presto,zzhao0/presto,ptkool/presto,nezihyigitbasi/presto,zzhao0/presto,arhimondr/presto,electrum/presto,haozhun/presto,twitter-forks/presto,electrum/presto,zzhao0/presto,dain/presto,youn... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | presto-main/src/test/java/com/facebook/presto/operator/aggregation/AbstractTestApproximateCountDistinct.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... | Minor fix to standard error check in approx_distinct test
For types with small value sets (e.g. TINYINT), standard deviation
can be small or even zero. This will fail the current check since it
asserts the standard deviation is within a range of maxStandardError.
| presto-main/src/test/java/com/facebook/presto/operator/aggregation/AbstractTestApproximateCountDistinct.java | Minor fix to standard error check in approx_distinct test | <ide><path>resto-main/src/test/java/com/facebook/presto/operator/aggregation/AbstractTestApproximateCountDistinct.java
<ide> }
<ide>
<ide> assertLessThan(stats.getMean(), 1.0e-2);
<del> assertLessThan(Math.abs(stats.getStandardDeviation() - maxStandardError), 1.0e-2);
<add> assertLessThan... | |
Java | apache-2.0 | 703c09ae258ded75f44fc331083f24667f85436d | 0 | DeveloperLiberationFront/Pdf-Reviewer,DeveloperLiberationFront/Pdf-Reviewer,DeveloperLiberationFront/Pdf-Reviewer | package src.main.servlet;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
impo... | src/main/java/src/main/servlet/ReviewSubmitServlet.java | package src.main.servlet;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
impo... | Adds some rate limiting on creating issues
To hopefully avoid the 403 abuse exception
| src/main/java/src/main/servlet/ReviewSubmitServlet.java | Adds some rate limiting on creating issues | <ide><path>rc/main/java/src/main/servlet/ReviewSubmitServlet.java
<ide>
<ide> private transient GitHubClient client;
<ide>
<del> @Override
<del> protected void doPost(final HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
<del> final ServletFileUpload upload = new Servlet... | |
Java | mit | error: pathspec 'cinderella-core/src/test/java/de/neofonie/cinderella/core/CinderellaServiceImplTest2.java' did not match any file(s) known to git
| 9e9ef782c6bf7d25a57892df4e78fb0b18f08814 | 1 | Neofonie/cinderella | /*
*
* The MIT License (MIT)
* Copyright (c) 2016 Neofonie GmbH
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | cinderella-core/src/test/java/de/neofonie/cinderella/core/CinderellaServiceImplTest2.java | add Test
| cinderella-core/src/test/java/de/neofonie/cinderella/core/CinderellaServiceImplTest2.java | add Test | <ide><path>inderella-core/src/test/java/de/neofonie/cinderella/core/CinderellaServiceImplTest2.java
<add>/*
<add> *
<add> * The MIT License (MIT)
<add> * Copyright (c) 2016 Neofonie GmbH
<add> * Permission is hereby granted, free of charge, to any person obtaining a copy
<add> * of this software and associated document... | |
Java | apache-2.0 | b7f9a4b864f0e093618f1791de5b626db5e6a3cf | 0 | apache/syncope,apache/syncope,apache/syncope,ilgrosso/syncope,apache/syncope,ilgrosso/syncope,ilgrosso/syncope,ilgrosso/syncope | /*
* 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 ... | client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.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 ... | [SYNCOPE-1397] Now plain attributes are shown in approval, removed unwanted changed flags on empty attributes
| client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java | [SYNCOPE-1397] Now plain attributes are shown in approval, removed unwanted changed flags on empty attributes | <ide><path>lient/console/src/main/java/org/apache/syncope/client/console/wizards/any/PlainAttrs.java
<ide> import java.util.HashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<add>import java.util.Optional;
<ide> import java.util.stream.Collectors;
<ide> import org.apache.commons.collections4.ListUtils;
... | |
Java | mit | f30829e60dc7686e47dd4dc2c3aebbc07d8a93f3 | 0 | k-danna/backupbuddies,k-danna/backupbuddies | package backupbuddies.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.event.ChangeListener;
import javax.swing.event.ChangeEvent;
import java.io.File;
import java.util.List;
import ... | backupbuddies/gui/GuiMain.java | package backupbuddies.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.event.ChangeListener;
import javax.swing.event.ChangeEvent;
import java.io.File;
import java.util.List;
import ... | searching now resets the selected indices | backupbuddies/gui/GuiMain.java | searching now resets the selected indices | <ide><path>ackupbuddies/gui/GuiMain.java
<ide> public void insertUpdate(DocumentEvent arg0) {
<ide> fileSearch(search.getText());
<ide> globalSearch = search.getText();
<add> lastFileState.clear();
<ide> }
<ide>
<ide> @Override
<ide> public void removeUpdate(DocumentEvent arg0) {
<ide> fileS... | |
Java | apache-2.0 | 6b4f302e2bea5f83f71635d3bd9dd93fe8f71a0d | 0 | SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | base/src/main/java/io/spine/base/Environment.java | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | `register` an env on `setTo`.
| base/src/main/java/io/spine/base/Environment.java | `register` an env on `setTo`. | <ide><path>ase/src/main/java/io/spine/base/Environment.java
<ide> * If later it becomes logically inactive, e.g. the environment variable that's used to check the
<ide> * environment type changes, {@code Environment} is still going to return the cached value. To
<ide> * overwrite the value use {@link #setTo(Environm... | |
Java | epl-1.0 | 2ed611fde09e694390c653074194cfa74615f8f1 | 0 | hansjoachim/fitnesse,rbevers/fitnesse,rbevers/fitnesse,rbevers/fitnesse,amolenaar/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,hansjoachim/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,hansjoachim/fitnesse,jdufner/fitnesse | // Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.responders.run;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Patt... | test/fitnesse/responders/run/TestResponderTest.java | // Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.responders.run;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Patt... | Whoops. Should have run the tests first...
| test/fitnesse/responders/run/TestResponderTest.java | Whoops. Should have run the tests first... | <ide><path>est/fitnesse/responders/run/TestResponderTest.java
<ide> @Test
<ide> public void testHead() throws Exception {
<ide> doSimpleRun(passFixtureTable());
<del> assertSubString("<div id=\"test-summary\">Running Tests ...</div>", results);
<add> assertSubString("<div id=\"test-summary\"><div id=\"pro... | |
Java | mit | f4ddac10838ba1fb5a17933d9fdd30163a1af79b | 0 | Krasnyanskiy/jenkins,christ66/jenkins,tastatur/jenkins,bpzhang/jenkins,intelchen/jenkins,my7seven/jenkins,batmat/jenkins,lordofthejars/jenkins,olivergondza/jenkins,varmenise/jenkins,MarkEWaite/jenkins,mattclark/jenkins,kzantow/jenkins,jenkinsci/jenkins,kzantow/jenkins,ErikVerheul/jenkins,liupugong/jenkins,protazy/jenki... | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly, Thomas J. Black
*
* 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 witho... | core/src/main/java/hudson/model/ComputerSet.java | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly, Thomas J. Black
*
* 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 witho... | Reverting whitespace change.
| core/src/main/java/hudson/model/ComputerSet.java | Reverting whitespace change. | <ide><path>ore/src/main/java/hudson/model/ComputerSet.java
<ide>
<ide> JSONObject formData = req.getSubmittedForm();
<ide> formData.put("name", fixedName);
<del>
<add>
<ide> // TODO type is probably NodeDescriptor.id but confirm
<ide> Node result = NodeDescriptor.all().find(type... | |
Java | apache-2.0 | 834b839bf5deab60499ecfb85facd55f06f8e258 | 0 | PeterKnego/appengine-maven-plugin-oath2-config,RajMondaz/appengine-maven-plugin,renfeng/appengine-maven-plugin,rdwallis/appengine-maven-plugin,ludoch/appengine-maven-plugin,GoogleCloudPlatform/appengine-maven-plugin,kuldeep0709/appengine-maven-plugin,ArcBees/appengine-maven-plugin,tinesoft/appengine-maven-plugin,joseph... | package com.google.appengine;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Plugin;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.BuildPluginManager;
import org.apache.maven.plugin.MojoExecution;
import org.apache.m... | src/main/java/com/google/appengine/AppengineEnhancerMojo.java | package com.google.appengine;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Plugin;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.BuildPluginManager;
import org.apache.maven.plugin.MojoExecution;
import org.apache.m... | Fix enhance jar dependencies and use the official enhancer 3.2.0 release
| src/main/java/com/google/appengine/AppengineEnhancerMojo.java | Fix enhance jar dependencies and use the official enhancer 3.2.0 release | <ide><path>rc/main/java/com/google/appengine/AppengineEnhancerMojo.java
<ide> */
<ide> private String enhancerApi;
<ide>
<del> private static final String DATANUCLEUS_VERSION = "3.2.0-m1";
<add> private static final String DATANUCLEUS_VERSION = "3.2.0-release";
<ide>
<ide> private static final Dependency JDO... | |
Java | agpl-3.0 | 851a1b44c364e2a506e308eead62262414c60c45 | 0 | JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio | /*
* AceEditor.java
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. T... | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java | /*
* AceEditor.java
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. T... | work around GWT exception
| src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java | work around GWT exception | <ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/AceEditor.java
<ide>
<ide> if (!suppressCompletion && fileType_.getEditorLanguage().useRCompletion())
<ide> {
<add> // GWT throws an exception if we bind Ace using 'AceEditor.this' below
<add> // so wo... | |
JavaScript | agpl-3.0 | 6313fac642701f57323249bc446b2715b3360723 | 0 | ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs | /*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its S... | word/Editor/Run.js | /*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its S... | fix Bug 21042
| word/Editor/Run.js | fix Bug 21042 | <ide><path>ord/Editor/Run.js
<ide> var ReviewColor = this.Get_ReviewColor();
<ide>
<ide> // Выставляем цвет обводки
<del> if ( true === PDSL.VisitedHyperlink && ( undefined === this.Pr.Color && undefined === this.Pr.Unifill ) )
<del> CurColor = new CDocumentColor( 128, 0, 151 );
<add>
<add> var bP... | |
Java | epl-1.0 | 1e10d27eed39149c4527042856362900e9a643dc | 0 | rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/ResultClass.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | CheckIn:Fix bugzilla bug 187793Scripted DataSource from Library fails
| data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/ResultClass.java | CheckIn:Fix bugzilla bug 187793Scripted DataSource from Library fails | <ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/ResultClass.java
<ide> {
<ide> String columnName = projectedCols[i].getName( );
<ide> String columnAlias = projectedCols[i].getAlias( );
<del> if ( resultSetNameSet.contains( columnName )
<del> && resultSetNameSet.contains( col... | |
Java | apache-2.0 | 1037cb819723e3f4ffab35c08e412752f661ceaf | 0 | ProjectPersephone/Orekit,liscju/Orekit,liscju/Orekit,attatrol/Orekit,petrushy/Orekit,CS-SI/Orekit,ProjectPersephone/Orekit,treeform/orekit,Yakushima/Orekit,petrushy/Orekit,Yakushima/Orekit,attatrol/Orekit,CS-SI/Orekit,wardev/orekit | /* Copyright 2002-2010 CS Communication & Systèmes
* Licensed to CS Communication & Systèmes (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, V... | src/main/java/org/orekit/propagation/numerical/NumericalPropagator.java | /* Copyright 2002-2010 CS Communication & Systèmes
* Licensed to CS Communication & Systèmes (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, V... | fixed step handler clearing at mode switch
| src/main/java/org/orekit/propagation/numerical/NumericalPropagator.java | fixed step handler clearing at mode switch | <ide><path>rc/main/java/org/orekit/propagation/numerical/NumericalPropagator.java
<ide> * step handler is needed, it should be added after this method has been callled.</p>
<ide> */
<ide> public void setSlaveMode() {
<del> integrator.clearEventHandlers();
<add> integrator.clearStepHandlers()... | |
Java | mit | 566e8f0300f2eae2382d9a26530e3213a0ed3543 | 0 | jarvis-app/jarvis-android | package com.jarvis.jarvis;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.Vie... | app/src/main/java/com/jarvis/jarvis/MainActivity.java | package com.jarvis.jarvis;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.Vie... | Adding Language aware failure msg
| app/src/main/java/com/jarvis/jarvis/MainActivity.java | Adding Language aware failure msg | <ide><path>pp/src/main/java/com/jarvis/jarvis/MainActivity.java
<ide>
<ide> public void showErrorResponse()
<ide> {
<del> TextSpeechUtils.speakText("Some error has occurred while processing your request");
<add> String msg = "Some error has occurred while processing your request";
<add> if... | |
Java | apache-2.0 | ba5456b466d73ca6360fdef2b90dc84de7210ef1 | 0 | orcoliver/traccar,jssenyange/traccar,orcoliver/traccar,orcoliver/traccar,jssenyange/traccar,jssenyange/traccar | /*
* Copyright 2015 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | /*
* Copyright 2015 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | Update Huabao decoder
| src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | Update Huabao decoder | <ide><path>rc/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
<ide>
<ide> } else if (type == MSG_LOCATION_REPORT) {
<ide>
<add> sendGeneralResponse(channel, remoteAddress, id, type, index);
<add>
<ide> return decodeLocation(deviceSession, buf);
<ide>
<ide> } else if (... | |
JavaScript | mit | dfd021f921251589b31c2510f9e5235e11cae6ed | 0 | IsaacLean/adam-engine | var body = document.querySelector('body');
var canvasId = 'adam-engine';
//var ctx = canvas.getContext('2d');
/* Animation test */
// var assets = [
// '/img/robowalk/robowalk00.png',
// '/img/robowalk/robowalk01.png',
// '/img/robowalk/robowalk02.png',
// '/img/robowalk/robowalk03.png',
// '/img/robowalk/robowal... | src/engine-refactor/adamengine/adamengine-dev.js | var body = document.querySelector('body');
var canvasId = 'adam-engine';
//var ctx = canvas.getContext('2d');
/* Animation test */
// var assets = [
// '/img/robowalk/robowalk00.png',
// '/img/robowalk/robowalk01.png',
// '/img/robowalk/robowalk02.png',
// '/img/robowalk/robowalk03.png',
// '/img/robowalk/robowal... | Implement z-index
| src/engine-refactor/adamengine/adamengine-dev.js | Implement z-index | <ide><path>rc/engine-refactor/adamengine/adamengine-dev.js
<ide> var canvas = document.getElementById(canvasId);
<ide> var canvasData = canvas.getBoundingClientRect();
<ide> var ctx = canvas.getContext('2d');
<del> var focus = false;
<add> var focus = false; // determines if canvas is in focus or not
<ide>
<ide>
... | |
Java | mit | 2d6dccef7ea477e43e1c3fc079060692c5d742fe | 0 | socrata/datasync,socrata/datasync | package com.socrata.datasync.model;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Vector;
import javax.swing.table.AbstractTableModel;
import au.com.bytecode.opencsv.CSVReader;
import com.socrata.datasync.config.controlfile.ControlFile;
/**
* The CSV... | src/main/java/com/socrata/datasync/model/CSVModel.java | package com.socrata.datasync.model;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Vector;
import javax.swing.table.AbstractTableModel;
import au.com.bytecode.opencsv.CSVReader;
import com.socrata.datasync.config.controlfile.ControlFile;
/**
* The CSV... | Bug: Preview pipe delimited fields in the map fields dialog
If the file contained a delimiter that wasn't the default ',' but one of the fields
contained a comma (e.g. 12345|foo,bar) then we would detect a different
number of columns in each row, causing the dialog to fail to render.
This fix simply substitutes "n/a"... | src/main/java/com/socrata/datasync/model/CSVModel.java | Bug: Preview pipe delimited fields in the map fields dialog | <ide><path>rc/main/java/com/socrata/datasync/model/CSVModel.java
<ide> public String getColumnPreview(int columnIndex, int itemsToPreview){
<ide> StringBuffer buf = new StringBuffer();
<ide> for (int i = 0; i < Math.min(itemsToPreview,getRowCount()); i++){
<del> buf.append(getValueAt(i,co... | |
JavaScript | mit | 4141a067990e8c095e5d266df2f3c598b21ef9a1 | 0 | necroscope/angular-js-bootstrap-datetimepicker,forestjohnsonilm/angular-js-bootstrap-datetimepicker,zhaber/angular-js-bootstrap-datetimepicker,forestjohnsonilm/angular-js-bootstrap-datetimepicker,zhaber/datetimepicker,transGLUKator/angular-js-bootstrap-datetimepicker,zhaber/angular-js-bootstrap-datetimepicker,transGLUK... | angular.module('ui.bootstrap.datetimepicker',
["ui.bootstrap.dateparser", "ui.bootstrap.datepicker", "ui.bootstrap.timepicker"]
)
.directive('datepickerPopup', function (){
return {
restrict: 'EAC',
require: 'ngModel',
link: function(scope, element, attr, controller) {
//remove the default ... | datetimepicker.js | angular.module('ui.bootstrap.datetimepicker',
["ui.bootstrap.dateparser", "ui.bootstrap.datepicker", "ui.bootstrap.timepicker"]
)
.directive('datepickerPopup', function (){
return {
restrict: 'EAC',
require: 'ngModel',
link: function(scope, element, attr, controller) {
//remove the default ... | Updating timepicker on time change
| datetimepicker.js | Updating timepicker on time change | <ide><path>atetimepicker.js
<ide> $scope.time_change = function() {
<ide> if ($scope.ngModel && $scope.time) {
<ide> // convert from ISO format to Date
<del> if (typeof $scope.ngModel === "string" || typeof $scope.ngModel == "number") $scope.ngModel = new Date($s... | |
JavaScript | mit | 4d06965e918cb82b395dca53cd3220c940b9c713 | 0 | agconti/github-issues-to-markdown | const Rx = require('rx')
const request = Rx.Observable.fromNodeCallback(require('request'))
const oauthToken = process.argv[2]
const owner = process.argv[3]
const repository = process.argv[4]
const url = `https://api.github.com/repos/${owner}/${repository}/issues`
const headers = {
'Authorization': `token ${oauthToke... | index.js | const Rx = require('rx')
const marked = require('marked')
const request = Rx.Observable.fromNodeCallback(require('request'))
const oauthToken = process.argv[2]
const owner = process.argv[3]
const repository = process.argv[4]
const url = `https://api.github.com/repos/${owner}/${repository}/issues`
const headers = {
'A... | fix(index): removed marked dependency
| index.js | fix(index): removed marked dependency | <ide><path>ndex.js
<ide> const Rx = require('rx')
<del>const marked = require('marked')
<ide> const request = Rx.Observable.fromNodeCallback(require('request'))
<ide>
<ide> const oauthToken = process.argv[2] | |
Java | apache-2.0 | 6ff07b96de3ba39d4219f2aad9482887210b051b | 0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | /*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | server/src/main/java/io/spine/server/model/ArgumentFilter.java | /*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | Simplify equality check
| server/src/main/java/io/spine/server/model/ArgumentFilter.java | Simplify equality check | <ide><path>erver/src/main/java/io/spine/server/model/ArgumentFilter.java
<ide> * Tells if the passed filter works on the same field as this one.
<ide> */
<ide> boolean sameField(ArgumentFilter another) {
<del> if (field == null) {
<del> return another.field == null;
<del> }
<del> ... | |
JavaScript | apache-2.0 | 7e25246bfe544da8b8d808cef66821710402a0ac | 0 | driebit/ginger,driebit/ginger,driebit/ginger |
(function ($) {
'use strict';
$.widget("ui.ginger_search", {
_init: function() {
this.init();
},
init: function() {
var self = this,
element = self.element,
timer = null,
prevVal = null,
paramResult... | lib/js/ginger-search.js |
(function ($) {
'use strict';
$.widget("ui.ginger_search", {
_init: function() {
this.init();
},
init: function() {
var self = this,
element = self.element,
timer = null,
prevVal = null,
paramResult... | [search] minst lelijke oplossing
| lib/js/ginger-search.js | [search] minst lelijke oplossing | <ide><path>ib/js/ginger-search.js
<ide> resultsElement = $("#" + paramResults),
<ide> windowHeight = $(window).height();
<ide>
<del> resultsElement.hide();
<del> resultsElement.removeClass('is-scrolable');
<add> resultsElement.css('visibility', 'hidden')... | |
JavaScript | mit | 2aba01dada5a690425ed15d3a543f057227846e5 | 0 | jaredpalmer/razzle,jaredpalmer/razzle | const yargs = require('yargs');
const execa = require('execa');
const fs = require('fs-extra');
const path = require('path');
const rootDir = path.resolve(__dirname, '..');
const defaultExample = 'packages/create-razzle-app/templates/default';
let argv = yargs
.usage('$0 [<example>...] [-s|--stage=<stage>] [-c|--c... | scripts/bootstrap-examples.js | const yargs = require('yargs');
const execa = require('execa');
const fs = require('fs-extra');
const path = require('path');
const rootDir = path.resolve(__dirname, '..');
const defaultExample = 'packages/create-razzle-app/templates/default';
let argv = yargs
.usage('$0 [<example>...] [-s|--stage=<stage>] [-c|--c... | dev-infra: add more example bootstrap features
| scripts/bootstrap-examples.js | dev-infra: add more example bootstrap features | <ide><path>cripts/bootstrap-examples.js
<ide>
<ide> const exampleDirs = exampleNamesMap.map(example =>example[1]);
<ide>
<add> let extraWorkspaceDirs = [];
<add>
<ide> if (exampleDirs) {
<ide> const missing = exampleDirs
<ide> .map(example => {
<del>
<del> if (!fs.existsS... | |
Java | bsd-3-clause | 16d1959c99399961ae603e1f81e900539253dfc5 | 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;
import com.blockscore.models.PaginatedResult;
import com.blockscore.models.Person;
import com.blockscore.net.BlockscoreApiClient;
import javax.inject.Provider;
import org.pmiops.workbench.google.CloudStorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org... | api/src/main/java/org/pmiops/workbench/BlockscoreServiceImpl.java | package org.pmiops.workbench;
import com.blockscore.models.PaginatedResult;
import com.blockscore.models.Person;
import com.blockscore.net.BlockscoreApiClient;
import javax.inject.Provider;
import org.pmiops.workbench.google.CloudStorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org... | Move Blockscore API key fetch until later to fix dev (#317)
| api/src/main/java/org/pmiops/workbench/BlockscoreServiceImpl.java | Move Blockscore API key fetch until later to fix dev (#317) | <ide><path>pi/src/main/java/org/pmiops/workbench/BlockscoreServiceImpl.java
<ide> @Service
<ide> public class BlockscoreServiceImpl implements BlockscoreService {
<ide>
<del> private final CloudStorageService cloudStorageService;
<add> private final Provider<CloudStorageService> cloudStorageServiceProvider;
<ide> ... | |
Java | mit | eb2fe6f4756bb7a1eb9a0b1afd0e9d12bc24ad74 | 0 | ugent-cros/cros-core,ugent-cros/cros-core,ugent-cros/cros-core | package controllers;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.ExpressionList;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.faste... | app/controllers/UserController.java | package controllers;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.ExpressionList;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.faste... | Dirty hack to get password updated too
| app/controllers/UserController.java | Dirty hack to get password updated too | <ide><path>pp/controllers/UserController.java
<ide> User updatedUser = filledForm.get();
<ide> updatedUser.setId(id);
<ide> Set<String> updatedFields = filledForm.data().keySet();
<add> if (updatedFields.contains("password")) {
<add> updatedFields.remove("password");
<add> ... | |
Java | mit | 5ec8945cb671ea54a7466b442c7ca820825f9938 | 0 | mezz/JustEnoughItems,Adaptivity/JustEnoughItems,mezz/JustEnoughItems,Adaptivity/JustEnoughItems | package mezz.jei.gui.overlay;
import com.google.common.collect.ImmutableList;
import mezz.jei.Internal;
import mezz.jei.api.IIngredientListOverlay;
import mezz.jei.api.IItemListOverlay;
import mezz.jei.api.gui.IAdvancedGuiHandler;
import mezz.jei.api.gui.IGuiProperties;
import mezz.jei.config.Config;
import mezz.jei.c... | src/main/java/mezz/jei/gui/overlay/IngredientListOverlay.java | package mezz.jei.gui.overlay;
import com.google.common.collect.ImmutableList;
import mezz.jei.Internal;
import mezz.jei.api.IIngredientListOverlay;
import mezz.jei.api.IItemListOverlay;
import mezz.jei.api.gui.IAdvancedGuiHandler;
import mezz.jei.api.gui.IGuiProperties;
import mezz.jei.config.Config;
import mezz.jei.c... | Fix #1186 Ghost items from JEI overlap items held on the player cursor
| src/main/java/mezz/jei/gui/overlay/IngredientListOverlay.java | Fix #1186 Ghost items from JEI overlap items held on the player cursor | <ide><path>rc/main/java/mezz/jei/gui/overlay/IngredientListOverlay.java
<ide> clicked.onClickHandled();
<ide> return true;
<ide> }
<del> if (this.ghostIngredientDragManager.handleClickGhostIngredient(currentScreen, clicked)) {
<add> ItemStack mouseItem = minecraft.player.inventory.getItemStack(... | |
Java | apache-2.0 | 75396a71c9ead0c64f015e1d5844fd30ceb38fca | 0 | OpenTOSCA/container,OpenTOSCA/container | package org.opentosca.planbuilder.type.plugin.mosquittoconnectsto;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import java... | org.opentosca.planbuilder.type.plugin.mosquittoconnectsto/src/org/opentosca/planbuilder/type/plugin/mosquittoconnectsto/Handler.java | package org.opentosca.planbuilder.type.plugin.mosquittoconnectsto;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import java... | fixes issue in mosquitto connection script
| org.opentosca.planbuilder.type.plugin.mosquittoconnectsto/src/org/opentosca/planbuilder/type/plugin/mosquittoconnectsto/Handler.java | fixes issue in mosquitto connection script | <ide><path>rg.opentosca.planbuilder.type.plugin.mosquittoconnectsto/src/org/opentosca/planbuilder/type/plugin/mosquittoconnectsto/Handler.java
<ide>
<ide> /* create skript */
<ide> // the script itself
<del> String bashCommand = "echo \"topicName = hostName\" >> $(find ~ -maxdepth 1 -path \"*.csar\")/mosquitto_co... | |
Java | apache-2.0 | e82fecfa33505ac037c77dadea1e52b68bd1c735 | 0 | ppavlidis/baseCode,ppavlidis/baseCode | /*
* The baseCode project
*
* Copyright (c) 2006 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | src/ubic/basecode/util/FileTools.java | /*
* The baseCode project
*
* Copyright (c) 2006 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | utility method
| src/ubic/basecode/util/FileTools.java | utility method | <ide><path>rc/ubic/basecode/util/FileTools.java
<ide> import java.io.InputStream;
<ide> import java.io.OutputStream;
<ide> import java.io.PrintWriter;
<add>import java.net.URISyntaxException;
<add>import java.net.URL;
<ide> import java.util.Arrays;
<ide> import java.util.Collection;
<ide> import java.util.Enumeration;
... | |
Java | lgpl-2.1 | 103be236f2ca9f98ec0650bccbaeb95152074e05 | 0 | zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform | /*
* Copyright 2013, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | zanata-war/src/main/java/org/zanata/webtrans/client/presenter/AttentionKeyShortcutPresenter.java | /*
* Copyright 2013, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | rhbz961564 gut attention key presenter pending change of behaviour
| zanata-war/src/main/java/org/zanata/webtrans/client/presenter/AttentionKeyShortcutPresenter.java | rhbz961564 gut attention key presenter pending change of behaviour | <ide><path>anata-war/src/main/java/org/zanata/webtrans/client/presenter/AttentionKeyShortcutPresenter.java
<ide> */
<ide> package org.zanata.webtrans.client.presenter;
<ide>
<del>import java.util.Map;
<del>import java.util.Set;
<del>
<del>import org.zanata.webtrans.client.keys.EventWrapper;
<del>import org.zanata.web... | |
Java | mit | 31e7c76ecf305862d284be8934c9ebb15e5cd3ed | 0 | GreenfieldTech/irked | package tech.greenfield.vertx.irked.example;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Promise;
import io.vertx.core.http.HttpServerOptions;
import tech.greenfield.vertx.irked.Controller;
import tech.greenfield.vertx.irked.Irked;
import tech.greenfield.vertx.irked.Request;
import tech.greenfield.vert... | src/example/java/tech/greenfield/vertx/irked/example/App.java | package tech.greenfield.vertx.irked.example;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Promise;
import io.vertx.core.http.HttpServerOptions;
import tech.greenfield.vertx.irked.Controller;
import tech.greenfield.vertx.irked.Irked;
import tech.greenfield.vertx.irked.annotations.Endpoint;
import tech.gr... | add a failure handle so that redirect works | src/example/java/tech/greenfield/vertx/irked/example/App.java | add a failure handle so that redirect works | <ide><path>rc/example/java/tech/greenfield/vertx/irked/example/App.java
<ide> import io.vertx.core.http.HttpServerOptions;
<ide> import tech.greenfield.vertx.irked.Controller;
<ide> import tech.greenfield.vertx.irked.Irked;
<add>import tech.greenfield.vertx.irked.Request;
<ide> import tech.greenfield.vertx.irked.annota... | |
Java | apache-2.0 | c4beb4ad85bc407304ce557aa8f118a73876557d | 0 | shidh/CSSA,shidh/CSSA,shidh/CSSA,shidh/CSSA | package controllers;
import play.*;
import play.mvc.*;
import java.util.*;
import models.*;
public class Application extends Controller {
public static void index() {
render();
}
public static void register(String email, String password1, String password2) {
boolean register = true;
boolean flag_register... | app/controllers/Application.java | package controllers;
import play.*;
import play.mvc.*;
import java.util.*;
import models.*;
public class Application extends Controller {
public static void index() {
render();
}
public static void register(String email, String password1, String password2) {
boolean register = true;
boolean flag_register... | test commit
| app/controllers/Application.java | test commit | <ide><path>pp/controllers/Application.java
<ide> new User(email, password1).save();
<ide> render("Application/index.html", flag_register, register);
<ide> } else {
<add>
<ide> render("Application/index.html", flag_register, register);
<ide> }
<ide> } else { | |
Java | apache-2.0 | 967a939038526b9c54a1c30270ec886b3c1740ed | 0 | b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2017-2018 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java | /*
* Copyright 2017-2018 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | [index] use Cluster Health API classes in...
...EsIndexAdmin.waitForYellowHealth(String...indices) | commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java | [index] use Cluster Health API classes in... | <ide><path>ommons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
<ide> import java.util.Set;
<ide> import java.util.regex.Pattern;
<ide>
<del>import org.apache.http.client.methods.HttpGet;
<add>import org.elasticsearch.action.admin.cluster.health.ClusterHealthRequest;
<add>import or... | |
JavaScript | mit | 4170b69f030e3b6d96c0a782041d242a0d0a102b | 0 | hpchud/vccjs,hpchud/vccjs | var logger = require("./log.js");
var fs = require('fs');
var path = require('path');
var yaml = require('yamljs');
var promise = require("deferred");
var notify = require('systemd-notify');
exports.systemdNotify = function (status, ready) {
var deferred = promise();
var config = exports.getConfig();
if (c... | vccutil.js | var logger = require("./log.js");
var fs = require('fs');
var path = require('path');
var yaml = require('yamljs');
var promise = require("deferred");
var notify = require('systemd-notify');
exports.systemdNotify = function (status, ready) {
var deferred = promise();
var config = exports.getConfig();
if (c... | dont send pid with status notification, systemd will work it out #7
| vccutil.js | dont send pid with status notification, systemd will work it out #7 | <ide><path>ccutil.js
<ide> if (config.systemd) {
<ide> notify({
<ide> ready: ready,
<del> status: status,
<del> pid: process.pid
<add> status: status
<ide> },
<ide> function(err) {
<ide> if (err) { | |
Java | mit | 63886be9f75c6f538b9401d9cb445b701b1f017c | 0 | patbos/jenkins,protazy/jenkins,oleg-nenashev/jenkins,SebastienGllmt/jenkins,vjuranek/jenkins,DanielWeber/jenkins,damianszczepanik/jenkins,batmat/jenkins,patbos/jenkins,rlugojr/jenkins,SebastienGllmt/jenkins,ErikVerheul/jenkins,jenkinsci/jenkins,amuniz/jenkins,rsandell/jenkins,recena/jenkins,dennisjlee/jenkins,sathiya-m... | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Michael B. Donohue
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without li... | core/src/main/java/hudson/model/CauseAction.java | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Michael B. Donohue
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without li... | [JENKINS-33467] Clarifying that CauseAction.getCauses is immutable and you should construct the action with the causes you want.
(cherry picked from commit 4adee7597aad7a338db8d3eb320575ae618a8c81)
| core/src/main/java/hudson/model/CauseAction.java | [JENKINS-33467] Clarifying that CauseAction.getCauses is immutable and you should construct the action with the causes you want. (cherry picked from commit 4adee7597aad7a338db8d3eb320575ae618a8c81) | <ide><path>ore/src/main/java/hudson/model/CauseAction.java
<ide> public CauseAction(CauseAction ca) {
<ide> addCauses(ca.getCauses());
<ide> }
<del>
<add>
<add> /**
<add> * Lists all causes of this build.
<add> * Note that the current implementation does not preserve insertion order of dupli... | |
Java | mit | 7dff1dd1dc6cc9327482686e97e737bec01f529e | 0 | JCThePants/NucleusFramework,JCThePants/NucleusFramework | /*
* This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | src/com/jcwhatever/bukkit/generic/titles/GenericsTitle.java | /*
* This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | remove unused fields
| src/com/jcwhatever/bukkit/generic/titles/GenericsTitle.java | remove unused fields | <ide><path>rc/com/jcwhatever/bukkit/generic/titles/GenericsTitle.java
<ide>
<ide> private TextComponents _titleComponents;
<ide> private TextComponents _subTitleComponents;
<del> private String _formattedTitle;
<del> private String _formattedSubTitle;
<ide>
<ide> /**
<ide> * Constructor. | |
Java | apache-2.0 | 5bbd53135d30869a14c66eebf3d60f5454f0b5e5 | 0 | Sage-Bionetworks/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,Sage-Bio... | package org.sagebionetworks;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.sql.Date;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import j... | integration-test/src/test/java/org/sagebionetworks/IT610BridgeData.java | package org.sagebionetworks;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.sql.Date;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org... | IT test
| integration-test/src/test/java/org/sagebionetworks/IT610BridgeData.java | IT test | <ide><path>ntegration-test/src/test/java/org/sagebionetworks/IT610BridgeData.java
<ide> import java.sql.Date;
<ide> import java.util.ArrayList;
<ide> import java.util.Collections;
<add>import java.util.HashMap;
<ide> import java.util.List;
<ide>
<ide> import org.junit.After;
<ide> import org.sagebionetworks.bridge.mod... | |
Java | apache-2.0 | 13f897b83e8c5188187589d60fe6b6b86a840cbe | 0 | etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin | package nu.studer.teamcity.buildscan.agent;
import jetbrains.buildServer.agent.AgentLifeCycleAdapter;
import jetbrains.buildServer.agent.AgentLifeCycleListener;
import jetbrains.buildServer.agent.BuildRunnerContext;
import jetbrains.buildServer.util.EventDispatcher;
import jetbrains.buildServer.util.FileUtil;
import o... | agent/src/main/java/nu/studer/teamcity/buildscan/agent/BuildScanServiceMessageInjector.java | package nu.studer.teamcity.buildscan.agent;
import jetbrains.buildServer.agent.AgentLifeCycleAdapter;
import jetbrains.buildServer.agent.AgentLifeCycleListener;
import jetbrains.buildServer.agent.BuildRunnerContext;
import jetbrains.buildServer.util.EventDispatcher;
import jetbrains.buildServer.util.FileUtil;
import o... | Add some comments
| agent/src/main/java/nu/studer/teamcity/buildscan/agent/BuildScanServiceMessageInjector.java | Add some comments | <ide><path>gent/src/main/java/nu/studer/teamcity/buildscan/agent/BuildScanServiceMessageInjector.java
<ide> }
<ide>
<ide> private MavenExtensions getMavenExtensions(BuildRunnerContext runner) {
<add> String checkoutDirParam = getOptionalRunnerParam("teamcity.build.checkoutDir", runner);
<ide> St... | |
Java | apache-2.0 | 3ac7d90e76ee06ebc9b8f92bfd7747d9598e62e8 | 0 | Shan1024/carbon-uuf,this/carbon-uuf,manuranga/carbon-uuf,manuranga/carbon-uuf,wso2/carbon-uuf,wso2/carbon-uuf,Shan1024/carbon-uuf,this/carbon-uuf,rasika90/carbon-uuf,this/carbon-uuf,sajithar/carbon-uuf,manuranga/carbon-uuf,sajithar/carbon-uuf,wso2/carbon-uuf,rasika90/carbon-uuf,Shan1024/carbon-uuf,manuranga/carbon-uuf,... | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | uuf-renderablecreator-hbs/src/main/java/org/wso2/carbon/uuf/renderablecreator/hbs/renderable/HbsLayoutRenderable.java | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | changed HbsLayoutRenderable class accordingly to AbstractRenderable class
| uuf-renderablecreator-hbs/src/main/java/org/wso2/carbon/uuf/renderablecreator/hbs/renderable/HbsLayoutRenderable.java | changed HbsLayoutRenderable class accordingly to AbstractRenderable class | <ide><path>uf-renderablecreator-hbs/src/main/java/org/wso2/carbon/uuf/renderablecreator/hbs/renderable/HbsLayoutRenderable.java
<ide> package org.wso2.carbon.uuf.renderablecreator.hbs.renderable;
<ide>
<ide> import com.github.jknack.handlebars.Context;
<add>import com.github.jknack.handlebars.Template;
<ide> import co... | |
Java | apache-2.0 | 35490df55c510bb0c477eeb80e699eeeb9204d86 | 0 | NarutoActor/Conway-Game-of-Life | import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.border.TitledBorder;
public class GoL extends JFrame{
JPanel p1 = new JPanel(new BorderLayout());
JPanel p2 = new JPanel(new GridLayout(32,32));//Table Panel
//JPanel p3 = new JPanel()... | src/GoL.java | import java.awt.*;
import javax.swing.*;
public class GoL extends JFrame{
JPanel p1 = new JPanel(new BorderLayout());
JPanel p2 = new JPanel(new GridLayout(16,16));//Table Panel
//JPanel p3 = new JPanel();//Tool Panel
JPanel p4 = new JPanel();//Signiture
JPanel p5 = new JPanel(new GridLayout(2,1));//PreMade Set
JPan... | Update GoL.java | src/GoL.java | Update GoL.java | <ide><path>rc/GoL.java
<ide> import java.awt.*;
<add>import java.awt.event.ActionEvent;
<add>import java.awt.event.ActionListener;
<ide>
<ide> import javax.swing.*;
<add>import javax.swing.border.TitledBorder;
<ide>
<ide>
<ide> public class GoL extends JFrame{
<ide> JPanel p1 = new JPanel(new BorderLayout());
<del>J... | |
Java | apache-2.0 | 64a358e1f50f869db69d6dc6ed7e84ca12383930 | 0 | jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb | /*******************************************************************************
*
* Copyright (C) 2015-2017 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | src/main/java/org/bboxdb/distribution/mode/DistributionRegionState.java | /*******************************************************************************
*
* Copyright (C) 2015-2017 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | Added merge states | src/main/java/org/bboxdb/distribution/mode/DistributionRegionState.java | Added merge states | <ide><path>rc/main/java/org/bboxdb/distribution/mode/DistributionRegionState.java
<ide> ACTIVE("active"),
<ide> ACTIVE_FULL("active-full"),
<ide> SPLITTING("splitting"),
<del> SPLIT("split");
<add> SPLIT("split"),
<add> SPLIT_MERGING("split-merging"),
<add> MERGING("merging");
<ide>
<ide> /**
<ide> * The string ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.