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 | mit | 055e38182cc84196ac99cacc49246b459f33d9f2 | 0 | mnipper/AndroidSurvey,mnipper/AndroidSurvey,DukeMobileTech/AndroidSurvey,mnipper/AndroidSurvey | package org.adaptlab.chpir.android.survey.Models;
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.activeandroid.query.Select;
@Table(name = "AdminSettings")
public class AdminSettings extends Model {
private static final String TAG ... | src/org/adaptlab/chpir/android/survey/Models/AdminSettings.java | package org.adaptlab.chpir.android.survey.Models;
import org.adaptlab.chpir.android.activerecordcloudsync.ReceiveModel;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.activeandroid.q... | Change adminsettings to regular model until its hammered out exactly how it should work
| src/org/adaptlab/chpir/android/survey/Models/AdminSettings.java | Change adminsettings to regular model until its hammered out exactly how it should work | |
Java | mit | 13329fe3745e00d4db204e209b4e8706bc885493 | 0 | nallar/TickThreading | package me.nallar.tickthreading.minecraft.commands;
import java.lang.reflect.Field;
import java.util.List;
import me.nallar.tickthreading.Log;
import me.nallar.tickthreading.minecraft.TickThreading;
import me.nallar.tickthreading.util.TableFormatter;
import net.minecraft.command.ICommandSender;
import net.mi... | src/common/me/nallar/tickthreading/minecraft/commands/DumpCommand.java | package me.nallar.tickthreading.minecraft.commands;
import java.lang.reflect.Field;
import java.util.List;
import me.nallar.tickthreading.Log;
import me.nallar.tickthreading.minecraft.TickThreading;
import me.nallar.tickthreading.util.TableFormatter;
import net.minecraft.command.ICommandSender;
import net.mi... | Handle null values in /dump
Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
| src/common/me/nallar/tickthreading/minecraft/commands/DumpCommand.java | Handle null values in /dump | |
Java | mit | 5fa8b0172d41a26ee4479ab01a7018c69a79cfc6 | 0 | beepscore/Sunshine | package com.beepscore.android.sunshine;
import android.text.format.Time;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.SimpleDateFormat;
/**
* Created by stevebaker on 6/22/15.
* Based on Udacity Lesson 2 JSON parsing quiz
*/
public class WeatherDataParser... | app/src/main/java/com/beepscore/android/sunshine/WeatherDataParser.java | package com.beepscore.android.sunshine;
import android.text.format.Time;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.text.SimpleDateFormat;
/**
* Created by stevebaker on 6/22/15.
* Based on Udacity Lesson 2 JSON parsing quiz
*/
public class WeatherDataParser... | In WeatherDataParser move some code from getWeatherDataFromJson to getDayString and change getDayString parameters.
| app/src/main/java/com/beepscore/android/sunshine/WeatherDataParser.java | In WeatherDataParser move some code from getWeatherDataFromJson to getDayString and change getDayString parameters. | |
Java | mit | da698578eed040ffe0aee7a2f325363665981c72 | 0 | trehak1/chess,trehak1/chess,trehak1/chess | package chess.perft;
import chess.board.Board;
import chess.board.BoardFactory;
import chess.enums.Player;
import chess.movements.Movement;
import chess.movements.MovementFactory;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import org.junit.Assert;
import java.util.List;
import java... | src/test/java/chess/perft/Perft.java | package chess.perft;
import chess.board.Board;
import chess.board.BoardFactory;
import chess.enums.Player;
import chess.movements.Movement;
import chess.movements.MovementFactory;
import com.google.common.collect.Lists;
import org.junit.Assert;
import java.util.ArrayList;
import java.util.List;
import java.util.Timer... | parallel perft
| src/test/java/chess/perft/Perft.java | parallel perft | |
Java | mit | 4eb5b6e03c0e65a6f5dcd4323b4ef5cf6e74b768 | 0 | Eadgyth/Java-Programming-Editor,Eadgyth/Java-Programming-Editor | package eg;
import java.awt.Font;
import java.awt.Color;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.MatteBorder;
//--Eadgyth--/
import eg.utils.ScreenParams;
/**
* Holds different static values. Sizes are scaled to the sc... | src/eg/Constants.java | package eg;
import java.awt.Font;
import java.awt.Color;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.MatteBorder;
import eg.utils.ScreenParams;
/**
* Holds different static values
*/
public class Constants {
//
// ... | add font
| src/eg/Constants.java | add font | |
Java | agpl-3.0 | d36b3a5f602e5e057020ada3085c08d2f2309cc4 | 0 | elki-project/elki,elki-project/elki,elki-project/elki | package de.lmu.ifi.dbs.elki.algorithm.clustering.subspace;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.clustering.Clus... | src/de/lmu/ifi/dbs/elki/algorithm/clustering/subspace/DiSH.java | package de.lmu.ifi.dbs.elki.algorithm.clustering.subspace;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.clustering.Clus... | cleaned debug statements
| src/de/lmu/ifi/dbs/elki/algorithm/clustering/subspace/DiSH.java | cleaned debug statements | |
Java | lgpl-2.1 | b99d3dcff9b1819b9ae2d9bbbb5d5a87c2eddbdc | 0 | DougFirErickson/lcm,andybarry/lcm,andybarry/lcm,DougFirErickson/lcm,adeschamps/lcm,lcm-proj/lcm,kyonifer/lcm,kyonifer/lcm,adeschamps/lcm,lcm-proj/lcm,andybarry/lcm,vooon/lcm-vala,vooon/lcm-vala,vooon/lcm-vala,adeschamps/lcm,DougFirErickson/lcm,DougFirErickson/lcm,vooon/lcm-vala,bluesquall/lcm,lcm-proj/lcm,adeschamps/lc... | package lcm.util;
import java.io.*;
import java.util.*;
import java.util.jar.*;
import java.util.zip.*;
import java.net.*;
import java.lang.reflect.*;
public class ClassDiscoverer
{
public static void findClasses(ClassVisitor visitor)
{
findClasses(System.getenv("CLASSPATH"), visitor);
findClasses(System.ge... | lcm-java/lcm/util/ClassDiscoverer.java | package lcm.util;
import java.io.*;
import java.util.*;
import java.util.jar.*;
import java.util.zip.*;
import java.net.*;
import java.lang.reflect.*;
public class ClassDiscoverer
{
public static void findClasses(ClassVisitor visitor)
{
findClasses(System.getenv("CLASSPATH"), visitor);
findClasses(System.ge... | fix null ptr exception if no classpath env var
git-svn-id: d98835ac2581dc8b7b532831eaf73f8a09cb9b7b@180 989093bb-e83e-0410-a25a-9184cbcad8d0
| lcm-java/lcm/util/ClassDiscoverer.java | fix null ptr exception if no classpath env var | |
Java | unlicense | 2de33a203f75a61ee102a27fdca42cc779d141bd | 0 | mikhail-dvorkin/competitions-distributed,mikhail-dvorkin/competitions-distributed | package dgcj.y2016.round1;
import dgcj.message;
import java.util.*;
public class D {
static final Object PROBLEM = new winning_move(); // PROBLEM NAME goes here
public String run() {
int n = (int) winning_move.GetNumPlayers();
int from = (int) (1L * n * ID / NODES);
int to = (int) (1L * n * (ID + 1) / NODES);... | dgcj/y2016/round1/D.java | package dgcj.y2016.round1;
import dgcj.message;
import java.util.*;
public class D {
static final Object PROBLEM = new winning_move(); // PROBLEM NAME goes here
public String run() {
int n = (int) winning_move.GetNumPlayers();
int from = (int) (1L * n * ID / NODES);
int to = (int) (1L * n * (ID + 1) / NODES);... | minor
| dgcj/y2016/round1/D.java | minor | |
Java | apache-2.0 | 8d99d457d3d3bf87c6a94decf4e45ef384e8a25c | 0 | bazi/ninja,raphaelbauer/ninja,duqiao/ninja,bihe/ninja,raphaelbauer/ninja,fizzed/ninja,liudianpeng/ninja,fizzed/ninja,tempbottle/ninja-1,watsonmw/ninja,bazi/ninja,SpiralsSeminaire/ninja,fouzelddin/ninja,fizzed/ninja,jlannoy/ninja,watsonmw/ninja,tempbottle/ninja-1,jenalgit/ninja,khmarbaise/ninja,mallowlabs/ninja,mallowla... | /**
* Copyright (C) 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | ninja-core/src/main/java/ninja/bodyparser/BodyParserEnginePost.java | /**
* Copyright (C) 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Fixed the setting of wrapper class fields
Since no autoboxing is done when using reflection...
| ninja-core/src/main/java/ninja/bodyparser/BodyParserEnginePost.java | Fixed the setting of wrapper class fields | |
Java | apache-2.0 | 23e254a42a80772b43956d82ee425b0fb8c2ea1d | 0 | aseldawy/spatialhadoop,ShortMap/ShortMap,hn5092/hadoop-common,coderplay/hadoop-common,sztanko/hadoop-common,sztanko/hadoop-common,hn5092/hadoop-common,dhootha/hadoop-common,aseldawy/spatialhadoop,toddlipcon/hadoop,squidsolutions/hadoop-common,aseldawy/spatialhadoop,coderplay/hadoop-common,dongjiaqiang/hadoop-common,hn5... | /**
* Copyright 2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | src/java/org/apache/hadoop/dfs/NameNode.java | /**
* Copyright 2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | HADOOP-264. Workaround a problem with WritableFactories.
git-svn-id: 4d48d1092ee340c9ada5711cdbe4355b138bc22b@410910 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/hadoop/dfs/NameNode.java | HADOOP-264. Workaround a problem with WritableFactories. | |
Java | apache-2.0 | bc3f79f1111ce28c6bdd48a26035dd8364be0e89 | 0 | ham1/jmeter,ham1/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,etnetera/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,benbenw/jmeter,apache/jmeter,apache/jmeter,etnetera/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter | /*
* 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/core/org/apache/jmeter/testelement/property/AbstractProperty.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 ... | Avoid String concat
Use parseBoolean instead of creating useless wrapper
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1380047 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: ad4f376e06d9901074a17d6318659a7ace7bc87a | src/core/org/apache/jmeter/testelement/property/AbstractProperty.java | Avoid String concat Use parseBoolean instead of creating useless wrapper | |
Java | apache-2.0 | 7ceb2959157ed9dea4d6c3faef3e7dbb9da21e9d | 0 | Deleplace/cool-maze,Deleplace/cool-maze,Deleplace/cool-maze | package net.coolmaze.coolmaze;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.os.Vibrator;
import android.support.v7.app.AppCompatActivity;
import an... | android/app/src/main/java/net/coolmaze/coolmaze/MainActivity.java | package net.coolmaze.coolmaze;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.os.Vibrator;
import android.support.v7.app.AppCompatActivity;
import an... | Spin during upload. Try to guess most relevant mime-type value.
| android/app/src/main/java/net/coolmaze/coolmaze/MainActivity.java | Spin during upload. Try to guess most relevant mime-type value. | |
Java | apache-2.0 | 5025daf64f80fe97a48fbbbb83005c353b2e7093 | 0 | GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit | // Copyright (C) 2021 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 ... | javatests/com/google/gerrit/server/notedb/CommitRewriterTest.java | // Copyright (C) 2021 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 ... | Fix flaky CommitRewriterTest
Change-Id: I9d5419e92bc70f111aa888f00037ce8639cb2d02
| javatests/com/google/gerrit/server/notedb/CommitRewriterTest.java | Fix flaky CommitRewriterTest | |
Java | apache-2.0 | 5c24c72c98066624e71a56f1d8c48c38b073b88e | 0 | scholzj/barnabas,ppatierno/kaas,ppatierno/kaas,scholzj/barnabas | /*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.metrics;
import io.fabric8.kubernetes.api.model.Secret;
import io.strimzi.api.kafka.model.KafkaConnectResources;
import io.strimzi.api.kafka.model.Kaf... | systemtest/src/test/java/io/strimzi/systemtest/metrics/JmxST.java | /*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.metrics;
import io.strimzi.api.kafka.model.KafkaConnectResources;
import io.strimzi.api.kafka.model.KafkaJmxAuthenticationPassword;
import io.strimzi.... | [systemtest] Test check for JMX metrics on Zookeper nodes with secret custom labels and annotations (#5655)
* add test for jmx metrics and zookeeper - with secret custom labels and annotations
Signed-off-by: Lukas Kral <202a387696912e00fb6ba2c89585a72faa509673@gmail.com>
* merge two tests into one
Signed-off-... | systemtest/src/test/java/io/strimzi/systemtest/metrics/JmxST.java | [systemtest] Test check for JMX metrics on Zookeper nodes with secret custom labels and annotations (#5655) | |
Java | apache-2.0 | 377e4ce74bead20aeffbdcc7053674bf3900d7b7 | 0 | redhat-iot/cloudera-iot-demo,redhat-iot/cloudera-iot-demo,redhat-iot/cloudera-iot-demo,redhat-iot/cloudera-iot-demo | /**
* Copyright 2005-2017 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | bridge/src/main/java/com/redhat/iot/demo/cloudera/Application.java | /**
* Copyright 2005-2017 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | Add serializerClass for sending byte array (KuraPayload)
Signed-off-by: Chris Custine <41aebd970ed710b19617ef385714ffe3c13e4d74@apache.org>
| bridge/src/main/java/com/redhat/iot/demo/cloudera/Application.java | Add serializerClass for sending byte array (KuraPayload) | |
Java | apache-2.0 | 7021f6605da6520d5e0241468611a4c036550af0 | 0 | OpenConext/OpenConext-manage,OpenConext/OpenConext-manage,OpenConext/OpenConext-manage | package manage.control;
import com.fasterxml.jackson.core.JsonProcessingException;
import manage.api.APIUser;
import manage.conf.MetaDataAutoConfiguration;
import manage.exception.DuplicateEntityIdException;
import manage.exception.ResourceNotFoundException;
import manage.format.Exporter;
import manage.format.Importer... | manage-server/src/main/java/manage/control/MetaDataController.java | package manage.control;
import com.fasterxml.jackson.core.JsonProcessingException;
import manage.api.APIUser;
import manage.conf.MetaDataAutoConfiguration;
import manage.exception.DuplicateEntityIdException;
import manage.exception.ResourceNotFoundException;
import manage.format.Exporter;
import manage.format.Importer... | connectWithoutInteraction check valid spId
connectWithoutInteraction allowedEntities can be empty
| manage-server/src/main/java/manage/control/MetaDataController.java | connectWithoutInteraction check valid spId connectWithoutInteraction allowedEntities can be empty | |
Java | apache-2.0 | 088eb07e238412ada6dd3890d037edcce6452f45 | 0 | ENOW-IJI/storm,ENOW-IJI/storm,ENOW-IJI/storm | package com.enow.storm.ActionTopology;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import org.apache.storm.task.OutputCollector;
import org.apache.storm.task.Top... | src/main/java/com/enow/storm/ActionTopology/SchedulingBolt.java | package com.enow.storm.actionTopology;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import org.apache.storm.task.OutputCollector;
import org.apache.storm.task.Top... | edit slight type error
| src/main/java/com/enow/storm/ActionTopology/SchedulingBolt.java | edit slight type error | |
Java | apache-2.0 | 1c41ec866f12ad407a5f8bb25ac95fcc3993a8de | 0 | gingerwizard/elasticsearch,uschindler/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,uschindler/elasticsearc... | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | server/src/test/java/org/elasticsearch/indices/stats/IndexStatsIT.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | mute test IndexStatsIT.testBulkStats (#55510)
| server/src/test/java/org/elasticsearch/indices/stats/IndexStatsIT.java | mute test IndexStatsIT.testBulkStats (#55510) | |
Java | apache-2.0 | 46bfc85821476c4c69256c006e2b6996f3e0e9a8 | 0 | rm5248/JavaSerial,rm5248/JavaSerial,rm5248/JavaSerial | package com.rm5248.serial;
import java.io.IOException;
/**
* Provides a Builder pattern to make constructing a SerialPort easy.
*/
public class SerialPortBuilder {
String portName;
SerialPort.BaudRate baudRate;
SerialPort.DataBits dataBits;
SerialPort.FlowControl flowControl;
SerialPort.Parity ... | src/com/rm5248/serial/SerialPortBuilder.java | package com.rm5248.serial;
import java.io.IOException;
/**
* Provides a Builder pattern to make constructing a SerialPort easy.
*/
public class SerialPortBuilder {
String portName;
SerialPort.BaudRate baudRate;
SerialPort.DataBits dataBits;
SerialPort.FlowControl flowControl;
SerialPort.Parity ... | Make builder methods public so you can use it
| src/com/rm5248/serial/SerialPortBuilder.java | Make builder methods public so you can use it | |
Java | apache-2.0 | af4a6ddeceec512535787d37b4fb3bb330fee7f9 | 0 | ZheYuan/Mario,ZheYuan/Mario,ZheYuan/Mario,ZheYuan/Mario,ZheYuan/Mario,ZheYuan/Mario | /**
* Copyright 2014 Renren.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | Wario/src/main/java/com/renren/Wario/zookeeper/ZooKeeperCluster.java | /**
* Copyright 2014 Renren.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 添加SessionTimeout默认值 | Wario/src/main/java/com/renren/Wario/zookeeper/ZooKeeperCluster.java | 添加SessionTimeout默认值 | |
Java | apache-2.0 | 46ad105123a5e1bc183f759c10fddb8620959534 | 0 | missioncommand/mil-sym-java,missioncommand/mil-sym-java,missioncommand/mil-sym-java,missioncommand/mil-sym-java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package JavaTacticalRenderer;
import JavaLineArray.POINT2;
import JavaLineArray.ref;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.FontMetrics;
import JavaLineAr... | core/JavaLineArray/src/main/java/JavaTacticalRenderer/Modifier2.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package JavaTacticalRenderer;
import JavaLineArray.POINT2;
import JavaLineArray.ref;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.FontMetrics;
import JavaLineAr... | Fix boundary modifier error.
| core/JavaLineArray/src/main/java/JavaTacticalRenderer/Modifier2.java | Fix boundary modifier error. | |
Java | apache-2.0 | 9de10f91df574e293cccd04c4f97e7a6d26e6398 | 0 | gamerson/liferay-blade-cli,gamerson/liferay-blade-cli,gamerson/liferay-blade-cli | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | cli/src/test/java/com/liferay/blade/cli/command/CreateCommandTest.java | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | LPS-112511 Add npm angular test to github actions
| cli/src/test/java/com/liferay/blade/cli/command/CreateCommandTest.java | LPS-112511 Add npm angular test to github actions | |
Java | apache-2.0 | e73685c3375d7d5cf1ec8418e262b19c233730c4 | 0 | genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015 | package org.genericsystem.cv.retriever;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.ListIterator;
import java.util.stream.Collectors;
import org.genericsystem.cv.Img;
import org.genericsystem.cv.utils.RectToolsMapper;
import org.genericsystem.reinforcer.tools.GSRe... | gs-cv/src/main/java/org/genericsystem/cv/retriever/RectDetector.java | package org.genericsystem.cv.retriever;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.genericsystem.cv.Img;
import org.genericsystem.reinforcer.tools.GSRect;
import org.opencv.core.Mat;
import org.opencv.core.MatOfPoint;
import org.opencv.core.Rect;
import org.openc... | gs-cv: RectDetector: refactored the code to apply the overlap constraint
| gs-cv/src/main/java/org/genericsystem/cv/retriever/RectDetector.java | gs-cv: RectDetector: refactored the code to apply the overlap constraint | |
Java | bsd-3-clause | 425f621b40e9377a5d88d70ba69b982926730b08 | 0 | Artemish/jodd,Artemish/jodd,wjw465150/jodd,southwolf/jodd,mosoft521/jodd,mtakaki/jodd,Artemish/jodd,tempbottle/jodd,tempbottle/jodd,mtakaki/jodd,Artemish/jodd,Artemish/jodd,oetting/jodd,wsldl123292/jodd,southwolf/jodd,mosoft521/jodd,vilmospapp/jodd,oblac/jodd,mtakaki/jodd,vilmospapp/jodd,javachengwc/jodd,oetting/jodd,m... | // Copyright (c) 2003-2013, Jodd Team (jodd.org). All Rights Reserved.
package jodd.lagarto;
import jodd.util.StringPool;
import jodd.util.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import static jodd.lagarto.LagartoParserUtil.subSequence;
/**
* ... | jodd-lagarto/src/main/java/jodd/lagarto/LagartoParserEngine.java | // Copyright (c) 2003-2013, Jodd Team (jodd.org). All Rights Reserved.
package jodd.lagarto;
import jodd.util.StringPool;
import jodd.util.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import static jodd.lagarto.LagartoParserUtil.subSequence;
/**
* ... | javadoc
| jodd-lagarto/src/main/java/jodd/lagarto/LagartoParserEngine.java | javadoc | |
Java | mit | 154178730c6fd961415c74a45191944c189a3ad7 | 0 | PrinceOfAmber/CyclicMagic,PrinceOfAmber/Cyclic | package com.lothrazar.cyclic.item.endereye;
import com.lothrazar.cyclic.base.ItemBase;
import com.lothrazar.cyclic.util.UtilItemStack;
import com.lothrazar.cyclic.util.UtilWorld;
import net.minecraft.advancements.CriteriaTriggers;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.Serv... | src/main/java/com/lothrazar/cyclic/item/endereye/ItemEnderEyeReuse.java | package com.lothrazar.cyclic.item.endereye;
import com.lothrazar.cyclic.base.ItemBase;
import com.lothrazar.cyclic.util.UtilItemStack;
import net.minecraft.advancements.CriteriaTriggers;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.item.It... | Fix Solid Ender Eye not working when Repurposed Structures mod was present, due to replacing vanilla strongholds.
Add ability for Solid Ender Eye to detect Overworld and Nether Strongholds from Repurposed Structures.
Closes #1517
| src/main/java/com/lothrazar/cyclic/item/endereye/ItemEnderEyeReuse.java | Fix Solid Ender Eye not working when Repurposed Structures mod was present, due to replacing vanilla strongholds. Add ability for Solid Ender Eye to detect Overworld and Nether Strongholds from Repurposed Structures. Closes #1517 | |
Java | mit | dfa73ca08fa2e47da10f9c9f90dda5610e136f39 | 0 | apps8os/trafficsense,apps8os/trafficsense,apps8os/trafficsense,apps8os/trafficsense | package org.apps8os.trafficsense.first;
//test
import java.io.*;
import java.util.ArrayList;
import java.util.Scanner;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
public class JourneyParser {
private JsonObject _mainObj ; // Declare the JSON object
priva... | FirstProtoApp/src/org/apps8os/trafficsense/first/JourneyParser.java | package org.apps8os.trafficsense.first;
import java.io.*;
import java.util.ArrayList;
import java.util.Scanner;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
public class JourneyParser {
private JsonObject _mainObj ; // Declare the JSON object
private Jso... | Hourney Parser
| FirstProtoApp/src/org/apps8os/trafficsense/first/JourneyParser.java | Hourney Parser | |
Java | mpl-2.0 | e88e5763f4da5759338f4ea7aecfea1c8484ac2e | 0 | Phoenix616/ServerStatsDB | package de.themoep.serverstatsdb.storage;
import de.themoep.serverstatsdb.ServerStatsDB;
import org.bukkit.configuration.ConfigurationSection;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Copyright 2016 M... | src/main/java/de/themoep/serverstatsdb/storage/MySqlStorage.java | package de.themoep.serverstatsdb.storage;
import de.themoep.serverstatsdb.ServerStatsDB;
import org.bukkit.configuration.ConfigurationSection;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Copyright 2016 M... | Double takes less storage
| src/main/java/de/themoep/serverstatsdb/storage/MySqlStorage.java | Double takes less storage | |
Java | mpl-2.0 | 8ade4aedf0bd97e8e4f22f4f8928836e8542c493 | 0 | ajschult/etomica,etomica/etomica,etomica/etomica,ajschult/etomica,ajschult/etomica,etomica/etomica | package etomica.modules.swmd;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import javax.swing.JComboBox;
import javax.swing.JPanel;... | etomica.modules/etomica/modules/swmd/SwmdGraphic.java | package etomica.modules.swmd;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import javax.swing.JComboBox;
import javax.swing.JPanel;... | misc cleanup
| etomica.modules/etomica/modules/swmd/SwmdGraphic.java | misc cleanup | |
Java | mpl-2.0 | 90aa29d81d7fa5e10b1c4dd40a58194c76ca000a | 0 | jmintb/syncthing-android,syncthing/syncthing-android,syncthing/syncthing-android,begetan/syncthing-android,wweich/syncthing-android,syncthing/syncthing-android,wweich/syncthing-android,flipreverse/syncthing-android,jmintb/syncthing-android,begetan/syncthing-android,Nutomic/syncthing-android,flipreverse/syncthing-androi... | package com.nutomic.syncthingandroid.syncthing;
import android.annotation.TargetApi;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.Inte... | src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java | package com.nutomic.syncthingandroid.syncthing;
import android.annotation.TargetApi;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.Inte... | Also start Syncthing using thread pool
| src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java | Also start Syncthing using thread pool | |
Java | agpl-3.0 | 74d062851c9c2c5c808e44e9db3e0043661be098 | 0 | scylladb/scylla-jmx,scylladb/scylla-jmx,scylladb/scylla-jmx | /*
* 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 ... | src/main/java/org/apache/cassandra/metrics/CompactionMetrics.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 ... | CompactionMetrics: Use APITimer
This change the Timer from Timer to APITimer.
Signed-off-by: Amnon Heiman <ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@scylladb.com>
| src/main/java/org/apache/cassandra/metrics/CompactionMetrics.java | CompactionMetrics: Use APITimer | |
Java | agpl-3.0 | 948a94bd84b02013ff1b91defa4e2005dac7c295 | 0 | AchyuthIIIT/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,AchyuthIIIT... | package org.mediacloud.crfutils;
import java.io.IOException;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.Executor;
import java... | java/CrfUtils/src/main/java/org/mediacloud/crfutils/WebServerHandler.java | package org.mediacloud.crfutils;
import java.io.IOException;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.Executor;
import java... | Use getHostName() instead of getHostString() for compatibility with Java 1.6 (easier than installing Java 1.7 on test machine)
| java/CrfUtils/src/main/java/org/mediacloud/crfutils/WebServerHandler.java | Use getHostName() instead of getHostString() for compatibility with Java 1.6 (easier than installing Java 1.7 on test machine) | |
Java | lgpl-2.1 | d0bd502d1ad303b5de03d5b6c6862e0b84a8b255 | 0 | tklauser/sopc2dts | package sopc2dts.lib.components.altera;
import org.xml.sax.ContentHandler;
import org.xml.sax.XMLReader;
import sopc2dts.generators.AbstractSopcGenerator;
import sopc2dts.lib.SopcInfoConnection;
import sopc2dts.lib.components.SopcComponentDescription;
import sopc2dts.lib.components.SopcInfoComponent;
public class SI... | sopc2dts/sopc2dts/lib/components/altera/SICSgdma.java | package sopc2dts.lib.components.altera;
import org.xml.sax.ContentHandler;
import org.xml.sax.XMLReader;
import sopc2dts.generators.AbstractSopcGenerator;
import sopc2dts.lib.SopcInfoConnection;
import sopc2dts.lib.components.SopcComponentDescription;
import sopc2dts.lib.components.SopcInfoComponent;
public class SI... | sopc2dts: SICSgdma: remove some copy/paste left-overs
Signed-off-by: Walter Goossens <423eb823df3d47e4be79896b836c41319472e26c@home.nl>
| sopc2dts/sopc2dts/lib/components/altera/SICSgdma.java | sopc2dts: SICSgdma: remove some copy/paste left-overs | |
Java | lgpl-2.1 | be8ab3515ca92a7b902bf67feaea87a59557d67e | 0 | kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe | package java.io;
import java.lang.String;
/*
* Java core library component.
*
* Copyright (c) 1997, 1998
* Transvirtual Technologies, Inc. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution
* of this file.
*/
public class InterruptedIOException extends IOEx... | libraries/javalib/java/io/InterruptedIOException.java | package java.io;
import java.lang.String;
/*
* Java core library component.
*
* Copyright (c) 1997, 1998
* Transvirtual Technologies, Inc. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution
* of this file.
*/
public class InterruptedIOException
extends IO... | Add missing field "bytesTransferred".
| libraries/javalib/java/io/InterruptedIOException.java | Add missing field "bytesTransferred". | |
Java | apache-2.0 | fa1d54aa5ef4ed21a970d12f5e041039f1c9ce10 | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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... | litho-rendercore/src/main/java/com/facebook/rendercore/MountState.java | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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... | Back out "Back out "[litho][rcms] Uses render unit it to unmount instead of render tree node""
Summary:
Original commit changeset: 00cb7ec5abfa
Original Phabricator Diff: D34680668 (https://github.com/facebook/litho/commit/b58530e3164e6efdf56cc606f5bcc529a8a22492)
Differential Revision: D34700950
fbshipit-source-id... | litho-rendercore/src/main/java/com/facebook/rendercore/MountState.java | Back out "Back out "[litho][rcms] Uses render unit it to unmount instead of render tree node"" | |
Java | apache-2.0 | a37e08fb163f41fed30d0a5d209b60bd10f75413 | 0 | ALEXGUOQ/android-styled-dialogs,jaohoang/android-styled-dialogs,draekko/android-styled-dialogs,ajrulez/android-styled-dialogs,hgl888/android-styled-dialogs,wtttc/android-styled-dialogs,aaaliua/android-styled-dialogs,YlJava110/android-styled-dialogs,fengchenlianlian/android-styled-dialogs,vmailapp/android-styled-dialogs... | /*
* Copyright 2013 Inmite s.r.o. (www.inmite.eu).
*
* 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 applicabl... | library/src/eu/inmite/android/lib/dialogs/SimpleDialogFragment.java | /*
* Copyright 2013 Inmite s.r.o. (www.inmite.eu).
*
* 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 applicabl... | Bugfix #18
For ISimpleDialogListener and ISimpleDialogCancelListener: if
targetFragment is not set, first fallback to parentFragment, then
fallback to Activity.
| library/src/eu/inmite/android/lib/dialogs/SimpleDialogFragment.java | Bugfix #18 | |
Java | apache-2.0 | 73fc5d10a0499a32c6e63958c63b5b633e35438e | 0 | ox-it/ords-database-api | /*
* Copyright 2015 University of Oxford
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/test/java/uk/ac/ox/it/ords/api/database/DatabasePermissionTest.java | /*
* Copyright 2015 University of Oxford
*
* 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... | Removed unused code | src/test/java/uk/ac/ox/it/ords/api/database/DatabasePermissionTest.java | Removed unused code | |
Java | apache-2.0 | 9609c4149a2efa2f48d04bf42821b33d0b400dea | 0 | crow-misia/xmlbeans,crow-misia/xmlbeans,crow-misia/xmlbeans | /* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java | /* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | Fixed setNamedItemNS
git-svn-id: 297cb4147f50b389680bb5ad136787e97b9148ae@110541 13f79535-47bb-0310-9956-ffa450edef68
| v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java | Fixed setNamedItemNS | |
Java | apache-2.0 | 1752a34914fff59218818d22970bd89fd4802e2d | 0 | nikhilvibhav/camel,mcollovati/camel,adessaigne/camel,tadayosi/camel,christophd/camel,cunningt/camel,tdiesler/camel,nikhilvibhav/camel,apache/camel,pax95/camel,ullgren/camel,mcollovati/camel,tdiesler/camel,pmoerenhout/camel,tdiesler/camel,zregvart/camel,CodeSmell/camel,ullgren/camel,tadayosi/camel,cunningt/camel,tdiesle... | /*
* 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 ... | components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/JdbcAggregationRepository.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | CAMEL-14246 - Camel-SQL: Relax the modifier for datasource setter by removing final
| components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/JdbcAggregationRepository.java | CAMEL-14246 - Camel-SQL: Relax the modifier for datasource setter by removing final | |
Java | apache-2.0 | 4871987342a9f6616f29e08152cf1716ed7132bd | 0 | mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
*
* 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... | indexers/src/main/java/org/mousephenotype/cda/indexers/MPIndexer.java | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
*
* 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... | Fixed mpIndexer, error on new field indexing scrollToNode. | indexers/src/main/java/org/mousephenotype/cda/indexers/MPIndexer.java | Fixed mpIndexer, error on new field indexing scrollToNode. | |
Java | apache-2.0 | dec51085a7a6cf37e170abb8eb8d379eb8ccf05c | 0 | appNG/appng,appNG/appng,appNG/appng | /*
* Copyright 2011-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | appng-api/src/main/java/org/appng/api/support/ResultServiceImpl.java | /*
* Copyright 2011-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | APPNG-2446
| appng-api/src/main/java/org/appng/api/support/ResultServiceImpl.java | APPNG-2446 | |
Java | apache-2.0 | 25ebc2949f516f79fc74794387d6f32ebe4d7115 | 0 | ragnor-rs/visum | /*
* Copyright (c) 2015 Zvooq LTD.
* Authors: Renat Sarymsakov, Dmitriy Mozgin, Denis Volyntsev.
*
* This file is part of Visum.
*
* Visum is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versio... | library/src/main/java/io/reist/visum/presenter/VisumPresenter.java | /*
* Copyright (c) 2015 Zvooq LTD.
* Authors: Renat Sarymsakov, Dmitriy Mozgin, Denis Volyntsev.
*
* This file is part of Visum.
*
* Visum is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versio... | fix spaces
| library/src/main/java/io/reist/visum/presenter/VisumPresenter.java | fix spaces | |
Java | apache-2.0 | 00aec741b4654db11d7bb3dadd46236ccc7cde10 | 0 | apurtell/phoenix,apurtell/phoenix,ankitsinghal/phoenix,apache/phoenix,ankitsinghal/phoenix,ankitsinghal/phoenix,apurtell/phoenix,apache/phoenix,apache/phoenix,apache/phoenix,ankitsinghal/phoenix,ankitsinghal/phoenix,apurtell/phoenix,apache/phoenix,apurtell/phoenix | /*
* 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 ... | phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.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 ... | PHOENIX-5699 Investigate reducing chore intervals in MiniCluster to speed up tests
| phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java | PHOENIX-5699 Investigate reducing chore intervals in MiniCluster to speed up tests | |
Java | apache-2.0 | 906b30cc4050d118447f79e21d78cbf3ddabf62a | 0 | jsubercaze/opennlp-tools-steroids,jsubercaze/opennlp-tools-steroids,aertoria/opennlp,aertoria/opennlp,Eagles2F/opennlp,Eagles2F/opennlp,aertoria/opennlp,Eagles2F/opennlp,jsubercaze/opennlp-tools-steroids | /*
* 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 ... | opennlp-tools/src/main/java/opennlp/tools/util/eval/Evaluator.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 ... | OPENNLP-226 Now Evaluator has only one constructor that receives a variable length param.
git-svn-id: 924c1ce098d5c0cf43d98e06e1f2b659f3b417ce@1160806 13f79535-47bb-0310-9956-ffa450edef68
| opennlp-tools/src/main/java/opennlp/tools/util/eval/Evaluator.java | OPENNLP-226 Now Evaluator has only one constructor that receives a variable length param. | |
Java | apache-2.0 | e71129ab90fa8946ba60cde405e42851916f49c1 | 0 | ylfonline/achartengine,kaytdek/achartengine,ddanny/achartengine,ddanny/achartengine,ylfonline/achartengine,kaytdek/achartengine | /**
* Copyright (C) 2009 - 2013 SC 4ViewSoft SRL
*
* 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... | achartengine/src/org/achartengine/model/XYSeries.java | /**
* Copyright (C) 2009 - 2013 SC 4ViewSoft SRL
*
* 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... | Fix for issue #326. | achartengine/src/org/achartengine/model/XYSeries.java | Fix for issue #326. | |
Java | apache-2.0 | eb153f535f49b871b5d2d55beded6724cb5f6af9 | 0 | Aeronica/mxTune | /*
* Aeronica's mxTune MOD
* Copyright 2019, Paul Boese a.k.a. Aeronica
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | src/main/java/net/aeronica/mods/mxtune/managers/records/Area.java | /*
* Aeronica's mxTune MOD
* Copyright 2019, Paul Boese a.k.a. Aeronica
*
* 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
*
*... | Must refactor Area to use SongProxy's instead of Song UUID's. It will
help with figuring out what songs are in the Area playlists.
| src/main/java/net/aeronica/mods/mxtune/managers/records/Area.java | Must refactor Area to use SongProxy's instead of Song UUID's. It will help with figuring out what songs are in the Area playlists. | |
Java | apache-2.0 | 077ffed075df8a81a0378d40e5ca7d76908f916a | 0 | igniterealtime/Openfire,guusdk/Openfire,magnetsystems/message-openfire,igniterealtime/Openfire,speedy01/Openfire,speedy01/Openfire,Gugli/Openfire,magnetsystems/message-openfire,Gugli/Openfire,Gugli/Openfire,akrherz/Openfire,akrherz/Openfire,akrherz/Openfire,magnetsystems/message-openfire,GregDThomas/Openfire,GregDThoma... | /**
* $RCSfile: PresenceSubscribeHandler.java,v $
* $Revision: 3136 $
* $Date: 2005-12-01 02:06:16 -0300 (Thu, 01 Dec 2005) $
*
* Copyright (C) 2004-2008 Jive Software. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian... | src/java/org/jivesoftware/openfire/handler/PresenceSubscribeHandler.java | /**
* $RCSfile: PresenceSubscribeHandler.java,v $
* $Revision: 3136 $
* $Date: 2005-12-01 02:06:16 -0300 (Thu, 01 Dec 2005) $
*
* Copyright (C) 2004-2008 Jive Software. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian... | OF-468: Ensure that JIDS of subscription stanzas are bare.
git-svn-id: 2e83ce7f183c9abd424edb3952fab2cdab7acd7f@12561 b35dd754-fafc-0310-a699-88a17e54d16e
| src/java/org/jivesoftware/openfire/handler/PresenceSubscribeHandler.java | OF-468: Ensure that JIDS of subscription stanzas are bare. | |
Java | apache-2.0 | a3e345041cf65970ea202b17a3abe451d9babb5c | 0 | ldo/gles2_sample_android,ldo/gles2_sample_android,ldo/gles2_sample_android | package nz.gen.geek_central.GLUseful;
/*
functional 3D vector operations
Copyright 2011 by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
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 Li... | src/Vec3f.java | package nz.gen.geek_central.GLUseful;
/*
functional 3D vector operations
Copyright 2011 by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
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 Li... | correct abs; add norm
| src/Vec3f.java | correct abs; add norm | |
Java | apache-2.0 | 781b8f69304540a58f0925a6d272b5b02e8f9d64 | 0 | woo-j/OkapiBarcode | /*
* Copyright 2014 Robin Stuart
*
* 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 ... | src/main/java/uk/org/okapibarcode/backend/Symbol.java | /*
* Copyright 2014 Robin Stuart
*
* 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 ... | Make it more obvious which of the instance variables in Symbol are configuration settings, and which are transient state calculated when setContent( ) is called
| src/main/java/uk/org/okapibarcode/backend/Symbol.java | Make it more obvious which of the instance variables in Symbol are configuration settings, and which are transient state calculated when setContent( ) is called | |
Java | apache-2.0 | 75071c60d683124c93b6bdeb5d90ffe2acec0e8b | 0 | apache/mina-sshd,apache/mina-sshd,apache/mina-sshd,apache/mina-sshd | /*
* 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 ma... | sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.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 ma... | ChannelSession: Split parsing from handlers
# Conflicts:
# sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java
| sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java | ChannelSession: Split parsing from handlers | |
Java | apache-2.0 | b3ee115ba54661c2459db2c41787137b339242eb | 0 | beckje01/java-driver,mashuai/Cassandra-Java-Driver-Research,olim7t/java-driver,mebigfatguy/java-driver,kjniemi/java-driver,fromanator/java-driver,tolbertam/java-driver,adejanovski/java-driver,mike-tr-adamson/java-driver,cesarmarinhorj/java-driver,bsideup/java-driver,wselwood/java-driver,InnovaCo/java-driver,tolbertam/j... | package com.datastax.driver.core;
import java.net.InetAddress;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.*;
import org.apache.cassandra.transport.Event;
import org.apache.cassandra.transport.messages.RegisterMessage;
import org.apache.cassandra.transport.messa... | driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java | package com.datastax.driver.core;
import java.net.InetAddress;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.*;
import org.apache.cassandra.transport.Event;
import org.apache.cassandra.transport.messages.RegisterMessage;
import org.apache.cassandra.transport.messa... | Fix missing refresh of token map when nodes are removed
| driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java | Fix missing refresh of token map when nodes are removed | |
Java | apache-2.0 | 937ddf19ef98e84e01952dde4019afe97ac948d1 | 0 | Indoqa/indoqa-boot,Indoqa/indoqa-boot | /*
* Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Indoqa licenses this file to You under the Apache License, Version 2.0
* (the "Lice... | src/main/java/com/indoqa/boot/SystemInfo.java | /*
* Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Indoqa licenses this file to You under the Apache License, Version 2.0
* (the "Lice... | fixed sonar warning | src/main/java/com/indoqa/boot/SystemInfo.java | fixed sonar warning | |
Java | apache-2.0 | f0cfdf537e1b5a57cf15fc1204e9294367fb7e5f | 0 | apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin | /*
* 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 ... | server-base/src/main/java/org/apache/kylin/rest/service/QueryService.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 ... | KYLIN-3959 shutdown query cache for realtime olap
| server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java | KYLIN-3959 shutdown query cache for realtime olap | |
Java | bsd-2-clause | 767ebe87362e14d511062bf7a58880a6b2fc19c0 | 0 | girtel/Net2Plan,girtel/Net2Plan,girtel/Net2Plan | /*******************************************************************************
* Copyright (c) 2015 Pablo Pavon Mariño.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is availa... | src/main/java/com/net2plan/gui/utils/topologyPane/TopologyPanel.java | /*******************************************************************************
* Copyright (c) 2015 Pablo Pavon Mariño.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is availa... | Changed OSM run button position and added a close map button.
Need to check if everything is okay.
| src/main/java/com/net2plan/gui/utils/topologyPane/TopologyPanel.java | Changed OSM run button position and added a close map button. Need to check if everything is okay. | |
Java | mit | 3d008dee697bebd0d625138ac8d501ad1fafc4f0 | 0 | DMDirc/Plugins,DMDirc/Plugins,DMDirc/Plugins,csmith/DMDirc-Plugins,csmith/DMDirc-Plugins,csmith/DMDirc-Plugins,csmith/DMDirc-Plugins,DMDirc/Plugins,csmith/DMDirc-Plugins,DMDirc/Plugins | /*
* Copyright (c) 2006-2010 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | src/com/dmdirc/addons/ui_swing/MainFrame.java | /*
* Copyright (c) 2006-2010 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | On the fly frame manager position moving.
Fixes issue 4434
Change-Id: I8775284c86583c11d4d8dd5341159d64aecbed6c
Reviewed-on: http://gerrit.dmdirc.com/1509
Reviewed-by: Chris Smith <711c73f64afdce07b7e38039a96d2224209e9a6c@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <fd7610eb81751244add0a62da2de7da51cfdce47@go... | src/com/dmdirc/addons/ui_swing/MainFrame.java | On the fly frame manager position moving. | |
Java | mit | 0f47654502c862a940f35ecdd87dcedc3c7f97b4 | 0 | hvqzao/burp-token-rewrite | // Token Rewrite Burp Extension, (c) 2016 Marcin Woloszyn (@hvqzao), Released under MIT license
package hvqzao.rewrite;
import burp.IBurpExtender;
import burp.IBurpExtenderCallbacks;
import burp.IExtensionHelpers;
import burp.ITab;
import java.awt.Component;
import java.awt.Dialog;
import java.awt.Dimension;
import ja... | src/hvqzao/rewrite/TokenRewriteExtension.java | // Token Rewrite Burp Extension, (c) 2016 Marcin Woloszyn (@hvqzao), Released under MIT license
package hvqzao.rewrite;
import burp.IBurpExtender;
import burp.IBurpExtenderCallbacks;
import burp.IExtensionHelpers;
import burp.ITab;
import java.awt.Component;
import java.awt.Dialog;
import java.awt.Dimension;
import ja... | Data visualisation completed
| src/hvqzao/rewrite/TokenRewriteExtension.java | Data visualisation completed | |
Java | mit | 5b0f47622bb5da5c6adae800679c248d720ff941 | 0 | andrey-yemelyanov/competitive-programming,andrey-yemelyanov/competitive-programming | import java.util.*;
import static java.lang.Math.*;
import java.util.stream.*;
/*
Problem name: 11452 Dancing the Cheeky-Cheeky
Problem url: https://uva.onlinejudge.org/external/114/11452.pdf
Author: Andrey Yemelyanov
*/
public class _11452 {
public static void main(String[] args){
Scanner s = new Scanner(System... | cp-book/ch6/adhoc/_11452.java | import java.util.*;
import static java.lang.Math.*;
import java.util.stream.*;
/*
Problem name: 11452 Dancing the Cheeky-Cheeky
Problem url: https://uva.onlinejudge.org/external/114/11452.pdf
Author: Andrey Yemelyanov
*/
public class _11452 {
public static void main(String[] args){
Scanner s = new Scanner(System... | 11452 Dancing the Cheeky Cheeky
| cp-book/ch6/adhoc/_11452.java | 11452 Dancing the Cheeky Cheeky | |
Java | mit | ee48fea3dd488e6a054de111191e7ab12fd56181 | 0 | iVanPan/Cordova_QQ,iVanPan/Cordova_QQ,iVanPan/Cordova_QQ,iVanPan/Cordova_QQ | package me.vanpan.qqsdk;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Base64;
import android.util.Lo... | src/android/QQSDKPlugin.java | package me.vanpan.qqsdk;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Base64;
import android.util.Lo... | fix #69
| src/android/QQSDKPlugin.java | fix #69 | |
Java | mit | f5dcd4f25ec3cf01248685ec6d26079609a62c71 | 0 | cs2103jan2015-w13-3j/main,cs2103jan2015-w13-3j/main | package udo.storage;
import java.util.Calendar;
import java.util.GregorianCalendar;
import udo.util.Utility;
public class Task implements Comparable<Task> {
public static enum TaskType {DEADLINE, EVENT, TODO};
//class defines Task objects
private Integer groupId;
private Integer index;
private TaskTyp... | src/udo/storage/Task.java | package udo.storage;
import java.util.GregorianCalendar;
import udo.util.Utility;
public class Task implements Comparable<Task> {
public static enum TaskType {DEADLINE, EVENT, TODO};
//class defines Task objects
private Integer groupId;
private Integer index;
private TaskType taskType;
private String... | shift deadline before event
| src/udo/storage/Task.java | shift deadline before event | |
Java | mit | d4a42f8eeadb451c6b9af5a7d4cf5464ce8793a4 | 0 | DDoS/JICI | /**
* This file is part of JICI, licensed under the MIT License (MIT).
*
* Copyright (c) 2015-2015 Aleksi Sapon <http://sapon.ca/jici/>
*
* 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 Softwar... | src/main/java/ca/sapon/jici/evaluator/CharValue.java | /**
* This file is part of JICI, licensed under the MIT License (MIT).
*
* Copyright (c) 2015-2015 Aleksi Sapon <http://sapon.ca/jici/>
*
* 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 Softwar... | Use common values that make sense in CharValue
| src/main/java/ca/sapon/jici/evaluator/CharValue.java | Use common values that make sense in CharValue | |
Java | agpl-3.0 | 5edf40f9bb0487adff2b5d4fb925a71c6bbfaad1 | 0 | BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit | /*
* Copyright (C) 2010 BloatIt. This file is part of BloatIt. BloatIt is free
* software: you can redistribute it and/or modify it under the terms of the GNU
* Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
* Bl... | main/src/main/java/com/bloatit/web/linkable/features/FeatureOfferListComponent.java | /*
* Copyright (C) 2010 BloatIt. This file is part of BloatIt. BloatIt is free
* software: you can redistribute it and/or modify it under the terms of the GNU
* Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
* Bl... | currency display fix
| main/src/main/java/com/bloatit/web/linkable/features/FeatureOfferListComponent.java | currency display fix | |
Java | apache-2.0 | 03001a7a266e1758a9d280ce3f0f87184df41c20 | 0 | dexecutor/dexecutor-core | /*
* 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... | src/main/java/com/github/dexecutor/core/DexecutorConfig.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | Added one more constructor | src/main/java/com/github/dexecutor/core/DexecutorConfig.java | Added one more constructor | |
Java | apache-2.0 | e6007358090f7734a53725ec3b7fdd3a06c52653 | 0 | michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3 | package hex.tree.isoforextended;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import water.DKV;
import water.Key;
import water.Scope;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.TestFrameBuilder;
import water.fvec.Vec;
import static org.junit.Assert.*;
import sta... | h2o-algos/src/test/java/hex/tree/isoforextended/ExtendedIsolationForestTest.java | package hex.tree.isoforextended;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import water.DKV;
import water.Key;
import water.Scope;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.TestFrameBuilder;
import water.fvec.Vec;
import static org.junit.Assert.*;
import sta... | PUBDEV-7138 track vectors
| h2o-algos/src/test/java/hex/tree/isoforextended/ExtendedIsolationForestTest.java | PUBDEV-7138 track vectors | |
Java | apache-2.0 | 9e7ac06bf5abdb187fa7971f9e84aa31af5cb659 | 0 | InMobi/pintail,rajubairishetti/pintail,sreedishps/pintail,sreedishps/pintail,rajubairishetti/pintail,InMobi/pintail | package com.inmobi.messaging.util;
import com.inmobi.messaging.ClientConfig;
import com.inmobi.messaging.consumer.audit.Column;
import com.inmobi.messaging.consumer.audit.Filter;
import com.inmobi.messaging.consumer.audit.LatencyColumns;
import com.inmobi.messaging.consumer.audit.Tuple;
import org.apache.commons.loggi... | messaging-client-core/src/main/java/com/inmobi/messaging/util/AuditDBHelper.java | package com.inmobi.messaging.util;
import com.inmobi.messaging.ClientConfig;
import com.inmobi.messaging.consumer.audit.Column;
import com.inmobi.messaging.consumer.audit.Filter;
import com.inmobi.messaging.consumer.audit.LatencyColumns;
import com.inmobi.messaging.consumer.audit.Tuple;
import org.apache.commons.loggi... | Closing PreparedStatements
| messaging-client-core/src/main/java/com/inmobi/messaging/util/AuditDBHelper.java | Closing PreparedStatements | |
Java | apache-2.0 | f87c97a8f3c989483ef7c7a600bfd589c9feb7dd | 0 | BezrukovM/veraPDF-pdfbox,benmccann/pdfbox,veraPDF/veraPDF-pdfbox,BezrukovM/veraPDF-pdfbox,mathieufortin01/pdfbox,mathieufortin01/pdfbox,torakiki/sambox,torakiki/sambox,benmccann/pdfbox,joansmith/pdfbox,gavanx/pdflearn,veraPDF/veraPDF-pdfbox,gavanx/pdflearn,ChunghwaTelecom/pdfbox,mdamt/pdfbox,ChunghwaTelecom/pdfbox,mdam... | /*
* 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/pdmodel/graphics/pattern/TilingPaint.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-1094: add cast forgotten in previous commit; replace getBounds2D() that doesn't work for negative values.
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1618367 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/pattern/TilingPaint.java | PDFBOX-1094: add cast forgotten in previous commit; replace getBounds2D() that doesn't work for negative values. | |
Java | apache-2.0 | 0f39b2e4963755bd1d23a55dd9b6e4cac9d3f567 | 0 | dan-zx/zekke-api,dan-zx/zekke-api | /*
* Copyright 2017 Daniel Pedraza-Arcega
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/test/java/com/github/danzx/zekke/test/BaseValidationTest.java | /*
* Copyright 2017 Daniel Pedraza-Arcega
*
* 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... | Force validation messages locale to ROOT
| src/test/java/com/github/danzx/zekke/test/BaseValidationTest.java | Force validation messages locale to ROOT | |
Java | apache-2.0 | c4830928864e517a0d4a61252b091c78a58c274a | 0 | walkingice/aster,liuyq/aster,leijian/aster,walkingice/aster,z7z8th/aster,kanru/aster,liuyq/aster,Ryan2009/aster,z7z8th/aster,z7z8th/aster,kanru/aster,kanru/aster,Ryan2009/aster,Ryan2009/aster,walkingice/aster,cuongmv162/aster,leijian/aster,liuyq/aster,cuongmv162/aster,leijian/aster,cuongmv162/aster | /*
* Copyright (C) 2011 0xlab - http://0xlab.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | src/org/zeroxlab/aster/AsterMainPanel.java | /*
* Copyright (C) 2011 0xlab - http://0xlab.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Set initial size of Panel
| src/org/zeroxlab/aster/AsterMainPanel.java | Set initial size of Panel | |
Java | apache-2.0 | d144e90ae4d8536a49e5713c1ceb962390ef1dbe | 0 | pengrad/java-telegram-bot-api | package com.pengrad.telegrambot;
import com.pengrad.telegrambot.checks.AnimationCheck;
import com.pengrad.telegrambot.checks.AudioTest;
import com.pengrad.telegrambot.checks.ChatMemberTest;
import com.pengrad.telegrambot.checks.ChatTest;
import com.pengrad.telegrambot.checks.DocumentTest;
import com.pengrad.telegrambo... | library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java | package com.pengrad.telegrambot;
import com.pengrad.telegrambot.checks.AnimationCheck;
import com.pengrad.telegrambot.checks.AudioTest;
import com.pengrad.telegrambot.checks.ChatMemberTest;
import com.pengrad.telegrambot.checks.ChatTest;
import com.pengrad.telegrambot.checks.DocumentTest;
import com.pengrad.telegrambo... | deleteMyCommands test
| library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java | deleteMyCommands test | |
Java | apache-2.0 | cbd6d496f82fd8f0b0c54d7ebf78f22bd8c0d68d | 0 | viritin/viritin,pbaris/viritin,viritin/viritin,pbaris/viritin | package org.vaadin.viritin.grid;
import static org.vaadin.viritin.LazyList.DEFAULT_PAGE_SIZE;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logge... | src/main/java/org/vaadin/viritin/grid/MGrid.java | package org.vaadin.viritin.grid;
import static org.vaadin.viritin.LazyList.DEFAULT_PAGE_SIZE;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logge... | Refactored a method name
| src/main/java/org/vaadin/viritin/grid/MGrid.java | Refactored a method name | |
Java | apache-2.0 | 4436182509c40c74e99a48bbc44a41a8decf7ada | 0 | palaima/DebugDrawer,palaima/DebugDrawer | package io.palaima.debugdrawer.timber.data;
import android.content.Context;
import android.support.annotation.NonNull;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayDeque;
import java.util.ArrayList;
im... | debugdrawer-timber/src/main/java/io/palaima/debugdrawer/timber/data/LumberYard.java | package io.palaima.debugdrawer.timber.data;
import android.content.Context;
import android.support.annotation.NonNull;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayDeque;
import java.util.ArrayList;
im... | Fix NullPointerException in LumberYard#cleanUp | debugdrawer-timber/src/main/java/io/palaima/debugdrawer/timber/data/LumberYard.java | Fix NullPointerException in LumberYard#cleanUp | |
Java | apache-2.0 | c95d5c95c112c386cb0b57b59e3651ee0a6fef45 | 0 | mtransitapps/ca-saskatoon-transit-bus-parser | package org.mtransit.parser.ca_saskatoon_transit_bus;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.mtransit.parser.CleanUt... | src/org/mtransit/parser/ca_saskatoon_transit_bus/SaskatoonTransitBusAgencyTools.java | package org.mtransit.parser.ca_saskatoon_transit_bus;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;
import org.mtransit.parser.CleanUtils;
import org.mtransit.parser.DefaultAgency... | Compatibility with latest update.
| src/org/mtransit/parser/ca_saskatoon_transit_bus/SaskatoonTransitBusAgencyTools.java | Compatibility with latest update. | |
Java | apache-2.0 | 7870f01449ad8fe61fc2f7daa8a82dad5ecbeebc | 0 | smgoller/geode,smgoller/geode,masaki-yamakawa/geode,masaki-yamakawa/geode,smgoller/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,smgoller/geode,masaki-yamakawa/geode,smgoller/geode,smgoller/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,jdeppe-pivotal/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-core/src/main/java/org/apache/geode/cache/client/internal/QueueManagerImpl.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-10106: Handle NPE in QueueManagerImpl (#7471)
CacheClientNotifierDUnitTest failed with an NPE because queuedConnection is occationally null when trying to recover the primary.
This is solved by checking for null before calling any methods on that object.
- fixes spelling mistakes.
- the primary can be nu... | geode-core/src/main/java/org/apache/geode/cache/client/internal/QueueManagerImpl.java | GEODE-10106: Handle NPE in QueueManagerImpl (#7471) | |
Java | apache-2.0 | 958afeacec0acda0460e02370ca7d2208f0dd8a5 | 0 | senseobservationsystems/commonsense-frontend,senseobservationsystems/commonsense-frontend | package nl.sense_os.commonsense.client.groups.list;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import nl.sense_os.commonsense.client.auth.login.LoginEvents;
import nl.sense_os.commonsense.client.common.constants.Constants;
import nl.sense_os.commonsense.client.common.constants... | src/nl/sense_os/commonsense/client/groups/list/GroupController.java | package nl.sense_os.commonsense.client.groups.list;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import nl.sense_os.commonsense.client.auth.login.LoginEvents;
import nl.sense_os.commonsense.client.common.constants.Constants;
import nl.sense_os.commonsense.client.common.constants... | handle case where the user has not rights to view group members
| src/nl/sense_os/commonsense/client/groups/list/GroupController.java | handle case where the user has not rights to view group members | |
Java | apache-2.0 | 9153dcba2956b5fb8465e31efc6a1c50178db2f3 | 0 | Stratio/deep-spark,Stratio/deep-spark | /*
* Copyright 2014, Stratio.
*
* 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 wri... | deep-commons/src/main/java/com/stratio/deep/extractor/impl/GenericHadoopExtractor.java | /*
* Copyright 2014, Stratio.
*
* 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 wri... | fixed getPartitions
| deep-commons/src/main/java/com/stratio/deep/extractor/impl/GenericHadoopExtractor.java | fixed getPartitions | |
Java | apache-2.0 | d0184e88f7f391ba6e4efa2c62ee4270344057ca | 0 | grgrzybek/karaf,grgrzybek/karaf,grgrzybek/karaf | /*
* 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 ... | shell/ssh/src/main/java/org/apache/karaf/shell/ssh/KarafJaasPasswordAuthenticator.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 ... | KARAF-1354 Fix applied with thanks to Lukas Roedl
git-svn-id: 71d8a689455c5fbb0f077bc40adcfc391e14cb9d@1325156 13f79535-47bb-0310-9956-ffa450edef68
| shell/ssh/src/main/java/org/apache/karaf/shell/ssh/KarafJaasPasswordAuthenticator.java | KARAF-1354 Fix applied with thanks to Lukas Roedl | |
Java | apache-2.0 | 2ce6489882e9d7e9cad57473c6d1f53af293d7f1 | 0 | willkara/sakai,introp-software/sakai,colczr/sakai,ouit0408/sakai,kingmook/sakai,surya-janani/sakai,introp-software/sakai,udayg/sakai,tl-its-umich-edu/sakai,bzhouduke123/sakai,zqian/sakai,introp-software/sakai,wfuedu/sakai,Fudan-University/sakai,tl-its-umich-edu/sakai,lorenamgUMU/sakai,ktakacs/sakai,rodriguezdevera/saka... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version 1.0 ... | content/content-impl/impl/src/java/org/sakaiproject/content/impl/BaseContentService.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version 1.0 ... | SAK-7014
Avoid logging a NPE in cases where availabilityCheck is called with invalid content id
git-svn-id: 5b1b1b0f989bbd918ddd0a77f47569c690fd24bc@17591 66ffb92e-73f9-0310-93c1-f5514f145a0a
| content/content-impl/impl/src/java/org/sakaiproject/content/impl/BaseContentService.java | SAK-7014 Avoid logging a NPE in cases where availabilityCheck is called with invalid content id | |
Java | apache-2.0 | fc31c10672e30a2cc218e541004cc4197e199fbe | 0 | byzhang/terrastore,xingh/terrastore,xingh/terrastore,est/terrastore,est/terrastore,est/terrastore,est/terrastore,byzhang/terrastore,byzhang/terrastore,xingh/terrastore,byzhang/terrastore,xingh/terrastore | /**
* Copyright 2009 - 2010 Sergio Bossa (sergio.bossa@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | src/main/java/terrastore/cluster/impl/TCCluster.java | /**
* Copyright 2009 - 2010 Sergio Bossa (sergio.bossa@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Fix for tolerating duplicated node joins by the terracotta master.
| src/main/java/terrastore/cluster/impl/TCCluster.java | Fix for tolerating duplicated node joins by the terracotta master. | |
Java | apache-2.0 | 031ab52518774b7ca697f300ad865a1db0d928b1 | 0 | HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... | community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestPropertyBlocks.java | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... | More PropertyBlock tests
| community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestPropertyBlocks.java | More PropertyBlock tests | |
Java | apache-2.0 | a1711875bdde9a361dd41bb5c63c173e361f68d5 | 0 | RWTH-i5-IDSG/jamocha,RWTH-i5-IDSG/jamocha | /*
* Copyright 2002-2014 The Jamocha Team
*
*
* 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writin... | test/test/jamocha/filter/FunctionNormaliserTest.java | /*
* Copyright 2002-2014 The Jamocha Team
*
*
* 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writin... | FunctionNormaliser: more hash-code-based tests
| test/test/jamocha/filter/FunctionNormaliserTest.java | FunctionNormaliser: more hash-code-based tests | |
Java | apache-2.0 | b712a10dc1ae1a74fc5385816821a470c9a66d3a | 0 | iritgo/iritgo-aktera,iritgo/iritgo-aktera,iritgo/iritgo-aktera,iritgo/iritgo-aktera,iritgo/iritgo-aktera | /**
* This file is part of the Iritgo/Aktera Framework.
*
* Copyright (C) 2005-2011 Iritgo Technologies.
* Copyright (C) 2003-2005 BueroByte GbR.
*
* Iritgo licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You m... | aktera-struts/src/main/java/de/iritgo/aktera/struts/BeanResponse.java | /**
* This file is part of the Iritgo/Aktera Framework.
*
* Copyright (C) 2005-2011 Iritgo Technologies.
* Copyright (C) 2003-2005 BueroByte GbR.
*
* Iritgo licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You m... | Bugfix #938
git-svn-id: 0fdccf796c8cd25557172ddf201c2ec355fb4ab8@61 71e8ea69-9a4e-8955-45a5-bfab6559e1dc
| aktera-struts/src/main/java/de/iritgo/aktera/struts/BeanResponse.java | Bugfix #938 | |
Java | apache-2.0 | f93a712056c81c1d46bec429ad7ad772ecc076a7 | 0 | sllexa/junior | package ru.job4j.pro.set;
import org.junit.Test;
import java.util.Iterator;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Class ArraySetContainerTest.
*
* @author Aleksey Slivko
* @version $1.0$
* @since 01.07.2017
*/
public class ArraySetContainerTest {
/**
*... | chapter_005/src/test/java/ru/job4j/pro/set/ArraySetContainerTest.java | package ru.job4j.pro.set;
import org.junit.Test;
import java.util.Iterator;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Class ArraySetContainerTest.
*
* @author Aleksey Slivko
* @version $1.0$
* @since 01.07.2017
*/
public class ArraySetContainerTest {
/**
*... | (Исправления)
| chapter_005/src/test/java/ru/job4j/pro/set/ArraySetContainerTest.java | (Исправления) | |
Java | bsd-2-clause | f3b8a560f486297ae590beb182d8c2b73c636d0a | 0 | scifio/scifio | /*
* #%L
* OME SCIFIO package for reading and converting scientific file formats.
* %%
* Copyright (C) 2005 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binar... | components/scifio-devel/src/ome/scifio/FilePattern.java | /*
* #%L
* OME SCIFIO package for reading and converting scientific file formats.
* %%
* Copyright (C) 2005 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binar... | Fixed compiler warnings in FilePattern
Removed unused import in FilePattern.java to fix compiler warnings.
| components/scifio-devel/src/ome/scifio/FilePattern.java | Fixed compiler warnings in FilePattern | |
Java | bsd-2-clause | 6103560f043b20301bc8ea80ddbbbd7302c037b7 | 0 | scifio/scifio | //
// FormatReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-2006 Melissa Linkert, Curtis Rueden and Eric Kjellman.
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... | loci/formats/FormatReader.java | //
// FormatReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-2006 Melissa Linkert, Curtis Rueden and Eric Kjellman.
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... | No need for images variable to be final.
| loci/formats/FormatReader.java | No need for images variable to be final. | |
Java | bsd-2-clause | d450161dba03a5e011dbc1f9203247295c0518e8 | 0 | scifio/scifio | //
// Cache.java
//
package loci.formats.cache;
import java.io.*;
import java.util.Arrays;
import loci.formats.*;
public class Cache {
// -- Static fields --
/** Whether to generate debugging output. */
private static boolean debug = false;
// -- Fields --
/** Current cache strategy. */
private ICach... | loci/formats/cache/Cache.java | //
// Cache.java
//
package loci.formats.cache;
import java.io.*;
import java.util.Arrays;
import loci.formats.*;
public class Cache {
// -- Static fields --
/** Whether to generate debugging output. */
private static boolean debug = false;
// -- Fields --
/** Current cache strategy. */
private ICach... | Use LogTools instead of System.out.
| loci/formats/cache/Cache.java | Use LogTools instead of System.out. | |
Java | bsd-3-clause | bd5fa7a8c2a0af61c31fced3b508994445f4aa94 | 0 | joansmith/basex,dimitarp/basex,JensErat/basex,joansmith/basex,vincentml/basex,drmacro/basex,vincentml/basex,joansmith/basex,dimitarp/basex,BaseXdb/basex,deshmnnit04/basex,deshmnnit04/basex,ksclarke/basex,drmacro/basex,ksclarke/basex,JensErat/basex,ksclarke/basex,JensErat/basex,ksclarke/basex,drmacro/basex,deshmnnit04/b... | package org.basex.gui.layout;
import static org.basex.core.Text.*;
import static org.basex.gui.layout.BaseXKeys.*;
import static org.basex.util.Token.*;
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.Timer;
import javax.swing.b... | src/main/java/org/basex/gui/layout/BaseXEditor.java | package org.basex.gui.layout;
import static org.basex.core.Text.*;
import static org.basex.gui.layout.BaseXKeys.*;
import static org.basex.util.Token.*;
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.Timer;
import javax.swing.b... | [MOD] GUI: highlight HTML files as XML | src/main/java/org/basex/gui/layout/BaseXEditor.java | [MOD] GUI: highlight HTML files as XML | |
Java | bsd-3-clause | 10908a7a65870f8d19c0056aa43a38c3ad8506a5 | 0 | vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package stubs.javax.servlet;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
import java.util.En... | webapp/test/stubs/javax/servlet/ServletContextStub.java | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package stubs.javax.servlet;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
import java.util.En... | Update to correct the slash for key for config file (was failing on Windows when it used to the system-specific file separator before which resulted in \config/X instead of \config\X)
| webapp/test/stubs/javax/servlet/ServletContextStub.java | Update to correct the slash for key for config file (was failing on Windows when it used to the system-specific file separator before which resulted in \config/X instead of \config\X) | |
Java | mit | deb2b94d465704385adc338cc171004c0f9ff8b0 | 0 | sleaze/ripme,sleaze/ripme,rephormat/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme | package com.rarchives.ripme;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import javax.swi... | src/main/java/com/rarchives/ripme/App.java | package com.rarchives.ripme;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import javax.swi... | Update App.java | src/main/java/com/rarchives/ripme/App.java | Update App.java | |
Java | mit | 4f60bd54c58a1de241909bf587a9653da5b13b95 | 0 | algonzalez/nomscon-java-lib | package com.nomscon.lib;
import com.nomscon.lib.exceptions.ValueNotInDateRangeException;
import com.nomscon.lib.exceptions.ValueNotInRangeException;
import com.nomscon.lib.utils.IntUtils;
import java.util.Collection;
import java.util.Date;
import java.util.regex.Pattern;
/**
* Provides utility methods to validate ar... | src/main/java/com/nomscon/lib/Arg.java | package com.nomscon.lib;
import com.nomscon.lib.exceptions.ValueNotInDateRangeException;
import com.nomscon.lib.exceptions.ValueNotInRangeException;
import java.util.Collection;
import java.util.Date;
import java.util.regex.Pattern;
/**
* Provides utility methods to validate arguments
* <p>
* Example:
* <pre>
* ... | adds checkIsEven and checkIsOdd methods | src/main/java/com/nomscon/lib/Arg.java | adds checkIsEven and checkIsOdd methods | |
Java | mit | c5a631ddedac670010b1eb790feddb3848e00b4e | 0 | nmaguirre/riocuartobandasderock,nmaguirre/riocuartobandasderock,nmaguirre/riocuartobandasderock | package ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.modelTest;
import static org.junit.Assert.*;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.model.Artist;
public class ArtistTest {
@Rule
public ExpectedEx... | src/test/java/ar/edu/unrc/exa/dc/dose2016/riocuartobandasderock/modelTest/ArtistTest.java | package ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.modelTest;
import static org.junit.Assert.*;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.model.Artist;
public class ArtistTest {
@Rule
public ExpectedEx... | #3 Test for artists equals added
| src/test/java/ar/edu/unrc/exa/dc/dose2016/riocuartobandasderock/modelTest/ArtistTest.java | #3 Test for artists equals added | |
Java | mit | 36b3ce192f5522d80bd7668b8e9f5ceeb770a96d | 0 | swethavs/Agile510 | import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
import com.jcraft.jsch.SftpException;
import java.io.*;
import java.util.Properties;
import java.util.Scanner;
import org.apache.commons.net.ftp.FTPCli... | FTP/src/main/java/FTPConnectDemo.java | import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.Session;
import com.jcraft.jsch.SftpException;
import java.io.*;
import java.util.Properties;
import java.util.Scanner;
import org.apache.commons.net.ftp.FTPCli... | Removed hardcoded connection param
| FTP/src/main/java/FTPConnectDemo.java | Removed hardcoded connection param | |
Java | epl-1.0 | 39af847d6c280f6b9e308430c6faab621f0f1ea5 | 0 | gnodet/wikitext | /*******************************************************************************
* Copyright (c) 2004 - 2006 University Of British Columbia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this ... | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java | /*******************************************************************************
* Copyright (c) 2004 - 2006 University Of British Columbia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this ... | RESOLVED - bug 162880: Mark Complete vs. Incomplete Icons are misleading
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162880
| org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java | RESOLVED - bug 162880: Mark Complete vs. Incomplete Icons are misleading https://bugs.eclipse.org/bugs/show_bug.cgi?id=162880 | |
Java | mpl-2.0 | ebb4ced9e3e739753a22a55d9c53269a7220f990 | 0 | langlebenem88/iptableslog,langlebenem88/iptableslog,stark2/iptableslog,RyanTech/networklog,snehesht/networklog,stark2/iptableslog,RyanTech/networklog,langlebenem88/iptableslog,adrnsoh/iptableslog,stark2/iptableslog,rosenpin/networklog,adrnsoh/iptableslog,langlebenem88/iptableslog,vaginessa/networklog,pragma-/networklog... | /* (C) 2012 Pragmatic Software
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package com.googlecode.networklog;
import android.util.Log;
import android.app.Ac... | src/com/googlecode/networklog/LogFragment.java | /* (C) 2012 Pragmatic Software
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package com.googlecode.networklog;
import android.util.Log;
import android.app.Ac... | Removed unnecessary filtering on LogFragment create view
| src/com/googlecode/networklog/LogFragment.java | Removed unnecessary filtering on LogFragment create view | |
Java | agpl-3.0 | 9328517818f14aee9e8d537612c3c9e1b8688402 | 0 | ngaut/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,relateiq/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,wfxiang08/sql-layer-1,qiuyesuifeng/sql... | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | src/main/java/com/akiban/server/Quote.java | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | Explicitly unboxing a Character | src/main/java/com/akiban/server/Quote.java | Explicitly unboxing a Character | |
Java | lgpl-2.1 | c7c3b87e300d5f512c6e0acb7327f661405e9755 | 0 | geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2013 - 2016, Open Source Geospatial Foundation (OSGeo)
*
* 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 Fr... | modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ImageMosaicConfigHandler.java | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2013 - 2016, Open Source Geospatial Foundation (OSGeo)
*
* 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 Fr... | GEOT-5383 imagemosaic resolution value in mosaic property file picks first file found (fix)
| modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ImageMosaicConfigHandler.java | GEOT-5383 imagemosaic resolution value in mosaic property file picks first file found (fix) | |
Java | apache-2.0 | 1f73eb17623002e75a244c0a005f3dbf518ae363 | 0 | vbelakov/h2o,rowhit/h2o-2,h2oai/h2o,h2oai/h2o,h2oai/h2o-2,rowhit/h2o-2,vbelakov/h2o,h2oai/h2o,eg-zhang/h2o-2,111t8e/h2o-2,h2oai/h2o-2,rowhit/h2o-2,eg-zhang/h2o-2,h2oai/h2o,elkingtonmcb/h2o-2,calvingit21/h2o-2,elkingtonmcb/h2o-2,rowhit/h2o-2,calvingit21/h2o-2,rowhit/h2o-2,elkingtonmcb/h2o-2,calvingit21/h2o-2,elkingtonmc... | package water;
import static water.util.JCodeGen.toStaticVar;
import hex.ConfusionMatrix;
import hex.VarImp;
import java.util.*;
import javassist.*;
import water.api.*;
import water.api.Request.API;
import water.fvec.*;
import water.serial.AutoBufferSerializer;
import water.util.*;
import water.util.Log.Tag.Sys;
/*... | src/main/java/water/Model.java | package water;
import static water.util.JCodeGen.toStaticVar;
import hex.ConfusionMatrix;
import hex.VarImp;
import java.util.*;
import javassist.*;
import water.api.*;
import water.api.Request.API;
import water.fvec.*;
import water.serial.AutoBufferSerializer;
import water.util.*;
import water.util.Log.Tag.Sys;
/*... | POJO: Store content of NAMES field in a separated class and
fill it recursivelly.
| src/main/java/water/Model.java | POJO: Store content of NAMES field in a separated class and fill it recursivelly. | |
Java | apache-2.0 | 1b43d30f698de7c1f48af29239ae4747d4145cf7 | 0 | apache/commons-bsf,apache/commons-bsf,apache/commons-bsf | /*
* 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 ... | bsf3/bsf-utils/src/main/java/org/apache/bsf/Main.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 ... | Add some checks to better show why failures occur
git-svn-id: 8fbff3d54bc076206107a52135e3fa53429945fe@758430 13f79535-47bb-0310-9956-ffa450edef68
| bsf3/bsf-utils/src/main/java/org/apache/bsf/Main.java | Add some checks to better show why failures occur | |
Java | apache-2.0 | 0b9741689b7f9008bf5bb88b6f4f02b3d8146132 | 0 | xerial/sqlite-jdbc,xerial/sqlite-jdbc,xerial/sqlite-jdbc,xerial/sqlite-jdbc,paramvir-b/sqlite-jdbc,paramvir-b/sqlite-jdbc,paramvir-b/sqlite-jdbc,paramvir-b/sqlite-jdbc | /*--------------------------------------------------------------------------
* Copyright 2007 Taro L. Saito
*
* 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.apach... | src/main/java/org/sqlite/SQLiteJDBCLoader.java | /*--------------------------------------------------------------------------
* Copyright 2007 Taro L. Saito
*
* 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.apach... | revert change, that was not to be part of this pull request
| src/main/java/org/sqlite/SQLiteJDBCLoader.java | revert change, that was not to be part of this pull request | |
Java | apache-2.0 | a547de9dd25c2d98782c19b4bbcf4aadc08f3d9f | 0 | dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | modules/web/src/com/haulmont/cuba/web/gui/components/WebTokenList.java | /*
* Copyright (c) 2008-2016 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | PL-10323 Empty TokenList incorrect width
| modules/web/src/com/haulmont/cuba/web/gui/components/WebTokenList.java | PL-10323 Empty TokenList incorrect width | |
Java | apache-2.0 | f7fe2990379fabc317ec6ee4a950e5e733a62d8b | 0 | ArtemTkachev/atkachev | package ru.job4j.condition;
public class Triangle {
private Point a;
private Point b;
private Point c;
public Triangle(Point a, Point b, Point c) {
this.a = a;
this.b = b;
this.c = c;
}
public double distance(Point left, Point right) {
return (Math.sqrt(Math.p... | chapter_001/src/main/java/ru/job4j/condition/Triangle.java | package ru.job4j.condition;
public class Triangle {
private Point a;
private Point b;
private Point c;
public Triangle(Point a, Point b, Point c) {
this.a = a;
this.b = b;
this.c = c;
}
public double distance(Point left, Point right) {
return (Math.sqrt(Math.p... | task 9461
| chapter_001/src/main/java/ru/job4j/condition/Triangle.java | task 9461 | |
Java | apache-2.0 | 36767e25bed2fcde15ba4bae862c78b22dc68bc0 | 0 | IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service | package org.ihtsdo.otf.mapping.rest;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.channels.FileChannel;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import jav... | rest/src/main/java/org/ihtsdo/otf/mapping/rest/MappingServiceRest.java | package org.ihtsdo.otf.mapping.rest;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.channels.FileChannel;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import jav... | MAP-915: minor change
| rest/src/main/java/org/ihtsdo/otf/mapping/rest/MappingServiceRest.java | MAP-915: minor change | |
Java | apache-2.0 | b960bcef5c2e50008718f426d0bb76d4b901e4b7 | 0 | fbiville/liquibase,iherasymenko/liquibase,vbekiaris/liquibase,Datical/liquibase,evigeant/liquibase,gquintana/liquibase,Datical/liquibase,maberle/liquibase,Datical/liquibase,dbmanul/dbmanul,liquibase/liquibase,fossamagna/liquibase,russ-p/liquibase,danielkec/liquibase,vbekiaris/liquibase,EVODelavega/liquibase,mattbertoli... | package liquibase.snapshot.core;
import liquibase.database.Database;
import liquibase.database.JdbcConnection;
import liquibase.database.typeconversion.TypeConverterFactory;
import liquibase.database.core.InformixDatabase;
import liquibase.database.core.OracleDatabase;
import liquibase.database.structure.*;
im... | liquibase-core-jvm/src/main/java/liquibase/snapshot/core/JdbcDatabaseSnapshotGenerator.java | package liquibase.snapshot.core;
import liquibase.database.Database;
import liquibase.database.JdbcConnection;
import liquibase.database.typeconversion.TypeConverterFactory;
import liquibase.database.core.InformixDatabase;
import liquibase.database.core.OracleDatabase;
import liquibase.database.structure.*;
im... | use schema from table to check if it is auto increment, not the default schema
git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@1294 e6edf6fb-f266-4316-afb4-e53d95876a76
| liquibase-core-jvm/src/main/java/liquibase/snapshot/core/JdbcDatabaseSnapshotGenerator.java | use schema from table to check if it is auto increment, not the default schema |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.