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 | c73cf331020648773bcbbec602eb457f005263c2 | 0 | jcasabla/JfxXlsDiff | /*
* 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 com.jmc.jfxxlsdiff.util;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.geometry.Or... | src/com/jmc/jfxxlsdiff/util/TableViewUtil.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 com.jmc.jfxxlsdiff.util;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.geometry.Or... | Comment out method: public static void configureRowHeaders( TableView table ) | src/com/jmc/jfxxlsdiff/util/TableViewUtil.java | Comment out method: public static void configureRowHeaders( TableView table ) | |
Java | apache-2.0 | e32f0312378f2a9a93995e66b1065b2967d5f4e9 | 0 | BankingBoys/amos-ss17-proj7,BankingBoys/amos-ss17-proj7 | package de.fau.amos.virtualledger.android.api.auth;
import org.assertj.core.api.Assertions;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import io.reactivex.Maybe;
import io.reactivex.Observable;
/**
* Created by Simon on 26.06.2017.
*/
public class MockedAuthenticationProviderTest {
... | app/src/test/java/de/fau/amos/virtualledger/android/api/auth/MockedAuthenticationProviderTest.java | package de.fau.amos.virtualledger.android.api.auth;
import org.assertj.core.api.Assertions;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import io.reactivex.Maybe;
import io.reactivex.Observable;
/**
* Created by Simon on 26.06.2017.
*/
public class MockedAuthenticationProviderTest {
... | added test method for logout
| app/src/test/java/de/fau/amos/virtualledger/android/api/auth/MockedAuthenticationProviderTest.java | added test method for logout | |
Java | apache-2.0 | d5649993710a938255550aa3a84d0685327c76f7 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.java.codeInspection.bytecodeAnalysis;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInspection.bytecodeAnalysis.*;
import com.intel... | java/java-tests/testSrc/com/intellij/java/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.java.codeInspection.bytecodeAnalysis;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInspection.bytecodeAnalysis.*;
import com.intel... | Cleanup (formatting)
| java/java-tests/testSrc/com/intellij/java/codeInspection/bytecodeAnalysis/BytecodeAnalysisTest.java | Cleanup (formatting) | |
Java | apache-2.0 | da5aa97e75d2ebbd85959587623fb8bd911e8342 | 0 | tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua | package com.tang.intellij.lua.comment.psi;
import com.intellij.icons.AllIcons;
import com.intellij.navigation.ItemPresentation;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.intellij.psi.search.ProjectAndLibrariesScope;
import com.tang... | src/main/java/com/tang/intellij/lua/comment/psi/LuaDocPsiImplUtil.java | package com.tang.intellij.lua.comment.psi;
import com.intellij.icons.AllIcons;
import com.intellij.navigation.ItemPresentation;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.intellij.psi.search.ProjectAndLibrariesScope;
import com.tang... | rename
| src/main/java/com/tang/intellij/lua/comment/psi/LuaDocPsiImplUtil.java | rename | |
Java | apache-2.0 | 8b19e361f8cc08f4520fbd6f77f55048ca1d8355 | 0 | ibrdtn/ibrdtn-android-library | package de.tubs.ibr.dtn.streaming;
import de.tubs.ibr.dtn.api.SingletonEndpoint;
public class StreamId {
public SingletonEndpoint source = null;
public int correlator = 0;
@Override
public String toString() {
return source + "#" + Integer.valueOf(correlator);
}
@Override
publ... | src/de/tubs/ibr/dtn/streaming/StreamId.java | package de.tubs.ibr.dtn.streaming;
import de.tubs.ibr.dtn.api.SingletonEndpoint;
public class StreamId {
public SingletonEndpoint source = null;
public int correlator = 0;
}
| Add toString(), equals() and hashCode() to StreamId
| src/de/tubs/ibr/dtn/streaming/StreamId.java | Add toString(), equals() and hashCode() to StreamId | |
Java | apache-2.0 | a00def99faec6451518674a4925d538062f7c04e | 0 | pinterest/teletraan,pinterest/teletraan,pinterest/teletraan,pinterest/teletraan,pinterest/teletraan | /**
* Copyright 2016 Pinterest, 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 agree... | deploy-service/teletraanservice/src/main/java/com/pinterest/teletraan/config/ZKMysqlDataSourceFactory.java | /**
* Copyright 2016 Pinterest, 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 agree... | fix a typo (#1057)
| deploy-service/teletraanservice/src/main/java/com/pinterest/teletraan/config/ZKMysqlDataSourceFactory.java | fix a typo (#1057) | |
Java | apache-2.0 | 8ffd67bed9d91a11aa7d8558e5634219d7591ff3 | 0 | hxf0801/guvnor,mswiderski/guvnor,cristianonicolai/guvnor,wmedvede/guvnor,cristianonicolai/guvnor,nmirasch/guvnor,adrielparedes/guvnor,hxf0801/guvnor,mbiarnes/guvnor,kiereleaseuser/guvnor,kiereleaseuser/guvnor,nmirasch/guvnor,droolsjbpm/guvnor,cristianonicolai/guvnor,droolsjbpm/guvnor,wmedvede/guvnor,adrielparedes/guvno... | /*
* Copyright 2011 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 agreed to in ... | guvnor-webapp/src/main/java/org/drools/guvnor/client/decisiontable/widget/AbstractDecisionTableWidget.java | /*
* Copyright 2011 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 agreed to in ... | fix add row button
| guvnor-webapp/src/main/java/org/drools/guvnor/client/decisiontable/widget/AbstractDecisionTableWidget.java | fix add row button | |
Java | apache-2.0 | 14b08703a5c288b6ebed1f09e85e11c3d7804f3f | 0 | kitolog/cordova-plugin-background-task,kitolog/cordova-plugin-background-task | package com.applurk.plugin;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.util.Log;
import com.loopj.android.http.JsonHttpRespons... | src/android/PollingTask.java | package com.applurk.plugin;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.util.Log;
import com.loopj.android.http.JsonHttpRespons... | Uncommented tags
| src/android/PollingTask.java | Uncommented tags | |
Java | apache-2.0 | 2e8a329f5ad121c87849a61f47a6caba494c80dd | 0 | ianngiaw/HubTurbo,saav/HubTurbo,HyungJon/HubTurbo,ianngiaw/HubTurbo,HyungJon/HubTurbo,Honoo/HubTurbo,Sumei1009/HubTurbo,Sumei1009/HubTurbo,Honoo/HubTurbo,gaieepo/HubTurbo,gaieepo/HubTurbo,saav/HubTurbo | package guitests;
import javafx.application.Platform;
import org.junit.Test;
import util.DialogMessage;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import static org.junit.Assert.assertEquals;
import static org.loadui.testfx.Assertions.assertNodeExists;
import static org.l... | src/test/java/guitests/DialogMessageTests.java | package guitests;
import javafx.application.Platform;
import org.junit.Test;
import util.DialogMessage;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import static org.junit.Assert.assertEquals;
public class DialogMessageTests extends UITest {
@Test
public void sho... | updated DialogMessageTests with assertNodeExists
| src/test/java/guitests/DialogMessageTests.java | updated DialogMessageTests with assertNodeExists | |
Java | apache-2.0 | 92d6389ab2a9bda666e45d189e70246d988f89fb | 0 | bridgedb/BridgeDb,bridgedb/BridgeDb,egonw/BridgeDb,egonw/BridgeDb,egonw/BridgeDb,egonw/BridgeDb,bridgedb/BridgeDb,bridgedb/BridgeDb,egonw/BridgeDb,bridgedb/BridgeDb | // BridgeDb,
// An abstraction layer for identifier mapping services, both local and online.
//
// Copyright 2006-2009 BridgeDb developers
// Copyright 2012-2013 Christian Y. A. Brenninkmeijer
// Copyright 2012-2013 OpenPhacts
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... | org.bridgedb.uri.sql/src/org/bridgedb/sql/SQLUriMapper.java | // BridgeDb,
// An abstraction layer for identifier mapping services, both local and online.
//
// Copyright 2006-2009 BridgeDb developers
// Copyright 2012-2013 Christian Y. A. Brenninkmeijer
// Copyright 2012-2013 OpenPhacts
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use t... | Allowed SQLUriMapper to be expanded
| org.bridgedb.uri.sql/src/org/bridgedb/sql/SQLUriMapper.java | Allowed SQLUriMapper to be expanded | |
Java | apache-2.0 | f8ad604a04a3d85d5578652c24d8e0934f647585 | 0 | venicegeo/pz-gateway,venicegeo/pz-gateway,venicegeo/pz-gateway | /**
* Copyright 2016, RadiantBlue Technologies, 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 ... | src/main/java/gateway/controller/ServiceController.java | /**
* Copyright 2016, RadiantBlue Technologies, 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 ... | fixing build
| src/main/java/gateway/controller/ServiceController.java | fixing build | |
Java | apache-2.0 | cb2a5843165007a8fd6d962c937903b040e00d60 | 0 | Sinjo/eclipse-run-helper | package uk.co.sinjakli.eclipserunhelper.ui;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.ILog;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.... | src/uk/co/sinjakli/eclipserunhelper/ui/RunHelperDialog.java | package uk.co.sinjakli.eclipserunhelper.ui;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.ILog;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.... | Extract launch code to method.
| src/uk/co/sinjakli/eclipserunhelper/ui/RunHelperDialog.java | Extract launch code to method. | |
Java | apache-2.0 | bcb0a1ad505fc52afd800d829f363de8e76336c0 | 0 | gibello/roboconf,diarraa/roboconf-platform,roboconf/roboconf-platform,vincent-zurczak/roboconf-platform,roboconf/roboconf-platform,vincent-zurczak/roboconf-platform,diarraa/roboconf-platform,diarraa/roboconf-platform,vincent-zurczak/roboconf-platform,roboconf/roboconf-platform,gibello/roboconf,gibello/roboconf | /**
* Copyright 2014-2015 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... | core/roboconf-messaging-rabbitmq/src/main/java/net/roboconf/messaging/rabbitmq/internal/RabbitMqClientAgent.java | /**
* Copyright 2014-2015 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... | #324 Improve log messages in the agent's messaging (RabbitMQ) | core/roboconf-messaging-rabbitmq/src/main/java/net/roboconf/messaging/rabbitmq/internal/RabbitMqClientAgent.java | #324 Improve log messages in the agent's messaging (RabbitMQ) | |
Java | apache-2.0 | 47ab8dc2cd534d9361dfd05d1620a4c0420e4009 | 0 | Scarlethue/vaadin,peterl1084/framework,Legioth/vaadin,asashour/framework,shahrzadmn/vaadin,fireflyc/vaadin,travisfw/vaadin,bmitc/vaadin,Flamenco/vaadin,Legioth/vaadin,oalles/vaadin,magi42/vaadin,mstahv/framework,asashour/framework,fireflyc/vaadin,jdahlstrom/vaadin.react,travisfw/vaadin,peterl1084/framework,oalles/vaadi... | /*
@ITMillApache2LicenseForJavaFiles@
*/
package com.itmill.toolkit.demo.coverflow.gwt.client;
import com.itmill.toolkit.demo.coverflow.gwt.client.ui.ICoverflow;
import com.itmill.toolkit.terminal.gwt.client.DefaultWidgetSet;
import com.itmill.toolkit.terminal.gwt.client.Paintable;
import com.itmill.toolkit.termina... | src/com/itmill/toolkit/demo/coverflow/gwt/client/CoverflowWidgetSet.java | /*
@ITMillApache2LicenseForJavaFiles@
*/
package com.itmill.toolkit.demo.coverflow.gwt.client;
import com.itmill.toolkit.demo.coverflow.gwt.client.ui.ICoverflow;
import com.itmill.toolkit.terminal.gwt.client.DefaultWidgetSet;
import com.itmill.toolkit.terminal.gwt.client.Paintable;
import com.itmill.toolkit.termina... | ASSIGNED - # 2604: Review Coverflow demo source code
http://dev.itmill.com/ticket/2604
Fixed deprecated method calls
svn changeset:6931/svn branch:trunk
| src/com/itmill/toolkit/demo/coverflow/gwt/client/CoverflowWidgetSet.java | ASSIGNED - # 2604: Review Coverflow demo source code http://dev.itmill.com/ticket/2604 | |
Java | apache-2.0 | 0b31a0af6232e15618214983dfa4659b5dc6797c | 0 | resmo/cloudstack,wido/cloudstack,resmo/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,GabrielBrascher/cloudstack,wido/cloudstack,wido/cloudstack,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack,resmo/cloudstack... | // 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... | server/src/com/cloud/upgrade/dao/Upgrade302to40.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... | [ASFCS40]304 -> 305 DB upgrade merge to 302-> 4.0
| server/src/com/cloud/upgrade/dao/Upgrade302to40.java | [ASFCS40]304 -> 305 DB upgrade merge to 302-> 4.0 | |
Java | apache-2.0 | b431cc1cdd3cf6efc78c41a3c276fea074d44c22 | 0 | cristiani/encuestame,cristiani/encuestame,cristiani/encuestame,cristiani/encuestame,cristiani/encuestame | /*
************************************************************************************
* Copyright (C) 2001-2011 encuestame: system online surveys Copyright (C) 2011
* encuestame Development Team.
* Licensed under the Apache Software License version 2.0
* You may obtain a copy of the License at http://www.apache.... | enme-business/src/test/java/org/encuestame/test/business/service/TestTweetPollService.java | /*
************************************************************************************
* Copyright (C) 2001-2011 encuestame: system online surveys Copyright (C) 2011
* encuestame Development Team.
* Licensed under the Apache Software License version 2.0
* You may obtain a copy of the License at http://www.apache.... | ENCUESTAME-613. Test cases
| enme-business/src/test/java/org/encuestame/test/business/service/TestTweetPollService.java | ENCUESTAME-613. Test cases | |
Java | apache-2.0 | 7fe030267c65969e8bda7eceb5c55c6092990659 | 0 | sangramjadhav/testrs | 22d4c88e-2ece-11e5-905b-74de2bd44bed | hello.java | 22d4228a-2ece-11e5-905b-74de2bd44bed | 22d4c88e-2ece-11e5-905b-74de2bd44bed | hello.java | 22d4c88e-2ece-11e5-905b-74de2bd44bed | |
Java | bsd-2-clause | 2ca4a652aaf05ba071eebc5569dc97c49742e1c2 | 0 | fullcontact/ez-vcard,fullcontact/ez-vcard,hongnguyenpro/ez-vcard,hongnguyenpro/ez-vcard | package ezvcard.util;
import java.net.URI;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ezvcard.util.org.apache.commons.codec.binary.Base64;
/*
Copyright (c) 2013, Michael Angstadt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are... | src/main/java/ezvcard/util/DataUri.java | package ezvcard.util;
import java.net.URI;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ezvcard.util.org.apache.commons.codec.binary.Base64;
/*
Copyright (c) 2013, Michael Angstadt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are... | Made "DataUri" immutable (except for the "data" array, which cannot be retrieved in an immutable manor without an expensive copy). | src/main/java/ezvcard/util/DataUri.java | Made "DataUri" immutable (except for the "data" array, which cannot be retrieved in an immutable manor without an expensive copy). | |
Java | isc | 195c3f8dc03999b2af3cd33fe569e5fe8ce34ef9 | 0 | Giszmo/Shufflepuff,Giszmo/Shufflepuff | shuffler/src/main/java/com/shuffle/bitcoin/Bitcoin.java | package com.shuffle.bitcoin;
import com.shuffle.protocol.InvalidImplementationError;
import com.shuffle.protocol.Message;
import org.bitcoinj.core.BlockChain;
import java.util.List;
import java.util.Map;
import java.util.Queue;
/**
* Created by Daniel Krawisz on 12/21/15.
*/
public class Bitcoin implements Coin, ... | Delete empty class Bitcoin
| shuffler/src/main/java/com/shuffle/bitcoin/Bitcoin.java | Delete empty class Bitcoin | ||
Java | mit | fada9df9cac2e68ab9734384df76593311f08f56 | 0 | RedTroop/Cubes_2,ictrobot/Cubes,ictrobot/Cubes,RedTroop/Cubes_2 | package ethanjones.cubes.graphics.rendering;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRe... | core/src/ethanjones/cubes/graphics/rendering/HudRenderer.java | package ethanjones.cubes.graphics.rendering;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRe... | Render crosshair using spritebatch not stage
| core/src/ethanjones/cubes/graphics/rendering/HudRenderer.java | Render crosshair using spritebatch not stage | |
Java | mit | 52336551b494480cf81134123d390900ce145d16 | 0 | typetools/annotation-tools,eisop/annotation-tools,typetools/annotation-tools,eisop/annotation-tools,typetools/annotation-tools,eisop/annotation-tools | package annotations.field;
import checkers.nullness.quals.*;
import checkers.javari.quals.*;
/**
* An {@link EnumAFT} is the type of an annotation field that can hold an
* constant from a certain enumeration type.
*/
public final /*@ReadOnly*/ class EnumAFT extends ScalarAFT {
/**
* The name of the enume... | scene-lib/src/annotations/field/EnumAFT.java | package annotations.field;
import checkers.nullness.quals.*;
import checkers.javari.quals.*;
/**
* An {@link EnumAFT} is the type of an annotation field that can hold an
* constant from a certain enumeration type.
*/
public final /*@ReadOnly*/ class EnumAFT extends ScalarAFT {
/**
* The name of the enume... | When formatting an enum in an annotation, we must prefix the value with its
classname. Previous to this fix, we would emit:
@java.lang.annotation.Retention(CLASS)
which is not legal code. Now we emit:
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS)
which is.
| scene-lib/src/annotations/field/EnumAFT.java | When formatting an enum in an annotation, we must prefix the value with its classname. Previous to this fix, we would emit: | |
Java | mit | 8ae578239b10c08a3fb6eb6f43267677cd9b2cc3 | 0 | kmdouglass/Micro-Manager,kmdouglass/Micro-Manager | ///////////////////////////////////////////////////////////////////////////////
//FILE: MMAboutDlg.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
//-----------------------------------------------------------------------------
//
// AUTHOR: Nenad Amodaj, nenad@amodaj.com, Dec 1, 2005
//
// ... | mmstudio/src/org/micromanager/MMAboutDlg.java | ///////////////////////////////////////////////////////////////////////////////
//FILE: MMAboutDlg.java
//PROJECT: Micro-Manager
//SUBSYSTEM: mmstudio
//-----------------------------------------------------------------------------
//
// AUTHOR: Nenad Amodaj, nenad@amodaj.com, Dec 1, 2005
//
// ... | updated about dialog
git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@9942 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
| mmstudio/src/org/micromanager/MMAboutDlg.java | updated about dialog | |
Java | mit | 6bf19cda5d459d71e2f521014e7649f9f3c0ebc2 | 0 | hector-client/hector,1and1/hector,hector-client/hector,apigee/hector,Ursula/hector,koa/hector,rantav/hector,Ursula/hector,normanmaurer/hector | package me.prettyprint.cassandra.service;
import java.util.NoSuchElementException;
import me.prettyprint.hector.api.exceptions.HInvalidRequestException;
import me.prettyprint.hector.api.exceptions.HNotFoundException;
import me.prettyprint.hector.api.exceptions.HTimedOutException;
import me.prettyprint.hector.api.exce... | src/main/java/me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java | package me.prettyprint.cassandra.service;
import java.util.NoSuchElementException;
import me.prettyprint.hector.api.exceptions.HInvalidRequestException;
import me.prettyprint.hector.api.exceptions.HNotFoundException;
import me.prettyprint.hector.api.exceptions.HTimedOutException;
import me.prettyprint.hector.api.exce... | removed redundant timeout check - thanks to Michael from hector-users
| src/main/java/me/prettyprint/cassandra/service/ExceptionsTranslatorImpl.java | removed redundant timeout check - thanks to Michael from hector-users | |
Java | mit | 9522c60f78c67b7a6e5878e04d5f24b29eea657d | 0 | azweb76/jenkins,protazy/jenkins,rashmikanta-1984/jenkins,kohsuke/hudson,elkingtonmcb/jenkins,sathiya-mit/jenkins,292388900/jenkins,my7seven/jenkins,tfennelly/jenkins,NehemiahMi/jenkins,ikedam/jenkins,h4ck3rm1k3/jenkins,andresrc/jenkins,scoheb/jenkins,stephenc/jenkins,tastatur/jenkins,dennisjlee/jenkins,NehemiahMi/jenki... | package hudson.util.io;
import hudson.FilePath;
import junit.framework.TestCase;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
/**
* @author Kohsuke Kawaguchi
*/
public class ReopenableRotatingFileOutputStreamTest extends TestCase {
public void testRotation() throws IOException {... | core/src/test/java/hudson/util/io/ReopenableRotatingFileOutputStreamTest.java | package hudson.util.io;
import hudson.FilePath;
import junit.framework.TestCase;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
/**
* @author Kohsuke Kawaguchi
*/
public class ReopenableRotatingFileOutputStreamTest extends TestCase {
public void testRotation() throws IOException {... | close PrintStream | core/src/test/java/hudson/util/io/ReopenableRotatingFileOutputStreamTest.java | close PrintStream | |
Java | agpl-3.0 | 7684a80e95ac5298c6013d8595142bf12771e09e | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 35bfe744-2e60-11e5-9284-b827eb9e62be | hello.java | 35ba8128-2e60-11e5-9284-b827eb9e62be | 35bfe744-2e60-11e5-9284-b827eb9e62be | hello.java | 35bfe744-2e60-11e5-9284-b827eb9e62be | |
Java | lgpl-2.1 | 34871e75cec2fe8be5a41907b55ce478b25231fd | 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-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/job/AbstractEntityJobWithChecks.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-15722: A canceled job after an ExtensionBreakingQuestion timeout should be displayed as canceled and not done
| xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/job/AbstractEntityJobWithChecks.java | XWIKI-15722: A canceled job after an ExtensionBreakingQuestion timeout should be displayed as canceled and not done | |
Java | lgpl-2.1 | 91ac02f102f9a1e79ecd380290c8de556150bba3 | 0 | languagetool-org/languagetool,meg0man/languagetool,janissl/languagetool,lopescan/languagetool,languagetool-org/languagetool,janissl/languagetool,jimregan/languagetool,janissl/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,janissl/languagetool,lopescan/languagetool,jimregan/languagetool,janissl... | /* LanguageTool, a natural language style checker
* Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de)
*
* 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 ... | languagetool-core/src/test/java/org/languagetool/tools/StringToolsTest.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de)
*
* 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 ... | update JUnit test to use the current method, not the depracated one
| languagetool-core/src/test/java/org/languagetool/tools/StringToolsTest.java | update JUnit test to use the current method, not the depracated one | |
Java | lgpl-2.1 | 6fe29a85affad8305a65585bae157e2b31b7dd84 | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id: CharacterDescriptor.java,v 1.9 2002/10/07 23:58:29 mdb Exp $
package com.threerings.cast;
import java.util.Arrays;
import com.samskivert.util.StringUtil;
import com.threerings.media.util.Colorization;
/**
* The character descriptor object details the components that are
* pieced together to create a sin... | src/java/com/threerings/cast/CharacterDescriptor.java | //
// $Id: CharacterDescriptor.java,v 1.8 2002/06/18 04:55:44 shaper Exp $
package com.threerings.cast;
import java.util.Arrays;
import com.samskivert.util.StringUtil;
import com.threerings.media.util.Colorization;
/**
* The character descriptor object details the components that are
* pieced together to create a ... | Allow colorizations to be modified in a character descriptor.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1785 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/cast/CharacterDescriptor.java | Allow colorizations to be modified in a character descriptor. | |
Java | apache-2.0 | 28aa587aa4dd30ddaaec6ed87a127ee3cbacc0a1 | 0 | spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth | /*
* Copyright 2013-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java | /*
* Copyright 2013-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Addressing code review comments, made assertions more strict
| spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java | Addressing code review comments, made assertions more strict | |
Java | apache-2.0 | cc049687ebf867e81e0524e05dbfc4a8f319012d | 0 | cherryhill/collectionspace-services,cherryhill/collectionspace-services | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
*
* http://www.collectionspace.org
* http://wiki.collectionspace.org
*
* Copyright (c) 2009 Regents of the University of Cali... | services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
*
* http://www.collectionspace.org
* http://wiki.collectionspace.org
*
* Copyright (c) 2009 Regents of the University of Cali... | CSPACE-2508: Adds an HTTP status code constant referenced by MovementSortByTest, not previously checked in with related files.
| services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java | CSPACE-2508: Adds an HTTP status code constant referenced by MovementSortByTest, not previously checked in with related files. | |
Java | apache-2.0 | f5b5f963909fffbb2e62c1dce594b4a1b4fc4c52 | 0 | openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent | package fr.openwide.core.wicket.more.markup.html.form;
import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import org.apache.wicket.Component;
import org.apache.wicket.MetaDataKey;
import org.apache.wicket.ajax.AjaxEventBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
imp... | owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/form/AbstractAjaxInputPrerequisiteBehavior.java | package fr.openwide.core.wicket.more.markup.html.form;
import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxEventBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.... | Encore des ajustements sur AjaxInputPrerequisiteBehavior :
* on se base sur Form#isSubmitted() et une donnée locale de l'AjaxBehavior pour déterminer s'il y a un input dans le prerequisiteField. L'ancienne méthode ne fonctionnait pas lorsqu'un RadioGroup se voyait entièrement décocher (pas d'input => on considérait qu... | owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/form/AbstractAjaxInputPrerequisiteBehavior.java | Encore des ajustements sur AjaxInputPrerequisiteBehavior : * on se base sur Form#isSubmitted() et une donnée locale de l'AjaxBehavior pour déterminer s'il y a un input dans le prerequisiteField. L'ancienne méthode ne fonctionnait pas lorsqu'un RadioGroup se voyait entièrement décocher (pas d'input => on considérait qu... | |
Java | apache-2.0 | af9f38d81ac9fe85d0b2059d5158ffb429280e61 | 0 | apache/commons-functor,apache/commons-functor | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/functor/adapter/RightBoundProcedure.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | fixed checkstyle violations: Expected @param tag for @param <R>
git-svn-id: 7e88b6689c675bf212a536fca2a3ed2c50d982c1@1157642 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/functor/adapter/RightBoundProcedure.java | fixed checkstyle violations: Expected @param tag for @param <R> | |
Java | apache-2.0 | 14fd3851db687566e16b05193faeb34b2187f6ea | 0 | hemikak/jmeter,ra0077/jmeter,ra0077/jmeter,vherilier/jmeter,kyroskoh/jmeter,ubikfsabbe/jmeter,max3163/jmeter,etnetera/jmeter,etnetera/jmeter,ra0077/jmeter,thomsonreuters/jmeter,kyroskoh/jmeter,d0k1/jmeter,irfanah/jmeter,DoctorQ/jmeter,ubikloadpack/jmeter,ThiagoGarciaAlves/jmeter,tuanhq/jmeter,d0k1/jmeter,irfanah/jmeter... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/protocol/http/org/apache/jmeter/protocol/http/modifier/ParamMask.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 ... | Bug 57193: Close code block correctly.
Bugzilla Id: 57193
git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1639483 13f79535-47bb-0310-9956-ffa450edef68
| src/protocol/http/org/apache/jmeter/protocol/http/modifier/ParamMask.java | Bug 57193: Close code block correctly. Bugzilla Id: 57193 | |
Java | apache-2.0 | e8265fc49166e67cb94ab1a3a5fa8a8cabe87fe1 | 0 | XDean/ExtendableTool | package xdean.tool.api.impl;
import java.net.URL;
import javafx.beans.property.ListProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleListProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.... | Tool-API/src/main/java/xdean/tool/api/impl/SeparatorItem.java | package xdean.tool.api.impl;
import java.net.URL;
import javafx.beans.property.ListProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.StringProperty;
import xdean.tool.api.ITool;
public enum SeparatorItem implements ITool {
INSTANCE;
@Override
public StringProperty ... | separator | Tool-API/src/main/java/xdean/tool/api/impl/SeparatorItem.java | separator | |
Java | apache-2.0 | 136e4901b7b0cc4bc17950b24200b8fb2f5f64db | 0 | takawitter/trie4j,takawitter/trie4j | /*
* Copyright 2012 Takao Nakaguchi
*
* 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 ... | trie4j/src/org/trie4j/util/SuccinctBitVector.java | /*
* Copyright 2012 Takao Nakaguchi
*
* 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 ... | eliminate redundant process (speed up select0) | trie4j/src/org/trie4j/util/SuccinctBitVector.java | eliminate redundant process (speed up select0) | |
Java | apache-2.0 | a82b0b4203875a770481b1a789a6b5f3dc5c689a | 0 | delight-im/Android-Commons,delight-im/Android-BaseLib | package im.delight.android.baselib;
/**
* Copyright 2014 www.delight.im <info@delight.im>
*
* 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/LIC... | src/im/delight/android/baselib/Social.java | package im.delight.android.baselib;
/**
* Copyright 2014 www.delight.im <info@delight.im>
*
* 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/LIC... | Fixed wrong method overloading
| src/im/delight/android/baselib/Social.java | Fixed wrong method overloading | |
Java | apache-2.0 | 649cd7e4603df700024b067d4338c705238b7a3b | 0 | jalkjaer/voldemort,cshaxu/voldemort,LeoYao/voldemort,birendraa/voldemort,squarY/voldemort,bitti/voldemort,gnb/voldemort,cshaxu/voldemort,null-exception/voldemort,birendraa/voldemort,HB-SI/voldemort,stotch/voldemort,voldemort/voldemort,cshaxu/voldemort,bitti/voldemort,dallasmarlow/voldemort,rickbw/voldemort,jeffpc/volde... | /*
* Copyright 2008-2013 LinkedIn, 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 agre... | src/java/voldemort/VoldemortAdminTool.java | /*
* Copyright 2008-2013 LinkedIn, 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 agre... | another bugfix in set-metadata stores.xml
| src/java/voldemort/VoldemortAdminTool.java | another bugfix in set-metadata stores.xml | |
Java | apache-2.0 | 1f1c09d15e73190ea2a7c8fed50a332f984a2267 | 0 | fitermay/intellij-community,salguarnieri/intellij-community,retomerz/intellij-community,hurricup/intellij-community,da1z/intellij-community,lucafavatella/intellij-community,xfournet/intellij-community,ibinti/intellij-community,asedunov/intellij-community,retomerz/intellij-community,vvv1559/intellij-community,xfournet/i... | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/PluginUpdateInfoDialog.java | /*
* Copyright 2000-2015 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... | [ui] correct initial state of plugin update info dialog
Disables "OK" button if no plugins are selected.
| platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/PluginUpdateInfoDialog.java | [ui] correct initial state of plugin update info dialog | |
Java | apache-2.0 | 71598ec45e21815937b96e8af681e0a76c6192f4 | 0 | coopsource/Hystrix,ouyangkongtong/Hystrix,ruhkopf/Hystrix,JayhJung/Hystrix,fabcipriano/Hystrix,loop-jazz/Hystrix,tvaughan77/Hystrix,thomasandersen77/Hystrix,Muktesh01/Hystrix,mantofast/Hystrix,jforge/Hystrix,manwithharmonica/Hystrix,coopsource/Hystrix,agentgt/Hystrix,tvaughan77/Hystrix,hcheung/Hystrix,pcssi/Hystrix,mic... | package com.netflix.hystrix.collapser;
import java.util.concurrent.atomic.AtomicReference;
import rx.Observable.OnSubscribe;
import rx.Observer;
import rx.Subscriber;
import rx.subscriptions.BooleanSubscription;
import com.netflix.hystrix.HystrixCollapser.CollapsedRequest;
/**
* The Observable that represents a co... | hystrix-core/src/main/java/com/netflix/hystrix/collapser/CollapsedRequestObservableFunction.java | package com.netflix.hystrix.collapser;
import java.util.concurrent.atomic.AtomicReference;
import rx.Observable.OnSubscribe;
import rx.Observer;
import rx.Subscriber;
import rx.subscriptions.BooleanSubscription;
import com.netflix.hystrix.HystrixCollapser.CollapsedRequest;
/**
* The Observable that represents a co... | Minor formatting change for consistency
| hystrix-core/src/main/java/com/netflix/hystrix/collapser/CollapsedRequestObservableFunction.java | Minor formatting change for consistency | |
Java | apache-2.0 | c035bf7d8488a42e62a2bea15852e0722b5c844d | 0 | ECF/Py4j-RemoteServicesProvider,ECF/Py4j-RemoteServicesProvider | /*******************************************************************************
* Copyright (c) 2016 Composent, Inc. and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License v1.0 which accompanies this distribution, and is
* a... | bundles/org.eclipse.ecf.provider.py4/src/org/eclipse/ecf/provider/internal/py4j/RSAComponent.java | /*******************************************************************************
* Copyright (c) 2016 Composent, Inc. and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License v1.0 which accompanies this distribution, and is
* a... | Added debug property (default false):
org.eclipse.ecf.provider.py4j.debug | bundles/org.eclipse.ecf.provider.py4/src/org/eclipse/ecf/provider/internal/py4j/RSAComponent.java | Added debug property (default false): org.eclipse.ecf.provider.py4j.debug | |
Java | apache-2.0 | 817773bb54ecbb760f1908de2fbe63cd0b9914fd | 0 | PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr | /*
* dk.brics.automaton
*
* Copyright (c) 2001-2009 Anders Moeller
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | lucene/src/java/org/apache/lucene/util/automaton/MinimizationOperations.java | /*
* dk.brics.automaton
*
* Copyright (c) 2001-2009 Anders Moeller
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | LUCENE-2716: Improve automaton's MinimizeOperations.minimizeHopcroft() to not create so many objects
git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1026168 13f79535-47bb-0310-9956-ffa450edef68
| lucene/src/java/org/apache/lucene/util/automaton/MinimizationOperations.java | LUCENE-2716: Improve automaton's MinimizeOperations.minimizeHopcroft() to not create so many objects | |
Java | apache-2.0 | e4d6eab845caf6033f630ce975d1de5255994aa7 | 0 | ReactiveX/RxJavaComputationExpressions | /**
* Copyright 2013 Netflix, 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 t... | src/test/java/rx/operators/OperationConditionalsTest.java | /**
* Copyright 2013 Netflix, 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 t... | Conditionals: Fix all but 2 tests
| src/test/java/rx/operators/OperationConditionalsTest.java | Conditionals: Fix all but 2 tests | |
Java | apache-2.0 | 7c1c6553771ed461fe304f50c9a06404e37b1011 | 0 | cunningt/camel,apache/camel,coderczp/camel,NetNow/camel,MohammedHammam/camel,brreitme/camel,nikhilvibhav/camel,jpav/camel,oscerd/camel,allancth/camel,jonmcewen/camel,lowwool/camel,chanakaudaya/camel,isavin/camel,w4tson/camel,DariusX/camel,maschmid/camel,ge0ffrey/camel,stalet/camel,prashant2402/camel,YoshikiHigo/camel,p... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.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... | Checkstyle fix
git-svn-id: 11f3c9e1d08a13a4be44fe98a6d63a9c00f6ab23@1221025 13f79535-47bb-0310-9956-ffa450edef68
| components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java | Checkstyle fix | |
Java | apache-2.0 | 3567fd8fe5cfe5634f6637044df8d7ab240a42b5 | 0 | karlmicha/jwatter,karlmicha/jwatter,karlmicha/jwatter | /*
Copyright 2011 Karl-Michael Schneider
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, s... | src/java/org/jwatter/test/WebFunctionalTestCase.java | /*
Copyright 2011 Karl-Michael Schneider
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, s... | changed property name for test properties file to tests.properties
| src/java/org/jwatter/test/WebFunctionalTestCase.java | changed property name for test properties file to tests.properties | |
Java | bsd-3-clause | 76457423de7e338cb2f3a5695f29c08c15088bd2 | 0 | Open-MBEE/MDK,Open-MBEE/MDK | package gov.nasa.jpl.mbee.mdk.systems_reasoner.actions;
import com.nomagic.magicdraw.copypaste.CopyPasting;
import com.nomagic.magicdraw.core.Application;
import com.nomagic.magicdraw.openapi.uml.SessionManager;
import com.nomagic.magicdraw.ui.dialogs.MDDialogParentProvider;
import com.nomagic.magicdraw.ui.dialogs.Sel... | src/main/java/gov/nasa/jpl/mbee/mdk/systems_reasoner/actions/SpecializeStructureAction.java | package gov.nasa.jpl.mbee.mdk.systems_reasoner.actions;
import com.nomagic.magicdraw.copypaste.CopyPasting;
import com.nomagic.magicdraw.core.Application;
import com.nomagic.magicdraw.openapi.uml.SessionManager;
import com.nomagic.magicdraw.ui.dialogs.MDDialogParentProvider;
import com.nomagic.magicdraw.ui.dialogs.Sel... | MAGICDRAW-868 Cleaned up.
| src/main/java/gov/nasa/jpl/mbee/mdk/systems_reasoner/actions/SpecializeStructureAction.java | MAGICDRAW-868 Cleaned up. | |
Java | mit | 7d53faae2efaad939317ec20f80cc15b93ba7a50 | 0 | soomla/soomla-android-core,soomla/soomla-android-core,vedi/soomla-android-core,vedi/soomla-android-core | package com.soomla;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import com.soomla.events.AppToBackgroundEvent;
import ... | src/com/soomla/Foreground.java | package com.soomla;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import com.soomla.events.AppToBackgroundEvent;
import ... | - Deleted Unused testing logs
- Added a Check for Unity's Proxy Activity so it wouldn't mess the forground/background reporting.
| src/com/soomla/Foreground.java | - Deleted Unused testing logs - Added a Check for Unity's Proxy Activity so it wouldn't mess the forground/background reporting. | |
Java | mit | d8efff23f52fe3abde2afa8937d47c7eb9fbc30e | 0 | chandansinghkiit/chandansinghkiit.github.io,chandansinghkiit/chandansinghkiit.github.io,chandansinghkiit/chandansinghkiit.github.io,chandansinghkiit/chandansinghkiit.github.io | package com.mystyle.onlineshoppingbackend.daoimpl;
//Set-ExecutionPolicy Unrestricted
hello
import java.util.Properties;
import javax.sql.DataSource;
import org.apache.commons.dbcp2.BasicDataSource;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowire;
import org.spring... | HibernateConfig.java | package com.mystyle.onlineshoppingbackend.daoimpl;
//Set-ExecutionPolicy Unrestricted
import java.util.Properties;
import javax.sql.DataSource;
import org.apache.commons.dbcp2.BasicDataSource;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframew... | change
file
| HibernateConfig.java | change | |
Java | mit | 75f0e3f97609ec5d40b7f13e49b5f47cd366ca74 | 0 | codahale/shore | package com.codahale.shore;
import static com.google.common.base.Preconditions.*;
/**
* The entry point for Shore applications. Run this using a class in your
* application:
* <pre>
* public class Runner {
* public static void main(String[] args) {
* Shore.run(new MyConfiguration(), args);
* }
* }
* ... | src/main/java/com/codahale/shore/Shore.java | package com.codahale.shore;
import static com.google.common.base.Preconditions.*;
public final class Shore {
private Shore() {} // nope
public static void run(AbstractConfiguration configuration, String... arguments) {
new CommandFactory(checkNotNull(configuration)).getCommand(checkNotNull(arguments)).run();
}... | Added documentation to Shore.
| src/main/java/com/codahale/shore/Shore.java | Added documentation to Shore. | |
Java | mit | 34ae499cad1d4d789feb8fddc425474eb6a4fec5 | 0 | drayside/kodkod,drayside/kodkod,drayside/kodkod,drayside/kodkod,drayside/kodkod | /*
* BooleanMatrixTest.java
* Created on Jul 12, 2005
*/
package tests;
import static relcalc.core.bool.BooleanConstant.FALSE;
import static relcalc.core.bool.BooleanConstant.TRUE;
import static relcalc.core.bool.MultiGate.Operator.AND;
import static relcalc.core.bool.MultiGate.Operator.OR;
import java.util.Arrays... | src/tests/BooleanMatrixTest.java | /*
* BooleanMatrixTest.java
* Created on Jul 12, 2005
*/
package tests;
import static relcalc.core.bool.BooleanConstant.FALSE;
import static relcalc.core.bool.BooleanConstant.TRUE;
import static relcalc.core.bool.MultiGate.Operator.AND;
import static relcalc.core.bool.MultiGate.Operator.OR;
import java.util.Arrays... | *** empty log message ***
| src/tests/BooleanMatrixTest.java | *** empty log message *** | |
Java | mit | a67cd8bf149593dd07c35c83462211019a8e9af8 | 0 | TylerCarberry/PTSD-Aid,TylerCarberry/PTSD-Aid | package com.tytanapps.ptsd.fragments;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.pref... | app/src/main/java/com/tytanapps/ptsd/fragments/SettingsFragment.java | package com.tytanapps.ptsd.fragments;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.pref... | Manually fetch remote config for debug builds
Opening the settings fragment manually loads the remote config with a
cache of 0 seconds
| app/src/main/java/com/tytanapps/ptsd/fragments/SettingsFragment.java | Manually fetch remote config for debug builds | |
Java | mit | 550026f3a89533683cf7f44da3b533c6e413ab5b | 0 | Wizcorp/phonegap-plugin-wizCanvas,Wizcorp/phonegap-plugin-wizCanvas,Wizcorp/phonegap-plugin-wizCanvas,Wizcorp/phonegap-plugin-wizCanvas,Wizcorp/phonegap-plugin-wizCanvas,Wizcorp/phonegap-plugin-wizCanvas | package com.impactjs.ejecta;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.Context;
import android.util.Log;
public class Utils {
public static void copyDatFiles(Context context, String dest, String s... | example/android/src/com/impactjs/ejecta/Utils.java | package com.impactjs.ejecta;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.Context;
public class Utils {
public static void copyDatFiles(Context context, String dest,String source) {
copyDatFile( co... | syntax fixes, update to example project that was no completed by asset copy refactor
| example/android/src/com/impactjs/ejecta/Utils.java | syntax fixes, update to example project that was no completed by asset copy refactor | |
Java | mit | ac0593e5fdfb7abdc640549dc1ed79f28078cb56 | 0 | samgrim/GoodsBase | package goodsbase.qserver;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
/**
* Describes a database request.
* @author Daria
*
*/
public class QRequest implements Serializable{
/**SELECT returns result, UPDATE does not*/
public enum Type implements Serializable{
SELECT, UP... | src/goodsbase/qserver/QRequest.java | package goodsbase.qserver;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
/**
* Describes a database request.
* @author Daria
*
*/
public class QRequest implements Serializable{
/**SELECT returns result, UPDATE does not*/
public enum Type implements Serializable{
SELECT, UP... | mod update query to operate with a single statement
modified: src/goodsbase/qserver/QRequest.java
| src/goodsbase/qserver/QRequest.java | mod update query to operate with a single statement modified: src/goodsbase/qserver/QRequest.java | |
Java | mit | 7fe9c2bb8953d7cbfc8830a54ea9126cbdf4d6cc | 0 | renatomrcosta/jeevesServer | package br.com.xunfos.jeeves;
import br.com.xunfos.jeeves.dto.RequestDTO;
import br.com.xunfos.jeeves.dto.ResponseDTO;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.stream.JsonReader;
import org.springframework.web.bind.annotation.RequestBod... | src/main/java/br/com/xunfos/jeeves/QueueController.java | package br.com.xunfos.jeeves;
import br.com.xunfos.jeeves.dto.RequestDTO;
import br.com.xunfos.jeeves.dto.ResponseDTO;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.stream.JsonReader;
import org.springframework.web.bind.annotation.RequestBod... | Add help | src/main/java/br/com/xunfos/jeeves/QueueController.java | Add help | |
Java | mit | 5400a6da3c311f37c6528cbb66dd1c8d025a20b6 | 0 | kbaseIncubator/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,kbaseIncubator/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,kbase/kb_sdk,kbase/kb_sdk,kbaseIncubator/kb_sdk,kbaseIncubator/kb_sdk,kbase/kb_sdk,kbase/kb_sdk,msneddon/kb_sdk,kbaseIncubator/kb_sdk,kbase/kb_sdk,kbase/kb_sdk,kbase/kb_sdk,msneddon/kb_sdk | package us.kbase.mobu.compiler.html;
import static j2html.TagCreator.a;
import static j2html.TagCreator.div;
import static j2html.TagCreator.br;
import static j2html.TagCreator.h2;
import static j2html.TagCreator.span;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Li... | src/java/us/kbase/mobu/compiler/html/HTMLGenVisitor.java | package us.kbase.mobu.compiler.html;
import static j2html.TagCreator.a;
import static j2html.TagCreator.div;
import static j2html.TagCreator.br;
import static j2html.TagCreator.h2;
import static j2html.TagCreator.span;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Li... | HTMLgen always use fully qualified links
Might want to put multiple specs on the same page at some point | src/java/us/kbase/mobu/compiler/html/HTMLGenVisitor.java | HTMLgen always use fully qualified links | |
Java | mit | c3fa334a345c329594b071ddd3f780422cb30c51 | 0 | anagav/TinkerRocks | package com.tinkerrocks.storage;
import org.rocksdb.*;
import org.rocksdb.util.SizeUnit;
/**
* Created by ashishn on 8/12/15.
*/
public class StorageConfigFactory {
private static DBOptions dbOptions;
private static ColumnFamilyOptions columnFamilyOptions;
private static WriteOptions writeOptions;
p... | src/main/java/com/tinkerrocks/storage/StorageConfigFactory.java | package com.tinkerrocks.storage;
import org.rocksdb.*;
import org.rocksdb.util.SizeUnit;
/**
* Created by ashishn on 8/12/15.
*/
public class StorageConfigFactory {
private static DBOptions dbOptions;
private static ColumnFamilyOptions columnFamilyOptions;
private static WriteOptions writeOptions;
p... | remove cappedprefix extractor as it interferes with prefix scans
| src/main/java/com/tinkerrocks/storage/StorageConfigFactory.java | remove cappedprefix extractor as it interferes with prefix scans | |
Java | mit | 19fe3ff4a61bc7ceab785ea94427a1d62d39e70e | 0 | anagav/TinkerRocks | package com.tinkerrocks.storage;
import com.tinkerrocks.structure.RocksElement;
import com.tinkerrocks.structure.RocksGraph;
import com.tinkerrocks.structure.RocksVertex;
import com.tinkerrocks.structure.Utils;
import org.apache.tinkerpop.gremlin.structure.Direction;
import org.apache.tinkerpop.gremlin.structure.Edge;... | src/main/java/com/tinkerrocks/storage/VertexDB.java | package com.tinkerrocks.storage;
import com.tinkerrocks.structure.RocksElement;
import com.tinkerrocks.structure.RocksGraph;
import com.tinkerrocks.structure.RocksVertex;
import com.tinkerrocks.structure.Utils;
import org.apache.tinkerpop.gremlin.structure.Direction;
import org.apache.tinkerpop.gremlin.structure.Edge;... | code optimizations
| src/main/java/com/tinkerrocks/storage/VertexDB.java | code optimizations | |
Java | agpl-3.0 | 034556dc68aa78ab3536205ad2c19804c07200e5 | 0 | Listopia-Official/listopia-user-and-company-administration-system,Listopia-Official/listopia-user-and-company-administration-system,Listopia-Official/listopia-user-and-company-administration-system | package florian_haas.lucas.web;
import java.awt.image.BufferedImage;
import java.io.Serializable;
import java.time.*;
import java.util.*;
import javax.ejb.EJB;
import javax.faces.view.ViewScoped;
import javax.inject.Named;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.... | lucas-web/src/florian_haas/lucas/web/UserBean.java | package florian_haas.lucas.web;
import java.awt.image.BufferedImage;
import java.io.Serializable;
import java.time.*;
import java.util.*;
import javax.ejb.EJB;
import javax.faces.view.ViewScoped;
import javax.inject.Named;
import javax.validation.constraints.*;
import org.apache.shiro.SecurityUtils;
imp... | Replaced isPermitted() boilerplate code from SecurityUtils with WebUtils | lucas-web/src/florian_haas/lucas/web/UserBean.java | Replaced isPermitted() boilerplate code from SecurityUtils with WebUtils | |
Java | agpl-3.0 | 3d3d091d18062d748506fd56f26c1690f38acffb | 0 | paulmartel/voltdb,flybird119/voltdb,zuowang/voltdb,paulmartel/voltdb,flybird119/voltdb,flybird119/voltdb,flybird119/voltdb,VoltDB/voltdb,creative-quant/voltdb,paulmartel/voltdb,migue/voltdb,ingted/voltdb,flybird119/voltdb,migue/voltdb,deerwalk/voltdb,paulmartel/voltdb,kumarrus/voltdb,VoltDB/voltdb,migue/voltdb,VoltDB/v... | /* This file is part of VoltDB.
* Copyright (C) 2008-2013 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | src/frontend/org/voltdb/planner/PlanAssembler.java | /* This file is part of VoltDB.
* Copyright (C) 2008-2013 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | Forget to remove its parent if not need projection node
| src/frontend/org/voltdb/planner/PlanAssembler.java | Forget to remove its parent if not need projection node | |
Java | lgpl-2.1 | 7878950841fde9c8b4782dc7974c67221b9a4ae5 | 0 | galan/jalita,galan/jalita | /***********************************************************************
*
* This software is published under the terms of the LGPL
* version 2.1, a copy of which has been included with this
* distribution in the 'lgpl.txt' file.
* Copyright (C) 2004 Daniel Galn y Martins
*
************************************... | src/net/sf/jalita/util/Configuration.java | /***********************************************************************
*
* This software is published under the terms of the LGPL
* version 2.1, a copy of which has been included with this
* distribution in the 'lgpl.txt' file.
* Copyright (C) 2004 Daniel Galn y Martins
*
************************************... | Added configuration entries for session width and height
| src/net/sf/jalita/util/Configuration.java | Added configuration entries for session width and height | |
Java | apache-2.0 | 3a9128bdf00319d1c4720a3660c26e75a2583d1f | 0 | rafamanzo/SIGP | package sigp.src;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
im... | src/sigp/src/Contribuinte.java | package sigp.src;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
im... | Adicionei restrições aos atributos da classe Contribuinte.
| src/sigp/src/Contribuinte.java | Adicionei restrições aos atributos da classe Contribuinte. | |
Java | apache-2.0 | 2475fe83e8c421ae30afcc0df6538198cf2447c4 | 0 | plastboks/Sneik,plastboks/Sneik | package net.plastboks.gameworld;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.*;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import net.plastboks.gameobjects.*;
import net.plastboks.screens.GameScreen;
import net.plastboks.sneikhelpers.Asse... | core/src/net/plastboks/gameworld/GameRenderer.java | package net.plastboks.gameworld;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.*;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import net.plastboks.gameobjects.*;
import net.plastboks.screen... | getter method for camera
Signed-off-by: Alexander Skjolden <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@plastboks.net>
| core/src/net/plastboks/gameworld/GameRenderer.java | getter method for camera | |
Java | apache-2.0 | d9278e032e785a5d63d696c25bdc3f56ced52379 | 0 | GerritCodeReview/gerrit,WANdisco/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,GerritCode... | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | java/com/google/gerrit/server/group/db/GroupConfigEntry.java | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Provide more information on finding negative group ID
Change-Id: I83d1975626c011a1f0ab537c8e70ea114c97a918
| java/com/google/gerrit/server/group/db/GroupConfigEntry.java | Provide more information on finding negative group ID | |
Java | apache-2.0 | e076f7b02f1aed2f96ae92e8e86a9c71ae7ff82c | 0 | SuperMardle/LeetCode_Solution | /**
* Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent,
*
* with the colors in the order red, white and blue.
*
* Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.
*
* Note:
* You are not suppos... | Java/SortColors.java | /**
* Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent,
*
* with the colors in the order red, white and blue.
*
* Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.
*
* Note:
* You are not suppos... | optimize code
| Java/SortColors.java | optimize code | |
Java | apache-2.0 | c7b803e2ccf0c2f9648eedebfc4e1aba8fbc2a53 | 0 | tresvecesseis/ExoPlayer,tresvecesseis/ExoPlayer,tresvecesseis/ExoPlayer | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | library/src/main/java/com/google/android/exoplayer/MediaFormat.java | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | MediaFormat implements Parcelable
So that we could export ExoPlayer track format to another process
| library/src/main/java/com/google/android/exoplayer/MediaFormat.java | MediaFormat implements Parcelable | |
Java | apache-2.0 | d6601747906cf66343508816d8811b3cb3b682b6 | 0 | googleinterns/step36-2020,googleinterns/step36-2020,googleinterns/step36-2020 | package com.google.sps.servlets;
import com.google.sps.data.Article;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
import java.util.Arrays;
import java.util.ArrayList;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResp... | src/main/java/com/google/sps/servlets/NewsServlet.java | package com.google.sps.servlets;
import com.google.sps.data.Article;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
import java.util.Arrays;
import java.util.ArrayList;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResp... | Make Daniel's PR changes | src/main/java/com/google/sps/servlets/NewsServlet.java | Make Daniel's PR changes | |
Java | apache-2.0 | 311d7fc98b7edad65e9916c1d7132e6287f47874 | 0 | LearnLib/learnlib,LearnLib/learnlib,LearnLib/learnlib | /* Copyright (C) 2013-2019 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.de/.
*
* 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/... | commons/util/src/main/java/de/learnlib/util/MQUtil.java | /* Copyright (C) 2013-2019 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.de/.
*
* 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/... | fix checkstyle
| commons/util/src/main/java/de/learnlib/util/MQUtil.java | fix checkstyle | |
Java | apache-2.0 | 6b54144579bfad7e9c8f7c8644fa14911c7d3e87 | 0 | aol/cyclops-react | package cyclops.data;
import com.oath.cyclops.types.traversable.IterableX;
import cyclops.companion.Reducers;
import cyclops.control.Option;
import cyclops.data.basetests.BaseImmutableListTest;
import cyclops.data.tuple.Tuple2;
import cyclops.reactive.ReactiveSeq;
import org.hamcrest.MatcherAssert;
import org.junit.A... | src/test/java/cyclops/data/LazySeqTest.java | package cyclops.data;
import com.oath.cyclops.types.traversable.IterableX;
import cyclops.companion.Reducers;
import cyclops.control.Option;
import cyclops.data.basetests.BaseImmutableListTest;
import cyclops.data.tuple.Tuple2;
import cyclops.reactive.ReactiveSeq;
import org.hamcrest.MatcherAssert;
import org.junit.A... | Rename tests as per comments in PR.
| src/test/java/cyclops/data/LazySeqTest.java | Rename tests as per comments in PR. | |
Java | apache-2.0 | d207284b8cc2d4f30cc154d0c7e5c35a08a023ed | 0 | danc86/jena-core,danc86/jena-core | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | src/main/java/com/hp/hpl/jena/mem/TripleBunch.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 ... | Fixed spelling in Javadoc.
git-svn-id: 92e897dc52beb634dce6c1ff8412bfc38b5d9e24@1299762 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/com/hp/hpl/jena/mem/TripleBunch.java | Fixed spelling in Javadoc. | |
Java | apache-2.0 | def7fabc61bc4dcdf850b13b97730719dd49a8ff | 0 | ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp | /*******************************************************************************
* 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... | framework/service/src/org/ofbiz/service/job/PersistedServiceJob.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... | stock patch: service: PersistedServiceJob: improved logging
disambiguate and use real dates.
Refs https://gitlab.ilscipio.com/scipio-dev/dev/scipioce-dev/issues/695 | framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java | stock patch: service: PersistedServiceJob: improved logging | |
Java | apache-2.0 | be4c054e23093405b89dae944be4ef160c393130 | 0 | TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3,TDesjardins/gwt-ol3,mazlixek/gwt-ol3,mazlixek/gwt-ol3,TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3,sebasbaumh/gwt-ol3,TDesjardins/GWT-OL3-Playground,TDesjardins/gwt-ol3,mazlixek/gwt-ol3,TDesjardins/gwt-ol3 | package ol.control;
import com.google.gwt.core.client.js.JsType;
/**
*
* @author Tino Desjardins
*
*/
@JsType
public abstract class Attribution implements Control {
public static native Attribution newInstance() /*-{
return new $wnd.ol.control.Attribution();
}-*/;
public abstract vo... | gwt-ol3-client/src/main/java/ol/control/Attribution.java | package ol.control;
import com.google.gwt.core.client.js.JsType;
/**
*
* @author Tino Desjardins
*
*/
@JsType
public interface Attribution extends Control {
void setCollapsed(boolean collapsed);
void setCollapsible(boolean collapsible);
}
| Made abstract for instantiation | gwt-ol3-client/src/main/java/ol/control/Attribution.java | Made abstract for instantiation | |
Java | apache-2.0 | 1f7aa7a5b74caf995f06732102fe76ca75e800d8 | 0 | mpi2/PhenotypeArchive,mpi2/PhenotypeArchive,mpi2/PhenotypeArchive | /**
* Copyright © 2011-2013 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-2.0
*
* Unless... | src/main/java/uk/ac/ebi/phenotype/pojo/ZygosityType.java | /**
* Copyright © 2011-2013 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-2.0
*
* Unless... | zygositytype has getName as a way of getting the string into a jsp
| src/main/java/uk/ac/ebi/phenotype/pojo/ZygosityType.java | zygositytype has getName as a way of getting the string into a jsp | |
Java | apache-2.0 | 7ab472c9d42514daa0f32699c42ed2036ceeab45 | 0 | josephcsible/GravityBox | /*
* Copyright (C) 2013 Peter Gregus for GravityBox Project (C3C076@xda)
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | src/com/ceco/gm2/gravitybox/ModStatusbarColor.java | /*
* Copyright (C) 2013 Peter Gregus for GravityBox Project (C3C076@xda)
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Disable setStatusbarLowProfile hook not relevant for KitKat | src/com/ceco/gm2/gravitybox/ModStatusbarColor.java | Disable setStatusbarLowProfile hook not relevant for KitKat | |
Java | apache-2.0 | 1d280c09f811a3cd09786e4c496ccfa72d3eaddb | 0 | aduprat/james,chibenwa/james,rouazana/james,rouazana/james,aduprat/james,rouazana/james,rouazana/james,aduprat/james,chibenwa/james,chibenwa/james,aduprat/james,chibenwa/james | /****************************************************************
* 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... | trunk/src/java/org/apache/james/userrepository/DefaultUser.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... | Set SerialVersionUID. Thx to Joachim to help me point out how to get the SerialVersionUID of james-2.2.0 for this class
git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@450857 13f79535-47bb-0310-9956-ffa450edef68
| trunk/src/java/org/apache/james/userrepository/DefaultUser.java | Set SerialVersionUID. Thx to Joachim to help me point out how to get the SerialVersionUID of james-2.2.0 for this class | |
Java | apache-2.0 | bd8efb8e914465b0365eb6485ff6499963e39067 | 0 | mikeb01/Aeron,galderz/Aeron,galderz/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,galderz/Aeron,mikeb01/Aeron,real-logic/Aeron,mikeb01/Aeron | /*
* Copyright 2014-2019 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java | /*
* Copyright 2014-2019 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | [Java] Address alerts for LGTM with null checks in ChannelUriStringBuilder because LGTM is not smart enough to realise it is not an issue.
| aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java | [Java] Address alerts for LGTM with null checks in ChannelUriStringBuilder because LGTM is not smart enough to realise it is not an issue. | |
Java | apache-2.0 | c6e21f7424049354e83621e65903e8d20b98e6bb | 0 | isaiaslb/Livraria-PI-3-TADS---A- | /*
* 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 br.senac.tads.livraria.pi3a.model;
import java.util.Date;
/**
*
* @author Isaias
*/
public class Usuario {
... | Livraria/src/main/java/br/senac/tads/livraria/pi3a/model/Usuario.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 br.senac.tads.livraria.pi3a.model;
import java.util.Date;
/**
*
* @author Isaias
*/
public class Usuario {
... | Get e set da DATA | Livraria/src/main/java/br/senac/tads/livraria/pi3a/model/Usuario.java | Get e set da DATA | |
Java | apache-2.0 | 838a62cc4a85b45c10b4625a1b7cc0239a0df685 | 0 | alibaba/nacos,alibaba/nacos,alibaba/nacos,alibaba/nacos | /*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | common/src/main/java/com/alibaba/nacos/common/utils/ConvertUtils.java | /*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Replace "google.common.collect.Strings" API with jdk API (#6464)
| common/src/main/java/com/alibaba/nacos/common/utils/ConvertUtils.java | Replace "google.common.collect.Strings" API with jdk API (#6464) | |
Java | bsd-2-clause | ab71ba35204bf47e4b1204a8b65835a5a1c56bec | 0 | clementval/claw-compiler,clementval/claw-compiler | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.helper;
import cx2x.xcodeml.exception.*;
import cx2x.xcodeml.xelement.*;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w... | omni-cx2x/src/cx2x/xcodeml/helper/XelementHelper.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.helper;
import cx2x.xcodeml.exception.*;
import cx2x.xcodeml.xelement.*;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w... | Find for the number of index ranges only in the direct children
| omni-cx2x/src/cx2x/xcodeml/helper/XelementHelper.java | Find for the number of index ranges only in the direct children | |
Java | bsd-3-clause | 49759e554ff0ee94fa6e1e0b9c2629a3db747282 | 0 | agmip/acmoui,agmip/acmoui | package org.agmip.ui.acmoui;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;
import java.util.prefs.Prefer... | src/main/java/org/agmip/ui/acmoui/AcmoUIWindow.java | package org.agmip.ui.acmoui;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;
import java.util.prefs.Prefer... | fix minor bug | src/main/java/org/agmip/ui/acmoui/AcmoUIWindow.java | fix minor bug | |
Java | mit | 5b3c1cad1f8d788d409f3e399c1f442aa27ec122 | 0 | melonhead901/programming-competition,melonhead901/programming-competition | package aoc20;
import java.util.Arrays;
import java.util.Scanner;
public class Day2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int count = 0;
while (in.hasNextLine()) {
String line = in.nextLine();
if (line.isEmpty()) {
... | AdventOfCode/src/aoc20/Day2.java | package aoc20;
import java.util.Arrays;
import java.util.Scanner;
public class Day2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int count = 0;
while (in.hasNextLine()) {
String line = in.nextLine();
if (line.isEmpty()) {
... | refactor
| AdventOfCode/src/aoc20/Day2.java | refactor | |
Java | mit | 639368635e2e5fc7b5cdf0ab28160617a663df2b | 0 | pixlepix/Aura-Cascade,pixlepix/Aura-Cascade | package pixlepix.auracascade.item;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | src/main/java/pixlepix/auracascade/item/ItemPrismaticWand.java | package pixlepix.auracascade.item;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | Fixed #94
| src/main/java/pixlepix/auracascade/item/ItemPrismaticWand.java | Fixed #94 | |
Java | mit | a1d8d66039fd563068c39b68e6ddc826b919d16f | 0 | BernhardWebstudio/ShadowTravelor | package bernhardwebstudio.shadowtravelor.data;
import java.util.GregorianCalendar;
/**
* Created by Cihad on 16.09.17.
*/
public class SampleData {
Route rotas = new Route();
Location technoPark = new Location(47.389161,8.5150677);
Location zurichHB = new Location(47.3783,8.52);
Location zurichAi... | app/src/main/java/bernhardwebstudio/shadowtravelor/data/SampleData.java | package bernhardwebstudio.shadowtravelor.data;
import java.util.GregorianCalendar;
/**
* Created by Cihad on 16.09.17.
*/
public class SampleData {
Route rotas = new Route();
Location technoPark = new Location(47.389161,8.5150677);
Location zurichHB = new Location(47.3783,8.52);
Location zurichAi... | corrected the lct classes names
| app/src/main/java/bernhardwebstudio/shadowtravelor/data/SampleData.java | corrected the lct classes names | |
Java | mit | 6d900bdd63fd76f488117f74eb8e6259695ce511 | 0 | nallar/TickThreading | package me.nallar.nmsprepatcher;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
// T... | src/nmsprepatcher/me/nallar/nmsprepatcher/PrePatcher.java | package me.nallar.nmsprepatcher;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
// T... | Fixed prepatching issue
Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
| src/nmsprepatcher/me/nallar/nmsprepatcher/PrePatcher.java | Fixed prepatching issue | |
Java | mit | 38f925ff6d776bf01cb4de44ef06c722f26df750 | 0 | seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core | package edu.psu.compbio.seqcode.projects.akshay.MultiSeq;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import weka.core.Optimization;
import weka.core.RevisionUtils;
import weka.core.Utils;
import edu.psu.c... | src/edu/psu/compbio/seqcode/projects/akshay/MultiSeq/LOneTh.java | package edu.psu.compbio.seqcode.projects.akshay.MultiSeq;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import weka.core.Optimization;
import weka.core.RevisionUtils;
import weka.core.Utils;
import edu.psu.c... | Fixing more bugs in LOneTh | src/edu/psu/compbio/seqcode/projects/akshay/MultiSeq/LOneTh.java | Fixing more bugs in LOneTh | |
Java | mit | e0581568be35f6b4a5c7dce860c31804b9be5218 | 0 | ClintonCao/UnifiedASATVisualizer,ClintonCao/Contextproject-TSE,ClintonCao/Contextproject-TSE,ClintonCao/Contextproject-TSE,ClintonCao/UnifiedASATVisualizer,ClintonCao/UnifiedASATVisualizer | package BlueTurtle.TSE;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import BlueTurtle.gui.GUIController... | src/test/java/BlueTurtle/TSE/JavaControllerTest.java | package BlueTurtle.TSE;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import BlueTurtle.gui.GUIController... | Fixed path to CheckStyle file in test.
| src/test/java/BlueTurtle/TSE/JavaControllerTest.java | Fixed path to CheckStyle file in test. | |
Java | mit | 9787770ba14643fe223f36bd9bc69b833fc4d8ea | 0 | williamwang61/YouTell,williamwang61/YouTell,williamwang61/YouTell,williamwang61/YouTell | package luckynine.youtell;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
... | Client/app/src/main/java/luckynine/youtell/DashboardFragment.java | package luckynine.youtell;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
... | Updated UI with most recent data on starting app
| Client/app/src/main/java/luckynine/youtell/DashboardFragment.java | Updated UI with most recent data on starting app | |
Java | mit | 1a085e12e7c33687dc20e19ce17e7061967b20ad | 0 | scireum/s3ninja,scireum/s3ninja | /*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - info@scireum.de
*/
package ninja;
import com.google.common.collect.Maps;
import com.google.common.hash.HashCode;
import com.google.common.hash.Hashing;
import com.google.common.io... | src/main/java/ninja/S3Controller.java | /*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - info@scireum.de
*/
package ninja;
import com.google.common.collect.Maps;
import com.google.common.hash.HashCode;
import com.google.common.hash.Hashing;
import com.google.common.io... | Expose ETag header
Allow javascript to access the value of the ETag response header
for multipart upload.
| src/main/java/ninja/S3Controller.java | Expose ETag header | |
Java | mit | 926dba16cc440802773054a055b7145c54bc31cb | 0 | yngui/jparse-examples | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Igor Konev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | src/main/java/com/github/jparse/examples/calculator/Calculator.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Igor Konev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | Examples updated
| src/main/java/com/github/jparse/examples/calculator/Calculator.java | Examples updated | |
Java | mpl-2.0 | 5106c1324ca41a9b5fca3c8fb436d3b3229213a7 | 0 | GreenDelta/olca-modules,GreenDelta/olca-modules,GreenDelta/olca-modules | package org.openlca.ilcd.io;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
imp... | olca-ilcd/src/main/java/org/openlca/ilcd/io/ZipStore.java | package org.openlca.ilcd.io;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
imp... | ilcd: fixed null-pointer exception in ZipStore | olca-ilcd/src/main/java/org/openlca/ilcd/io/ZipStore.java | ilcd: fixed null-pointer exception in ZipStore | |
Java | agpl-3.0 | b5c73bfdebe4e0196a600ec9df118c891afd45ca | 0 | splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceeng... | package com.splicemachine.job;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.splicemachine.SpliceKryoRegistry;
import com.splicemachine.derby.stats.TaskStats;
import com.splicemachine.si.api.Txn;
import com.splicemachine.si.api.... | splice_machine/src/main/java/com/splicemachine/job/TaskStatus.java | package com.splicemachine.job;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.splicemachine.SpliceKryoRegistry;
import com.splicemachine.derby.stats.TaskStats;
import com.splicemachine.si.api.Txn;
import com.splicemachine.si.api.... | DB-2388. Putting in temporary Null check to prevent NPEs until I have a chance to find out why the NPE is happening in the first place
| splice_machine/src/main/java/com/splicemachine/job/TaskStatus.java | DB-2388. Putting in temporary Null check to prevent NPEs until I have a chance to find out why the NPE is happening in the first place | |
Java | agpl-3.0 | 92af02cebfe037981dbb0ee2ad092ac2c18d541a | 0 | picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons | package picoded.RESTBuilder.templates;
import java.util.*;
import java.util.Map.Entry;
import org.apache.commons.lang3.ArrayUtils;
import com.amazonaws.services.ec2.model.AccountAttributeName;
import picoded.RESTBuilder.*;
import picoded.JStack.*;
import picoded.JStruct.*;
import picoded.servlet.*;
import picoded.c... | src/picoded/RESTBuilder/templates/AccountLogin.java | package picoded.RESTBuilder.templates;
import java.util.*;
import java.util.Map.Entry;
import org.apache.commons.lang3.ArrayUtils;
import com.amazonaws.services.ec2.model.AccountAttributeName;
import picoded.RESTBuilder.*;
import picoded.JStack.*;
import picoded.JStruct.*;
import picoded.servlet.*;
import picoded.c... | Return empty object instead of null for members_list_GET
| src/picoded/RESTBuilder/templates/AccountLogin.java | Return empty object instead of null for members_list_GET | |
Java | lgpl-2.1 | e3d6316c022251603f37b2e967b00046c3a97cee | 0 | fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui | package to.etc.domui.component.lookup;
import java.util.*;
import to.etc.domui.component.buttons.*;
import to.etc.domui.component.layout.*;
import to.etc.domui.component.meta.*;
import to.etc.domui.component.meta.impl.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.server.*;
import to.etc.domui.state.*;
import... | to.etc.domui/src/to/etc/domui/component/lookup/LookupForm.java | package to.etc.domui.component.lookup;
import java.util.*;
import to.etc.domui.component.buttons.*;
import to.etc.domui.component.layout.*;
import to.etc.domui.component.meta.*;
import to.etc.domui.component.meta.impl.*;
import to.etc.domui.dom.html.*;
import to.etc.domui.server.*;
import to.etc.domui.state.*;
import... | Add extra lookup documentation. | to.etc.domui/src/to/etc/domui/component/lookup/LookupForm.java | Add extra lookup documentation. | |
Java | lgpl-2.1 | 57fa22022a5e82910e51a43bf35dee3a265079d2 | 0 | Darkhax-Minecraft/Dark-Utilities | package net.darkhax.darkutils.libs;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCom... | src/main/java/net/darkhax/darkutils/libs/Utilities.java | package net.darkhax.darkutils.libs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.nbt... | Added in a utility for sorting whether or not a block is a fluid. | src/main/java/net/darkhax/darkutils/libs/Utilities.java | Added in a utility for sorting whether or not a block is a fluid. | |
Java | unlicense | e5ed971af71d3aee24935ca7f1a3ce2ef110feaa | 0 | michaelhixson/jmh-benchmark-listof | package rnd;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.annota... | src/main/java/rnd/Benchmark_ListOf.java | package rnd;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.annota... | Oops, forgot to remove this line in a previous commit
| src/main/java/rnd/Benchmark_ListOf.java | Oops, forgot to remove this line in a previous commit | |
Java | apache-2.0 | 4eaf76ed5555050c95a7c65bbc7e9ff11c7ee3f8 | 0 | uAlbertaCMPUT291Project/project1 | import java.sql.*;
import java.util.Scanner;
//Author: Nelson
/*
* This component is used to complete an auto transaction.
* Your program shall allow the officer to enter all necessary information
* to complete this task, including, but not limiting to, the details about
* the seller, the buyer, the date, and t... | src/AutoTransaction.java | import java.sql.*;
import java.util.Scanner;
//Author: Nelson
/*
* This component is used to complete an auto transaction.
* Your program shall allow the officer to enter all necessary information
* to complete this task, including, but not limiting to, the details about
* the seller, the buyer, the date, and t... | Finished functional requirements of AutoTransaction
| src/AutoTransaction.java | Finished functional requirements of AutoTransaction | |
Java | apache-2.0 | c98ee5b757e5dca136eb8269ac9b58a385428bb4 | 0 | sankarh/hive,nishantmonu51/hive,anishek/hive,b-slim/hive,sankarh/hive,sankarh/hive,b-slim/hive,nishantmonu51/hive,jcamachor/hive,jcamachor/hive,lirui-apache/hive,vineetgarg02/hive,jcamachor/hive,lirui-apache/hive,jcamachor/hive,sankarh/hive,alanfgates/hive,jcamachor/hive,lirui-apache/hive,anishek/hive,alanfgates/hive,a... | /**
* 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... | ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.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... | Revert HIVE15199
Signed-off-by: Ashutosh Chauhan <c5d41606feead64bfdd91acad8ffb47026db2f38@apache.org>
| ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java | Revert HIVE15199 | |
Java | apache-2.0 | f5b4995ba73efcaf2bfe348ef63680c43428e355 | 0 | eFaps/eFapsApp-Accounting | /*
* Copyright 2003 - 2013 The eFaps Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | src/main/efaps/ESJP/org/efaps/esjp/accounting/Import_Base.java | /*
* Copyright 2003 - 2013 The eFaps Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | - accounting: add case petty cash register in TYPE2TYPE map.
git-svn-id: ac075fd2700e7900720405e7f73d39e95a0f4823@11182 fee104cc-1dfa-8c0f-632d-d3b7e6b59fb0
| src/main/efaps/ESJP/org/efaps/esjp/accounting/Import_Base.java | - accounting: add case petty cash register in TYPE2TYPE map. | |
Java | apache-2.0 | 67290ec76d233b5d36f8896ab941034c35fc8d78 | 0 | venusdrogon/feilong-taglib | /*
* Copyright (C) 2008 feilong
*
* 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... | src/main/java/com/feilong/taglib/display/pager/command/Pager.java | /*
* Copyright (C) 2008 feilong
*
* 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... | :memo: update javadoc | src/main/java/com/feilong/taglib/display/pager/command/Pager.java | :memo: update javadoc | |
Java | apache-2.0 | 26c0f83a91347b1c80788826183e7fc2c1aa92a6 | 0 | ASU-Capstone/uPortal,vbonamy/esup-uportal,Jasig/uPortal,stalele/uPortal,vertein/uPortal,GIP-RECIA/esup-uportal,joansmith/uPortal,apetro/uPortal,joansmith/uPortal,ASU-Capstone/uPortal,andrewstuart/uPortal,jameswennmacher/uPortal,stalele/uPortal,chasegawa/uPortal,kole9273/uPortal,MichaelVose2/uPortal,ASU-Capstone/uPortal... | /**
* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | source/org/jasig/portal/container/om/common/PreferenceImpl.java | /**
* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | Added a convenience method that gets the first value for a preference.
git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@8239 f5dbab47-78f9-eb45-b975-e544023573eb
| source/org/jasig/portal/container/om/common/PreferenceImpl.java | Added a convenience method that gets the first value for a preference. | |
Java | apache-2.0 | b1b54fb6773f708edab2b7ab20ce9054736c3431 | 0 | mkarneim/luamod | package net.wizardsoflua.testenv.player;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import javax.annotation.Nullable;
import com.mojang.authlib.GameProfile;
import net.minecraft.world.WorldServer;
public class WolFakeP... | src/test/java/net/wizardsoflua/testenv/player/WolFakePlayerFactory.java | package net.wizardsoflua.testenv.player;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.UUID;
import javax.annotation.Nullable;
import com.mojang.authlib.GameProfile;
import net.minecraft.world.WorldServer;
public class WolFakePlayerFactory {
// TODO can we change the ID and ... | Refactor WolFakePlayerFactory
| src/test/java/net/wizardsoflua/testenv/player/WolFakePlayerFactory.java | Refactor WolFakePlayerFactory | |
Java | apache-2.0 | b7d899894e88453aa63f67aab4ead83e48e9ce63 | 0 | Valkryst/VTerminal | package com.valkryst.VTerminal.samples;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.PanelBuilder;
import com.valkryst.VTerminal.builder.component.*;
import com.valkryst.VTerminal.component.LoadingBar;
import com.valkryst.VTerminal.component.RadioButtonGroup;
import com.valkryst.VTerminal... | test/com/valkryst/VTerminal/samples/SampleComponents.java | package com.valkryst.VTerminal.samples;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.PanelBuilder;
import com.valkryst.VTerminal.builder.component.*;
import com.valkryst.VTerminal.component.*;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import ... | Rewrites example interface.
| test/com/valkryst/VTerminal/samples/SampleComponents.java | Rewrites example interface. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.