lang stringclasses 1
value | license stringclasses 13
values | stderr stringlengths 0 350 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 7 45.1k | new_contents stringlengths 0 1.87M | new_file stringlengths 6 292 | old_contents stringlengths 0 1.87M | message stringlengths 6 9.26k | old_file stringlengths 6 292 | subject stringlengths 0 4.45k |
|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 3c1d58c6e3626a5613be812a807bbd7a00b29ff4 | 0 | davido/gerrit-reviewers-plugin,GerritCodeReview/plugins_reviewers,GerritCodeReview/plugins_reviewers,davido/gerrit-reviewers-plugin,GerritCodeReview/plugins_reviewers | // Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | src/main/java/com/googlesource/gerrit/plugins/reviewers/PutReviewers.java | // Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | PutReviewers: Simplify exception handling
Change-Id: I237cb46eab75eca3998f3a232260939ce1e4ae25
| src/main/java/com/googlesource/gerrit/plugins/reviewers/PutReviewers.java | PutReviewers: Simplify exception handling | |
Java | apache-2.0 | 5cd73ce7f1a3b8bafc36454f01b22f3692010ec0 | 0 | IHTSDO/rf2-to-rf1-conversion,IHTSDO/rf2-to-rf1-conversion | package org.ihtsdo.snomed.rf2torf1conversion;
import static org.ihtsdo.snomed.rf2torf1conversion.GlobalUtils.*;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import ja... | src/main/java/org/ihtsdo/snomed/rf2torf1conversion/ConversionManager.java | package org.ihtsdo.snomed.rf2torf1conversion;
import static org.ihtsdo.snomed.rf2torf1conversion.GlobalUtils.*;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import ja... | Only include laterality ids if previous RF1 file is present
| src/main/java/org/ihtsdo/snomed/rf2torf1conversion/ConversionManager.java | Only include laterality ids if previous RF1 file is present | |
Java | apache-2.0 | c6ad2b958748719bcbe6afb3d175f9a96d15541c | 0 | TomasHofman/undertow,msfm/undertow,amannm/undertow,wildfly-security-incubator/undertow,marschall/undertow,golovnin/undertow,marschall/undertow,n1hility/undertow,jstourac/undertow,yonglehou/undertow,soul2zimate/undertow,baranowb/undertow,baranowb/undertow,jasonchaffee/undertow,undertow-io/undertow,marschall/undertow,jam... | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | core/src/main/java/io/undertow/server/session/SessionListeners.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | Checkstyle
| core/src/main/java/io/undertow/server/session/SessionListeners.java | Checkstyle | |
Java | apache-2.0 | e91f61e57467867a4f4d45ed4b029a51ab343914 | 0 | hakeemsm/hadoop-ball,hakeemsm/hadoop-ball,hakeemsm/hadoop-ball | import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;... | OrphanPages.java | import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;... | orphan pages code
| OrphanPages.java | orphan pages code | |
Java | apache-2.0 | f16acafa213a2847c6ff65ea998c97a7008f996a | 0 | nihrom205/java-a-to-z,nihrom205/java-a-to-z | package ru.job4j.tree;
import java.util.ArrayList;
import java.util.List;
/**
* Class Node.
*
* @author Alexey Rastorguev (rastorguev00@gmail.com)
* @version 0.1
* @since 28.12.2017
*/
public class Node<E> {
private final List<Node<E>> children = new ArrayList<>();
private final E value;
public Nod... | chapter_005/src/main/java/ru/job4j/tree/Node.java | package ru.job4j.tree;
import java.util.ArrayList;
import java.util.List;
/**
* Class Node.
*
* @author Alexey Rastorguev (rastorguev00@gmail.com)
* @version 0.1
* @since 28.12.2017
*/
public class Node<E> {
private final List<Node<E>> children = new ArrayList<>();
private final E value;
public Nod... | modify Node, package tree.
| chapter_005/src/main/java/ru/job4j/tree/Node.java | modify Node, package tree. | |
Java | apache-2.0 | d0f70d4642c036b0fcb57d01d0a340878161801e | 0 | APriestman/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,APriestman/autopsy,rcordovano/autopsy,dgrove727/autopsy,APriestman/autopsy,millmanorama/autopsy,esaunders/autopsy,wschaeferB/autopsy,millmanorama/autopsy,narfindustries/autopsy,wschaeferB/autopsy,millmanorama/autopsy,APriestman/autopsy,APriestm... | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2015 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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
*
* h... | Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2015 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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
*
* h... | Made HashsetHits class thread safe
| Core/src/org/sleuthkit/autopsy/datamodel/HashsetHits.java | Made HashsetHits class thread safe | |
Java | apache-2.0 | 56cc28fca32c75e57ffd6f33de2cca9dc08600bf | 0 | usc-isi-i2/dig-similarity | package edu.isi.dig.elasticsearch;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JSONSerializer;
imp... | ds/src/main/java/edu/isi/dig/elasticsearch/ElasticSearchHandler.java | package edu.isi.dig.elasticsearch;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JSONSerializer;
imp... | check for the case where there is only one image in the hasImagePart object
| ds/src/main/java/edu/isi/dig/elasticsearch/ElasticSearchHandler.java | check for the case where there is only one image in the hasImagePart object | |
Java | apache-2.0 | e09404181f64f8638a0dd0dab5daea8b3abab83a | 0 | allotria/intellij-community,mglukhikh/intellij-community,idea4bsd/idea4bsd,FHannes/intellij-community,youdonghai/intellij-community,allotria/intellij-community,allotria/intellij-community,semonte/intellij-community,hurricup/intellij-community,apixandru/intellij-community,xfournet/intellij-community,idea4bsd/idea4bsd,al... | /*
* 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/platform-api/src/com/intellij/ui/components/JBViewport.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... | PY-18440 Python consoles with scrollbar constantly twitching on repaint (quickfix with diff support)
| platform/platform-api/src/com/intellij/ui/components/JBViewport.java | PY-18440 Python consoles with scrollbar constantly twitching on repaint (quickfix with diff support) | |
Java | apache-2.0 | 095c10a12efd198fb526b1150c7fe6d1a050fc5c | 0 | 3dcitydb/importer-exporter,3dcitydb/importer-exporter,3dcitydb/importer-exporter | /*
* 3D City Database - The Open Source CityGML Database
* http://www.3dcitydb.org/
*
* Copyright 2013 - 2019
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.gis.bgu.tum.de/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* virtual... | impexp-client/src/main/java/org/citydb/cli/ImpExpCli.java | /*
* 3D City Database - The Open Source CityGML Database
* http://www.3dcitydb.org/
*
* Copyright 2013 - 2019
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.gis.bgu.tum.de/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* virtual... | set exit code for CLI
| impexp-client/src/main/java/org/citydb/cli/ImpExpCli.java | set exit code for CLI | |
Java | apache-2.0 | 288670b774c2fb58bc7a98ea25e0fd54e228d360 | 0 | alien11689/aries,rotty3000/aries,apache/aries,rotty3000/aries,graben/aries,apache/aries,apache/aries,graben/aries,alien11689/aries,rotty3000/aries,apache/aries,alien11689/aries,alien11689/aries,rotty3000/aries,graben/aries,graben/aries | /*
* 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 ... | application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.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 ... | ARIES-557: Correcting swapped parameters in message.
git-svn-id: f3027bd689517dd712b868b0d3f5f59c3162b83d@1063708 13f79535-47bb-0310-9956-ffa450edef68
| application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java | ARIES-557: Correcting swapped parameters in message. | |
Java | apache-2.0 | 4670d75c4e17340951e3fbdbf0199d7ae7ad8f42 | 0 | smallmiro/nbasearc-spring-boot-starter | /*
* Copyright 2010-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | nbasearc-spring-boot-autoconfigure/src/main/java/com/navercorp/redis/cluster/spring/NBaseArcAutoConfiguration.java | /*
* Copyright 2010-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | Modify conditional
| nbasearc-spring-boot-autoconfigure/src/main/java/com/navercorp/redis/cluster/spring/NBaseArcAutoConfiguration.java | Modify conditional | |
Java | apache-2.0 | a1ec456bc4375108c60fc38130cda042ead8e453 | 0 | auricgoldfinger/cgeo,superspindel/cgeo,superspindel/cgeo,auricgoldfinger/cgeo,cgeo/cgeo,matej116/cgeo,rsudev/c-geo-opensource,matej116/cgeo,S-Bartfast/cgeo,rsudev/c-geo-opensource,Bananeweizen/cgeo,cgeo/cgeo,mucek4/cgeo,mucek4/cgeo,S-Bartfast/cgeo,mucek4/cgeo,auricgoldfinger/cgeo,tobiasge/cgeo,pstorch/cgeo,pstorch/cgeo... | package cgeo.geocaching.utils;
import cgeo.geocaching.CgeoApplication;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.support.annotation.StringRes;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
/**
* Handler with a d... | main/src/cgeo/geocaching/utils/DisposableHandler.java | package cgeo.geocaching.utils;
import cgeo.geocaching.CgeoApplication;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.support.annotation.StringRes;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
/**
* Handler with a d... | Add explanations
| main/src/cgeo/geocaching/utils/DisposableHandler.java | Add explanations | |
Java | artistic-2.0 | 570a9fe52f703bc6b324a7cb40c3c4c2b7b42ba0 | 0 | jdownloader-mirror/appwork-utils | /**
* Copyright (c) 2009 - 2011 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org>
*
* This file is part of org.appwork.utils.net.ftpserver
*
* This software is licensed under the Artistic License 2.0,
* see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php
* for details
*/
pack... | src/org/appwork/utils/net/ftpserver/FtpConnection.java | /**
* Copyright (c) 2009 - 2011 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org>
*
* This file is part of org.appwork.utils.net.ftpserver
*
* This software is licensed under the Artistic License 2.0,
* see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php
* for details
*/
pack... | FtpConnection: added readtimeout
| src/org/appwork/utils/net/ftpserver/FtpConnection.java | FtpConnection: added readtimeout | |
Java | bsd-2-clause | c5d3e6290a7f5891a15d6cf206ac3a45e36377b2 | 0 | malensek/sing | package io.sigpipe.sing.stat;
import java.util.List;
import org.apache.commons.math3.util.FastMath;
import io.sigpipe.sing.dataset.feature.Feature;
public class SquaredError {
private RunningStatistics sqErrs = new RunningStatistics();
private RunningStatistics actualStats = new RunningStatistics();
pr... | src/main/java/io/sigpipe/sing/stat/SquaredError.java | package io.sigpipe.sing.stat;
import java.util.List;
import org.apache.commons.math3.util.FastMath;
import io.sigpipe.sing.dataset.feature.Feature;
public class SquaredError {
private RunningStatistics sqErrs = new RunningStatistics();
private RunningStatistics actualStats = new RunningStatistics();
pr... | Consolidate put() methods
| src/main/java/io/sigpipe/sing/stat/SquaredError.java | Consolidate put() methods | |
Java | mit | 05efd3d1449b1ded01ecdc22e94953a743a08a59 | 0 | jchambers/jvptree,jchambers/jvptree | package com.eatthepath.jvptree;
class PartitionException extends Exception {
private static final long serialVersionUID = 1L;
}
| src/main/java/com/eatthepath/jvptree/PartitionException.java | package com.eatthepath.jvptree;
class PartitionException extends Exception {
}
| Added a `serialVersionUID` to suppress a warning.
| src/main/java/com/eatthepath/jvptree/PartitionException.java | Added a `serialVersionUID` to suppress a warning. | |
Java | mit | e6d13cbc2f6a03bfc88d63cfaa983f1026ab3eb6 | 0 | SettRaziel/java_visualization | package data.factory;
import data.DataType;
import data.entity.DataDomain;
import data.entity.MetaData;
import data.entity.datanumber.DataDate;
import data.entity.datanumber.DataDouble;
import data.entity.datanumber.DataInteger;
import exception.MetaDataException;
import java.time.LocalDate;
import java.time.format.D... | src/data/factory/MetaDataFactory.java | package data.factory;
import data.DataType;
import data.entity.DataDomain;
import data.entity.MetaData;
import data.entity.datanumber.DataDate;
import data.entity.datanumber.DataDouble;
import data.entity.datanumber.DataInteger;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.A... | adjusted error Handling
- replaced Exceptions by MetaDataException
- added error handling when creating DataTypes
| src/data/factory/MetaDataFactory.java | adjusted error Handling - replaced Exceptions by MetaDataException - added error handling when creating DataTypes | |
Java | mit | 4cd62867919f904155b788a2e53ae135b33b1493 | 0 | EcoGame/Eco,EcoGame/Eco | package eco.game;
import java.util.Random;
public class SplashText {
private static String[] splashes;
private static String splash = "";
static{
splashes = new String[]{
"95% Stable",
"Thousands of bugs!",
"Artifical but not intelligent",
"java.lang.nullPointerException: splash not found. ... | src/eco/game/SplashText.java | package eco.game;
import java.util.Random;
public class SplashText {
private static String[] splashes;
private static String splash = "";
static{
splashes = new String[]{
"95% Stable",
"Thousands of bugs!",
"Artifical but not intelligent",
"java.lang.nullPointerException: splash not found. ... | Update SplashText.java | src/eco/game/SplashText.java | Update SplashText.java | |
Java | mit | 221a61f7d89e64e8a6a84ebaaf8ebc1b5a72f232 | 0 | xu6148152/binea_project_for_android,xu6148152/binea_project_for_android,xu6148152/binea_project_for_android,xu6148152/binea_project_for_android,xu6148152/binea_project_for_android | package com.example.android.bluetoothchat;
import android.bluetooth.BluetoothSocket;
import android.util.Log;
import com._94fifty.device.BluetoothDeviceBridgeFactory;
import com._94fifty.device.DeviceBridge;
import com._94fifty.model.request.AbstractRequest;
import com._94fifty.model.response.AbstractResponse;
import ... | BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/BasketDataDelegate.java | package com.example.android.bluetoothchat;
import android.bluetooth.BluetoothSocket;
import android.util.Log;
import com._94fifty.device.BluetoothDeviceBridgeFactory;
import com._94fifty.device.DeviceBridge;
import com._94fifty.model.request.AbstractRequest;
import com._94fifty.model.response.AbstractResponse;
import ... | update
| BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/BasketDataDelegate.java | update | |
Java | mit | 679c019a768c76a021244f2051b70c6540cf0c4a | 0 | jenkinsci/tasks-plugin,amuniz/tasks-plugin,fargies/jenkins-valgrind-plugin,fargies/jenkins-valgrind-plugin,amuniz/tasks-plugin,jenkinsci/tasks-plugin,fargies/jenkins-valgrind-plugin,jenkinsci/tasks-plugin,amuniz/tasks-plugin | package hudson.plugins.tasks.util;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Action;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.kohsuke.stapler.Ancestor;
import org.k... | src/main/java/hudson/plugins/tasks/util/AbstractProjectAction.java | package hudson.plugins.tasks.util;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Action;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.kohsuke.stapler.Ancestor;
import org.k... | 1468: Fixed. Don't use a build for trend reporting, if the build is still not finished.
| src/main/java/hudson/plugins/tasks/util/AbstractProjectAction.java | 1468: Fixed. Don't use a build for trend reporting, if the build is still not finished. | |
Java | mit | d15972bb49b10691ee3b878ab0dc699d397cf557 | 0 | domisum/AuxiliumLib | package de.domisum.lib.auxilium.util.ticker;
import de.domisum.lib.auxilium.display.DurationDisplay;
import de.domisum.lib.auxilium.util.java.ThreadUtil;
import de.domisum.lib.auxilium.util.java.annotations.API;
import de.domisum.lib.auxilium.util.time.DurationUtil;
import lombok.Getter;
import org.apache.commons.lang... | src/main/java/de/domisum/lib/auxilium/util/ticker/Ticker.java | package de.domisum.lib.auxilium.util.ticker;
import de.domisum.lib.auxilium.display.DurationDisplay;
import de.domisum.lib.auxilium.util.java.ThreadUtil;
import de.domisum.lib.auxilium.util.java.annotations.API;
import de.domisum.lib.auxilium.util.time.DurationUtil;
import lombok.Getter;
import org.apache.commons.lang... | Removed ticker stop error message
| src/main/java/de/domisum/lib/auxilium/util/ticker/Ticker.java | Removed ticker stop error message | |
Java | mit | 5a5295b7cc7835e747b0b4a0269c0bb03ee2e598 | 0 | Eddyosos/integracao201701 | package com.github.Eddyosos.integracao20171.esus.cds.consumoalimentar;
import br.gov.saude.esus.cds.transport.generated.thrift.common.UnicaLotacaoHeaderThrift;
import br.gov.saude.esus.cds.transport.generated.thrift.consumoalimentar.FichaConsumoAlimentarThrift;
import br.gov.saude.esus.cds.transport.generated.thrift.c... | src/main/java/com/github/Eddyosos/integracao20171/esus/cds/consumoalimentar/FichaConsumoAlimentar.java | package com.github.Eddyosos.integracao20171.esus.cds.consumoalimentar;
import br.gov.saude.esus.cds.transport.generated.thrift.common.UnicaLotacaoHeaderThrift;
import br.gov.saude.esus.cds.transport.generated.thrift.consumoalimentar.FichaConsumoAlimentarThrift;
import br.gov.saude.esus.cds.transport.generated.thrift.c... | Modificações nos arquivos java
Modificações em FichaConsumoAlimentar.java, PerguntaQuestionarioCriancasMenoresSeisMeses.java, PerguntaQuestionarioCriancasComMaisDoisAnos.java, PerguntaQuestionarioCriancasDeSeisVinteTresMeses.java encapsulamento | src/main/java/com/github/Eddyosos/integracao20171/esus/cds/consumoalimentar/FichaConsumoAlimentar.java | Modificações nos arquivos java | |
Java | mit | a5541f0b471c4ebf8d112345bef76b13ebdb6e54 | 0 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | package leetcode;
import java.util.HashMap;
import java.util.Map;
/**
* https://leetcode.com/problems/guess-number-higher-or-lower-ii/
*/
public class Problem375 {
public int getMoneyAmount(int n) {
return getMoneyAmount(n, 1, n, new HashMap<>());
}
private static int getMoneyAmount(int n, int ... | src/main/java/leetcode/Problem375.java | package leetcode;
/**
* https://leetcode.com/problems/guess-number-higher-or-lower-ii/
*/
public class Problem375 {
public int getMoneyAmount(int n) {
// TODO
return 0;
}
public static void main(String[] args) {
Problem375 prob = new Problem375();
System.out.println(prob.... | Solve problem 375
| src/main/java/leetcode/Problem375.java | Solve problem 375 | |
Java | mit | 7c327a9662aed2df70259dc5e907b770ce65214f | 0 | curiosone-bot/curiosone-core | package com.github.bot.curiosone.core.knowledge;
import java.util.List;
import java.util.Objects;
/**
* Handles interrogations to the SemanticNetwork.
* Provides methods to create and manage an interrogation.
*/
public class SemanticQuery {
/**
* Stores the SemanticRelationType of this interrogation.
*/
... | src/main/java/com/github/bot/curiosone/core/knowledge/SemanticQuery.java | package com.github.bot.curiosone.core.knowledge;
import java.util.List;
import java.util.Objects;
/**
* Resumes a semantic query parameters.
*
*/
public class SemanticQuery {
private SemanticRelationType relation;
private String subject;
private String object;
private List<String> objAdjectives;
... | add SemanticQuery javadoc
| src/main/java/com/github/bot/curiosone/core/knowledge/SemanticQuery.java | add SemanticQuery javadoc | |
Java | agpl-3.0 | d556330e26f9817ad920510469b547220193224f | 0 | openEHR/adl2-core,bjornna/adl2-core,lonangel/adl2-core | /*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
... | adl-parser/src/main/java/org/openehr/adl/serializer/DAdlSerializer.java | /*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
... | Remove items from ConstraintBindingSet and TermBindingSet
| adl-parser/src/main/java/org/openehr/adl/serializer/DAdlSerializer.java | Remove items from ConstraintBindingSet and TermBindingSet | |
Java | agpl-3.0 | 0d59856df29fa2c2b09e1ce11a101829722cd04d | 0 | genepi/imputationserver | package genepi.imputationserver.steps.qc;
import genepi.hadoop.CacheStore;
import genepi.hadoop.HdfsUtil;
import genepi.hadoop.ParameterStore;
import genepi.hadoop.PreferenceStore;
import genepi.hadoop.io.HdfsLineWriter;
import genepi.imputationserver.steps.vcf.VcfChunk;
import genepi.imputationserver.util.Chi... | src/main/java/genepi/imputationserver/steps/qc/QualityControlMapper.java | package genepi.imputationserver.steps.qc;
import genepi.hadoop.CacheStore;
import genepi.hadoop.HdfsUtil;
import genepi.hadoop.ParameterStore;
import genepi.hadoop.PreferenceStore;
import genepi.hadoop.io.HdfsLineWriter;
import genepi.imputationserver.steps.vcf.VcfChunk;
import genepi.imputationserver.util.Chi... | Updated QC mapper. | src/main/java/genepi/imputationserver/steps/qc/QualityControlMapper.java | Updated QC mapper. | |
Java | agpl-3.0 | a298880073075b596a6f010c738d2fba3be48412 | 0 | CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceeng... | package com.splicemachine.derby.impl.sql.execute.operations;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.RemovalListener;
import com.google.common.cache.RemovalNotification;
import com.google.common.collect.Iterators;
import com.splicemachine.derby.... | structured_derby/src/main/java/com/splicemachine/derby/impl/sql/execute/operations/BroadcastJoinOperation.java | package com.splicemachine.derby.impl.sql.execute.operations;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.RemovalListener;
import com.google.common.cache.RemovalNotification;
import com.google.common.collect.Iterators;
import com.splicemachine.derby.... | Fixed unique sequence ID string creation in log message
| structured_derby/src/main/java/com/splicemachine/derby/impl/sql/execute/operations/BroadcastJoinOperation.java | Fixed unique sequence ID string creation in log message | |
Java | apache-2.0 | b9ad799140a4afd00523cb8605db152d78896360 | 0 | gbif/occurrence,gbif/occurrence,gbif/occurrence | package org.gbif.occurrence.search.es;
import org.gbif.api.model.common.search.SearchConstants;
import org.gbif.api.model.occurrence.search.OccurrenceSearchParameter;
import org.gbif.api.model.occurrence.search.OccurrenceSearchRequest;
import org.gbif.api.util.VocabularyUtils;
import org.gbif.api.vocabulary.Country;
... | occurrence-search/src/main/java/org/gbif/occurrence/search/es/EsSearchRequestBuilder.java | package org.gbif.occurrence.search.es;
import org.gbif.api.model.common.search.SearchConstants;
import org.gbif.api.model.occurrence.search.OccurrenceSearchParameter;
import org.gbif.api.model.occurrence.search.OccurrenceSearchRequest;
import org.gbif.api.util.VocabularyUtils;
import org.gbif.api.vocabulary.Country;
... | updated default shard size for ES aggs to improve accuracy in results
| occurrence-search/src/main/java/org/gbif/occurrence/search/es/EsSearchRequestBuilder.java | updated default shard size for ES aggs to improve accuracy in results | |
Java | apache-2.0 | e0d876963ce1161ae6946ef05964d2dd90e5a415 | 0 | socialsensor/socialsensor-stream-manager,MKLab-ITI/mklab-stream-manager,socialsensor/socialsensor-stream-manager,socialsensor/socialsensor-stream-manager | package eu.socialsensor.sfc.streams.store;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.HttpSolrServer;
import eu.socialsensor.framework.client.search.solr.... | src/main/java/eu/socialsensor/sfc/streams/store/SolrStorage.java | package eu.socialsensor.sfc.streams.store;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.HttpSolrServer;
import eu.socialsensor.framework.client.search.solr.... | changes to store specifically facebook and twitter messages in solr | src/main/java/eu/socialsensor/sfc/streams/store/SolrStorage.java | changes to store specifically facebook and twitter messages in solr | |
Java | apache-2.0 | 1fdda939043e798e16101a313e9e44647cca9dec | 0 | soujava/Camel-Pax-Exam-Demo,ANierbeck/Camel-Pax-Exam-Demo | package de.nierbeck.camel.exam.demo.control.route;
import static org.ops4j.pax.exam.CoreOptions.maven;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
import static org.ops4j.pax.exam.CoreOptions.streamBundle;
import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.features;
import stati... | route-control/src/test/java/de/nierbeck/camel/exam/demo/control/route/KarafRoutingTest.java | package de.nierbeck.camel.exam.demo.control.route;
import static org.ops4j.pax.exam.CoreOptions.maven;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
import static org.ops4j.pax.exam.CoreOptions.streamBundle;
import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.features;
import stati... | reduced loglevel to warn | route-control/src/test/java/de/nierbeck/camel/exam/demo/control/route/KarafRoutingTest.java | reduced loglevel to warn | |
Java | apache-2.0 | 971f301f647b7167a0124e78e0ed213eef731579 | 0 | vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence | package com.vladmihalcea.book.hpjp.hibernate.flushing;
import org.hibernate.FlushMode;
import org.hibernate.Session;
import org.hibernate.query.Query;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* @author Vlad Mihalcea
*/
public class HibernateAutoFlushTest exte... | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/flushing/HibernateAutoFlushTest.java | package com.vladmihalcea.book.hpjp.hibernate.flushing;
import org.hibernate.FlushMode;
import org.hibernate.Session;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* @author Vlad Mihalcea
*/
public class HibernateAutoFlushTest extends JPAAutoFlushTest {
@Overr... | Add more Hibernate ALWAYS flush mode examples
| core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/flushing/HibernateAutoFlushTest.java | Add more Hibernate ALWAYS flush mode examples | |
Java | apache-2.0 | f7cae576680c3456867f1685c433091df00fc752 | 0 | kuali/rice-playground,ricepanda/rice-git2,ricepanda/rice-git2,ricepanda/rice-git3,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git2,ricepanda/rice-git2 | /**
* Copyright 2005-2013 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | rice-framework/krad-it/src/test/java/edu.sampleu.travel.dataobject/TravelDestinationTest.java | /**
* Copyright 2005-2013 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | [KULRICE-11006] Advanced Lookup Demo - trans doc form & view. Updated to reflect removal of docTypeCode from primary destination.
git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@42474 7a7aa7f6-c479-11dc-97e2-85a2497f191d
| rice-framework/krad-it/src/test/java/edu.sampleu.travel.dataobject/TravelDestinationTest.java | [KULRICE-11006] Advanced Lookup Demo - trans doc form & view. Updated to reflect removal of docTypeCode from primary destination. | |
Java | apache-2.0 | 70b2bb5b0db30e8bc6a2bcf5be0ad4c9b25ac257 | 0 | webdsl/webdsl,webdsl/webdsl,webdsl/webdsl,webdsl/webdsl | package org.webdsl.tools.strategoxt;
import java.io.IOException;
import java.io.InputStream;
import org.spoofax.interpreter.adapter.aterm.WrappedATermFactory;
import org.spoofax.interpreter.core.InterpreterException;
import org.spoofax.jsglr.InvalidParseTableException;
import org.spoofax.jsglr.ParseTable;
import org.... | java-runtime/src/org/webdsl/tools/strategoxt/Environment.java | package org.webdsl.tools.strategoxt;
import java.io.IOException;
import java.io.InputStream;
import org.spoofax.interpreter.adapter.aterm.WrappedATermFactory;
import org.spoofax.interpreter.core.InterpreterException;
import org.spoofax.jsglr.InvalidParseTableException;
import org.spoofax.jsglr.ParseTable;
import org.... | Made the Environment class public for use by the backend
svn path=/webdsls/trunk/; revision=4105
| java-runtime/src/org/webdsl/tools/strategoxt/Environment.java | Made the Environment class public for use by the backend | |
Java | apache-2.0 | 9bb6f56902a7b8661207014018b611856bb9776d | 0 | apache/jackrabbit-oak,mreutegg/jackrabbit-oak,trekawek/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit... | /*
* 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 ... | oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/SizeDeltaGcEstimation.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 ... | OAK-4901 Improve SizeDeltaGcEstimation logging
- patch by Valentin Olteanu
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1764039 13f79535-47bb-0310-9956-ffa450edef68
| oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/SizeDeltaGcEstimation.java | OAK-4901 Improve SizeDeltaGcEstimation logging - patch by Valentin Olteanu | |
Java | apache-2.0 | e02261c763574ff9352dfe6aa58d051d1f569fb2 | 0 | mpi2/PhenotypeArchive,mpi2/PhenotypeArchive,mpi2/PhenotypeArchive | package uk.ac.ebi.phenotype.solr.indexer;
import org.apache.commons.lang3.StringUtils;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import ... | src/main/java/uk/ac/ebi/phenotype/solr/indexer/ObservationIndexer.java | package uk.ac.ebi.phenotype.solr.indexer;
import org.apache.commons.lang3.StringUtils;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import ... | only override the biological if the correct one isn't found not set already
| src/main/java/uk/ac/ebi/phenotype/solr/indexer/ObservationIndexer.java | only override the biological if the correct one isn't found not set already | |
Java | apache-2.0 | c26f443cb830167cecfafc49e853c5bbf95dbaaf | 0 | marverenic/Jockey,marverenic/Jockey | package com.marverenic.music.fragments;
import android.app.ActionBar;
import android.content.Context;
import android.media.audiofx.Equalizer;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.widget.Swit... | app/src/main/java/com/marverenic/music/fragments/EqualizerFragment.java | package com.marverenic.music.fragments;
import android.app.ActionBar;
import android.content.Context;
import android.media.audiofx.Equalizer;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.widget.Swit... | Use injected PlayerController on equalizer settings page
| app/src/main/java/com/marverenic/music/fragments/EqualizerFragment.java | Use injected PlayerController on equalizer settings page | |
Java | apache-2.0 | b35ffb306d3cf972c500d746fd313879e57debce | 0 | tanrabad/survey,nectec-wisru/android-TanlabadSurvey,nectec-wisru/android-TanrabadSurvey | /*
* Copyright (c) 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | app/src/main/java/org/tanrabad/survey/presenter/CheckVersionThread.java | /*
* Copyright (c) 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | skip check version if not response
| app/src/main/java/org/tanrabad/survey/presenter/CheckVersionThread.java | skip check version if not response | |
Java | apache-2.0 | 001609d171d7dda3735bd71ce5670492e06baf4d | 0 | springfox/springfox,springfox/springfox,springfox/springfox,springfox/springfox | /*
*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelDependencyProvider.java | /*
*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | Added support for resolving Map types specifically
Because HashMaps do not have getters/setters that determine key or value types, and since closed generic types do not have type parameters, this lead to the bug that certain types in nested Map types would not show up in the model definitions.
(2203)
| springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelDependencyProvider.java | Added support for resolving Map types specifically | |
Java | apache-2.0 | e940c09fcf73fd68cb5f3a715362a481ef7cbb2f | 0 | material-components/material-components-android | /*
* Copyright 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | catalog/java/io/material/catalog/tabs/TabsControllableDemoFragment.java | /*
* Copyright 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | [Catalog] Fix the wrong use of FragmentManager in TabsControllableDemoFragment
Resolves https://github.com/material-components/material-components-android/issues/1553
Resolves https://github.com/material-components/material-components-android/pull/1554
GIT_ORIGIN_REV_ID=4c7c1ab154892c665b4a67215a88e781da218ab6
PiperO... | catalog/java/io/material/catalog/tabs/TabsControllableDemoFragment.java | [Catalog] Fix the wrong use of FragmentManager in TabsControllableDemoFragment | |
Java | apache-2.0 | 4bd6caa372999a85a17781b2e3dd1446de0092ba | 0 | akrherz/Openfire,GregDThomas/Openfire,GregDThomas/Openfire,Gugli/Openfire,akrherz/Openfire,speedy01/Openfire,igniterealtime/Openfire,GregDThomas/Openfire,guusdk/Openfire,GregDThomas/Openfire,speedy01/Openfire,magnetsystems/message-openfire,akrherz/Openfire,igniterealtime/Openfire,speedy01/Openfire,igniterealtime/Openfi... | /**
* $Revision$
* $Date$
*
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire.gateway.protocols.yahoo;
import org.jivesoftware.util.Lo... | src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/protocols/yahoo/YahooTransport.java | /**
* $Revision$
* $Date$
*
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire.gateway.protocols.yahoo;
import org.jivesoftware.util.Lo... | [GATE-157] Added ability to have yahoo usernames with .'s in them.
git-svn-id: 4206c2c2bb40b5782672a0d03c2c381094954de9@7348 b35dd754-fafc-0310-a699-88a17e54d16e
| src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/protocols/yahoo/YahooTransport.java | [GATE-157] Added ability to have yahoo usernames with .'s in them. | |
Java | apache-2.0 | 8c4f970e6efc93679db125a9adafcfb7a3fa7984 | 0 | OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,halober/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxin... | package org.ovirt.engine.core.bll.snapshots;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.bll.ImagesHandler;
import org.ovirt.engine.core.bll.context.CompensationContext;
import org.ovirt.engine... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java | package org.ovirt.engine.core.bll.snapshots;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.bll.ImagesHandler;
import org.ovirt.engine.core.bll.context.CompensationContext;
import org.ovirt.engine... | core: Remove unused SnapshotManager.getVmDao()
Change-Id: I5f65b591abef6b3581ed483f9f240e5f37d1e86c
Signed-off-by: Allon Mureinik <abc9ddaceaf0c059a5d9bc2aed71f25cb5370dba@redhat.com>
| backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java | core: Remove unused SnapshotManager.getVmDao() | |
Java | apache-2.0 | 558465a21ba29e079279bbbb872ea96d6ea7b3a4 | 0 | camac/XPagesPhoneNumberControl | package com.gregorbyte.xsp.converter;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import com.google.i18n.phonenumbers.NumberParseException;
import co... | com.gregorbyte.xsp.phonenumber.nsf/Code/Java/com/gregorbyte/xsp/converter/PhoneNumberConverter.java | package com.gregorbyte.xsp.converter;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import com.google.i18n.phonenumbers.NumberParseException;
import co... | Added Default Country Code parameter to PhoneNumberConverter java class
| com.gregorbyte.xsp.phonenumber.nsf/Code/Java/com/gregorbyte/xsp/converter/PhoneNumberConverter.java | Added Default Country Code parameter to PhoneNumberConverter java class | |
Java | apache-2.0 | c500c357250a00318b7359a139719c7773391391 | 0 | klehmann/domino-jna | package com.mindoo.domino.jna.utils;
import com.mindoo.domino.jna.NotesDatabase;
import com.mindoo.domino.jna.NotesDateRange;
import com.mindoo.domino.jna.NotesTimeDate;
import com.mindoo.domino.jna.errors.NotesError;
import com.mindoo.domino.jna.errors.NotesErrorUtils;
import com.mindoo.domino.jna.gc.IAllocatedMemory... | domino-jna/src/main/java/com/mindoo/domino/jna/utils/NotesOOOUtils.java | package com.mindoo.domino.jna.utils;
import com.mindoo.domino.jna.NotesDatabase;
import com.mindoo.domino.jna.NotesDateRange;
import com.mindoo.domino.jna.NotesTimeDate;
import com.mindoo.domino.jna.errors.NotesError;
import com.mindoo.domino.jna.errors.NotesErrorUtils;
import com.mindoo.domino.jna.gc.IAllocatedMemory... | Added OOO method setExcludeInternet(boolean exclude) | domino-jna/src/main/java/com/mindoo/domino/jna/utils/NotesOOOUtils.java | Added OOO method setExcludeInternet(boolean exclude) | |
Java | apache-2.0 | 24266544672bfd193ee254dd78a7bbcf290550c5 | 0 | eayun/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,... | package org.ovirt.engine.core.bll.eventqueue;
import java.util.LinkedList;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.Future;
import java.util.concurrent.FutureTask;
import java.util.c... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/eventqueue/EventQueueMonitor.java | package org.ovirt.engine.core.bll.eventqueue;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.Future;
import java.util.concurrent.Futu... | engine: Fixing possible ConcurrentModificationException at EventQueueMonitor
The following exception can ocurred during change of shared data for different pools.
Fixing it
Change-Id: I5898a7783ae8246de982c2c74b43352887026886
Signed-off-by: Michael Kublin <7d43f4c50dcd44f19082db8e5a698cd08294423a@redhat.com>
| backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/eventqueue/EventQueueMonitor.java | engine: Fixing possible ConcurrentModificationException at EventQueueMonitor | |
Java | apache-2.0 | 6637ad13043e2a3efbd0a1c18794823c19de1877 | 0 | baomidou/mybatis-plus,baomidou/mybatis-plus | package com.baomidou.mybatisplus.generator.config.querys;
/**
* <p>Oscar(神通数据库) 表数据查询</p>
*
* @author whli
* @version 1.0.0
* @since 2020/7/28 18:54
*/
public class OscarQuery extends AbstractDbQuery {
@Override
public String tablesSql() {
return "SELECT * FROM (SELECT " +
"a.TABLE_N... | mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java | package com.baomidou.mybatisplus.generator.config.querys;
/**
* <p></p>
*
* @author whli
* @version 1.0.0
* @since 2020/7/28 18:54
*/
public class OscarQuery extends AbstractDbQuery {
@Override
public String tablesSql() {
return "SELECT " +
"a.TABLE_NAME, " +
"b.COMMENTS ... | 修复Oscar(神通数据库)生成错误.
| mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/OscarQuery.java | 修复Oscar(神通数据库)生成错误. | |
Java | apache-2.0 | 24d70beda4579ddc2989829c92a7cdbfe7e8c32f | 0 | rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny | package org.rabix.tests;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
impo... | rabix-integration-testing/src/main/java/org/rabix/tests/TestRunner.java | package org.rabix.tests;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
impo... | Modification to ProcessBuilder in order to print stderr
| rabix-integration-testing/src/main/java/org/rabix/tests/TestRunner.java | Modification to ProcessBuilder in order to print stderr | |
Java | apache-2.0 | f882ee3b5cde4e0c3804668d110ccca08533b402 | 0 | tripodsan/jackrabbit,Kast0rTr0y/jackrabbit,bartosz-grabski/jackrabbit,tripodsan/jackrabbit,bartosz-grabski/jackrabbit,sdmcraft/jackrabbit,afilimonov/jackrabbit,SylvesterAbreu/jackrabbit,SylvesterAbreu/jackrabbit,bartosz-grabski/jackrabbit,Kast0rTr0y/jackrabbit,kigsmtua/jackrabbit,Overseas-Student-Living/jackrabbit,afil... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/ConnectionFactory.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | JCR-1305 JNDI data sources with BundleDbPersistenceManager: UnsupportedOperationException
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@613799 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/ConnectionFactory.java | JCR-1305 JNDI data sources with BundleDbPersistenceManager: UnsupportedOperationException | |
Java | apache-2.0 | c729469aed46349b927d4038e67ff4fb5fa8ebd2 | 0 | ansell/commons-rdf | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | COMMONSRDF-51: Use patterns for remove/contains
| api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java | COMMONSRDF-51: Use patterns for remove/contains | |
Java | apache-2.0 | 8e7469c931e14af010ee9beedd55b835884e0915 | 0 | eatnoodles/LineBotCC | package com.cc.service.impl;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ExecutionException;
import java.util.regex.Pattern;
import org.apache.commons.lang3.... | spring-boot-cc/src/main/java/com/cc/service/impl/NudoCCServiceImpl.java | package com.cc.service.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ExecutionException;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
imp... | encode
| spring-boot-cc/src/main/java/com/cc/service/impl/NudoCCServiceImpl.java | encode | |
Java | apache-2.0 | 0e3b623f6681429985b0d2f3ac025ed32b89346e | 0 | oplinkoms/onos,gkatsikas/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,oplinkoms/onos,gkatsikas/onos,gkatsikas/onos,gkatsikas/onos,oplinkoms/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,oplinkoms/onos,opennetworkinglab/onos,opennetworkinglab/onos,gkatsikas/onos,oplinkoms/onos,op... | /*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | core/store/dist/src/main/java/org/onosproject/store/mastership/impl/ConsistentDeviceMastershipStore.java | /*
* Copyright 2015-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Reduce the chance of apps triggering fake mastership events
The GeneralDeviceProvider works with device IDs with prefix "device:",
which is the same leadership topic prefix used by the Mastership
service. This caused an issue when any app was creating leadership
contests with topic deviceId.toString() (e.g. XConnectMa... | core/store/dist/src/main/java/org/onosproject/store/mastership/impl/ConsistentDeviceMastershipStore.java | Reduce the chance of apps triggering fake mastership events | |
Java | apache-2.0 | 6f104dfca25c1a31b49da86701a2c82f6a7b2ece | 0 | nengxu/OrientDB,vivosys/orientdb,vivosys/orientdb,nengxu/OrientDB,vivosys/orientdb,vivosys/orientdb,nengxu/OrientDB,nengxu/OrientDB | package com.orientechnologies.orient.test.database.speed;
import java.util.Set;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import com.orientechnologies.orient.core.db.graph.OGraphDatabase;
import com.ori... | tests/src/test/java/com/orientechnologies/orient/test/database/speed/GraphDatabaseSuperNodeSpeedTest.java | package com.orientechnologies.orient.test.database.speed;
import java.util.Set;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import com.orientechnologies.orient.core.db.graph.OGraphDatabase;
import com.o... | Updated test
git-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@4806 3625ad7b-9c83-922f-a72b-73d79161f2ea
| tests/src/test/java/com/orientechnologies/orient/test/database/speed/GraphDatabaseSuperNodeSpeedTest.java | Updated test | |
Java | apache-2.0 | 253e3f1b220d006b9c16ebb64ef1bb08d5961176 | 0 | YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player,YoungDigitalPlanet/empiria.player | package eu.ydp.empiria.player.client.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONObject... | empiria.player/src/eu/ydp/empiria/player/client/controller/ItemBody.java | package eu.ydp.empiria.player.client.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONObject... | ILockable and IResetable interfaces in ItemBody task#55706
git-svn-id: fd5e0bdc55a948b8bf0a1d738c6140e6e4400378@94436 3e83ccf1-c6ce-0310-9054-8fdb33cf0640
| empiria.player/src/eu/ydp/empiria/player/client/controller/ItemBody.java | ILockable and IResetable interfaces in ItemBody task#55706 | |
Java | apache-2.0 | 262c708b91dd3de1f892a7c4d198b3cafc319b02 | 0 | chaoyi66/commons-lang,vanta/commons-lang,jacktan1991/commons-lang,Ajeet-Ganga/commons-lang,arbasha/commons-lang,britter/commons-lang,weston100721/commons-lang,MuShiiii/commons-lang,suntengteng/commons-lang,PascalSchumacher/commons-lang,lovecindy/commons-lang,Ajeet-Ganga/commons-lang,MarkDacek/commons-lang,britter/commo... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.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 ... | Make field static.
git-svn-id: bab3daebc4e66440cbcc4aded890e63215874748@1145339 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java | Make field static. | |
Java | bsd-3-clause | 2d6606b69ecda605419d12997e333a060dec3be0 | 0 | CBIIT/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers | package gov.nih.nci.cabig.caaers.web.ae;
import gov.nih.nci.cabig.caaers.api.AdeersReportGenerator;
import gov.nih.nci.cabig.caaers.api.AdverseEventReportSerializer;
import gov.nih.nci.cabig.caaers.dao.ExpeditedAdverseEventReportDao;
import gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport;
import java.io.B... | projects/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/GenerateExpeditedPdfController.java | package gov.nih.nci.cabig.caaers.web.ae;
import gov.nih.nci.cabig.caaers.api.AdeersReportGenerator;
import gov.nih.nci.cabig.caaers.api.AdverseEventReportSerializer;
import gov.nih.nci.cabig.caaers.dao.ExpeditedAdverseEventReportDao;
import gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport;
import java.io.B... |
SVN-Revision: 4132
| projects/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/GenerateExpeditedPdfController.java | ||
Java | mit | 9e5ba1ff9af5062e0e0b87c2f95af1c98bf7c90d | 0 | Exslims/MercuryTrade | package com.mercury.platform.diff;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.stream.Collectors;
import java.util.zip.ZipEntry;
/**
* Created by Frost on 02.01.2017.
*/
public class DiffChecker {
... | app-socket-server/src/main/java/com/mercury/platform/diff/DiffChecker.java | package com.mercury.platform.diff;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.stream.Collectors;
import java.util.zip.ZipEntry;
/**
* Created by Frost on 02.01.2017.
*/
public class DiffChecker {
... | DiffChecker refactoring
| app-socket-server/src/main/java/com/mercury/platform/diff/DiffChecker.java | DiffChecker refactoring | |
Java | mit | c028ebc111eed38b6cccfc8c67b8a1926796e219 | 0 | wfwalker/jcavern | package jcavern;
import java.util.Observable;
/**
* Parent class for players, monsters, and trees.
*
* @author Bill Walker
*/
public abstract class Thing extends Observable implements Cloneable
{
/** * The name of this thing. */
private String mName;
/**
* Creates a new thing for the given world and name.
... | sources/jcavern/Thing.java | package jcavern;
import java.util.Observable;
/**
* Parent class for players, monsters, and trees.
*
* @author Bill Walker
*/
public abstract class Thing extends Observable implements Cloneable
{
/** * The name of this thing. */
private String mName;
/**
* Creates a new thing for the given world and name.
... | made getAppearance non-abstract;
added cloning implementation
| sources/jcavern/Thing.java | made getAppearance non-abstract; added cloning implementation | |
Java | mit | 28719462712fdb4bee9fcbf5630f9256c4e02c82 | 0 | mini2Dx/jarn,mini2Dx/jarn,mini2Dx/jarn | /**
* MIT License
*
* Copyright (c) 2017 Thomas Cashman
*
* 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, copy,... | jarn/src/main/java/org/mini2Dx/yarn/operation/YarnOperationGroup.java | /**
* MIT License
*
* Copyright (c) 2017 Thomas Cashman
*
* 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, copy,... | Fixed incorrect method visibility
| jarn/src/main/java/org/mini2Dx/yarn/operation/YarnOperationGroup.java | Fixed incorrect method visibility | |
Java | mit | ad3bc16c6b37609f6631a7fc2c79e48a1db82725 | 0 | typingincolor/galen | package info.losd.galen.repository;
import info.losd.galen.repository.dto.Healthcheck;
import info.losd.galen.repository.dto.HealthcheckDetails;
import info.losd.galen.repository.dto.HealthcheckMean;
import info.losd.galen.repository.dto.HealthcheckStatistic;
import org.influxdb.InfluxDB;
import org.influxdb.dto.Point... | src/main/java/info/losd/galen/repository/InfluxdbHealthcheckRepo.java | package info.losd.galen.repository;
import info.losd.galen.repository.dto.Healthcheck;
import info.losd.galen.repository.dto.HealthcheckDetails;
import info.losd.galen.repository.dto.HealthcheckMean;
import info.losd.galen.repository.dto.HealthcheckStatistic;
import org.influxdb.InfluxDB;
import org.influxdb.dto.Point... | better error messages
| src/main/java/info/losd/galen/repository/InfluxdbHealthcheckRepo.java | better error messages | |
Java | epl-1.0 | bf995d259b7372282a41d6e538d2fdd5cc9e85d8 | 0 | miklossy/xtext-core,miklossy/xtext-core | /*******************************************************************************
* Copyright (c) 2015 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | org.eclipse.xtext/src/org/eclipse/xtext/formatting2/regionaccess/internal/NodeModelBasedRegionAccessBuilder.java | /*******************************************************************************
* Copyright (c) 2015 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | [textRegionAccess] Fixed missing import.
Signed-off-by: Alex Tugarev <b40920b5832cd1ac9a793d65b4bd75e1c9a6c98e@typefox.io>
| org.eclipse.xtext/src/org/eclipse/xtext/formatting2/regionaccess/internal/NodeModelBasedRegionAccessBuilder.java | [textRegionAccess] Fixed missing import. | |
Java | agpl-3.0 | 33ddf0d42d8eee15b6140ba9f7c8aeb12f1d380f | 0 | elki-project/elki,elki-project/elki,elki-project/elki | package de.lmu.ifi.dbs.elki.algorithm.statistics;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.clustering.ByLabelClustering;
import de.lmu.ifi.dbs.elki.data.Double... | src/de/lmu/ifi/dbs/elki/algorithm/statistics/RankingQualityHistogram.java | package de.lmu.ifi.dbs.elki.algorithm.statistics;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.clustering.ByLabelClustering;
import de.lmu.ifi.dbs.elki.data.Double... | Handling of equidistant neighbors in ROC curve.
| src/de/lmu/ifi/dbs/elki/algorithm/statistics/RankingQualityHistogram.java | Handling of equidistant neighbors in ROC curve. | |
Java | apache-2.0 | c789946628953b09af46d6ead0b534cf40762790 | 0 | nus-ncl/service-web,nus-ncl/service-web,nus-ncl/service-web,nus-ncl/service-web | package sg.ncl;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.IOUtils;
import or... | src/main/java/sg/ncl/MainController.java | package sg.ncl;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.IOUtils;
import or... | add permission check to view experiment profile
| src/main/java/sg/ncl/MainController.java | add permission check to view experiment profile | |
Java | apache-2.0 | de4294517af7afcd3c8da71aecc84e223f34c67a | 0 | codehaus/mvel,codehaus/mvel | package org.mvel.optimizers.impl.asm;
import org.mvel.*;
import org.mvel.integration.VariableResolverFactory;
import org.mvel.optimizers.AccessorCompiler;
import org.mvel.optimizers.ExecutableStatement;
import org.mvel.optimizers.OptimizationNotSupported;
import org.mvel.util.ParseTools;
import org.mvel.util.P... | src/main/java/org/mvel/optimizers/impl/asm/ASMAccessorCompiler.java | package org.mvel.optimizers.impl.asm;
import org.mvel.*;
import org.mvel.integration.VariableResolverFactory;
import org.mvel.optimizers.AccessorCompiler;
import org.mvel.optimizers.ExecutableStatement;
import org.mvel.optimizers.OptimizationNotSupported;
import org.mvel.util.ParseTools;
import org.mvel.util.P... | JIT Integrated | src/main/java/org/mvel/optimizers/impl/asm/ASMAccessorCompiler.java | JIT Integrated | |
Java | apache-2.0 | ab0164e9452369e0a1d3e216f32ddcb320f269f5 | 0 | huitseeker/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612... | package org.deeplearning4j.spark.iterator;
import org.apache.spark.input.PortableDataStream;
import org.nd4j.linalg.dataset.DataSet;
import org.nd4j.linalg.dataset.api.DataSetPreProcessor;
import org.nd4j.linalg.dataset.api.iterator.DataSetIterator;
import java.io.IOException;
import java.io.InputStream;
import java.... | deeplearning4j-scaleout/spark/dl4j-spark/src/main/java/org/deeplearning4j/spark/iterator/BaseDataSetIterator.java | package org.deeplearning4j.spark.iterator;
import org.apache.spark.input.PortableDataStream;
import org.nd4j.linalg.dataset.DataSet;
import org.nd4j.linalg.dataset.api.DataSetPreProcessor;
import org.nd4j.linalg.dataset.api.iterator.DataSetIterator;
import java.io.IOException;
import java.io.InputStream;
import java.... | Don't assume batch dim in preloading a BaseDataSet
See https://github.com/deeplearning4j/deeplearning4j/pull/2843#discussion_r102342951
Former-commit-id: c75ea610ae2e2760da4a83dfdd52cf3d9b3f72bb | deeplearning4j-scaleout/spark/dl4j-spark/src/main/java/org/deeplearning4j/spark/iterator/BaseDataSetIterator.java | Don't assume batch dim in preloading a BaseDataSet | |
Java | apache-2.0 | 9346afc1b690fc5bfa4741c58fca203438e12099 | 0 | digital-dreamer/lighthouse,mikelangley/lighthouse,vinumeris/lighthouse,vinumeris/lighthouse,digital-dreamer/lighthouse,vinumeris/lighthouse,mikelangley/lighthouse,mikelangley/lighthouse,mikelangley/lighthouse,vinumeris/lighthouse | package lighthouse.subwindows;
import com.google.common.util.concurrent.*;
import com.vinumeris.crashfx.*;
import javafx.application.*;
import javafx.event.*;
import javafx.fxml.*;
import javafx.scene.control.*;
import lighthouse.*;
import lighthouse.protocol.*;
import lighthouse.wallet.*;
import org.bitcoinj.core.*;
... | client/src/main/java/lighthouse/subwindows/RevokeAndClaimWindow.java | package lighthouse.subwindows;
import com.google.common.util.concurrent.*;
import com.vinumeris.crashfx.*;
import javafx.application.*;
import javafx.event.*;
import javafx.fxml.*;
import javafx.scene.control.*;
import lighthouse.*;
import lighthouse.protocol.*;
import lighthouse.wallet.*;
import org.bitcoinj.core.*;
... | Fix label on the claim screen when we come back after requesting the password.
| client/src/main/java/lighthouse/subwindows/RevokeAndClaimWindow.java | Fix label on the claim screen when we come back after requesting the password. | |
Java | apache-2.0 | 5a6fe75d6c8142613cf210f9702c491e2162c8a6 | 0 | smgoller/geode,smgoller/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,smgoller/geode,masaki-yamakawa/geode,smgoller/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,smgoller/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,smgoller/geode,masaki-yamakawa/geode,jdeppe-pivotal/... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | geode-assembly/src/integrationTest/java/org/apache/geode/management/internal/cli/commands/StartLocatorCommandIntegrationTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | GEODE-9483: Make StartLocatorCommandIntegrationTest not start unneeded locator (#6731)
Two of the tests in `StartLocatorCommandIntegrationTest` launch a locator
process that binds to the default HTTP service port (7070). This can
interfere with the tests that explicitly verify that the system uses the
correct HTTP ... | geode-assembly/src/integrationTest/java/org/apache/geode/management/internal/cli/commands/StartLocatorCommandIntegrationTest.java | GEODE-9483: Make StartLocatorCommandIntegrationTest not start unneeded locator (#6731) | |
Java | apache-2.0 | d7672f75dfe37df2e7088b434564d58be20d037b | 0 | consulo/consulo-napile,consulo/consulo-napile | /*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | src/org/napile/idea/plugin/codeInsight/NapileTypeDeclarationProvider.java | /*
* Copyright 2010-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | compilation
| src/org/napile/idea/plugin/codeInsight/NapileTypeDeclarationProvider.java | compilation | |
Java | apache-2.0 | 99db06db63f7a84aab598d6ad9990bbf41d2effa | 0 | prabushi/devstudio-tooling-esb,wso2/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,wso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,wso2/devstudio-tooling-esb,prabushi/devstudio-tooling-esb | package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.connections;
import java.awt.MouseInfo;
import java.util.ArrayList;
import org.eclipse.draw2d.FigureCanvas;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedS... | plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/connections/ConnectionCalculator.java | package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.connections;
import java.awt.MouseInfo;
import java.util.ArrayList;
import org.eclipse.draw2d.FigureCanvas;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedS... | fix dropping mediators at wrong places inside a complex mediators
| plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/connections/ConnectionCalculator.java | fix dropping mediators at wrong places inside a complex mediators | |
Java | apache-2.0 | efab7b49e8ec851b4a78275fd7a3739725bfebf4 | 0 | apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | sharding-orchestration/sharding-jdbc-orchestration-spring/sharding-jdbc-orchestration-spring-namespace/src/test/java/io/shardingsphere/jdbc/orchestration/spring/OrchestrationShardingNamespaceTest.java | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | modify codes
| sharding-orchestration/sharding-jdbc-orchestration-spring/sharding-jdbc-orchestration-spring-namespace/src/test/java/io/shardingsphere/jdbc/orchestration/spring/OrchestrationShardingNamespaceTest.java | modify codes | |
Java | apache-2.0 | cdf9d72bc918a0675cae8ae712ce89909f44b0b9 | 0 | jvasileff/ceylon-dart,jvasileff/ceylon-dart,jvasileff/ceylon-dart,jvasileff/ceylon-dart | package com.vasileff.ceylon.dart.compiler;
public enum Warning {
filenameNonAscii,
filenameCaselessCollision,
deprecation,
disjointEquals,
disjointContainment,
compilerAnnotation,
doclink,
expressionTypeNothing,
unusedDeclaration,
unusedImport,
ceylonNamespace,
javaNames... | ceylon-dart-compiler/source/com/vasileff/ceylon/dart/compiler/Warning.java | package com.vasileff.ceylon.dart.compiler;
public enum Warning {
filenameNonAscii,
filenameCaselessCollision,
deprecation,
disjointEquals,
disjointContainment,
compilerAnnotation,
doclink,
expressionTypeNothing,
unusedDeclaration,
unusedImport,
ceylonNamespace,
javaNames... | add the inferredNotNull warning
| ceylon-dart-compiler/source/com/vasileff/ceylon/dart/compiler/Warning.java | add the inferredNotNull warning | |
Java | apache-2.0 | 78152a2cb39d40943e7b986842ddf5334e5d24d4 | 0 | adobe/S3Mock,adobe/S3Mock,adobe/S3Mock | /*
* Copyright 2017-2022 Adobe.
*
* 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 ... | server/src/test/java/com/adobe/testing/s3mock/FileStoreControllerTest.java | /*
* Copyright 2017-2022 Adobe.
*
* 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 ... | Tests for ListObjectsInsideBucket
| server/src/test/java/com/adobe/testing/s3mock/FileStoreControllerTest.java | Tests for ListObjectsInsideBucket | |
Java | apache-2.0 | d852f14ca647634d84c0fc8ce8c1f6ccdd77c0e8 | 0 | apache/pdfbox,kalaspuffar/pdfbox,apache/pdfbox,kalaspuffar/pdfbox | /*
* 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 ... | pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.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 ... | PDFBOX-3923, PDFBOX-3935: add comment about alternative to last change
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1810201 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java | PDFBOX-3923, PDFBOX-3935: add comment about alternative to last change | |
Java | apache-2.0 | 1721848df8cbc3fb7d1499d2d624da6e149e519a | 0 | iservport/helianto,iservport/helianto | /* Copyright 2005 I Serv Consultoria Empresarial Ltda.
*
* 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... | helianto-core/src/main/java/org/helianto/core/domain/Entity.java | /* Copyright 2005 I Serv Consultoria Empresarial Ltda.
*
* 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... | Polishing imports. | helianto-core/src/main/java/org/helianto/core/domain/Entity.java | Polishing imports. | |
Java | apache-2.0 | 40de164a607bc53ca23930c5199ce5fe0dd1ba15 | 0 | pluto-build/pluto | package build.pluto.builder;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.sugarj.common.StringCommands;
import build.plut... | src/build/pluto/builder/DynamicAnalysis.java | package build.pluto.builder;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.sugarj.common.StringCommands;
import build.plut... | bugfix: check for empty deps
| src/build/pluto/builder/DynamicAnalysis.java | bugfix: check for empty deps | |
Java | apache-2.0 | 2e9416e2fad894ee034f5bca95c1e1171d7452b7 | 0 | danilkolikov/cms | package fractal;
import de.erichseifert.gral.data.DataTable;
import de.erichseifert.gral.plots.XYPlot;
import de.erichseifert.gral.plots.lines.DefaultLineRenderer2D;
import de.erichseifert.gral.plots.lines.LineRenderer;
import de.erichseifert.gral.plots.points.PointRenderer;
import de.erichseifert.gral.ui.InteractiveP... | src/main/java/fractal/MainFrame.java | package fractal;
import de.erichseifert.gral.data.DataTable;
import de.erichseifert.gral.plots.XYPlot;
import de.erichseifert.gral.plots.lines.DefaultLineRenderer2D;
import de.erichseifert.gral.plots.lines.LineRenderer;
import de.erichseifert.gral.plots.points.PointRenderer;
import de.erichseifert.gral.ui.InteractiveP... | drawCircle
| src/main/java/fractal/MainFrame.java | drawCircle | |
Java | apache-2.0 | 62d949c61a0cc814f814a796864da001c0abac59 | 0 | MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim | package dynamicsim;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.map.hash.TIntDoubleHashMap;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import gnu.trove.map... | gui/src/dynamicsim/DynamicGillespie.java | package dynamicsim;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.map.hash.TIntDoubleHashMap;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import gnu.trove.map... | groups, their reactions, and their boundaries change if the minimum propensity changes now
| gui/src/dynamicsim/DynamicGillespie.java | groups, their reactions, and their boundaries change if the minimum propensity changes now | |
Java | apache-2.0 | 8d14dfbd4cfb59dc65ab0aa89aad91dc43badc79 | 0 | josephcsible/GravityBox | /*
* Copyright (C) 2015 The CyanogenMod Project
* Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda)
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | src/com/ceco/marshmallow/gravitybox/quicksettings/CompassTile.java | /*
* Copyright (C) 2015 The CyanogenMod Project
* Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda)
* 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... | QS: optimized Compass tile
- wait for previous refresh to be finished to avoid clogging up tile's
message queue resulting in QS panel stuttering
- process every 10th sample to reduce refresh frequency | src/com/ceco/marshmallow/gravitybox/quicksettings/CompassTile.java | QS: optimized Compass tile - wait for previous refresh to be finished to avoid clogging up tile's message queue resulting in QS panel stuttering - process every 10th sample to reduce refresh frequency | |
Java | apache-2.0 | 25146d9ec20e33e16b421a9f9ed914eac4bf0668 | 0 | Chicago/opengrid-svc-template | package org.opengrid.security.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.bson.Document;
import org.opengrid.data.MongoDBHelper;
import org.opengrid.security.OpenGridUserRole;
import org.springframework.security.au... | opengridservice/src/main/java/org/opengrid/security/impl/MongoUserService.java | package org.opengrid.security.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.bson.Document;
import org.opengrid.data.MongoDBHelper;
import org.opengrid.security.OpenGridUserRole;
import org.springframework.security.au... | Checked for nulls in getGroupResources | opengridservice/src/main/java/org/opengrid/security/impl/MongoUserService.java | Checked for nulls in getGroupResources | |
Java | apache-2.0 | 34885ed03b47910ebad992504c0f1f6bc699b52f | 0 | sopel39/presto,Praveen2112/presto,dabaitu/presto,wyukawa/presto,fiedukow/presto,joy-yao/presto,hulu/presto,fiedukow/presto,ptkool/presto,treasure-data/presto,mvp/presto,svstanev/presto,tellproject/presto,Teradata/presto,lingochamp/presto,sumitkgec/presto,ptkool/presto,suyucs/presto,erichwang/presto,electrum/presto,hgsc... | /*
* 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/main/java/com/facebook/presto/execution/SqlStageExecution.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... | Fix task leak in coordinator
Tasks are leaked when a stage completes before all tasks have been
started
| presto-main/src/main/java/com/facebook/presto/execution/SqlStageExecution.java | Fix task leak in coordinator | |
Java | apache-2.0 | 7151aae68225e7b099e31a6d6e781701a9532dfc | 0 | thisisvoa/mule-transport-netty-publisher,Ricston/mule-transport-netty-publisher | package com.ricston.nettypublisher;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mule.api.annotations.Configurable;
import org.mule.api.annotations.Connector;
import or... | src/main/java/com/ricston/nettypublisher/NettyPublisherConnector.java | /**
* This file was automatically generated by the Mule Development Kit
*/
package com.ricston.nettypublisher;
import org.mule.api.ConnectionException;
import org.mule.api.annotations.Configurable;
import org.mule.api.annotations.Connect;
import org.mule.api.annotations.ConnectionIdentifier;
import org.mule.api.ann... | Cleaning up publisher
| src/main/java/com/ricston/nettypublisher/NettyPublisherConnector.java | Cleaning up publisher | |
Java | apache-2.0 | 673dc08b39a4543f9444692246e5eeb2ca267b12 | 0 | andytsunami/DROID | package br.com.caelum.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import br.com.caelum.cadastr... | CadastroCaelum/src/br/com/caelum/fragment/DetalhesProvaFragment.java | package br.com.caelum.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import br.com.caelum.cadastro.modelo.Prova;
import com.caelum.cadastro.R;
public class DetalhesProvaFragment extends Fragment ... | DROI3 - capitulo 04 - Atividade 20 - Mostrando os dados da prova na tela do tablet.
| CadastroCaelum/src/br/com/caelum/fragment/DetalhesProvaFragment.java | DROI3 - capitulo 04 - Atividade 20 - Mostrando os dados da prova na tela do tablet. | |
Java | mit | f26c873bd9f8ae1dfc6e2da1335660dce970d63c | 0 | tschechlovdev/jabref,JabRef/jabref,bartsch-dev/jabref,motokito/jabref,tobiasdiez/jabref,Braunch/jabref,mredaelli/jabref,mairdl/jabref,motokito/jabref,obraliar/jabref,oscargus/jabref,jhshinn/jabref,shitikanth/jabref,grimes2/jabref,mredaelli/jabref,tschechlovdev/jabref,tobiasdiez/jabref,jhshinn/jabref,Mr-DLib/jabref,Mr-D... | /*
Copyright (C) 2003 David Weitzman, Morten O. Alver
All programs in this directory and
subdirectories are published under the GNU General Public License as
described below.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the F... | src/main/java/net/sf/jabref/model/BibtexDatabase.java | /*
Copyright (C) 2003 David Weitzman, Morten O. Alver
All programs in this directory and
subdirectories are published under the GNU General Public License as
described below.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the F... | Remove unnecessary synchronization
| src/main/java/net/sf/jabref/model/BibtexDatabase.java | Remove unnecessary synchronization | |
Java | mit | a870794540ebf38a7a752ff91b16ba58f0891f80 | 0 | analogweb/guice-plugin | package org.analogweb.guice;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.analogweb.ContainerAdaptor;
import org.analogweb.util.Assertion;
import org.analogweb.util.logging.Log;
import org.analogweb.util.logging.Logs;
import com.google.inject.Binding;
import com.google.... | src/main/java/org/analogweb/guice/GuiceContainerAdaptor.java | package org.analogweb.guice;
import java.util.ArrayList;
import java.util.List;
import org.analogweb.ContainerAdaptor;
import org.analogweb.util.Assertion;
import org.analogweb.util.logging.Log;
import org.analogweb.util.logging.Logs;
import com.google.inject.Binding;
import com.google.inject.Injector;
import com.go... | Returns unmodifiable instances list
| src/main/java/org/analogweb/guice/GuiceContainerAdaptor.java | Returns unmodifiable instances list | |
Java | mit | 9fde75c45a8217bcc3a3f3198127ea2a70e4011a | 0 | nwalters512/the-blue-alliance-android,1fish2/the-blue-alliance-android,1fish2/the-blue-alliance-android,nwalters512/the-blue-alliance-android,phil-lopreiato/the-blue-alliance-android,1fish2/the-blue-alliance-android,the-blue-alliance/the-blue-alliance-android,phil-lopreiato/the-blue-alliance-android,the-blue-alliance/t... | package com.thebluealliance.androidclient.subscribers;
import com.thebluealliance.androidclient.R;
import com.thebluealliance.androidclient.listitems.ListGroup;
import com.thebluealliance.androidclient.models.Media;
import com.thebluealliance.androidclient.types.MediaType;
import android.content.res.Resources;
impor... | android/src/main/java/com/thebluealliance/androidclient/subscribers/MediaListSubscriber.java | package com.thebluealliance.androidclient.subscribers;
import com.thebluealliance.androidclient.R;
import com.thebluealliance.androidclient.listitems.ListGroup;
import com.thebluealliance.androidclient.models.Media;
import com.thebluealliance.androidclient.types.MediaType;
import android.content.res.Resources;
impor... | Validate media lists
| android/src/main/java/com/thebluealliance/androidclient/subscribers/MediaListSubscriber.java | Validate media lists | |
Java | mit | f96ede7fa9fbc274f43ff9c822400dcccc030a13 | 0 | jspspike/FTC6299 | package org.firstinspires.ftc.quadx.Libraries;
import android.util.Log;
import com.qualcomm.hardware.adafruit.BNO055IMU;
import com.qualcomm.hardware.adafruit.JustLoggingAccelerationIntegrator;
import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cRangeSensor;
import com.qualcomm.robotcore.eventloop.opmode.Li... | TeamCode/src/main/java/org/firstinspires/ftc/quadx/Libraries/MyOpMode.java | package org.firstinspires.ftc.quadx.Libraries;
import android.util.Log;
import com.qualcomm.hardware.adafruit.BNO055IMU;
import com.qualcomm.hardware.adafruit.JustLoggingAccelerationIntegrator;
import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cRangeSensor;
import com.qualcomm.robotcore.eventloop.opmode.Li... | Added color sensor based turn method
| TeamCode/src/main/java/org/firstinspires/ftc/quadx/Libraries/MyOpMode.java | Added color sensor based turn method | |
Java | mit | be3281a6b028092b3fe46e3ec5c511f2398c8d7a | 0 | MarquisLP/WorldScribe,MarquisLP/World-Scribe | package com.averi.worldscribe.activities;
import android.Manifest;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.ap... | app/src/main/java/com/averi/worldscribe/activities/PermissionActivity.java | package com.averi.worldscribe.activities;
import android.Manifest;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.ap... | Modify files only after user grants permission
The calls to generate the app directory and .nomedia file in
onCreate() wouldn't work when the app is first launched, as the user
hasn't granted file permissions yet.
| app/src/main/java/com/averi/worldscribe/activities/PermissionActivity.java | Modify files only after user grants permission | |
Java | mit | 4fd3a7e9c79ee6aa64684fb543e57a9b03392730 | 0 | Naftoreiclag/Easy-Perms-Maker | package naftoreiclag.easypermsmaker;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.plaf.FontUIResource;
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTabbedPane;
... | java/naftoreiclag/easypermsmaker/Main.java | package naftoreiclag.easypermsmaker;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTabbedPane;
import javax.swing.UIManager;
import jav... | arial font
| java/naftoreiclag/easypermsmaker/Main.java | arial font | |
Java | epl-1.0 | 48fff50770a12bd46418243c1ed721a9d6754674 | 0 | asupdev/asup,asupdev/asup,asupdev/asup | /**
* Copyright (c) 2012, 2014 Sme.UP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*
* Contribu... | org.asup.dk.compiler.rpj/src/org/asup/dk/compiler/rpj/writer/JDTCallableUnitWriter.java | /**
* Copyright (c) 2012, 2014 Sme.UP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*
* Contribu... | Group PTF #75 | org.asup.dk.compiler.rpj/src/org/asup/dk/compiler/rpj/writer/JDTCallableUnitWriter.java | Group PTF #75 | |
Java | agpl-3.0 | 5f623908a45d4319cc7c24d1bb63de80adab32e0 | 0 | mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud | package org.cryptonit.cloud.keystore;
import java.security.MessageDigest;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.text.SimpleDateFormat;
import java.util.Base64;
import java.util.Date;
import org.bouncycastle.asn1.DERPr... | src/main/java/org/cryptonit/cloud/keystore/SqlIdentityStore.java | package org.cryptonit.cloud.keystore;
import java.security.MessageDigest;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.bouncycastle.asn1.DERPrintableString;
import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
import org.bounc... | Adding persistence in newIdentity
| src/main/java/org/cryptonit/cloud/keystore/SqlIdentityStore.java | Adding persistence in newIdentity | |
Java | agpl-3.0 | ca4e0312f0d7466b85793ba4b8c5800557a81f8c | 0 | jwillia/kc-old1,kuali/kc,iu-uits-es/kc,geothomasp/kcmit,geothomasp/kcmit,iu-uits-es/kc,ColostateResearchServices/kc,geothomasp/kcmit,kuali/kc,mukadder/kc,jwillia/kc-old1,iu-uits-es/kc,geothomasp/kcmit,UniversityOfHawaiiORS/kc,geothomasp/kcmit,ColostateResearchServices/kc,jwillia/kc-old1,kuali/kc,jwillia/kc-old1,Colosta... | /*
* Copyright 2005-2010 The Kuali Foundation
*
* Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
*
* Unless required by applicab... | src/main/java/org/kuali/kra/proposaldevelopment/service/impl/ProposalDevelopmentServiceImpl.java | /*
* Copyright 2005-2010 The Kuali Foundation
*
* Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
*
* Unless required by applicab... | KRACOEUS-4758
| src/main/java/org/kuali/kra/proposaldevelopment/service/impl/ProposalDevelopmentServiceImpl.java | KRACOEUS-4758 | |
Java | lgpl-2.1 | 7e6c1554c024170031dfedc9a513abb1c45c5103 | 0 | darranl/wildfly-core,JiriOndrusek/wildfly-core,jamezp/wildfly-core,bstansberry/wildfly-core,ivassile/wildfly-core,JiriOndrusek/wildfly-core,aloubyansky/wildfly-core,luck3y/wildfly-core,ivassile/wildfly-core,jamezp/wildfly-core,jfdenise/wildfly-core,yersan/wildfly-core,bstansberry/wildfly-core,jamezp/wildfly-core,alouby... | /*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat Middleware LLC, 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
* un... | domain-http/interface/src/main/java/org/jboss/as/domain/http/server/DomainApiHandler.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat Middleware LLC, 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
* un... | [WFLY-3371] Add support for json.pretty=1
was: ca5c3392e98d3aa89cc285272dde0c68d3b8e5f3
| domain-http/interface/src/main/java/org/jboss/as/domain/http/server/DomainApiHandler.java | [WFLY-3371] Add support for json.pretty=1 | |
Java | lgpl-2.1 | f4ea1810648a3e8de69debd5f5f09552258e4e60 | 0 | beast-dev/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,maxbiostat/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,adam... | /*
* MarkovChain.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/o... | src/dr/inference/markovchain/MarkovChain.java | /*
* MarkovChain.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/o... | Additional output in debug mode.
| src/dr/inference/markovchain/MarkovChain.java | Additional output in debug mode. | |
Java | lgpl-2.1 | 29923829f3cb69f1a2b657612c41c7183b10772a | 0 | sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,KengoTODA/spotbugs | /*
* Bytecode Analysis Framework
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | findbugs/src/java/edu/umd/cs/findbugs/ba/DataflowTestDriver.java | /*
* Bytecode Analysis Framework
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | Changed to use AnalysisContext to get ClassContext.
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@1939 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/ba/DataflowTestDriver.java | Changed to use AnalysisContext to get ClassContext. | |
Java | apache-2.0 | b33b57a46783371f1773d3a7aedb0194db02e277 | 0 | shubham166/presto,takari/presto,nakajijiji/presto,11xor6/presto,lingochamp/presto,idemura/presto,rockerbox/presto,totticarter/presto,Praveen2112/presto,miquelruiz/presto,martint/presto,haozhun/presto,ptkool/presto,ebyhr/presto,jf367/presto,mandusm/presto,prestodb/presto,nsabharwal/presto,gh351135612/presto,EvilMcJerkfa... | /*
* 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/TestHttpPageBufferClient.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... | Increase timeout in TestHttpPageBufferClient
This is failing intermittently on Travis
| presto-main/src/test/java/com/facebook/presto/operator/TestHttpPageBufferClient.java | Increase timeout in TestHttpPageBufferClient | |
Java | apache-2.0 | f7430033e69d2ec5e0694e18e2819a03b42f1ae6 | 0 | sangramjadhav/testrs | 2288b5d4-2ece-11e5-905b-74de2bd44bed | hello.java | 228824de-2ece-11e5-905b-74de2bd44bed | 2288b5d4-2ece-11e5-905b-74de2bd44bed | hello.java | 2288b5d4-2ece-11e5-905b-74de2bd44bed | |
Java | apache-2.0 | 0bfd3b02b468caa26260388ea4b989043ad6b8af | 0 | cushon/error-prone,cushon/error-prone,google/error-prone,cushon/error-prone,google/error-prone,cushon/error-prone | /*
* Copyright 2018 The Error Prone 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 ... | core/src/main/java/com/google/errorprone/bugpatterns/time/JavaTimeDefaultTimeZone.java | /*
* Copyright 2018 The Error Prone 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 ... | Remove an unused parameter
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=251911580
| core/src/main/java/com/google/errorprone/bugpatterns/time/JavaTimeDefaultTimeZone.java | Remove an unused parameter | |
Java | apache-2.0 | fed55b219cee5990af5a650a51c7ab8a710e7a82 | 0 | apache/commons-functor,apache/commons-functor | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.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 ... | fixed checkstyle violation: Method 'hashCode' is not designed for extension - needs to be abstract, final or empty
git-svn-id: 7e88b6689c675bf212a536fca2a3ed2c50d982c1@1170797 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java | fixed checkstyle violation: Method 'hashCode' is not designed for extension - needs to be abstract, final or empty | |
Java | apache-2.0 | b6ba9be6a8a8cc373d82e2f2d34c2bf2aad69015 | 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.ide.actions.searcheverywhere;
import com.google.common.collect.Lists;
import com.intellij.find.findUsages.PsiElement2UsageTargetAdapter;
import com.intellij.... | platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.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.ide.actions.searcheverywhere;
import com.google.common.collect.Lists;
import com.intellij.find.findUsages.PsiElement2UsageTargetAdapter;
import com.intellij.... | IDEA-231276 Hint in Search Everywhere is cut on macOS Catalina
GitOrigin-RevId: be16b9ac249a75ad020a9302afb2e9bfb5ec61f6 | platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java | IDEA-231276 Hint in Search Everywhere is cut on macOS Catalina | |
Java | apache-2.0 | 335f9d09a70fb9f26eef322cc7c9b25bc9e0edb3 | 0 | polopoly/typica | //
// typica - A client library for Amazon Web Services
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | java/com/xerox/amazonws/sdb/Counter.java | //
// typica - A client library for Amazon Web Services
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | converted counter to use long
git-svn-id: ed72533e8e76b4727d8751eef669f13bfa24ccfa@311 7ed6c317-272d-0410-8ab0-49a3fbf2961c
| java/com/xerox/amazonws/sdb/Counter.java | converted counter to use long | |
Java | apache-2.0 | fb7a1dc8a26399703cf52f8f1dc86d68abe17a71 | 0 | Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat | /*
* 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 ... | java/org/apache/catalina/startup/HostConfig.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 ... | Suppress incorrect warning
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1364155 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/catalina/startup/HostConfig.java | Suppress incorrect warning | |
Java | apache-2.0 | 03d4e9b5f17bfc6c3aee85098fec44328c93ca51 | 0 | BuaBook/http-common | package com.buabook.http.common;
import java.io.IOException;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.buabook.http.common.auth.HttpBasicAuthenticationInitializer;
import com.buabook.http.common.auth.HttpBearer... | src/main/java/com/buabook/http/common/HttpClient.java | package com.buabook.http.common;
import java.io.IOException;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.buabook.http.common.auth.HttpBasicAuthenticationInitializer;
import com.buabook.http.common.auth.HttpBearer... | HttpClient: Add debug logging with in-flight query time | src/main/java/com/buabook/http/common/HttpClient.java | HttpClient: Add debug logging with in-flight query time | |
Java | apache-2.0 | b64130d4ace5bc92d44c9498d6d044c78ee3368a | 0 | sheliu/openregistry,sheliu/openregistry,Unicon/openregistry,Rutgers-IDM/openregistry,Unicon/openregistry,sheliu/openregistry,Jasig/openregistry,Rutgers-IDM/openregistry,Unicon/openregistry,Jasig/openregistry,Jasig/openregistry,Unicon/openregistry,sheliu/openregistry,msidd/openregistry,Rutgers-IDM/openregistry,Unicon/op... | /**
* Copyright (C) 2009 Jasig, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | openregistry-webapp/src/main/java/org/openregistry/core/web/resources/PeopleResource.java | /**
* Copyright (C) 2009 Jasig, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | NOJIRA
added a bunch of finals that were missing ;-)
git-svn-id: 996c6d7d570f9e8d676b69394667d4ecb3e4cdb3@18784 1580c273-15eb-1042-8a87-dc5d815c88a0
| openregistry-webapp/src/main/java/org/openregistry/core/web/resources/PeopleResource.java | NOJIRA added a bunch of finals that were missing ;-) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.