lang stringclasses 1
value | license stringclasses 13
values | stderr stringlengths 0 350 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 7 45.1k | new_contents stringlengths 0 1.87M | new_file stringlengths 6 292 | old_contents stringlengths 0 1.87M | message stringlengths 6 9.26k | old_file stringlengths 6 292 | subject stringlengths 0 4.45k |
|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 745b78964854ba35048f69aba19d339d26e8f7b9 | 0 | cloudsmith/orientdb,cloudsmith/orientdb,cloudsmith/orientdb,cloudsmith/orientdb | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | core/src/main/java/com/orientechnologies/orient/core/index/OIndexMVRBTreeAbstract.java | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | Index: moved optimization reset just after optimization is completed
| core/src/main/java/com/orientechnologies/orient/core/index/OIndexMVRBTreeAbstract.java | Index: moved optimization reset just after optimization is completed | |
Java | apache-2.0 | c5836479cf04a23bc24f097ea606153b572eb76b | 0 | kuujo/onos,kuujo/onos,gkatsikas/onos,kuujo/onos,oplinkoms/onos,kuujo/onos,opennetworkinglab/onos,opennetworkinglab/onos,kuujo/onos,oplinkoms/onos,gkatsikas/onos,oplinkoms/onos,gkatsikas/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,opennetworkinglab/onos,opennetworkinglab/onos,oplinkoms/onos,kuujo/onos,opli... | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | utils/misc/src/main/java/org/onlab/packet/ICMPEcho.java | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Fixing errorprone's warning.
Change-Id: I8bb35ca74df50c7c9d689272c1f7b24274303540
| utils/misc/src/main/java/org/onlab/packet/ICMPEcho.java | Fixing errorprone's warning. | |
Java | apache-2.0 | 2a7b236c1d0642b6885e609b5e3267e4ae2cc662 | 0 | lynring24/ITimeU | package com.itti7.itimeu;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.SeekBar;
public class SettingActivity extends AppCompatActivity {
private SeekBar worksb, breaksb, longBreaksb, sessionNumsb;
private int workTime = 25;
... | ITimeU/app/src/main/java/com/itti7/itimeu/SettingActivity.java | package com.itti7.itimeu;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.SeekBar;
public class SettingActivity extends AppCompatActivity {
private SeekBar worksb, breaksb, longBreaksb, sessionNumsb;
private int workTime = 25;
... | 브레이크 시크바 자바 연동
| ITimeU/app/src/main/java/com/itti7/itimeu/SettingActivity.java | 브레이크 시크바 자바 연동 | |
Java | apache-2.0 | 739e1a8a9b0791810ff0bff5ee6b5f026f11ea6a | 0 | TNG/JGiven,TNG/JGiven,TNG/JGiven,TNG/JGiven | package com.tngtech.jgiven.testng;
import static com.tngtech.jgiven.testng.ScenarioTestListener.SCENARIO_ATTRIBUTE;
import com.beust.jcommander.internal.Lists;
import com.tngtech.jgiven.impl.Config;
import com.tngtech.jgiven.impl.ScenarioBase;
import com.tngtech.jgiven.report.model.ReportModel;
import com.tngtech.jgi... | jgiven-tests/src/test/java/com/tngtech/jgiven/testng/TestNgExecutor.java | package com.tngtech.jgiven.testng;
import com.beust.jcommander.internal.Lists;
import com.tngtech.jgiven.impl.Config;
import com.tngtech.jgiven.impl.ScenarioBase;
import com.tngtech.jgiven.report.model.ReportModel;
import com.tngtech.jgiven.testframework.TestExecutionResult;
import com.tngtech.jgiven.testframework.Tes... | increase priority of method selector in testng framework test
TestNG replaced the list of method selectors in their method inclusion method by a set.
Also TestNG adds a default XMLMethodSelector with priority 10 to the method selector list. This default XMLMethodSelector is always evaluated first.
Contrary to the lis... | jgiven-tests/src/test/java/com/tngtech/jgiven/testng/TestNgExecutor.java | increase priority of method selector in testng framework test | |
Java | bsd-3-clause | 285a8b8bee7d61631895e84678bb013b734818f7 | 0 | bwaldvogel/mongo-java-server,bwaldvogel/mongo-java-server,bwaldvogel/mongo-java-server | package de.bwaldvogel.mongo.backend;
import static com.mongodb.client.model.Filters.and;
import static com.mongodb.client.model.Filters.eq;
import static com.mongodb.client.model.Filters.exists;
import static com.mongodb.client.model.Filters.gt;
import static com.mongodb.client.model.Filters.in;
import static com.mong... | test-common/src/main/java/de/bwaldvogel/mongo/backend/AbstractBackendTest.java | package de.bwaldvogel.mongo.backend;
import static com.mongodb.client.model.Filters.and;
import static com.mongodb.client.model.Filters.eq;
import static com.mongodb.client.model.Filters.exists;
import static com.mongodb.client.model.Filters.gt;
import static com.mongodb.client.model.Filters.in;
import static com.mong... | Use assertThatExceptionOfType instead of try/fail/catch
| test-common/src/main/java/de/bwaldvogel/mongo/backend/AbstractBackendTest.java | Use assertThatExceptionOfType instead of try/fail/catch | |
Java | bsd-3-clause | 0ccd2c15dc7e45f6b285fbc4eb15e2244a869203 | 0 | fbastian/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,dhimmel/owltools,dhimmel/owltools,fbastian/owltools,owlcollab/owltools,owlcollab/owltools,fbastian/owltools,dhimmel/owltools,dhimmel/owltools,fbastian/owltools,fbastian/owltools,owlcollab/owltools,dhimmel/owltools,dhimmel/owltools,fbastian/owlto... | package owltools.solrj;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.... | OWLTools-Solr/src/main/java/owltools/solrj/ComplexAnnotationSolrDocumentLoader.java | package owltools.solrj;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.... | added label dump for unknown bits as a placeholder
git-svn-id: f705032614e1ff11fed11a7e506afa6fa6966044@1594 18f1da76-1bb4-b526-5913-e828fe20442d
| OWLTools-Solr/src/main/java/owltools/solrj/ComplexAnnotationSolrDocumentLoader.java | added label dump for unknown bits as a placeholder | |
Java | mit | d3e5abe437dd8bf2f376f7f176e9087bbb9cc1b8 | 0 | aayvazyan-tgm/dLock,jklepp-tgm/dLock | package tgm.hit.rtn.dlock;
import java.io.Serializable;
import java.util.Objects;
public class Peer implements Serializable{
private int port;
private String host;
public Peer(int port, String host) {
this.port = port;
this.host = host;
}
/**
* Getter for property 'host'.
... | src/main/java/tgm/hit/rtn/dlock/Peer.java | package tgm.hit.rtn.dlock;
import java.io.Serializable;
import java.util.Objects;
public class Peer implements Serializable{
private int port;
private String host;
public Peer(int port, String host) {
this.port = port;
this.host = host;
}
/**
* Getter for property 'host'.
... | fixed wrong setter
| src/main/java/tgm/hit/rtn/dlock/Peer.java | fixed wrong setter | |
Java | mit | fdf240d1579430b9977e068471d00ba2ed848e6b | 0 | CruGlobal/godtools-api,CruGlobal/godtools-api | package org.cru.godtools.api.packages;
import com.amazonaws.services.s3.model.S3Object;
import org.ccci.util.time.Clock;
import org.cru.godtools.domain.authentication.AuthorizationRecord;
import org.cru.godtools.domain.authentication.AuthorizationService;
import org.cru.godtools.s3.GodToolsS3Client;
import org.jboss.l... | src/main/java/org/cru/godtools/api/packages/PackageResource.java | package org.cru.godtools.api.packages;
import com.amazonaws.services.s3.model.S3Object;
import org.ccci.util.time.Clock;
import org.cru.godtools.domain.authentication.AuthorizationRecord;
import org.cru.godtools.domain.authentication.AuthorizationService;
import org.cru.godtools.s3.GodToolsS3Client;
import org.jboss.l... | deprecate the package resource
| src/main/java/org/cru/godtools/api/packages/PackageResource.java | deprecate the package resource | |
Java | mit | de2e87f68f0b52436dd76d6fdfda626fc6d6662c | 0 | juckele/vivarium,juckele/vivarium,juckele/vivarium | package io.vivarium.ga;
import io.vivarium.core.Blueprint;
import io.vivarium.core.Creature;
import io.vivarium.core.EntityType;
import io.vivarium.core.Species;
import io.vivarium.core.World;
import io.vivarium.serialization.SerializationEngine;
public class TimeToExtinctionFF extends SimulationBasedFitnessFunction
... | vivarium-ga/src/main/java/io/vivarium/ga/TimeToExtinctionFF.java | package io.vivarium.ga;
import io.vivarium.core.Blueprint;
import io.vivarium.core.Creature;
import io.vivarium.core.EntityType;
import io.vivarium.core.Species;
import io.vivarium.core.World;
import io.vivarium.serialization.SerializationEngine;
public class TimeToExtinctionFF extends SimulationBasedFitnessFunction
... | Removed redundant cast
| vivarium-ga/src/main/java/io/vivarium/ga/TimeToExtinctionFF.java | Removed redundant cast | |
Java | mit | 225b89d3f0daf3dbc5fb32527ea583bffb2be3c4 | 0 | viromedia/viro,viromedia/viro,viromedia/viro,viromedia/viro | /**
* Copyright © 2016 Viro Media. All rights reserved.
*/
package com.viromedia.bridge.component;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Looper;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react... | android/viro_bridge/src/main/java/com/viromedia/bridge/component/Image360.java | /**
* Copyright © 2016 Viro Media. All rights reserved.
*/
package com.viromedia.bridge.component;
import android.graphics.Bitmap;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimana... | VIRO-949: threading crash in Image360
The textures were being updated in the async
background thread. Also optimized to not download
when just rotation changes.
Former-commit-id: e84146520c2f648b5d74847143841db5ac6d7359 | android/viro_bridge/src/main/java/com/viromedia/bridge/component/Image360.java | VIRO-949: threading crash in Image360 | |
Java | lgpl-2.1 | 4b0818122a52c2059b6c6947a99f0db41233b10f | 0 | concord-consortium/datagraph |
/*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01741
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publ... | src/org/concord/datagraph/state/OTDataCollectorView.java |
/*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01741
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publ... | Added tooltip to collect data button and set collumn width on data label
git-svn-id: a0d2519504059b70a86a1ce51b726c2279190bad@3623 6e01202a-0783-4428-890a-84243c50cc2b
| src/org/concord/datagraph/state/OTDataCollectorView.java | Added tooltip to collect data button and set collumn width on data label | |
Java | lgpl-2.1 | 4f55381b49bb8b52ec70c69778085830ff96cd75 | 0 | cfallin/soot,cfallin/soot,mbenz89/soot,plast-lab/soot,mbenz89/soot,mbenz89/soot,anddann/soot,xph906/SootNew,xph906/SootNew,plast-lab/soot,xph906/SootNew,anddann/soot,cfallin/soot,anddann/soot,xph906/SootNew,plast-lab/soot,mbenz89/soot,cfallin/soot,anddann/soot | /* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option)... | src/soot/jimple/spark/pag/MethodPAG.java | /* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option)... | tiny performance improvement
| src/soot/jimple/spark/pag/MethodPAG.java | tiny performance improvement | |
Java | apache-2.0 | 21b24bb215d0ac202a00b247fd8e183f73022584 | 0 | GerHobbelt/closure-compiler,tiobe/closure-compiler,tdelmas/closure-compiler,ChadKillingsworth/closure-compiler,shantanusharma/closure-compiler,shantanusharma/closure-compiler,monetate/closure-compiler,vobruba-martin/closure-compiler,Pimm/closure-compiler,google/closure-compiler,brad4d/closure-compiler,tiobe/closure-com... | /*
* Copyright 2008 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | test/com/google/javascript/jscomp/CheckAccessControlsTest.java | /*
* Copyright 2008 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | In CheckAccessControlsTest, check that the error message is as expected.
This is to guard against regressions in an upcoming change which will change that message in some cases.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138539813
| test/com/google/javascript/jscomp/CheckAccessControlsTest.java | In CheckAccessControlsTest, check that the error message is as expected. | |
Java | apache-2.0 | fb2b8780f5552175806aa1502398ee3479a8b875 | 0 | angcyo/RLibrary,angcyo/RLibrary | package com.angcyo.uiview.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.support.annota... | uiview/src/main/java/com/angcyo/uiview/widget/RExTextView.java | package com.angcyo.uiview.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.support.annota... | fix image span show.
| uiview/src/main/java/com/angcyo/uiview/widget/RExTextView.java | fix image span show. | |
Java | apache-2.0 | bd1f09b6d250c9b0e92dd31a3eaf7f0d21809d24 | 0 | enternoescape/opendct,enternoescape/opendct,enternoescape/opendct | /*
* Copyright 2016 The OpenDCT Authors. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | src/main/java/opendct/video/ffmpeg/FFmpegTranscoder.java | /*
* Copyright 2016 The OpenDCT Authors. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Re-added TS offset reset.
| src/main/java/opendct/video/ffmpeg/FFmpegTranscoder.java | Re-added TS offset reset. | |
Java | apache-2.0 | 6efb68724199ae209f403da2cd205b171ecc9f1e | 0 | bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.core;
import com.planet_ink.coffee_mud.WebMacros.interfaces.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;... | com/planet_ink/coffee_mud/core/CMClass.java | package com.planet_ink.coffee_mud.core;
import com.planet_ink.coffee_mud.WebMacros.interfaces.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;... |
git-svn-id: svn://192.168.1.10/public/CoffeeMud@13409 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/core/CMClass.java | ||
Java | apache-2.0 | 0824e1a6946e5726de8f13fb4f7904f6fecd0104 | 0 | sathishk/zols,lokinell/zols,sathishk/zols,sathishk/zols,lokinell/zols,lokinell/zols,lokinell/zols | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.zols.templates;
import java.io.File;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframew... | zols-cms-plugin/src/main/java/org/zols/templates/TemplateConfiguration.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.zols.templates;
import java.io.File;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframew... | [Template] Overriding index.html #85 | zols-cms-plugin/src/main/java/org/zols/templates/TemplateConfiguration.java | [Template] Overriding index.html #85 | |
Java | apache-2.0 | 29b628b56e14837c7090ff4b86bea3367f6582cc | 0 | jcnoir/dmix,joansmith/dmix,0359xiaodong/dmix,hurzl/dmix,joansmith/dmix,abarisain/dmix,hurzl/dmix,0359xiaodong/dmix,abarisain/dmix,jcnoir/dmix | /*
* Copyright (C) 2010-2014 The MPDroid Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | MPDroid/src/com/namelessdev/mpdroid/StreamingService.java | /*
* Copyright (C) 2010-2014 The MPDroid Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | StreamingService: Set isPlaying() dynamically.
| MPDroid/src/com/namelessdev/mpdroid/StreamingService.java | StreamingService: Set isPlaying() dynamically. | |
Java | apache-2.0 | 41d0ae5fd2a3071688d466eea22ee9b011e45bb3 | 0 | allotria/intellij-community,akosyakov/intellij-community,gnuhub/intellij-community,allotria/intellij-community,suncycheng/intellij-community,ahb0327/intellij-community,suncycheng/intellij-community,asedunov/intellij-community,gnuhub/intellij-community,asedunov/intellij-community,lucafavatella/intellij-community,nicolar... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileEditorManagerImpl.java | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | already disposed
| platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileEditorManagerImpl.java | already disposed | |
Java | apache-2.0 | edca1393559befc075e962e1d3f0d5aa06acd719 | 0 | debezium/debezium,debezium/debezium,debezium/debezium,debezium/debezium | /*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.server.pulsar;
import java.io.IOException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;... | debezium-server/debezium-server-pulsar/src/test/java/io/debezium/server/pulsar/PulsarIT.java | /*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.server.pulsar;
import java.io.IOException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;... | DBZ-4720 wait for pulsarClient
| debezium-server/debezium-server-pulsar/src/test/java/io/debezium/server/pulsar/PulsarIT.java | DBZ-4720 wait for pulsarClient | |
Java | apache-2.0 | 752e533256d5f102c30bdbaeddbd3ffd634bd61e | 0 | Nanoware/Terasology,Malanius/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Malanius/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology | /*
* Copyright 2013 MovingBlocks
*
* 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 t... | engine/src/main/java/org/terasology/world/block/family/MultiConnectFamily.java | /*
* Copyright 2013 MovingBlocks
*
* 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 t... | updated java docs
| engine/src/main/java/org/terasology/world/block/family/MultiConnectFamily.java | updated java docs | |
Java | apache-2.0 | c24a92de79a07da74946d5dfcf5cb0e55e7a9918 | 0 | vpro/poel,vpro/poel,vpro/poel,vpro/poel | package nl.vpro.poel;
import lombok.experimental.UtilityClass;
import nl.vpro.poel.domain.CurrentUser;
import org.springframework.security.cas.authentication.CasAuthenticationToken;
import org.springframework.security.core.userdetails.UserDetails;
import java.security.Principal;
import java.util.Optional;
@UtilityCl... | src/main/java/nl/vpro/poel/UserUtil.java | package nl.vpro.poel;
import nl.vpro.poel.domain.CurrentUser;
import org.springframework.security.cas.authentication.CasAuthenticationToken;
import org.springframework.security.core.userdetails.UserDetails;
import java.security.Principal;
import java.util.Optional;
public class UserUtil {
public static Optional... | Use Lombok's UtilityClass.
| src/main/java/nl/vpro/poel/UserUtil.java | Use Lombok's UtilityClass. | |
Java | apache-2.0 | 00b55b87315ff3930a28fdf606e788e73323a39f | 0 | ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop | package it.unibz.inf.ontop.iq.node.impl;
import com.google.common.collect.*;
import com.google.inject.assistedinject.Assisted;
import com.google.inject.assistedinject.AssistedInject;
import it.unibz.inf.ontop.evaluator.TermNullabilityEvaluator;
import it.unibz.inf.ontop.injection.IntermediateQueryFactory;
import it.un... | core/model/src/main/java/it/unibz/inf/ontop/iq/node/impl/InnerJoinNodeImpl.java | package it.unibz.inf.ontop.iq.node.impl;
import com.google.common.collect.*;
import com.google.inject.assistedinject.Assisted;
import com.google.inject.assistedinject.AssistedInject;
import it.unibz.inf.ontop.evaluator.TermNullabilityEvaluator;
import it.unibz.inf.ontop.injection.IntermediateQueryFactory;
import it.un... | InnerJoin.inferUniqueConstraints() implemented.
| core/model/src/main/java/it/unibz/inf/ontop/iq/node/impl/InnerJoinNodeImpl.java | InnerJoin.inferUniqueConstraints() implemented. | |
Java | apache-2.0 | 436d975c78d566edbff80b79488037799d173093 | 0 | yurloc/guvnor,wmedvede/guvnor,baldimir/guvnor,yurloc/guvnor,baldimir/guvnor,kiereleaseuser/guvnor,cristianonicolai/guvnor,Rikkola/guvnor,kiereleaseuser/guvnor,mbiarnes/guvnor,Rikkola/guvnor,wmedvede/guvnor,adrielparedes/guvnor,mbiarnes/guvnor,porcelli-forks/guvnor,porcelli-forks/guvnor,hxf0801/guvnor,mswiderski/guvnor,... | /*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/PackagesTree.java | /*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | findbugs: invokes inefficient new String(String) constructor
| drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/PackagesTree.java | findbugs: invokes inefficient new String(String) constructor | |
Java | apache-2.0 | bcc33d296a3504595285079a195e8fe01fbd98d0 | 0 | NuwanSameera/syncope,nscendoni/syncope,securny/syncope,giacomolm/syncope,NuwanSameera/syncope,giacomolm/syncope,ilgrosso/syncope,apache/syncope,ilgrosso/syncope,ilgrosso/syncope,apache/syncope,nscendoni/syncope,giacomolm/syncope,NuwanSameera/syncope,securny/syncope,ilgrosso/syncope,nscendoni/syncope,tmess567/syncope,tm... | /*
* 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 ... | fit/core-reference/src/test/java/org/apache/syncope/fit/core/VirAttrITCase.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [SYNCOPE-862] Adjusting one failing test
| fit/core-reference/src/test/java/org/apache/syncope/fit/core/VirAttrITCase.java | [SYNCOPE-862] Adjusting one failing test | |
Java | apache-2.0 | ecf29a95b786efb81f078bb6855ad7ae898f8053 | 0 | OpenHFT/Chronicle-Map | /*
* Copyright 2012-2018 Chronicle Map Contributors
*
* 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/main/java/net/openhft/chronicle/map/ChronicleMap.java | /*
* Copyright 2012-2018 Chronicle Map Contributors
*
* 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... | Document ChronicleMap#acquireContext
| src/main/java/net/openhft/chronicle/map/ChronicleMap.java | Document ChronicleMap#acquireContext | |
Java | apache-2.0 | df767369152a4ffe28fe96ab59c8a5cc10978fc7 | 0 | NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow | package com.btr.proxy.selector.pac;
import static com.btr.proxy.selector.pac.TestUtil.toUrl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.MalformedURLException;
import java.net.Proxy;
import java.... | willow-utils/src/test/java/com/btr/proxy/selector/pac/PacProxySelectorTest.java | package com.btr.proxy.selector.pac;
import static com.btr.proxy.selector.pac.TestUtil.toUrl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.MalformedURLException;
import java.net.Proxy;
import java.... | Remove assert
| willow-utils/src/test/java/com/btr/proxy/selector/pac/PacProxySelectorTest.java | Remove assert | |
Java | apache-2.0 | 83b12058d435b9fbc5e99beb7f5ab27ec6c8520d | 0 | weld/core,weld/core,antoinesd/weld-core,manovotn/core,antoinesd/weld-core,manovotn/core,manovotn/core,antoinesd/weld-core | package org.jboss.webbeans.test.unit.implementation;
import org.jboss.webbeans.tck.AbstractTest;
import org.testng.annotations.Test;
public class RemoveMethodTests extends AbstractTest
{
/**
* If the application directly calls an EJB remove method of an instance of a
* session bean that is a sta... | webbeans-ri/src/test/java/org/jboss/webbeans/test/unit/implementation/RemoveMethodTests.java | package org.jboss.webbeans.test.unit.implementation;
import org.jboss.webbeans.tck.tests.AbstractTest;
import org.testng.annotations.Test;
public class RemoveMethodTests extends AbstractTest
{
/**
* If the application directly calls an EJB remove method of an instance of a
* session bean that is... | updated test
git-svn-id: 811cd8a17a8c3c0c263af499002feedd54a892d0@1114 1c488680-804c-0410-94cd-c6b725194a0e
| webbeans-ri/src/test/java/org/jboss/webbeans/test/unit/implementation/RemoveMethodTests.java | updated test | |
Java | bsd-2-clause | b6c90fec102e5c8cdfd820eaf5773d189185a410 | 0 | mohanaraosv/jodd,wjw465150/jodd,javachengwc/jodd,tempbottle/jodd,wjw465150/jodd,southwolf/jodd,southwolf/jodd,vilmospapp/jodd,oblac/jodd,tempbottle/jodd,mosoft521/jodd,javachengwc/jodd,mohanaraosv/jodd,mosoft521/jodd,southwolf/jodd,southwolf/jodd,wjw465150/jodd,mtakaki/jodd,wsldl123292/jodd,oetting/jodd,mohanaraosv/jod... | // Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.
package jodd.json;
import jodd.introspector.ClassDescriptor;
import jodd.introspector.ClassIntrospector;
import jodd.introspector.FieldDescriptor;
import jodd.introspector.Getter;
import jodd.introspector.PropertyDescriptor;
import jodd.json.meta.... | jodd-json/src/main/java/jodd/json/BeanSerializer.java | // Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.
package jodd.json;
import jodd.introspector.ClassDescriptor;
import jodd.introspector.ClassIntrospector;
import jodd.introspector.FieldDescriptor;
import jodd.introspector.Getter;
import jodd.introspector.PropertyDescriptor;
import jodd.json.meta.... | Added propertyType for onSerializableProperty()
| jodd-json/src/main/java/jodd/json/BeanSerializer.java | Added propertyType for onSerializableProperty() | |
Java | bsd-2-clause | 70f35e472a39441a29f899229b1d9769df374d87 | 0 | biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | ui/awt-swing/swing/updater/src/main/java/imagej/updater/gui/ImageJUpdater.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | Add a proof-of-concept for the Fiji Updater
This sketches the migration path of the Fiji Updater...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This used to be revision r5417.
| ui/awt-swing/swing/updater/src/main/java/imagej/updater/gui/ImageJUpdater.java | Add a proof-of-concept for the Fiji Updater | |
Java | bsd-2-clause | 0efcf81c62ff8397c363c3d07d4d72e725e63772 | 0 | davecramer/pgjdbc,sehrope/pgjdbc,sehrope/pgjdbc,davecramer/pgjdbc,marschall/pgjdbc,davecramer/pgjdbc,AlexElin/pgjdbc,AlexElin/pgjdbc,pgjdbc/pgjdbc,marschall/pgjdbc,jorsol/pgjdbc,pgjdbc/pgjdbc,marschall/pgjdbc,sehrope/pgjdbc,davecramer/pgjdbc,jorsol/pgjdbc,AlexElin/pgjdbc,pgjdbc/pgjdbc,sehrope/pgjdbc,jorsol/pgjdbc,pgjdb... | /*
* Copyright (c) 2004, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.ds.common;
import org.postgresql.PGProperty;
import org.postgresql.jdbc.AutoSave;
import org.postgresql.jdbc.PreferQueryMode;
import org.postgresql.util.Expression... | pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java | /*
* Copyright (c) 2004, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.ds.common;
import org.postgresql.PGProperty;
import org.postgresql.jdbc.AutoSave;
import org.postgresql.jdbc.PreferQueryMode;
import org.postgresql.util.Expression... | Add method alias's for each property which didn't use the conventiona… (#1436)
* Add method alias's for each property which didn't use the conventional Java bean method naming for the specific property name.
This allows other libraries like connection pools to properly set any properties by the property names throu... | pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java | Add method alias's for each property which didn't use the conventiona… (#1436) | |
Java | bsd-3-clause | b7a65c6eccd5ca2876ebd563f4d939c266f99a0a | 0 | MarinnaCole/LightZone,MarinnaCole/LightZone,MarinnaCole/LightZone,MarinnaCole/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,MarinnaCole/LightZone,MarinnaCole/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,MarinnaCole/LightZone,ktgw0316/LightZone,ktgw0316/LightZone | /* Copyright (C) 2005-2011 Fabio Riccardi */
package com.lightcrafts.jai.utils;
/*
* $RCSfile: SunTileScheduler.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:57:02 $
* $State: Exp $
*/
import java.... | lightcrafts/src/com/lightcrafts/jai/utils/LCTileScheduler.java | /* Copyright (C) 2005-2011 Fabio Riccardi */
package com.lightcrafts.jai.utils;
/*
* $RCSfile: SunTileScheduler.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:57:02 $
* $State: Exp $
*/
import java.... | Refactor LCTileScheduler
| lightcrafts/src/com/lightcrafts/jai/utils/LCTileScheduler.java | Refactor LCTileScheduler | |
Java | bsd-3-clause | f7256b0555442528f7b1edc6ef998c8ac361090e | 0 | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | core/src/main/java/org/hisp/dhis/android/core/user/UserOrganisationUnitLinkModelBuilder.java | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | n-teis-call: adapt UserOrganisationUnitLinkModelBuilder
| core/src/main/java/org/hisp/dhis/android/core/user/UserOrganisationUnitLinkModelBuilder.java | n-teis-call: adapt UserOrganisationUnitLinkModelBuilder | |
Java | bsd-3-clause | cb850fca9ff546be429ecb55a559ca9de9e7ea8b | 0 | TheGreenMachine/Zephyr-Java | package com.edinarobotics.zephyr.parts;
import edu.wpi.first.wpilibj.Jaguar;
import edu.wpi.first.wpilibj.Relay;
/**
*The wrapper for the shooter components, contains the 2 jaguars driving the shooter
* along with the rotating jaguar and the piston.
*/
public class ShooterComponents {
private Jaguar shooterLef... | src/com/edinarobotics/zephyr/parts/ShooterComponents.java | package com.edinarobotics.zephyr.parts;
import edu.wpi.first.wpilibj.Jaguar;
import edu.wpi.first.wpilibj.Relay;
/**
*The wrapper for the shooter components, contains the 2 jaguars driving the shooter
* along with the rotating jaguar and the piston.
*/
public class ShooterComponents {
private Jaguar shooterLef... | Fix relay values for ball loader piston in ShooterComponents.
| src/com/edinarobotics/zephyr/parts/ShooterComponents.java | Fix relay values for ball loader piston in ShooterComponents. | |
Java | bsd-3-clause | 06cd5380bc390edd6b879da2663598aca2ff8613 | 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 edu.cornell.mannlib.vitro.webapp.controller.freemarker;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Map;
import java.util.Map.Entry;
import javax.servlet.RequestDispatcher;
import javax.s... | webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller.freemarker;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Map;
import java.util.Map.Entry;
import javax.servlet.RequestDispatcher;
import javax.s... | NIHVIVO-1692 Image thumbnails are now generated and saved at 200px x 200px
| webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java | NIHVIVO-1692 Image thumbnails are now generated and saved at 200px x 200px | |
Java | mit | 2285c453dad9c4148fda473720e0e03df932fe52 | 0 | MylesIsCool/ViaVersion | package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.storage;
import us.myles.ViaVersion.api.Via;
import us.myles.ViaVersion.api.data.StoredObject;
import us.myles.ViaVersion.api.data.UserConnection;
import us.myles.ViaVersion.api.minecraft.Position;
import java.lang.reflect.Constructor;
import java.lang.reflec... | common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/storage/BlockConnectionStorage.java | package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.storage;
import us.myles.ViaVersion.api.Via;
import us.myles.ViaVersion.api.data.StoredObject;
import us.myles.ViaVersion.api.data.UserConnection;
import us.myles.ViaVersion.api.minecraft.Position;
import java.lang.reflect.Constructor;
import java.lang.reflec... | fixed encodeblockpos, use map<long, short[]>
| common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/storage/BlockConnectionStorage.java | fixed encodeblockpos, use map<long, short[]> | |
Java | mit | e8bedd8bc5bbc6e3cdf53d950353476ebe47850b | 0 | takenspc/validator,validator/validator,takenspc/validator,takenspc/validator,validator/validator,validator/validator,takenspc/validator,takenspc/validator,validator/validator,validator/validator | /*
* Copyright (c) 2012-2018 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, me... | src/nu/validator/servlet/Statistics.java | /*
* Copyright (c) 2012-2018 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, me... | Remove some cruft from statistics output
| src/nu/validator/servlet/Statistics.java | Remove some cruft from statistics output | |
Java | mit | 722c209a74b9d32dde89b0dc9df2b807c3e9d670 | 0 | anagav/TinkerRocks | package com.tinkerrocks.storage;
import com.google.common.base.Preconditions;
import com.tinkerrocks.structure.ByteUtil;
import org.apache.tinkerpop.gremlin.structure.Element;
import org.rocksdb.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Created by as... | src/main/java/com/tinkerrocks/storage/IndexDB.java | package com.tinkerrocks.storage;
import com.google.common.base.Preconditions;
import com.tinkerrocks.structure.ByteUtil;
import org.apache.tinkerpop.gremlin.structure.Element;
import org.rocksdb.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Created by as... | optimize
| src/main/java/com/tinkerrocks/storage/IndexDB.java | optimize | |
Java | mit | ea8a6e3f190a862b8defa0128e6c606ed7377f65 | 0 | allout58/WebSiteUtils | package allout58.util.SiteUtils.builtin.brokenlinks;
import allout58.util.SiteUtils.Utils;
import allout58.util.SiteUtils.api.IModule;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import joptsimple.OptionSpec;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import or... | src/main/java/allout58/util/SiteUtils/builtin/brokenlinks/BrokenLinksModule.java | package allout58.util.SiteUtils.builtin.brokenlinks;
import allout58.util.SiteUtils.Utils;
import allout58.util.SiteUtils.api.IModule;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import joptsimple.OptionSpec;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import or... | Require outputing broken links to file for CLI.
| src/main/java/allout58/util/SiteUtils/builtin/brokenlinks/BrokenLinksModule.java | Require outputing broken links to file for CLI. | |
Java | mit | 05df64392feda4276287d1f4d3cc5ec89bdd45ba | 0 | PrinceOfAmber/CyclicMagic,PrinceOfAmber/Cyclic | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | src/main/java/com/lothrazar/cyclicmagic/core/util/UtilPlayerInventoryFilestorage.java | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | 1.15.3 save backup file using players UUID
| src/main/java/com/lothrazar/cyclicmagic/core/util/UtilPlayerInventoryFilestorage.java | 1.15.3 save backup file using players UUID | |
Java | mit | 8bcaf98343f509abd1bc5b1296ccae730250491c | 0 | flintproject/Flint,flintproject/Flint | /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */
package jp.oist.flint.filesystem;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import java.nio.channels... | flint/src/jp/oist/flint/filesystem/Workspace.java | /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */
package jp.oist.flint.filesystem;
import org.apache.log4j.Logger;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import java.nio.channels... | remove duplicate code
This also employs the try-with-resources pattern
| flint/src/jp/oist/flint/filesystem/Workspace.java | remove duplicate code | |
Java | mit | 3df0194b5b48bf12e788ef2e842f91b7d9cab0f9 | 0 | Sometrik/framework,Sometrik/framework,Sometrik/framework | package com.sometrik.framework;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import com.android.trivialdrivesample.util.IabHelper;
import com.android.trivialdrivesample.util.IabHelper.IabAsyncInProgress... | android/java/com/sometrik/framework/NativeCommand.java | package com.sometrik.framework;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import com.android.trivialdrivesample.util.IabHelper;
import com.android.trivialdrivesample.util.IabHelper.IabAsyncInProgress... | Change scrollView creation to FWScrollView | android/java/com/sometrik/framework/NativeCommand.java | Change scrollView creation to FWScrollView | |
Java | epl-1.0 | 92050630d988deb050428193b511c0801e028a49 | 0 | samuelmartingc/optsicom-framework,samuelmartingc/optsicom-framework,codeurjc/optsicom-framework,codeurjc/optsicom-framework,codeurjc/optsicom-framework,samuelmartingc/optsicom-framework,codeurjc/optsicom-framework,codeurjc/optsicom-framework | package es.optsicom.lib.approx.improvement.movement;
import es.optsicom.lib.Instance;
import es.optsicom.lib.Solution;
import es.optsicom.lib.approx.improvement.TimeLimitException;
import es.optsicom.lib.util.ArraysUtil;
import es.optsicom.lib.util.BestMode;
import es.optsicom.lib.util.Id;
import es.optsicom.lib.util.... | es.optsicom.lib.approx/src/main/java/es/optsicom/lib/approx/improvement/movement/TabuVariableTenureImprovementMethod.java | package es.optsicom.lib.approx.improvement.movement;
import es.optsicom.lib.Instance;
import es.optsicom.lib.Solution;
import es.optsicom.lib.approx.improvement.TimeLimitException;
import es.optsicom.lib.util.ArraysUtil;
import es.optsicom.lib.util.BestMode;
import es.optsicom.lib.util.Id;
import es.optsicom.lib.util.... | tenure trace
| es.optsicom.lib.approx/src/main/java/es/optsicom/lib/approx/improvement/movement/TabuVariableTenureImprovementMethod.java | tenure trace | |
Java | agpl-3.0 | 62a4c956c2dcc0eb13885795d5566f7eed7e670e | 0 | musalbas/Nuclibook,musalbas/Nuclibook,musalbas/Nuclibook | package nuclibook.models;
import com.j256.ormlite.dao.CloseableIterator;
import com.j256.ormlite.dao.ForeignCollection;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.field.ForeignCollectionField;
import com.j256.ormlite.table.DatabaseTable;
import nucliboo... | src/main/java/nuclibook/models/Booking.java | package nuclibook.models;
import com.j256.ormlite.dao.CloseableIterator;
import com.j256.ormlite.dao.ForeignCollection;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.field.ForeignCollectionField;
import com.j256.ormlite.table.DatabaseTable;
import nucliboo... | 500 internal fixed
| src/main/java/nuclibook/models/Booking.java | 500 internal fixed | |
Java | lgpl-2.1 | e1b4099a44d064d16c640437aecb6774997d3746 | 0 | xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/editor/EditPage.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-17201: Extend the page Information tab with content from the edit panels
* Update the test page object because we're now using the Bootstrap select widget to set the default page locale.
| xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/editor/EditPage.java | XWIKI-17201: Extend the page Information tab with content from the edit panels * Update the test page object because we're now using the Bootstrap select widget to set the default page locale. | |
Java | apache-2.0 | 7cebac42d433b5f0439993ef5676da462b262fe0 | 0 | arquillian/arquillian-cube-q | package org.arquillian.cube.q.api;
import java.util.concurrent.TimeUnit;
public interface Q {
Action on(String machine, int port);
public interface Action {
Action down();
Action timeout(TimeoutType timeType);
Action timeout(TimeoutType timeType, ToxicityType toxicityType, Toxic... | api/src/main/java/org/arquillian/cube/q/api/Q.java | package org.arquillian.cube.q.api;
import java.util.concurrent.TimeUnit;
public interface Q {
Action on(String machine, int port);
public interface Action {
Action down();
Action timeout(TimeoutType timeType);
Action timeout(TimeoutType timeType, ToxicityType toxicityType, Toxic... | add timeunit support in time toxics
| api/src/main/java/org/arquillian/cube/q/api/Q.java | add timeunit support in time toxics | |
Java | apache-2.0 | 37e4d4e54772df0f8368d789963083ab5aaa806c | 0 | paulstapleton/flowable-engine,yvoswillens/flowable-engine,dbmalkovsky/flowable-engine,lsmall/flowable-engine,lsmall/flowable-engine,flowable/flowable-engine,yvoswillens/flowable-engine,lsmall/flowable-engine,paulstapleton/flowable-engine,yvoswillens/flowable-engine,yvoswillens/flowable-engine,lsmall/flowable-engine,flo... | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | modules/flowable5-compatibility/src/main/java/org/flowable/compatibility/DefaultProcessEngineFactory.java | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | issue 1065 add copy method for custom variable types (#1066)
| modules/flowable5-compatibility/src/main/java/org/flowable/compatibility/DefaultProcessEngineFactory.java | issue 1065 add copy method for custom variable types (#1066) | |
Java | apache-2.0 | 52f6121544176e71e50e5a9f6225ea6579c284c7 | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | net4j/com.b2international.snowowl.eventbus/src/com/b2international/snowowl/internal/eventbus/EventBus.java | /*
* Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | [core] constrain concurrency level to the 1-4 range | net4j/com.b2international.snowowl.eventbus/src/com/b2international/snowowl/internal/eventbus/EventBus.java | [core] constrain concurrency level to the 1-4 range | |
Java | apache-2.0 | 9daddb86eb18be2a0003d7fe5ab8f0a8bb975c28 | 0 | abimarank/carbon-apimgt,lakmali/carbon-apimgt,lalaji/carbon-apimgt,dewmini/carbon-apimgt,thusithak/carbon-apimgt,dewmini/carbon-apimgt,rswijesena/carbon-apimgt,dewmini/carbon-apimgt,thusithak/carbon-apimgt,ChamNDeSilva/carbon-apimgt,ChamNDeSilva/carbon-apimgt,sambaheerathan/carbon-apimgt,ChamNDeSilva/carbon-apimgt,lakm... | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | components/apimgt/org.wso2.carbon.apimgt.core/src/main/java/org/wso2/carbon/apimgt/core/impl/BrokerImpl.java | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | remove unwanted line
| components/apimgt/org.wso2.carbon.apimgt.core/src/main/java/org/wso2/carbon/apimgt/core/impl/BrokerImpl.java | remove unwanted line | |
Java | apache-2.0 | 129cd6ace57699c19343bd878d41dd33f7148f37 | 0 | glyptodon/guacamole-client,mike-jumper/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client,glyptodon/guacamole-client,glyptodon/guacamole-client,mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client | /*
* 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 ... | extensions/guacamole-auth-saml/src/main/java/org/apache/guacamole/auth/saml/AuthenticationProviderService.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 ... | GUACAMOLE-103: Remove unnecessary parameter decoding
| extensions/guacamole-auth-saml/src/main/java/org/apache/guacamole/auth/saml/AuthenticationProviderService.java | GUACAMOLE-103: Remove unnecessary parameter decoding | |
Java | apache-2.0 | cc21c64f26ce3258d3b3d26186fb57ea505e220b | 0 | krosenvold/AxonFramework,AxonFramework/AxonFramework | /*
* Copyright (c) 2010-2018. Axon Framework
*
* 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 ... | integrationtests/src/test/java/org/axonframework/integrationtests/eventhandling/TrackingEventProcessorTest.java | /*
* Copyright (c) 2010-2018. Axon Framework
*
* 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 ... | fixed faulty integration tests
| integrationtests/src/test/java/org/axonframework/integrationtests/eventhandling/TrackingEventProcessorTest.java | fixed faulty integration tests | |
Java | apache-2.0 | d40e236e3b694bfa3bd2537ba6f2fe21a5724232 | 0 | aduprat/james,chibenwa/james,aduprat/james,chibenwa/james,rouazana/james,rouazana/james,chibenwa/james,rouazana/james,aduprat/james,aduprat/james,rouazana/james,chibenwa/james | /***********************************************************************
* Copyright (c) 1999-2004 The Apache Software Foundation. *
* All rights reserved. *
* ------------------------------------------------------------------- *
* Licensed under the Apache... | src/java/org/apache/mailet/MailAddress.java | /***********************************************************************
* Copyright (c) 1999-2004 The Apache Software Foundation. *
* All rights reserved. *
* ------------------------------------------------------------------- *
* Licensed under the Apache... | Strip RFC-821 source routing information. JAMES-296
git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@239384 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/mailet/MailAddress.java | Strip RFC-821 source routing information. JAMES-296 | |
Java | apache-2.0 | c244aa657387009fb2cff27ad6aec90b569d9d9d | 0 | DMHP/carbon-identity,ChamaraPhilipsuom/carbon-identity,thilina27/carbon-identity,thusithathilina/carbon-identity,mefarazath/carbon-identity,nuwandi-is/carbon-identity,malithie/carbon-identity,Niranjan-K/carbon-identity,GayanM/carbon-identity,virajsenevirathne/carbon-identity,thanujalk/carbon-identity,ChamaraPhilipsuom/... | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | components/oauth/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | seperate user domain from user name
| components/oauth/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java | seperate user domain from user name | |
Java | apache-2.0 | 13ffcc6b5667af31b93eb580d998e6702026f8b9 | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ExportRequest.java | /*
* Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | [export] trigger another build by adding more systrace | snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ExportRequest.java | [export] trigger another build by adding more systrace | |
Java | apache-2.0 | 9d6a573a91407a1be9fe1c74d6b0d6c95ad22a0e | 0 | hyracoidea/hyrax-backend,hyracoidea/hyrax-backend | package com.hyrax.spring.boot.starter.authentication.rest.service.impl;
import com.hyrax.spring.boot.starter.authentication.model.SecuredAccountDetails;
import com.hyrax.spring.boot.starter.authentication.rest.client.SecuredAccountRESTClient;
import com.hyrax.spring.boot.starter.authentication.rest.service.SecuredAcco... | spring-boot-starter/authentication/authentication-service/src/main/java/com/hyrax/spring/boot/starter/authentication/rest/service/impl/SecuredAccountRESTServiceImpl.java | package com.hyrax.spring.boot.starter.authentication.rest.service.impl;
import com.hyrax.spring.boot.starter.authentication.model.SecuredAccountDetails;
import com.hyrax.spring.boot.starter.authentication.rest.client.SecuredAccountRESTClient;
import com.hyrax.spring.boot.starter.authentication.rest.service.SecuredAcco... | #36 - Added Logger to the SecuredAccountRESTServiceImpl
| spring-boot-starter/authentication/authentication-service/src/main/java/com/hyrax/spring/boot/starter/authentication/rest/service/impl/SecuredAccountRESTServiceImpl.java | #36 - Added Logger to the SecuredAccountRESTServiceImpl | |
Java | apache-2.0 | 3b649327e7c62f9e718f52104aae36bc8672002f | 0 | leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc | /*
* 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 ... | sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/namespace/parser/ShardingDataSourceBeanDefinitionParser.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 ... | parseEncryptRuleConfiguration()
| sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/namespace/parser/ShardingDataSourceBeanDefinitionParser.java | parseEncryptRuleConfiguration() | |
Java | apache-2.0 | ec6eba7254e09250e7cf941441a58d4a7138f34b | 0 | material-foundation/material-remixer-android | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | remixer_core/src/main/java/com/google/android/libraries/remixer/RemixerItem.java | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Fix logic for checking reference equality.
| remixer_core/src/main/java/com/google/android/libraries/remixer/RemixerItem.java | Fix logic for checking reference equality. | |
Java | apache-2.0 | 51c2a61e890aa93bb5f00154a6ee6f2f358f2a39 | 0 | francescomari/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,code-distillery/jackrabbit-oak,chetanmeh/jackrabbit-oak,yesil/jackrabbit-oak,chetanmeh/jackrabbit-oak,catholicon/jackrabbit-oak,catholicon/jackrabbit-oak,alexparvulescu/jackrabbit-oak,alexkli/jackrabbit-oak,anchela/jackrabbit-oak,code-distillery/jackrabbit-... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/tool/Compact.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 ... | OAK-5293: Static code analysis and code cleanup
Remove unused fields
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1774211 13f79535-47bb-0310-9956-ffa450edef68
| oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/tool/Compact.java | OAK-5293: Static code analysis and code cleanup Remove unused fields | |
Java | apache-2.0 | 781d4e7812d0eaf789c287ba69374d625a13e32c | 0 | apache/ignite,andrey-kuznetsov/ignite,SomeFire/ignite,BiryukovVA/ignite,andrey-kuznetsov/ignite,NSAmelchev/ignite,BiryukovVA/ignite,shroman/ignite,daradurvs/ignite,xtern/ignite,nizhikov/ignite,NSAmelchev/ignite,apache/ignite,samaitra/ignite,daradurvs/ignite,ascherbakoff/ignite,BiryukovVA/ignite,NSAmelchev/ignite,shroma... | /*
* 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 ... | modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.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 ... | GNITE-8006 Fixed flaky test
| modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java | GNITE-8006 Fixed flaky test | |
Java | apache-2.0 | d72788959af684e77db588f8aff768bfc8bdac45 | 0 | EronWright/Canova,tripiana/Canova,ZenDevelopmentSystems/Canova,EronWright/Canova,ZenDevelopmentSystems/Canova,tripiana/Canova | package org.canova.api.formats.output.impl;
import org.canova.api.conf.Configuration;
import org.canova.api.exceptions.CanovaException;
import org.canova.api.formats.output.OutputFormat;
import org.canova.api.records.writer.RecordWriter;
import org.canova.api.records.writer.impl.SVMLightRecordWriter;
import java.io... | canova-api/src/main/java/org/canova/api/formats/output/impl/SVMLightOutputFormat.java | package org.canova.api.formats.output.impl;
import org.canova.api.conf.Configuration;
import org.canova.api.exceptions.CanovaException;
import org.canova.api.formats.output.OutputFormat;
import org.canova.api.records.writer.RecordWriter;
import org.canova.api.records.writer.impl.LineRecordWriter;
import java.io.Fil... | updated the returned output record writer to be the correct one - SVMLightRecordWriter
| canova-api/src/main/java/org/canova/api/formats/output/impl/SVMLightOutputFormat.java | updated the returned output record writer to be the correct one - SVMLightRecordWriter | |
Java | apache-2.0 | a1393714e48b528f160e59169647ebafd6697fb9 | 0 | dmvolod/camel,nikhilvibhav/camel,oalles/camel,nicolaferraro/camel,scranton/camel,DariusX/camel,snurmine/camel,RohanHart/camel,bhaveshdt/camel,tadayosi/camel,driseley/camel,yuruki/camel,pkletsko/camel,isavin/camel,scranton/camel,apache/camel,salikjan/camel,pkletsko/camel,pmoerenhout/camel,rmarting/camel,sverkera/camel,F... | /**
* 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"); yo... | components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvMarshaller.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"); yo... | remove unused import | components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvMarshaller.java | remove unused import | |
Java | apache-2.0 | 61f2aa3078d7d7594530ffe3a7bd4ffc890b754c | 0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr | package org.apache.lucene.benchmark.byTask.feeds;
/**
* 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 Apac... | contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/TrecDocMaker.java | package org.apache.lucene.benchmark.byTask.feeds;
/**
* 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 Apac... | allow TrecDocMaker to be more easily extended by making values protected
git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@616882 13f79535-47bb-0310-9956-ffa450edef68
| contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/TrecDocMaker.java | allow TrecDocMaker to be more easily extended by making values protected | |
Java | apache-2.0 | 61b072b9342fa7bef215f14ab9e41e640e144788 | 0 | dslomov/intellij-community,ryano144/intellij-community,kdwink/intellij-community,asedunov/intellij-community,dslomov/intellij-community,ahb0327/intellij-community,tmpgit/intellij-community,clumsy/intellij-community,ryano144/intellij-community,michaelgallacher/intellij-community,petteyg/intellij-community,dslomov/intell... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | jps/jps-builders/src/org/jetbrains/jps/builders/impl/storage/BuildTargetStorages.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | thread safe lazy value
| jps/jps-builders/src/org/jetbrains/jps/builders/impl/storage/BuildTargetStorages.java | thread safe lazy value | |
Java | artistic-2.0 | 925089348f6c4e1681d73e9f6223da602b7a3f0d | 0 | SourceUtils/hl2-hud-editor | package com.timepath.hl2.hudeditor;
import com.timepath.plaf.OS;
import com.timepath.plaf.linux.DesktopLauncher;
import com.timepath.plaf.linux.WindowToolkit;
import com.timepath.plaf.mac.OSXProps;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
... | src/com/timepath/hl2/hudeditor/Main.java | package com.timepath.hl2.hudeditor;
import com.timepath.plaf.OS;
import com.timepath.plaf.linux.DesktopLauncher;
import com.timepath.plaf.linux.WindowToolkit;
import com.timepath.plaf.mac.OSXProps;
import com.timepath.plaf.x.filechooser.XFileDialogFileChooser;
import java.io.BufferedReader;
import java.io.IOException;... | Dropped XFileDialog | src/com/timepath/hl2/hudeditor/Main.java | Dropped XFileDialog | |
Java | bsd-2-clause | 91840a803c2d50b006475d8a777a67fd552d7009 | 0 | scifio/scifio | //
// OmeroReader.java
//
/*
OME database I/O package for communicating with OME and OMERO servers.
Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden and Philip Huettl.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the ... | components/ome-io/src/loci/ome/io/OmeroReader.java | //
// OmeroReader.java
//
/*
OME database I/O package for communicating with OME and OMERO servers.
Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden and Philip Huettl.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the ... | Eliminate usage of 1.6-specific java.io.Console.
This prevents compile errors under 1.5.
| components/ome-io/src/loci/ome/io/OmeroReader.java | Eliminate usage of 1.6-specific java.io.Console. | |
Java | mit | 08fcb46374c3d3d86440accf5a94e4a317a484cc | 0 | Dimensions/Solar | package net.dimensions.solar.block;
public interface Block{
public Material getType();
public void setType(Material m);
public String getUnlocalizedName(); //I don't think we need this because it's already in the Material
public float getHardness();
public int getLightValue();
public bool... | src/net/dimensions/solar/block/Block.java | package net.dimensions.solar.block;
public interface Block
{
String getUnlocalizedName();
float getHardness();
int getLightValue();
boolean isReplaceable();
boolean isBurning();
int getFlammability();
boolean isFlammable();
int getFireSpreadSpeed();
boolean hasTileEntity();
... | Add Material & change methods | src/net/dimensions/solar/block/Block.java | Add Material & change methods | |
Java | mit | cbcaf1c4ecf7b94c8f62d8476e0b433f7c44c4fd | 0 | BrujosDeJava/jrpg-2017a-dominio | package tests_dominio;
import org.junit.Assert;
import org.junit.Test;
import dominio.Asesino;
import dominio.Guerrero;
import dominio.Hechicero;
import dominio.Humano;
import dominio.Orco;
public class TestOrco {
@Test
public void testGolpeDefensivo() {
Humano h = new Humano("Nicolas", new Guerrero(), 1);
Or... | src/test/java/tests_dominio/TestOrco.java | package tests_dominio;
import org.junit.Assert;
import org.junit.Test;
import dominio.Asesino;
import dominio.Guerrero;
import dominio.Hechicero;
import dominio.Humano;
import dominio.Orco;
public class TestOrco {
@Test
public void testGolpeDefensivo() {
Humano h = new Humano("Nicolas", new Guerrero(), 1);
Or... | pequeños cambios en test de la clase orco
| src/test/java/tests_dominio/TestOrco.java | pequeños cambios en test de la clase orco | |
Java | mit | 863995cb50013b6c6a7ef5c1e13f69ae964e60fe | 0 | recena/github-api,kohsuke/github-api | package org.kohsuke.github;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.net.URL;
/**
* @see GitHub#getMyInvitations()
* @see GHRepository#listInvitations()
*/
@SuppressFBWarnings(value = {"UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD",
"... | src/main/java/org/kohsuke/github/GHInvitation.java | package org.kohsuke.github;
import java.io.IOException;
import java.net.URL;
/**
* @see GitHub#getMyInvitations()
* @see GHRepository#listInvitations()
*/
public class GHInvitation extends GHObject {
/*package almost final*/ GitHub root;
private int id;
private GHRepository repository;
private GHU... | findbugs warning fix
| src/main/java/org/kohsuke/github/GHInvitation.java | findbugs warning fix | |
Java | mit | aad023eb57e323800282486d60538638437efa2e | 0 | stevenuray/XChange,npomfret/XChange,Muffon/XChange,sutra/XChange,anwfr/XChange,douggie/XChange,andre77/XChange,jheusser/XChange,yarKH/XChange,timmolter/XChange,gaborkolozsy/XChange,kzbikowski/XChange,joansmith/XChange,TSavo/XChange,cinjoff/XChange-1,nivertech/XChange,dozd/XChange,chrisrico/XChange,stachon/XChange,nopy/... | package com.xeiam.xchange.bitfinex.v1.service.marketdata;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import org.junit.Test;
import com.fasterxml.jackson.databind.Object... | xchange-bitfinex/src/test/java/com/xeiam/xchange/bitfinex/v1/service/marketdata/BitfinexMarketDataJSONTest.java | package com.xeiam.xchange.bitfinex.v1.service.marketdata;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import org.junit.Test;
import com.fasterxml.jackson.databind.Object... | Corrected (!!!) this unit test. After the change of the timestamp datatype from flaot to BigDecimal in several DTO classes, the timestamp can now be read out exactly. | xchange-bitfinex/src/test/java/com/xeiam/xchange/bitfinex/v1/service/marketdata/BitfinexMarketDataJSONTest.java | Corrected (!!!) this unit test. After the change of the timestamp datatype from flaot to BigDecimal in several DTO classes, the timestamp can now be read out exactly. | |
Java | mit | a72c4c88809a69f8fd86d91bed4bd01936bd42f9 | 0 | jotatoledo/Programmieren-WS16-17 | package test.java.board_game;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import org.junit.Test;
import main.java.board_game.LineType;
import main.java.board_game.Tile;
public class TileTest {
/**
* <pre>
* Empty tile
* ------
* </pre>
*/
private st... | src/test/java/board_game/TileTest.java | package test.java.board_game;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import org.junit.Test;
import main.java.board_game.LineType;
import main.java.board_game.Tile;
public class TileTest {
/**
* <pre>
* Empty tile
* ------
* </pre>
*/
private st... | Added some comments | src/test/java/board_game/TileTest.java | Added some comments | |
Java | mit | 3955fafca5ae436fe1a593efdfea6871c1937ef9 | 0 | zabawaba99/reflector | package com.zabawaba.reflector;
import java.lang.reflect.Constructor;
import java.util.HashSet;
/**
* Provides a set of methods to manipulate {@link Constructor}
*
* @author Steven Berlanga
* @since 0.2.1
*/
public class Constructors {
private static Filter<Constructor<?>> ALL_CONSTRUCTORS = new Filter<Constru... | src/main/java/com/zabawaba/reflector/Constructors.java | package com.zabawaba.reflector;
import java.lang.reflect.Constructor;
import java.util.HashSet;
/**
* Provides a set of methods to manipulate {@link Constructor}
*
* @author Steven Berlanga
* @since 0.2.1
*/
public class Constructors {
private static Filter<Constructor<?>> ALL_CONSTRUCTORS = new Filter<Constru... | making Constructors constructor private
| src/main/java/com/zabawaba/reflector/Constructors.java | making Constructors constructor private | |
Java | epl-1.0 | 1ffbefa16aa46547acea8fe644b27f1be0cf0c7d | 0 | my76128/controller,tx1103mark/controller,opendaylight/controller,inocybe/odl-controller,522986491/controller,mandeepdhami/controller,522986491/controller,my76128/controller,inocybe/odl-controller,Sushma7785/OpenDayLight-Load-Balancer,aryantaheri/monitoring-controller,tx1103mark/controller,my76128/controller,mandeepdham... | /*
* Copyright (C) 2014 Red Hat, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Authors : Dave Tucker
*/
package org.opendaylig... | opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/PaginatedRequestFactory.java | /*
* Copyright (C) 2014 Red Hat, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Authors : Dave Tucker
*/
package org.opendaylig... | Fix neutron pagination
This patch fixes a logic mistake which results in dead code being
reported. startPos is guaranteed to be non-null by virtue of being
always assigned.
The problem is that the detection that the marker is not found is not
correct, as binarySearch() will report the negated insertion point.
Also i... | opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/PaginatedRequestFactory.java | Fix neutron pagination | |
Java | mpl-2.0 | d9984ae95a2043790598c73192f1be5f51934806 | 0 | maxanier/Vertretungsplan | package com.example.vertretungsplan;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFac... | src/com/example/vertretungsplan/Anzeige.java | package com.example.vertretungsplan;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFac... | Kommentare ergänzt | src/com/example/vertretungsplan/Anzeige.java | Kommentare ergänzt | |
Java | agpl-3.0 | 6cf0f914a579e3dbdd6a3ce03a67d0a05ac72e90 | 0 | daveho/CloudCoder,ndrppnc/CloudCoder,jspacco/CloudCoder,daveho/CloudCoder,aayushmudgal/CloudCoder,x77686d/CloudCoder,vjpudelski/CloudCoder,wicky-info/CloudCoder,cloudcoderdotorg/CloudCoder,vjpudelski/CloudCoder,wicky-info/CloudCoder,wicky-info/CloudCoder,daveho/CloudCoder,daveho/CloudCoder,daveho/CloudCoder,cloudcoderd... | // CloudCoder - a web-based pedagogical programming environment
// Copyright (C) 2011-2012, Jaime Spacco <jspacco@knox.edu>
// Copyright (C) 2011-2012, David H. Hovemeyer <david.hovemeyer@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Genera... | CloudCoderRepository/src/org/cloudcoder/repoapp/servlets/Register.java | // CloudCoder - a web-based pedagogical programming environment
// Copyright (C) 2011-2012, Jaime Spacco <jspacco@knox.edu>
// Copyright (C) 2011-2012, David H. Hovemeyer <david.hovemeyer@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Genera... | hard-code URL of repo webserver
There will only be one deployment, so there's no point in any
fancy code to try to figure out the correct URL. | CloudCoderRepository/src/org/cloudcoder/repoapp/servlets/Register.java | hard-code URL of repo webserver | |
Java | agpl-3.0 | 3d73d7024d929128d4e58b80aaaad4a634c0ba25 | 0 | brsimioni/rstudio,thklaus/rstudio,john-r-mcpherson/rstudio,jar1karp/rstudio,vbelakov/rstudio,jar1karp/rstudio,more1/rstudio,sfloresm/rstudio,john-r-mcpherson/rstudio,tbarrongh/rstudio,edrogers/rstudio,maligulzar/Rstudio-instrumented,suribes/rstudio,edrogers/rstudio,jzhu8803/rstudio,pssguy/rstudio,piersharding/rstudio,m... | /*
* TextEditingTargetWidget.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY ... | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetWidget.java | /*
* TextEditingTargetWidget.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY ... | always show forward and back buttons in source editor
| src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetWidget.java | always show forward and back buttons in source editor | |
Java | agpl-3.0 | c6fb92fe328daf7169da6d3d471738bfdaf51c20 | 0 | ow2-proactive/scheduling,mbenguig/scheduling,sgRomaric/scheduling,jrochas/scheduling,sgRomaric/scheduling,youribonnaffe/scheduling,ShatalovYaroslav/scheduling,zeineb/scheduling,jrochas/scheduling,ow2-proactive/scheduling,mbenguig/scheduling,marcocast/scheduling,ShatalovYaroslav/scheduling,lpellegr/scheduling,laurianed/... | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2010 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
* Contact: ... | src/scheduler/src/org/ow2/proactive/scheduler/job/JobDescriptorImpl.java | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2010 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
* Contact: ... | Fix SCHEDULING-596:
Use concurrenthashMap instead standard map, avoid inconsistent state inside each map
git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@15746 28e8926c-6b08-0410-baaa-805c5e19b8d6
| src/scheduler/src/org/ow2/proactive/scheduler/job/JobDescriptorImpl.java | Fix SCHEDULING-596: Use concurrenthashMap instead standard map, avoid inconsistent state inside each map | |
Java | agpl-3.0 | 2fe887190ee9a75c6ae714ebf3ed3e80236e670f | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import imcode.external.diverse.* ;
import imcode.server.* ;
import imcode.util.* ;
public class AdminQuestionsFile extends Administrator {
private final static String CVS_REV = "$Revision$" ;
private final static String CVS_D... | servlets/AdminQuestionsFile.java | import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import imcode.external.diverse.* ;
import imcode.server.* ;
import imcode.util.* ;
public class AdminQuestionsFile extends Administrator {
private final static String CVS_REV = "$Revision$" ;
private final static String CVS_D... | bug 432 Added fkn for adding a new question when saving
git-svn-id: b7e9aa1d6cd963481915708f70423d437278b157@1220 bd66a97b-2aff-0310-9095-89ca5cabf5a6
| servlets/AdminQuestionsFile.java | bug 432 Added fkn for adding a new question when saving | |
Java | lgpl-2.1 | 6cc35274af4121c183b32f412c179516f1ba2bc4 | 0 | BEAST2-Dev/codonmodels | package test.beast.util;
import beast.util.DistributionUtils;
import beast.util.RandomUtils;
import beast.util.Randomizer;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
import static org.junit.Assert.assertArrayEquals;
/**
* {@link Randomizer#randomChoice(double[])} seems faster than
* ... | src/test/beast/util/BinarySearchSamplingTest.java | package test.beast.util;
import beast.util.DistributionUtils;
import beast.util.RandomUtils;
import beast.util.Randomizer;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
import static org.junit.Assert.assertArrayEquals;
/**
* @author Walter Xie
*/
public class BinarySearchSamplingTest {
... | add comment
| src/test/beast/util/BinarySearchSamplingTest.java | add comment | |
Java | lgpl-2.1 | 62588692656accb2dc7f33f947a36ffd09f32bf9 | 0 | modius/railo,getrailo/railo,getrailo/railo,getrailo/railo,JordanReiter/railo,modius/railo,JordanReiter/railo | package railo.commons.io.res.type.compress;
import java.io.IOException;
import java.util.Map;
import railo.commons.io.res.Resource;
import railo.commons.io.res.ResourceProvider;
import railo.commons.io.res.Resources;
import railo.commons.io.res.util.ResourceLockImpl;
import railo.commons.io.res.util.ResourceUtil;
imp... | railo-java/railo-core/src/railo/commons/io/res/type/compress/CompressResourceProvider.java | package railo.commons.io.res.type.compress;
import java.io.IOException;
import java.util.Map;
import railo.commons.io.res.Resource;
import railo.commons.io.res.ResourceProvider;
import railo.commons.io.res.Resources;
import railo.commons.io.res.util.ResourceLockImpl;
import railo.commons.io.res.util.ResourceUtil;
imp... | solved ticket https://issues.jboss.org/browse/RAILO-1133
| railo-java/railo-core/src/railo/commons/io/res/type/compress/CompressResourceProvider.java | solved ticket https://issues.jboss.org/browse/RAILO-1133 | |
Java | apache-2.0 | 204998ff9d17a6816d418c2c38306b43ef400232 | 0 | consulo/consulo-properties | package icons;
import javax.swing.Icon;
import com.intellij.openapi.util.IconLoader;
/**
* NOTE THIS FILE IS AUTO-GENERATED by the build/scripts/icons.gant
* Don't repeat mistakes of others ;-)
*/
public class PropertiesIcons {
private static Icon load(String path) {
return IconLoader.getIcon(path, Properti... | src/icons/PropertiesIcons.java | package icons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
/**
* NOTE THIS FILE IS AUTO-GENERATED by the build/scripts/icons.gant
* Don't repeat mistakes of others ;-)
*/
public class PropertiesIcons {
private static Icon load(String path) {
return IconLoader.getIcon(path, PropertiesI... | fixed https://github.com/consulo/consulo/issues/123
| src/icons/PropertiesIcons.java | fixed https://github.com/consulo/consulo/issues/123 | |
Java | apache-2.0 | 383e1dfe44dc473e4d43eeeed5a4f6af16080552 | 0 | cfriedt/sliderule,cfriedt/sliderule | /*
* Copyright (C) 2015 Christopher Friedt <chrisfriedt@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
*
* Unless required ... | src/org/sliderule/runner/AnnotatedClass.java | /*
* Copyright (C) 2015 Christopher Friedt <chrisfriedt@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
*
* Unless required ... | fixed for compatibility with jdk 7
| src/org/sliderule/runner/AnnotatedClass.java | fixed for compatibility with jdk 7 | |
Java | apache-2.0 | 82731af46089a0b7ab4654e6716b82276ac4a2ee | 0 | ctripcorp/dal,ctripcorp/dal,ctripcorp/dal | package com.ctrip.platform.dal.dao.configure;
import com.ctrip.platform.dal.dao.helper.ConnectionStringKeyHelper;
import org.apache.commons.lang.StringUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConnectionStringParser {
private static ConnectionStringParser parser = null;
... | dal-client/src/main/java/com/ctrip/platform/dal/dao/configure/ConnectionStringParser.java | package com.ctrip.platform.dal.dao.configure;
import com.ctrip.platform.dal.dao.helper.ConnectionStringKeyHelper;
import org.apache.commons.lang.StringUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConnectionStringParser {
private static ConnectionStringParser parser = null;
... | remove useless connectTimeoutPattern
| dal-client/src/main/java/com/ctrip/platform/dal/dao/configure/ConnectionStringParser.java | remove useless connectTimeoutPattern | |
Java | apache-2.0 | 6dfe73b548f59b4866af53f6823e1e1d1e0d4076 | 0 | googleinterns/step126-2020,googleinterns/step126-2020,googleinterns/step126-2020,googleinterns/step126-2020,googleinterns/step126-2020 | package com.google.sps.servlets;
import com.google.gson.Gson;
import com.google.sps.data.AssociationData;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
imp... | capstone/src/main/java/com/google/sps/servlets/AssociationServlet.java | package com.google.sps.servlets;
<<<<<<< HEAD:capstone/src/main/java/com/google/sps/servlets/AssociationServlet.java
import com.google.gson.Gson;
import com.google.sps.data.AssociationData;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import javax.servlet.annotation.WebServlet;
impo... | Removes conflict indicators from servlet
| capstone/src/main/java/com/google/sps/servlets/AssociationServlet.java | Removes conflict indicators from servlet | |
Java | apache-2.0 | f9659b2a213ae36747e4963227b9cde3dfbfe688 | 0 | sguilhen/wildfly-elytron,wildfly-security/wildfly-elytron,sguilhen/wildfly-elytron,wildfly-security/wildfly-elytron | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | src/main/java/org/wildfly/security/ssl/SSLUtils.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | [ELY-424] Add a null check for the Set of Services returned from the Provider.
| src/main/java/org/wildfly/security/ssl/SSLUtils.java | [ELY-424] Add a null check for the Set of Services returned from the Provider. | |
Java | apache-2.0 | 323b8a19db20c00a7a4e583207690a112172fa66 | 0 | SergeyTravin/pentaho-kettle,sajeetharan/pentaho-kettle,mdamour1976/pentaho-kettle,AliaksandrShuhayeu/pentaho-kettle,SergeyTravin/pentaho-kettle,yshakhau/pentaho-kettle,graimundo/pentaho-kettle,AlexanderBuloichik/pentaho-kettle,drndos/pentaho-kettle,dkincade/pentaho-kettle,ma459006574/pentaho-kettle,aminmkhan/pentaho-ke... | //CHECKSTYLE:FileLength:OFF
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apa... | ui/src/org/pentaho/di/ui/spoon/Spoon.java | //CHECKSTYLE:FileLength:OFF
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apa... | PDI-12513 - prompt to close tabs even if welcome tab is active
| ui/src/org/pentaho/di/ui/spoon/Spoon.java | PDI-12513 - prompt to close tabs even if welcome tab is active | |
Java | apache-2.0 | 5be104efd4c042d8ba878a955ec116430d2a46da | 0 | gerryhocks/redpen,redpen-cc/redpen,redpen-cc/redpen,redpen-cc/redpen,kenhys/redpen,kenhys/redpen,recruit-tech/redpen,kenhys/redpen,redpen-cc/redpen,gerryhocks/redpen,redpen-cc/redpen,recruit-tech/redpen,gerryhocks/redpen,recruit-tech/redpen,recruit-tech/redpen,kenhys/redpen,gerryhocks/redpen | /*
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | redpen-core/src/test/java/cc/redpen/parser/review/ReVIEWParserTest.java | /*
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | Add a test case for character offsets
| redpen-core/src/test/java/cc/redpen/parser/review/ReVIEWParserTest.java | Add a test case for character offsets | |
Java | apache-2.0 | a221f9c6922c707fb2e74a5730b858498aa61008 | 0 | gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa | /*
* Copyright 2008-2010 Microarray Informatics Team, 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
*
* http://www.apache.org/licenses/LICENSE-... | atlas-loader/src/main/java/uk/ac/ebi/gxa/loader/steps/ArrayDataStep.java | /*
* Copyright 2008-2010 Microarray Informatics Team, 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
*
* http://www.apache.org/licenses/LICENSE-... | Ticket 3334 - Code review comments
| atlas-loader/src/main/java/uk/ac/ebi/gxa/loader/steps/ArrayDataStep.java | Ticket 3334 - Code review comments | |
Java | apache-2.0 | 756aa035a3fc42241fded1896cfd7bd043a85a85 | 0 | researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds | package won.utils.im.port;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Random;
import org.apache.jena.datatypes.BaseDatatype;
import org.apache.jena.datatypes.RDFDatatype;
import org.apache.jena.datatypes.xsd.X... | webofneeds/won-utils/won-utils-import/src/main/java/won/utils/im/port/RealEstateNeedGenerator.java | package won.utils.im.port;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Random;
import org.apache.jena.datatypes.BaseDatatype;
import org.apache.jena.datatypes.RDFDatatype;
import org.apache.jena.datatypes.xsd.X... | Fix amenity feature structure | webofneeds/won-utils/won-utils-import/src/main/java/won/utils/im/port/RealEstateNeedGenerator.java | Fix amenity feature structure | |
Java | apache-2.0 | b0fd7fae8e4eb945cbbfb3c1bd6a8a84e61bbd90 | 0 | anylineorg/anyline,anylineorg/anyline |
package org.anyline.jdbc.config.db.impl.oracle;
import org.anyline.dao.AnylineDao;
import org.anyline.entity.DataRow;
import org.anyline.entity.DataSet;
import org.anyline.entity.OrderStore;
import org.anyline.entity.PageNavi;
import org.anyline.jdbc.config.db.SQLAdapter;
import org.anyline.jdbc.config.db.impl.Basic... | anyline-jdbc-dialect/anyline-jdbc-oracle/src/main/java/org/anyline/jdbc/config/db/impl/oracle/SQLAdapterImpl.java |
package org.anyline.jdbc.config.db.impl.oracle;
import org.anyline.dao.AnylineDao;
import org.anyline.entity.DataRow;
import org.anyline.entity.DataSet;
import org.anyline.entity.OrderStore;
import org.anyline.entity.PageNavi;
import org.anyline.jdbc.config.db.SQLAdapter;
import org.anyline.jdbc.config.db.impl.Basic... | oracle type2type
| anyline-jdbc-dialect/anyline-jdbc-oracle/src/main/java/org/anyline/jdbc/config/db/impl/oracle/SQLAdapterImpl.java | oracle type2type | |
Java | apache-2.0 | 88b3406f2fc841b22ec2aa4208942b64876d20f1 | 0 | jyemin/mongo-java-driver,jyemin/mongo-java-driver,rozza/mongo-java-driver,gianpaj/mongo-java-driver,davydotcom/mongo-java-driver,jsonking/mongo-java-driver,rozza/mongo-java-driver,wanggc/mongo-java-driver,jsonking/mongo-java-driver,kay-kim/mongo-java-driver,davydotcom/mongo-java-driver,PSCGroup/mongo-java-driver,wanggc... | // DBCollection.java
/**
* Copyright (C) 2008 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | src/main/com/mongodb/DBCollection.java | // DBCollection.java
/**
* Copyright (C) 2008 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | JAVA-505: Made encoder creation work just like decoder creation
| src/main/com/mongodb/DBCollection.java | JAVA-505: Made encoder creation work just like decoder creation | |
Java | apache-2.0 | fd8f3c280a80139945337e84fa788430c1b3d116 | 0 | eg-zhang/h2o-2,eg-zhang/h2o-2,elkingtonmcb/h2o-2,h2oai/h2o,111t8e/h2o-2,100star/h2o,elkingtonmcb/h2o-2,100star/h2o,vbelakov/h2o,rowhit/h2o-2,rowhit/h2o-2,h2oai/h2o-2,rowhit/h2o-2,rowhit/h2o-2,rowhit/h2o-2,rowhit/h2o-2,h2oai/h2o,vbelakov/h2o,h2oai/h2o-2,calvingit21/h2o-2,calvingit21/h2o-2,111t8e/h2o-2,111t8e/h2o-2,elkin... | package water.api;
import water.AbstractBuildVersion;
import water.H2O;
/**
* Summary page referencing all tutorials.
*
* @author michal
*/
public class Tutorials extends HTMLOnlyRequest {
@Override protected String build(Response response) {
AbstractBuildVersion abv = H2O.getBuildVersion();
String branc... | src/main/java/water/api/Tutorials.java | package water.api;
import water.AbstractBuildVersion;
import water.H2O;
/**
* Summary page referencing all tutorials.
*
* @author michal
*/
public class Tutorials extends HTMLOnlyRequest {
@Override protected String build(Response response) {
AbstractBuildVersion abv = H2O.getBuildVersion();
String branc... | Fix R tutorials tryit link.
| src/main/java/water/api/Tutorials.java | Fix R tutorials tryit link. | |
Java | apache-2.0 | bb574c79b5863b4cbce8e80657b14231efed196d | 0 | getlantern/lantern-java,getlantern/lantern-java,lqch14102/lantern,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,lqch14102/lantern,lqch14102/lantern,lqch14102/lantern,getlantern/lantern-java,lqch14102/lantern,lqch14102/lantern,getlantern/lantern-java,lqch14102/lantern,getlantern/lantern-java,ge... | package org.lantern;
import java.io.IOException;
import java.net.MalformedURLException;
import java.security.SecureRandom;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.eclipse... | src/main/java/org/lantern/JettyLauncher.java | package org.lantern;
import java.io.IOException;
import java.net.MalformedURLException;
import java.security.SecureRandom;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.eclipse... | Lots of tweaks to local server
| src/main/java/org/lantern/JettyLauncher.java | Lots of tweaks to local server | |
Java | apache-2.0 | ad72159b0e3ff641e3a08754297c81278b94d94e | 0 | qtvbwfn/dubbo,qtvbwfn/dubbo,alibaba/dubbo,fengyie007/dubbo,yuyijq/dubbo,qtvbwfn/dubbo,alibaba/dubbo,aglne/dubbo,bpzhang/dubbo,lovepoem/dubbo,wuwen5/dubbo,qtvbwfn/dubbo,wuwen5/dubbo,aglne/dubbo,yuyijq/dubbo,bpzhang/dubbo,fengyie007/dubbo,fengyie007/dubbo,lovepoem/dubbo,lovepoem/dubbo,wuwen5/dubbo,aglne/dubbo,bpzhang/dub... | /*
* 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 ... | dubbo-configcenter/dubbo-configcenter-zookeeper/src/main/java/org/apache/dubbo/configcenter/support/zookeeper/CacheListener.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fixes #3625 (#3730)
use constant to replace magic number | dubbo-configcenter/dubbo-configcenter-zookeeper/src/main/java/org/apache/dubbo/configcenter/support/zookeeper/CacheListener.java | Fixes #3625 (#3730) | |
Java | apache-2.0 | 1c998eed73a1312b2e4178d42ee99c1b62fd1fbe | 0 | fazlan-nazeem/carbon-apimgt,malinthaprasan/carbon-apimgt,uvindra/carbon-apimgt,wso2/carbon-apimgt,jaadds/carbon-apimgt,ruks/carbon-apimgt,Rajith90/carbon-apimgt,chamilaadhi/carbon-apimgt,chamilaadhi/carbon-apimgt,fazlan-nazeem/carbon-apimgt,prasa7/carbon-apimgt,isharac/carbon-apimgt,chamindias/carbon-apimgt,fazlan-naze... | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/AbstractKeyValidationHandler.java | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | Update logic
| components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/handlers/AbstractKeyValidationHandler.java | Update logic | |
Java | apache-2.0 | 73e722784d610266d84e1bf75d1db16e9ad3c2d6 | 0 | Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy | package com.genymobile.scrcpy;
import com.genymobile.scrcpy.wrappers.ContentProvider;
import com.genymobile.scrcpy.wrappers.InputManager;
import com.genymobile.scrcpy.wrappers.ServiceManager;
import com.genymobile.scrcpy.wrappers.SurfaceControl;
import com.genymobile.scrcpy.wrappers.WindowManager;
import android.grap... | server/src/main/java/com/genymobile/scrcpy/Device.java | package com.genymobile.scrcpy;
import com.genymobile.scrcpy.wrappers.ContentProvider;
import com.genymobile.scrcpy.wrappers.InputManager;
import com.genymobile.scrcpy.wrappers.ServiceManager;
import com.genymobile.scrcpy.wrappers.SurfaceControl;
import com.genymobile.scrcpy.wrappers.WindowManager;
import android.grap... | Remove useless exception declaration
The interface declares it can throw a RemoteException, but the
implementation never throws such exception.
| server/src/main/java/com/genymobile/scrcpy/Device.java | Remove useless exception declaration | |
Java | apache-2.0 | 4da5faa723f87646ee8ffb63b5c325465588fdc0 | 0 | marginweb/Wikipedia-noSQL-Benchmark,marginweb/Wikipedia-noSQL-Benchmark,marginweb/Wikipedia-noSQL-Benchmark | package implementations;
/**
* Copyright 2011 Thibault Dory
* Licensed under the GPL Version 3 license
*/
import hbase_mapreduce.MapReduceHbaseDB;
import java.io.IOException;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.client.Get;
import org.apache.hadoop.hbase.client.HTable;
... | src/implementations/hbaseDB.java | package implementations;
/**
* Copyright 2011 Thibault Dory
* Licensed under the GPL Version 3 license
*/
import hbase_mapreduce.MapReduceHbaseDB;
import hbase_mapreduce.MapReduceHbaseDB.Mapper1;
import hbase_mapreduce.MapReduceHbaseDB.Mapper2;
import hbase_mapreduce.MapReduceHbaseDB.Reducer1;
import hbase_mapreduc... | Import clean up
| src/implementations/hbaseDB.java | Import clean up | |
Java | apache-2.0 | 1fe30edb67096aa082524b310e5911ef8201501f | 0 | allga/java_pft | package ru.stqa.ptf.mantis.tests;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.ptf.mantis.model.MailMessage;
import java.io.IOException;
import java.util.List;
import static org... | mantis-tests/src/test/java/ru/stqa/ptf/mantis/tests/RegistrationTests.java | package ru.stqa.ptf.mantis.tests;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.ptf.mantis.model.MailMessage;
import java.io.IOException;
import java.util.List;
import static org... | RegistrationTests corrected
| mantis-tests/src/test/java/ru/stqa/ptf/mantis/tests/RegistrationTests.java | RegistrationTests corrected | |
Java | bsd-3-clause | f7c2d0fd75d8f9ef4f72f740498f28eca22ed54a | 0 | sidbandeira/AppGestao | package com.example.sidnei.appgestao.pedidoCompra;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util... | app/src/main/java/com/example/sidnei/appgestao/pedidoCompra/PedidoCompraItemActivity.java | package com.example.sidnei.appgestao.pedidoCompra;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util... | Ajustes na gravação do pedido de compra.
| app/src/main/java/com/example/sidnei/appgestao/pedidoCompra/PedidoCompraItemActivity.java | Ajustes na gravação do pedido de compra. | |
Java | isc | 9362182dd6ce6b7e459409c725190a429e4d4810 | 0 | io7m/jspatial,io7m/jspatial | /*
* Copyright © 2017 <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ... | com.io7m.jspatial.examples.swing/src/main/java/com/io7m/jspatial/examples/swing/QuadTreeWindow.java | /*
* Copyright © 2017 <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ... | Remove unnecessarily qualified static access
| com.io7m.jspatial.examples.swing/src/main/java/com/io7m/jspatial/examples/swing/QuadTreeWindow.java | Remove unnecessarily qualified static access | |
Java | mit | 25164294d603b17f25d0fa3a6e9156f076d27579 | 0 | vkazhdan/moskito,esmakula/moskito,anotheria/moskito,anotheria/moskito,vkazhdan/moskito,esmakula/moskito,StetsiukRoman/moskito,StetsiukRoman/moskito,vkazhdan/moskito,anotheria/moskito,StetsiukRoman/moskito,esmakula/moskito,StetsiukRoman/moskito,esmakula/moskito,vkazhdan/moskito,anotheria/moskito | package net.anotheria.moskito.core.config.dashboards;
import org.configureme.annotations.Configure;
import org.configureme.annotations.ConfigureMe;
import java.io.Serializable;
import java.util.Arrays;
/**
* Configuration holder for a single chart in a dashboard.
*/
@ConfigureMe
public class ChartConfig implements... | moskito-core/src/main/java/net/anotheria/moskito/core/config/dashboards/ChartConfig.java | package net.anotheria.moskito.core.config.dashboards;
import org.configureme.annotations.Configure;
import org.configureme.annotations.ConfigureMe;
import java.io.Serializable;
import java.util.Arrays;
@ConfigureMe
public class ChartConfig implements Serializable{
@Configure
private String caption;
@Configure
... | checkstyle
| moskito-core/src/main/java/net/anotheria/moskito/core/config/dashboards/ChartConfig.java | checkstyle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.