commit stringlengths 40 40 | old_file stringlengths 4 236 | new_file stringlengths 4 236 | old_contents stringlengths 1 3.26k | new_contents stringlengths 16 4.43k | subject stringlengths 16 624 | message stringlengths 17 3.29k | lang stringclasses 5
values | license stringclasses 13
values | repos stringlengths 5 91.5k |
|---|---|---|---|---|---|---|---|---|---|
4d943bb012b368370b66d5bf03eb32f6d977142d | common/src/test/java/uk/ac/ebi/quickgo/common/loader/GZIPFileMocker.java | common/src/test/java/uk/ac/ebi/quickgo/common/loader/GZIPFileMocker.java | package uk.ac.ebi.quickgo.common.loader;
import java.io.*;
import java.util.zip.GZIPOutputStream;
/**
* To test the GZIPFiles class, create a gzip'd file with known test in a temporary location.
* The client is expected to clean up the file after it's finished with it.
*
* @author Tony Wardell
* Date: 17/05/2016... | package uk.ac.ebi.quickgo.common.loader;
import java.io.*;
import java.util.zip.GZIPOutputStream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* To test the GZIPFiles class, create a gzip'd file with known test in a temporary location.
* The client is expected to clean up the file after it's finishe... | Use logger to record exception instead of printStackTrace. | Use logger to record exception instead of printStackTrace.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
0eb41c73dc5ac514edf452c8eb4c9b02304982eb | src/main/java/info/u_team/u_team_core/block/UBlock.java | src/main/java/info/u_team/u_team_core/block/UBlock.java | package info.u_team.u_team_core.block;
import java.util.function.Supplier;
import info.u_team.u_team_core.api.block.BlockItemProvider;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.level.block.Block;
public... | package info.u_team.u_team_core.block;
import java.util.function.Supplier;
import com.google.common.base.Suppliers;
import info.u_team.u_team_core.api.block.BlockItemProvider;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.... | Fix contract of block item provider by memoize the supplier for the block item. | Fix contract of block item provider by memoize the supplier for the
block item. | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
2702a3d85303a0f7522b6ae39b9e36a25f46d94f | deploy-api/src/main/java/org/intalio/tempo/deployment/DeployedAssembly.java | deploy-api/src/main/java/org/intalio/tempo/deployment/DeployedAssembly.java | /**
* Copyright (c) 2005-2007 Intalio inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Inta... | /**
* Copyright (c) 2005-2007 Intalio inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Inta... | Change assemblyDir type from File to String since it needs to travel across the ether | Change assemblyDir type from File to String since it needs to travel across the ether
git-svn-id: bf08415a33f9c0f05ac2b054c631df0aaa894ee0@245 f54485bd-ff3a-0410-97a1-83db373c2bce
| Java | epl-1.0 | intalio/tempo,veresh/tempo,Everteam-Software/tempo,Everteam-Software/tempo,mze3e/tempo,mze3e/tempo,intalio/tempo,intalio/tempo,veresh/tempo,Everteam-Software/tempo,mze3e/tempo,mze3e/tempo,intalio/tempo,veresh/tempo,Everteam-Software/tempo,veresh/tempo |
9552ba04abb86c50a6a4a8d8852fc020fdf0a427 | junit/generator/java/com/google/j2cl/junit/apt/J2clTestingVelocityUtil.java | junit/generator/java/com/google/j2cl/junit/apt/J2clTestingVelocityUtil.java | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Make sure junit velocity templates fail-fast on missing references. | Make sure junit velocity templates fail-fast on missing references.
PiperOrigin-RevId: 296119525
| Java | apache-2.0 | google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl |
e86de8824acc515397529d60eb0dc450fadfbbd2 | build-monitor-plugin/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/features/HasHeadline.java | build-monitor-plugin/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/features/HasHeadline.java | package com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.features;
import com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView;
import com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.features.headline.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
i... | package com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.features;
import com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView;
import com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.features.headline.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
... | Replace anonymous type with lambda | Replace anonymous type with lambda
| Java | mit | jan-molak/jenkins-build-monitor-plugin,jan-molak/jenkins-build-monitor-plugin,jan-molak/jenkins-build-monitor-plugin,jan-molak/jenkins-build-monitor-plugin |
68cd7a11b50c4f4a194f6d439e6b83b3b2f46243 | src/main/java/org/openlmis/stockmanagement/domain/reason/ReasonType.java | src/main/java/org/openlmis/stockmanagement/domain/reason/ReasonType.java | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2017 VillageReach
*
* 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, e... | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2017 VillageReach
*
* 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, e... | Revert "OLMIS-3533: Added javadoc for Reason type priority field" | Revert "OLMIS-3533: Added javadoc for Reason type priority field"
This reverts commit e5ccc08d57d538b6d6a4c6a8fd099f50e3a769af.
| Java | agpl-3.0 | OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement |
4f515f8c5e12ff6b5ae72c4b024877ecc71090f3 | HTMLEditor/src/htmleditor/commands/PasteCommand.java | HTMLEditor/src/htmleditor/commands/PasteCommand.java | /*
* The command to paste text from the clip tray.
*/
package htmleditor.commands;
import htmleditor.HTMLEditor;
import javafx.event.Event;
/**
* @author aac6012
*/
public class PasteCommand extends UndoableCommand {
public PasteCommand(HTMLEditor e) {
this.editor = e ;
}
@O... | /*
* The command to paste text from the clip tray.
*/
package htmleditor.commands;
import htmleditor.HTMLEditor;
import javafx.event.Event;
/**
* @author aac6012
*/
public class PasteCommand extends UndoableCommand {
public PasteCommand(HTMLEditor e) {
this.editor = e ;
}
@O... | Paste will now override selected text. | Paste will now override selected text. | Java | mit | Hydral1k/HTMLEditor,Hydral1k/HTMLEditor |
227429a9fa13f3c001874c87c2b76ab49c0fc516 | Source/JNA/waffle-tomcat9/src/test/java/waffle/apache/WindowsRealmTests.java | Source/JNA/waffle-tomcat9/src/test/java/waffle/apache/WindowsRealmTests.java | /**
* Waffle (https://github.com/Waffle/waffle)
*
* Copyright (c) 2010-2018 Application Security, Inc.
*
* All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse
* Public License v1.0 which accompanies this distribution, and is available at
* https://ww... | /**
* Waffle (https://github.com/Waffle/waffle)
*
* Copyright (c) 2010-2018 Application Security, Inc.
*
* All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse
* Public License v1.0 which accompanies this distribution, and is available at
* https://ww... | Remove legacy tomcat support from test | [test] Remove legacy tomcat support from test
This made no real sense as a test case.
| Java | mit | hazendaz/waffle,Waffle/waffle,dblock/waffle,Waffle/waffle,dblock/waffle,hazendaz/waffle,dblock/waffle,dblock/waffle,Waffle/waffle,hazendaz/waffle |
e024d3575236bc7d58ddad2b47003abdb279f498 | analysis/src/main/java/uk/ac/cam/gpe21/droidssl/analysis/StaticAnalyser.java | analysis/src/main/java/uk/ac/cam/gpe21/droidssl/analysis/StaticAnalyser.java | package uk.ac.cam.gpe21.droidssl.analysis;
import soot.PackManager;
import soot.Transform;
import soot.options.Options;
import java.util.Arrays;
public final class StaticAnalyser {
public static void main(String[] args) {
Options.v().set_src_prec(Options.src_prec_apk);
Options.v().set_output_format(Options.outp... | package uk.ac.cam.gpe21.droidssl.analysis;
import soot.PackManager;
import soot.Transform;
import soot.options.Options;
import java.util.Arrays;
public final class StaticAnalyser {
public static void main(String[] args) {
Options.v().set_src_prec(Options.src_prec_apk);
Options.v().set_output_format(Options.outp... | Add comment about setting unfriendly_mode. | Add comment about setting unfriendly_mode.
| Java | apache-2.0 | grahamedgecombe/android-ssl,grahamedgecombe/android-ssl |
c25a80b9628ee8350190e33e2b5007171b35db56 | app/src/main/java/de/christianscheb/partyprojector/app/SettingsActivity.java | app/src/main/java/de/christianscheb/partyprojector/app/SettingsActivity.java | package de.christianscheb.partyprojector.app;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import de.christianscheb.partyprojector.app.preferences.AppPreferences;
public class SettingsActivity extends PreferenceActivity {
public static final String KEY_PREF_SERVER = "pref_server";
... | package de.christianscheb.partyprojector.app;
import android.app.Activity;
import android.os.Bundle;
public class SettingsActivity extends Activity {
public static final String KEY_PREF_SERVER = "pref_server";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedIns... | Use Activity as base class | Use Activity as base class
| Java | mit | scheb/party-projector-app |
2d6508a2974d209449259e5f164cbdd383d72569 | android/src/main/java/com/spaceout/MainActivity.java | android/src/main/java/com/spaceout/MainActivity.java | package com.spaceout;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentVi... | package com.spaceout;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentVi... | Stop the neural alertness service when the app is closed | Stop the neural alertness service when the app is closed
| Java | agpl-3.0 | haniawni/spaceout |
bdf7d545d56691037585e519bfa1de54addf4edd | app/src/main/java/org/mym/prettylog/PLogApplication.java | app/src/main/java/org/mym/prettylog/PLogApplication.java | package org.mym.prettylog;
import android.app.Application;
import org.mym.plog.PLog;
import org.mym.plog.config.PLogConfig;
/**
* <p>
* This class shows how to init PLog Library.
* </p>
* Created by muyangmin on 9/1/16.
*
* @author muyangmin
* @since V3.94
*/
public class PLogApplication extends Application ... | package org.mym.prettylog;
import android.app.Application;
import org.mym.plog.PLog;
import org.mym.plog.config.PLogConfig;
/**
* <p>
* This class shows how to init PLog Library.
* </p>
* Created by muyangmin on 9/1/16.
*
* @author muyangmin
* @since V1.3.0
*/
public class PLogApplication extends Application... | Fix a wrong config in sample application. | Fix a wrong config in sample application.
| Java | apache-2.0 | Muyangmin/Android-PLog |
9316e583b3db2ced42d580162c1d0a45b474b4b7 | src/main/java/io/kamax/matrix/codec/MxSha256.java | src/main/java/io/kamax/matrix/codec/MxSha256.java | /*
* matrix-java-sdk - Matrix Client SDK for Java
* Copyright (C) 2017 Maxime Dor
*
* https://max.kamax.io/
*
* 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 t... | /*
* matrix-java-sdk - Matrix Client SDK for Java
* Copyright (C) 2017 Maxime Dor
*
* https://max.kamax.io/
*
* 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 t... | Add ability to get SHA256 on bytes | Add ability to get SHA256 on bytes
| Java | agpl-3.0 | kamax-io/matrix-java-sdk |
55149a51a1dfb46b84a08c0f9a6b2b9f24e7ac97 | src/main/java/com/indeed/proctor/service/config/JsonContextVarConfig.java | src/main/java/com/indeed/proctor/service/config/JsonContextVarConfig.java | package com.indeed.proctor.service.config;
/**
* Context variable configuration, which also requires type conversion.
*/
public class JsonContextVarConfig extends JsonVarConfig {
private String type;
// If a context var is missing during extraction, we'll just use this default.
// If null, the user did ... | package com.indeed.proctor.service.config;
import org.codehaus.jackson.map.annotate.JsonSerialize;
/**
* Context variable configuration, which also requires type conversion.
*/
public class JsonContextVarConfig extends JsonVarConfig {
private String type;
// If a context var is missing during extraction, w... | Exclude null defaultValues from /config/context. | Exclude null defaultValues from /config/context.
| Java | apache-2.0 | indeedeng/proctor,indeedeng/proctor,indeedeng/proctor-pipet |
5a3dbe0367b7e734ea3668b33aa556a15b49e4b5 | gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java | gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java | package org.realityforge.arez.gwt.examples;
import elemental2.dom.DomGlobal;
import javax.annotation.Nonnull;
import org.realityforge.arez.Arez;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.extras.WhyRun;
final class ExampleUtil
{
private ExampleUtil()
{
}
static void whyRun()
{
... | package org.realityforge.arez.gwt.examples;
import elemental2.dom.DomGlobal;
import javax.annotation.Nonnull;
import org.realityforge.arez.Arez;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.extras.WhyRun;
final class ExampleUtil
{
private ExampleUtil()
{
}
static void spyEvents()
... | Add utility to spy events | Add utility to spy events
| Java | apache-2.0 | realityforge/arez,realityforge/arez,realityforge/arez |
a30a61b6c937563552660172afa72f617c4be817 | skyve-ext/src/org/skyve/impl/content/ejb/EJBRemoteContentManagerServer.java | skyve-ext/src/org/skyve/impl/content/ejb/EJBRemoteContentManagerServer.java | package org.skyve.impl.content.ejb;
import javax.ejb.Local;
import javax.ejb.Remote;
import org.skyve.content.AttachmentContent;
import org.skyve.content.BeanContent;
import org.skyve.content.SearchResults;
@Remote
@Local
public interface EJBRemoteContentManagerServer {
public void put(BeanContent content) throws E... | package org.skyve.impl.content.ejb;
import org.skyve.content.AttachmentContent;
import org.skyve.content.BeanContent;
import org.skyve.content.SearchResults;
public interface EJBRemoteContentManagerServer {
public void put(BeanContent content) throws Exception;
/**
*
* @param content The AttachmentContent to ... | Remove @Remote and @Local off of the content interface to allow the session bean definition in the target system to specify. | Remove @Remote and @Local off of the content interface to allow the
session bean definition in the target system to specify. | Java | lgpl-2.1 | skyvers/skyve,skyvers/wildcat,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/wildcat,skyvers/wildcat,skyvers/skyve |
2feedb17e692a7e47bc771d3a96cf318901c60e4 | utils/Ascii.java | utils/Ascii.java | //
// Ascii.java
//
/** Outputs the readable ASCII table from 32 to 127. */
public class Ascii {
public static void main(String[] args) {
for (int i=32; i<128; i++) {
String s = "" + i;
if (i < 100) s = " " + s;
if (i < 10) s = " " + s;
System.out.print(s + " " + (char) i + "\t");
... | //
// Ascii.java
//
/** Outputs the readable ASCII table from 32 to 127. */
public class Ascii {
public static void main(String[] args) {
int max = 255;
if (args.length > 0) max = Integer.parseInt(args[0]);
for (int i=32; i<=max; i++) {
String s = "" + i;
if (i < 100) s = " " + s;
if (... | Add option to specify maximum character to list in the table; default maximum to 255 instead of 127. | Add option to specify maximum character to list in the table;
default maximum to 255 instead of 127.
| Java | bsd-2-clause | scifio/scifio |
308ac5a97be9ea0b550b9155765f4fd3ba442b79 | src/org/metawatch/manager/BootCompletedReceiver.java | src/org/metawatch/manager/BootCompletedReceiver.java | package org.metawatch.manager;
import org.metawatch.manager.MetaWatchService.Preferences;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
public class BootCompletedReceiver extends BroadcastReceiver {
@Override
public void onReceive... | package org.metawatch.manager;
import org.metawatch.manager.MetaWatchService.Preferences;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
public class BootCompletedReceiver extends BroadcastReceiver {
@Override
public void onReceive... | Load preferences before checking them | Load preferences before checking them
| Java | apache-2.0 | benjymous/MWM-for-Android |
aae2dc27ec3fd5d1c9ebc2d76d30750a67c4c38b | ngrinder-starter/src/test/java/org/ngrinder/NGrinderControllerStarterTest.java | ngrinder-starter/src/test/java/org/ngrinder/NGrinderControllerStarterTest.java | package org.ngrinder;
import org.junit.Test;
public class NGrinderControllerStarterTest {
@Test
public void test1() throws Exception {
NGrinderControllerStarter.main(new String[]
{
}
);
}
@Test
public void testEasyClusterConfiguration() {
NGrinderControllerStarter.ClusterMode.easy.parseArgs(new ... | package org.ngrinder;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
public class NGrinderControllerStarterTest {
@Test
public void test1() throws Exception {
NGrinderControllerStarter.main(new String[]
{
}
);
}
@Test
public void testEasyClusterConfiguration() {
NGrinderControllerStarte... | Set ignore the starter test | [NGRINDER-710] Set ignore the starter test
| Java | apache-2.0 | songeunwoo/ngrinder,SRCB-CloudPart/ngrinder,nanpa83/ngrinder,bwahn/ngrinder,nanpa83/ngrinder,SRCB-CloudPart/ngrinder,chengaomin/ngrinder,GwonGisoo/ngrinder,nanpa83/ngrinder,bwahn/ngrinder,naver/ngrinder,ropik/ngrinder,GwonGisoo/ngrinder,songeunwoo/ngrinder,naver/ngrinder,nanpa83/ngrinder,GwonGisoo/ngrinder,naver/ngrind... |
eba27be700a564cc412a67dcdd8841850dda22da | src/main/java/leetcode/Problem315.java | src/main/java/leetcode/Problem315.java | package leetcode;
import java.util.ArrayList;
import java.util.List;
/**
* https://leetcode.com/problems/count-of-smaller-numbers-after-self/
*/
public class Problem315 {
public List<Integer> countSmaller(int[] nums) {
List<Integer> result = new ArrayList<>();
// TODO:
return result;
... | package leetcode;
import java.util.Arrays;
import java.util.List;
/**
* https://leetcode.com/problems/count-of-smaller-numbers-after-self/
*/
public class Problem315 {
public List<Integer> countSmaller(int[] nums) {
int[] tmp = nums.clone();
Arrays.sort(tmp);
for (int i = 0; i < nums.len... | Put solution for problem 315 | Put solution for problem 315
| Java | mit | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode |
9e1a21e5107ef61e5b84d84ef5e6353275a6dadc | src/main/java/com/github/solairerove/woodstock/job/MyBean.java | src/main/java/com/github/solairerove/woodstock/job/MyBean.java | package com.github.solairerove.woodstock.job;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
@Component
public class MyBean implements CommandLineRunner {
public void run(String... args) {
System.out.println("Hello from test job");
}
} | package com.github.solairerove.woodstock.job;
import com.github.solairerove.woodstock.domain.Unit;
import com.github.solairerove.woodstock.repository.UnitRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.C... | Write simple job with adding unit domain | Write simple job with adding unit domain
| Java | apache-2.0 | solairerove/woodstock,solairerove/woodstock,solairerove/woodstock |
225073f86be861f865f781eabb81639b05011285 | src/test/java/net/openhft/chronicle/bytes/ReadLenientTest.java | src/test/java/net/openhft/chronicle/bytes/ReadLenientTest.java | package net.openhft.chronicle.bytes;
import org.junit.Test;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import static org.junit.Assert.assertEquals;
public class ReadLenientTest {
@Test
public void testLenient() {
doTest(Bytes.allocateDirect(64));
do... | package net.openhft.chronicle.bytes;
import org.junit.Test;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import static org.junit.Assert.assertEquals;
public class ReadLenientTest {
@Test
public void testLenient() {
doTest(Bytes.allocateDirect(64));
do... | Add support for lenient reading where reading too much is full of zeros. | Add support for lenient reading where reading too much is full of zeros.
| Java | apache-2.0 | OpenHFT/Chronicle-Bytes |
cacfa386bceae5718d5bb6bee121fc8c4927d60e | service/src/main/java/org/ops4j/pax/web/service/internal/model/FilterModel.java | service/src/main/java/org/ops4j/pax/web/service/internal/model/FilterModel.java | package org.ops4j.pax.web.service.internal.model;
import javax.servlet.Filter;
public class FilterModel extends BasicModel
{
private final Filter m_filter;
private final String[] m_urlPatterns;
private final String[] m_servletNames;
public FilterModel( final Filter filter,
... | package org.ops4j.pax.web.service.internal.model;
import javax.servlet.Filter;
public class FilterModel extends BasicModel
{
private final Filter m_filter;
private final String[] m_urlPatterns;
private final String[] m_servletNames;
public FilterModel( final Filter filter,
fi... | Reformat code and optimize imports. | Reformat code and optimize imports.
| Java | apache-2.0 | lostiniceland/org.ops4j.pax.web,lostiniceland/org.ops4j.pax.web |
c025623e5c9238bb9a0bc66a308391043bff4331 | src/main/java/io/github/aquerr/eaglefactions/listeners/ChatMessageListener.java | src/main/java/io/github/aquerr/eaglefactions/listeners/ChatMessageListener.java | package io.github.aquerr.eaglefactions.listeners;
import io.github.aquerr.eaglefactions.logic.FactionLogic;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.filter.cause.Root;
import org.spongepowered.api.event.message.MessageChan... | package io.github.aquerr.eaglefactions.listeners;
import io.github.aquerr.eaglefactions.logic.FactionLogic;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.filter.cause.Root;
import org.spongepowered.api.event.message.MessageChan... | Improve display of faction tags | Improve display of faction tags
| Java | mit | Aquerr/EagleFactions,Aquerr/EagleFactions |
18c3d9e8c2916e05481d3469edfcfc4baae58d68 | amqpjms-client/src/main/java/org/fusesource/amqpjms/jms/meta/JmsSessionInfo.java | amqpjms-client/src/main/java/org/fusesource/amqpjms/jms/meta/JmsSessionInfo.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... | /**
* 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... | Add session ack mode property to info. | Add session ack mode property to info. | Java | apache-2.0 | delkyd/hawtjms,delkyd/hawtjms,fusesource/hawtjms |
ba82b7c57307c9de221806062314b40c7ad58675 | src/main/Main.java | src/main/Main.java | package main;
/**
* Created by nick on 10/22/15.
*/
public class Main {
public static void main(String[] args){
}
}
| package main;
import ui.RGBWindow;
/**
* Created by nick on 10/22/15.
*/
public class Main {
public static void main(String[] args){
new RGBWindow();
}
}
| Create RGBWindow when app starts | Create RGBWindow when app starts
| Java | mit | nh0815/jrgb |
dc8923193fd073a9310615f0627bd34463cecfe3 | client/src/com/aerospike/client/command/ParticleType.java | client/src/com/aerospike/client/command/ParticleType.java | /*
* Aerospike Client - Java Library
*
* Copyright 2012 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
package com.aeros... | /*
* Aerospike Client - Java Library
*
* Copyright 2012 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
package com.aeros... | Change particle type ids for list and map. | Change particle type ids for list and map.
| Java | apache-2.0 | Stratio/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,alexandrnikitin/aerospike-client-java,alexandrnikitin/aerospike-client-java,Stratio/aerospike-client-java,wgpshashank/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,wgpshashank/aerospike-client-java |
1f8f9973b119a208bd6be19acb492a747246ec4c | components/camel-xj/src/main/java/org/apache/camel/component/xj/XJComponent.java | components/camel-xj/src/main/java/org/apache/camel/component/xj/XJComponent.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 ... | /*
* 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 ... | Fix link to xj component documentation | Fix link to xj component documentation
| Java | apache-2.0 | nikhilvibhav/camel,nikhilvibhav/camel,DariusX/camel,nicolaferraro/camel,ullgren/camel,cunningt/camel,pmoerenhout/camel,zregvart/camel,objectiser/camel,adessaigne/camel,alvinkwekel/camel,tadayosi/camel,alvinkwekel/camel,pax95/camel,gnodet/camel,DariusX/camel,apache/camel,nicolaferraro/camel,tdiesler/camel,christophd/cam... |
f77ce81a7032bd5149c4e6e5936259b943156f1b | mapcache/src/main/java/mil/nga/mapcache/preferences/BasemapSettingsActivity.java | mapcache/src/main/java/mil/nga/mapcache/preferences/BasemapSettingsActivity.java | package mil.nga.mapcache.preferences;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.appcompat.app.AppCompatActivity;
import mil.nga.mapcache.R;
public class BasemapSettingsActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
su... | package mil.nga.mapcache.preferences;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.appcompat.app.AppCompatActivity;
import mil.nga.mapcache.R;
public class BasemapSettingsActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
su... | Change title to Base maps | Change title to Base maps
| Java | mit | ngageoint/geopackage-mapcache-android |
24727f9b9fb2d745e36a48a36abaf0409254578d | gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/UpToChangeCommand.java | gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/UpToChangeCommand.java | // Copyright (C) 2010 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 ... | // Copyright (C) 2010 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Fix 'u' to jump to user's preferred change screen | Fix 'u' to jump to user's preferred change screen
Honor the user preference and jump to the preferred screen type
when going up from an old style PatchScreen. The old style is
still used for unified diffs of binary files.
Change-Id: I92c4f95ef4a0e5e9de5196f614af62474ef96c05
| Java | apache-2.0 | WANdisco/gerrit,anminhsu/gerrit,gerrit-review/gerrit,quyixia/gerrit,anminhsu/gerrit,netroby/gerrit,pkdevbox/gerrit,gerrit-review/gerrit,TonyChai24/test,Team-OctOS/host_gerrit,quyixia/gerrit,thinkernel/gerrit,Seinlin/gerrit,Seinlin/gerrit,gerrit-review/gerrit,thesamet/gerrit,hdost/gerrit,midnightradio/gerrit,supriyantom... |
dda672424e15fd775b980ae22493b8c863bbfde3 | src/main/java/com/google/devtools/build/lib/bazel/BazelShutdownLoggerModule.java | src/main/java/com/google/devtools/build/lib/bazel/BazelShutdownLoggerModule.java | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | Use serverInit or globalInit where possible. | Use serverInit or globalInit where possible.
--
MOS_MIGRATED_REVID=126813515
| Java | apache-2.0 | mikelikespie/bazel,davidzchen/bazel,zhexuany/bazel,mikelikespie/bazel,zhexuany/bazel,snnn/bazel,snnn/bazel,kchodorow/bazel,UrbanCompass/bazel,LuminateWireless/bazel,kchodorow/bazel,ButterflyNetwork/bazel,mikelikespie/bazel,cushon/bazel,cushon/bazel,mikelikespie/bazel,kchodorow/bazel,dslomov/bazel,akira-baruah/bazel,twi... |
215eaa400ce053542c23821f0addcd5fcacdbdda | src/main/java/net/floodlightcontroller/core/module/FloodlightModuleException.java | src/main/java/net/floodlightcontroller/core/module/FloodlightModuleException.java | package net.floodlightcontroller.core.module;
public class FloodlightModuleException extends Exception {
private static final long serialVersionUID = 1L;
public FloodlightModuleException(String error) {
super(error);
}
}
| package net.floodlightcontroller.core.module;
public class FloodlightModuleException extends Exception {
private static final long serialVersionUID = 1L;
public FloodlightModuleException(String error) {
super(error);
}
public FloodlightModuleException() {
super();
}
public FloodlightModuleE... | Add RPC mechanism and a basic protocol for node communication | Add RPC mechanism and a basic protocol for node communication
| Java | apache-2.0 | pablotiburcio/AutoManIoT,alberthitanaya/floodlight-dnscollector,pixuan/floodlight,kvm2116/floodlight,smartnetworks/floodlight,chinmaymhatre91/floodlight,AndreMantas/floodlight,daniel666/multicastSDN,duanjp8617/floodlight,alberthitanaya/floodlight-dnscollector,teja-/floodlight,smartnetworks/floodlight,baykovr/floodlight... |
88857cbc998d82b8af2d2224f04a79f95a730a82 | src/main/java/com/ice/av/sample/entity/Info.java | src/main/java/com/ice/av/sample/entity/Info.java | package com.ice.av.sample.entity;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Info {
@SuppressWarnings("unused")
private static final Logger log = LoggerFactory.getLogger(Info.class);
private String info = "This is a test info...";
publ... | package com.ice.av.sample.entity;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Info {
@SuppressWarnings("unused")
private static final Logger log = LoggerFactory.getLogger(Info.class);
private String info = "This is a test info...";
publ... | Change the Date format to String | Change the Date format to String | Java | apache-2.0 | A-h-Ahmadi/testJenkins |
73669e716e1125e23e7b21c6058baf811dc213c9 | CriminalIntent/app/src/main/java/com/bignerdranch/android/criminalintent/Crime.java | CriminalIntent/app/src/main/java/com/bignerdranch/android/criminalintent/Crime.java | package com.bignerdranch.android.criminalintent;
import java.util.Date;
import java.util.UUID;
public class Crime {
private UUID mId;
private String mTitle;
private Date mDate;
private boolean mSolved;
public Crime() {
this(UUID.randomUUID());
}
public Crime(UUID id) {
mI... | package com.bignerdranch.android.criminalintent;
import java.util.Date;
import java.util.UUID;
public class Crime {
private UUID mId;
private String mTitle;
private Date mDate;
private boolean mSolved;
private String mSuspect;
public Crime() {
this(UUID.randomUUID());
}
publi... | Update the model to include the suspect | Update the model to include the suspect
| Java | apache-2.0 | dcordero/BigNerdRanch-Android |
5cce871a20e08cb4424a9f28148f0eed5cea8118 | src/main/java/com/mpalourdio/springboottemplate/service/ServiceWithProperties.java | src/main/java/com/mpalourdio/springboottemplate/service/ServiceWithProperties.java | /*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,... | /*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,... | Use an exception without @ResponseStatus | Use an exception without @ResponseStatus
| Java | mit | mpalourdio/SpringBootTemplate,mpalourdio/SpringBootTemplate |
54bc25e494e2d6de558773ca231746f88a74e193 | src/main/java/at/ac/tuwien/inso/controller/lecturer/LecturerAddGradeController.java | src/main/java/at/ac/tuwien/inso/controller/lecturer/LecturerAddGradeController.java | package at.ac.tuwien.inso.controller.lecturer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
... | package at.ac.tuwien.inso.controller.lecturer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
... | Refactor AddGradeController to work with two factor authentification | Refactor AddGradeController to work with two factor authentification
| Java | mit | university-information-system/uis,university-information-system/uis,university-information-system/uis,university-information-system/uis |
b591e630340e6d3906426ec1ef62329a9e696c1a | src/main/java/com/akiban/cserver/MySQLErrorConstants.java | src/main/java/com/akiban/cserver/MySQLErrorConstants.java | package com.akiban.cserver;
/**
* Constants derived from MySQL include/my_base.h
* Add new MySQL error codes here, as needed.
*
* @author peter
*
*/
public interface MySQLErrorConstants {
public final static short HA_ERR_KEY_NOT_FOUND = 120;
public final static short HA_ERR_FOUND_DUPP_KEY = 121;
public fin... | package com.akiban.cserver;
/**
* Constants derived from MySQL include/my_base.h
* Add new MySQL error codes here, as needed.
*
* @author peter
*
*/
public interface MySQLErrorConstants {
public final static short HA_ERR_KEY_NOT_FOUND = 120;
public final static short HA_ERR_FOUND_DUPP_KEY = 121;
public fin... | Add a HA_ERR_UNSUPPORTED error to return if functionality isn't supported, rather than the generic UNSUPPORTED. | Add a HA_ERR_UNSUPPORTED error to return if functionality isn't supported, rather than the generic UNSUPPORTED. | Java | agpl-3.0 | shunwang/sql-layer-1,wfxiang08/sql-layer-1,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,relateiq/sql-layer,ngaut/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,relateiq/sql-... |
fe8932684f4195c75f4f435e9935f8da77244315 | src/main/java/de/linkvt/bachelor/config/WebMvcConfig.java | src/main/java/de/linkvt/bachelor/config/WebMvcConfig.java | package de.linkvt.bachelor.config;
import de.linkvt.bachelor.web.converter.OntologyHttpMessageConverter;
import de.linkvt.bachelor.web.converter.RdfXmlOntologyHttpMessageConverter;
import de.linkvt.bachelor.web.converter.TurtleOntologyHttpMessageConverter;
import org.springframework.boot.autoconfigure.web.HttpMessage... | package de.linkvt.bachelor.config;
import de.linkvt.bachelor.web.converter.OntologyHttpMessageConverter;
import de.linkvt.bachelor.web.converter.RdfXmlOntologyHttpMessageConverter;
import de.linkvt.bachelor.web.converter.TurtleOntologyHttpMessageConverter;
import org.springframework.boot.autoconfigure.web.HttpMessage... | Add .owl extension for rdf conversion | Add .owl extension for rdf conversion
| Java | mit | VisualDataWeb/OntoBench,VisualDataWeb/OntoBench,VisualDataWeb/OntoBench |
4d2461560205050ea53a93630836ffaf1a9c757a | graphwalker-gradle-plugin/src/main/java/org/graphwalker/gradle/plugin/task/Clean.java | graphwalker-gradle-plugin/src/main/java/org/graphwalker/gradle/plugin/task/Clean.java | package org.graphwalker.gradle.plugin.task;
import org.gradle.api.Task;
import org.gradle.api.specs.Spec;
import org.gradle.api.tasks.TaskAction;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFil... | package org.graphwalker.gradle.plugin.task;
import org.gradle.api.Task;
import org.gradle.api.specs.Spec;
import org.gradle.api.tasks.TaskAction;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFil... | Change the way gradle detects if task is needed to run | Change the way gradle detects if task is needed to run
| Java | mit | GraphWalker/graphwalker-project,GraphWalker/graphwalker-project,KristianKarl/graphwalker-project,KristianKarl/graphwalker-project,GraphWalker/graphwalker-project,KristianKarl/graphwalker-project |
e52c06dfc00f42874f4f7082ba4701cd4ec6d999 | workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/engine/skill/ReflectionArmor.java | workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/engine/skill/ReflectionArmor.java | package cfvbaibai.cardfantasy.engine.skill;
import cfvbaibai.cardfantasy.GameUI;
import cfvbaibai.cardfantasy.data.Skill;
import cfvbaibai.cardfantasy.data.SkillTag;
import cfvbaibai.cardfantasy.engine.CardInfo;
import cfvbaibai.cardfantasy.engine.HeroDieSignal;
import cfvbaibai.cardfantasy.engine.OnAttackBlock... | package cfvbaibai.cardfantasy.engine.skill;
import cfvbaibai.cardfantasy.GameUI;
import cfvbaibai.cardfantasy.data.Skill;
import cfvbaibai.cardfantasy.data.SkillTag;
import cfvbaibai.cardfantasy.engine.CardInfo;
import cfvbaibai.cardfantasy.engine.HeroDieSignal;
import cfvbaibai.cardfantasy.engine.OnAttackBlock... | Fix issue that 不动 is not functioning to 反射装甲 when silenced | Fix issue that 不动 is not functioning to 反射装甲 when silenced | Java | bsd-2-clause | cfvbaibai/CardFantasy,cfvbaibai/CardFantasy |
bb4b2edf3c6827b778ac907eb132a1c1661c2400 | tennis_kata_referee/src/test/java/TennisGameTest.java | tennis_kata_referee/src/test/java/TennisGameTest.java | import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import static org.assertj.core.api.Assertions.assertThat;
@RunWith(MockitoJUnitRunner.class)
public class TennisGameTest {
@Inject... | import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import static org.assertj.core.api.Assertions.assertThat;
@RunWith(MockitoJUnitRunner.class)
public class TennisGameTest {
@Inject... | Test on winning point for Nadal | Test on winning point for Nadal
| Java | mit | YeahMama/kata |
9def033d1afe012acdfe73bea44e8ed834318e28 | src/main/java/com/jlgm/mmdr/lib/MMDRConstants.java | src/main/java/com/jlgm/mmdr/lib/MMDRConstants.java | package com.jlgm.mmdr.lib;
public class MMDRConstants {
public static final String MODID = "jlgm_MMDR";
public static final String NAME = "Minecraft Modding Done Right";
public static final String VERSION = "0.1a";
public static final String ACCEPTEDMINECRAFTVERSIONS = "[1.10]";
public static final String CLIEN... | package com.jlgm.mmdr.lib;
public class MMDRConstants {
//The name "behind the scenes"
public static final String MODID = "jlgm_MMDR";
//The public name
public static final String NAME = "Minecraft Modding Done Right";
//The version of the mod
public static final String VERSION = "0.1a";
//The Minecraft version... | Add commentary to the constants class | Add commentary to the constants class
| Java | lgpl-2.1 | JoseluGames/MinecraftModdingDoneRight |
4348fb12644ec6d3f32f592495f4d2b2f2af1e07 | Atarashii/src/net/somethingdreadful/MAL/AboutActivity.java | Atarashii/src/net/somethingdreadful/MAL/AboutActivity.java | package net.somethingdreadful.MAL;
import android.os.Bundle;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.view.MenuItem;
public class AboutActivity extends Sher... | package net.somethingdreadful.MAL;
import android.os.Bundle;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.view.MenuItem;
public class AboutActivity extends Sher... | Fix link not opening browser (about) | Fix link not opening browser (about)
| Java | bsd-2-clause | ratan12/Atarashii,AnimeNeko/Atarashii,AnimeNeko/Atarashii,ratan12/Atarashii |
fdaed23d4b9b70186aeb95e7b5f68d20a219e6fc | src/main/java/com/cjburkey/claimchunk/service/prereq/claim/WorldGuardPrereq.java | src/main/java/com/cjburkey/claimchunk/service/prereq/claim/WorldGuardPrereq.java | package com.cjburkey.claimchunk.service.prereq.claim;
import com.cjburkey.claimchunk.Config;
import com.cjburkey.claimchunk.Utils;
import com.cjburkey.claimchunk.worldguard.WorldGuardHandler;
import java.util.Optional;
public class WorldGuardPrereq implements IClaimPrereq {
@Override
public int getWeight() {... | package com.cjburkey.claimchunk.service.prereq.claim;
import com.cjburkey.claimchunk.Config;
import com.cjburkey.claimchunk.Utils;
import com.cjburkey.claimchunk.worldguard.WorldGuardHandler;
import java.util.Optional;
public class WorldGuardPrereq implements IClaimPrereq {
@Override
public int getWeight() {... | Fix players unable to claim chunks | Fix players unable to claim chunks
| Java | mit | cjburkey01/ClaimChunk,cjburkey01/ClaimChunk |
c2d301eb8632bcb1f9bfa770afa4466cf8104ee8 | src/main/java/de/syquel/bushytail/controller/IBushyTailController.java | src/main/java/de/syquel/bushytail/controller/IBushyTailController.java | /*
* Copyright 2016, Frederik Boster
*
* 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... | /*
* Copyright 2016, Frederik Boster
*
* 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... | Add documentation to controller methods. | Add documentation to controller methods.
| Java | apache-2.0 | Syquel/BushyTail |
ce99ac020a427862e5dfbb1d676d60db0a0c8056 | TCF/j2e/components/catalogue/src/test/java/fr/unice/polytech/isa/tcf/CatalogueTest.java | TCF/j2e/components/catalogue/src/test/java/fr/unice/polytech/isa/tcf/CatalogueTest.java | package fr.unice.polytech.isa.tcf;
import arquillian.AbstractTCFTest;
import fr.unice.polytech.isa.tcf.entities.Cookies;
import org.jboss.arquillian.junit.Arquillian;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.ejb.EJB;
import java.util.Set;
import static org.junit.Assert.*;
@RunWith(Arquil... | package fr.unice.polytech.isa.tcf;
import arquillian.AbstractTCFTest;
import fr.unice.polytech.isa.tcf.entities.Cookies;
import org.jboss.arquillian.junit.Arquillian;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.ejb.EJB;
import java.util.Set;
import static org.junit.Assert.*;
@RunWith(Arquil... | Add error in test catalogue | [Try] Add error in test catalogue
| Java | mit | Lydwen/Mr.Statacookie,Lydwen/Mr.Statacookie,Lydwen/Mr.Statacookie |
75a01e8536556ce2f1811aec1176d8601cb2ebf5 | app/src/main/java/es/craftsmanship/toledo/katangapp/activities/ShowStopsActivity.java | app/src/main/java/es/craftsmanship/toledo/katangapp/activities/ShowStopsActivity.java | package es.craftsmanship.toledo.katangapp.activities;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
/**
* @author Cristóbal Hermida
*/
public class ShowStopsActivity extends AppCompatActivity {
@Override
protected v... | package es.craftsmanship.toledo.katangapp.activities;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
/**
* @author Cristóbal Hermida
*/
public class ShowStopsActivity extends AppCompatActivity {
@Override
protected v... | Use the stops list in the toast result | Use the stops list in the toast result
| Java | apache-2.0 | craftsmanship-toledo/katangapp-android |
d3031bb27b235a13f988bad3a255e7f97dbea739 | core/ij-plugin-gui-swing/src/main/java/imagej/plugin/gui/swing/SwingInputHarvester.java | core/ij-plugin-gui-swing/src/main/java/imagej/plugin/gui/swing/SwingInputHarvester.java | package imagej.plugin.gui.swing;
import imagej.plugin.Plugin;
import imagej.plugin.PluginModule;
import imagej.plugin.gui.AbstractInputHarvester;
import imagej.plugin.gui.InputPanel;
import imagej.plugin.process.PluginPreprocessor;
import javax.swing.JDialog;
import javax.swing.JOptionPane;
import javax.swing.JPanel;... | package imagej.plugin.gui.swing;
import imagej.plugin.Plugin;
import imagej.plugin.PluginModule;
import imagej.plugin.gui.AbstractInputHarvester;
import imagej.plugin.gui.InputPanel;
import imagej.plugin.process.PluginPreprocessor;
import javax.swing.JDialog;
import javax.swing.JOptionPane;
import javax.swing.JPanel;... | Mark method arguments as final. | Mark method arguments as final.
This used to be revision r2235.
| Java | bsd-2-clause | TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej |
d935e504f34cac906f76acb00661d4e945113072 | test-parent/connector/src/main/java/com/speedment/test/connector/support/Dummies.java | test-parent/connector/src/main/java/com/speedment/test/connector/support/Dummies.java | /*
*
* Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | /*
*
* Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | Add name property to dummy dbms | Add name property to dummy dbms
| Java | apache-2.0 | speedment/speedment,speedment/speedment |
769844799ae0d6dbf47d6354a8485a73ba83e5a3 | config-proxy/src/test/java/com/yahoo/vespa/config/proxy/DelayedResponsesTest.java | config-proxy/src/test/java/com/yahoo/vespa/config/proxy/DelayedResponsesTest.java | // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.proxy;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
/**
* @author hmusum
* @since 5.1.9
*/
public class ... | // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.proxy;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
/**
* @author hmusum
* @since 5.1.9
*/
public class ... | Reduce unit test run time with ~10 seconds | Reduce unit test run time with ~10 seconds
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
fb0cbcdd2f5c23d4160d9bf049462be3c985f003 | container-core/src/main/java/com/yahoo/container/handler/LogReader.java | container-core/src/main/java/com/yahoo/container/handler/LogReader.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.handler;
import org.json.JSONException;
import org.json.JSONObject;
import javax.xml.bind.DatatypeConverter;
import java.io.File;
import java.io.IOException;
import java.n... | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.handler;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Base64;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
i... | Convert to base 64 using standard library | Convert to base 64 using standard library
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
a48f5310572186d8286bc954bcd4672b7ed08605 | java/com/google/copybara/NotADestinationFileException.java | java/com/google/copybara/NotADestinationFileException.java | /*
* Copyright (C) 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright (C) 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Use ValidationException for destination_files error | Use ValidationException for destination_files error
Throw VE when an unexpected file appears in the destination that is
not matched by the destination_files glob.
This is always a user error so we shouldn't use RepoException for
this.
Change-Id: I7d233a2729d91be92984f9904c8e07b57331d8c8
| Java | apache-2.0 | google/copybara,google/copybara,google/copybara |
3023c01a0d6243e2dc1cbfb1469a5e55ce5a9fc5 | ResultsWizard2/src/mathsquared/resultswizard2/EventResultsEditorDialog.java | ResultsWizard2/src/mathsquared/resultswizard2/EventResultsEditorDialog.java | package mathsquared.resultswizard2;
import javax.swing.JDialog;
/**
* Runs the GUI by which an event administrator can input or edit {@link EventResults}.
*
* @author MathSquared
*
*/
public class EventResultsEditorDialog extends JDialog {
/**
* Create the dialog.
*/
public EventResultsEdito... | package mathsquared.resultswizard2;
import javax.swing.JDialog;
/**
* Runs the GUI by which an event administrator can input or edit {@link EventResults}.
*
* @author MathSquared
*
*/
public class EventResultsEditorDialog extends JDialog {
/**
* Create the dialog.
*/
public EventResultsEdito... | Add a title to ERED | Add a title to ERED | Java | mit | MathSquared/ResultsWizard2 |
1b22f9abef615c1078af3880f46e30a4512200cc | ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/OntologyRestProperties.java | ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/OntologyRestProperties.java | package uk.ac.ebi.quickgo.ontology;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.time.Duration;
import java.time.LocalTime;
/**
* Holds values related to the operation of the Ontology REST service.
* <p>
* Created by Tony ... | package uk.ac.ebi.quickgo.ontology;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.time.Duration;
import java.time.LocalTime;
/**
* Holds values related to the operation of the Ontology REST service.
* <p>
* Created by Tony ... | Add defaults for cache control start and end times. | Add defaults for cache control start and end times.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
b83b1f3f855ae9b27c0cb08bc3d770d276327547 | src/org/exist/storage/serializers/EXistOutputKeys.java | src/org/exist/storage/serializers/EXistOutputKeys.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-03 Wolfgang M. Meier
* wolfgang@exist-db.org
* http://exist.sourceforge.net
*
* This program 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 S... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-03 Wolfgang M. Meier
* wolfgang@exist-db.org
* http://exist.sourceforge.net
*
* This program 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 S... | Add more ExistOutputKeys (stylesheet and stylesheetparam) | Add more ExistOutputKeys (stylesheet and stylesheetparam)
svn path=/trunk/eXist-1.0/; revision=146
| Java | lgpl-2.1 | jensopetersen/exist,MjAbuz/exist,wolfgangmm/exist,dizzzz/exist,ambs/exist,wolfgangmm/exist,RemiKoutcherawy/exist,ljo/exist,joewiz/exist,jensopetersen/exist,dizzzz/exist,wshager/exist,wshager/exist,windauer/exist,windauer/exist,ljo/exist,patczar/exist,jensopetersen/exist,ambs/exist,kohsah/exist,hungerburg/exist,eXist-db... |
16ec04814733c1344a3a7dff13cb77539d90c866 | projects/OG-LiveData/src/main/java/com/opengamma/livedata/normalization/UnitChange.java | projects/OG-LiveData/src/main/java/com/opengamma/livedata/normalization/UnitChange.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.livedata.normalization;
import org.fudgemsg.MutableFudgeMsg;
import com.opengamma.livedata.server.FieldHistoryStore;
import com.opengamma.util.ArgumentChecker... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.livedata.normalization;
import java.util.Set;
import org.fudgemsg.MutableFudgeMsg;
import com.google.common.collect.ImmutableSet;
import com.opengamma.liveda... | Support adjustment of multiple fields | [PLAT-4419] Support adjustment of multiple fields
| Java | apache-2.0 | codeaudit/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-P... |
be9ab4b8970754ad272f491dfdc7f090f6dc97c8 | atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/ServiceExposureEteTest.java | atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/ServiceExposureEteTest.java | /*
* Copyright 2017 Palantir Technologies, Inc. All rights reserved.
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicab... | /*
* Copyright 2017 Palantir Technologies, Inc. All rights reserved.
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicab... | Check that cassandra nodes expose TMS | Check that cassandra nodes expose TMS
| Java | apache-2.0 | EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb |
18895d0df9bef164e4f8044773d74cf745ea9ebc | resource-server/src/main/java/org/openmhealth/dsu/repository/DataPointRepository.java | resource-server/src/main/java/org/openmhealth/dsu/repository/DataPointRepository.java | /*
* Copyright 2014 Open mHealth
*
* 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... | /*
* Copyright 2014 Open mHealth
*
* 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... | Add exists method to data point repository. | Add exists method to data point repository.
| Java | apache-2.0 | smalldatalab/omh-dsu,smalldatalab/omh-dsu,openmhealth/omh-dsu-ri,smalldatalab/omh-dsu,smalldatalab/omh-dsu,openmhealth/omh-dsu-ri |
de4487687b83250fedfdcf31ac238c2fe905265a | src/main/java/net/glowstone/entity/monster/GlowMonster.java | src/main/java/net/glowstone/entity/monster/GlowMonster.java | package net.glowstone.entity.monster;
import net.glowstone.entity.GlowCreature;
import org.bukkit.Location;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Monster;
public class GlowMonster extends GlowCreature implements Monster {
/**
* Creates a new non-passive mob.
*
* @param loc ... | package net.glowstone.entity.monster;
import net.glowstone.entity.GlowCreature;
import org.bukkit.Location;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Monster;
public class GlowMonster extends GlowCreature implements Monster {
/**
* The range in blocks outside of which the hostile mob will... | Add immediate despawning for out-of-range hostile mobs | Add immediate despawning for out-of-range hostile mobs
| Java | mit | GlowstoneMC/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus |
5fe77f1d17ee01ff11b4e9729b5f37777d072b7f | org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/SideBySideService.java | org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/SideBySideService.java | package org.strategoxt.imp.runtime.services;
import org.stratego.imp.runtime.services.sidebyside.latest.LatestSidePaneEditorHelper;
import org.stratego.imp.runtime.services.sidebyside.legacy.LegacySidePaneEditorHelper;
import org.stratego.imp.runtime.services.sidebyside.main.SidePaneEditorHelper;
import org.strategoxt... | package org.strategoxt.imp.runtime.services;
import org.stratego.imp.runtime.services.sidebyside.latest.LatestSidePaneEditorHelper;
import org.stratego.imp.runtime.services.sidebyside.main.SidePaneEditorHelper;
public class SideBySideService {
private static SidePaneEditorHelper helper;
public static SidePaneE... | Remove reference to legacy sidebyside project. | Remove reference to legacy sidebyside project.
| Java | apache-2.0 | metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax-eclipse,metaborg/spoofax |
3a47e3ffa11b75fd676c2e74add761bf36da6b01 | guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/package-info.java | guacamole-ext/src/main/java/net/sourceforge/guacamole/net/event/listener/package-info.java |
/**
* Provides classes for hooking into various events that take place as
* users log into and use the Guacamole web application. These event
* hooks can be used to take action upon occurence of an event and,
* in some cases, prevent the web application from allowing the
* event to continue for the user that trig... |
/**
* Provides classes for hooking into various events that take place as
* users log into and use the Guacamole web application. These event
* hooks can be used to take action upon occurrence of an event and,
* in some cases, prevent the web application from allowing the
* event to continue for the user that tri... | Fix wrong package and typo. | Fix wrong package and typo. | Java | apache-2.0 | lato333/guacamole-client,MaxSmile/guacamole-client,mike-jumper/incubator-guacamole-client,Akheon23/guacamole-client,jmuehlner/incubator-guacamole-client,MaxSmile/guacamole-client,glyptodon/guacamole-client,hguehl/incubator-guacamole-client,Akheon23/guacamole-client,necouchman/incubator-guacamole-client,DaanWillemsen/gu... |
fbbefe48700508f69f8875ea08d27730521b8c07 | src/main/java/valandur/webapi/cache/CachedCommand.java | src/main/java/valandur/webapi/cache/CachedCommand.java | package valandur.webapi.cache;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.spongepowered.api.command.CommandMapping;
import valandur.webapi.misc.WebAPICommandSource;
import java.util.Optional;
public class CachedCommand extends CachedObject {
@JsonProperty
public String name;
@Json... | package valandur.webapi.cache;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.spongepowered.api.command.CommandMapping;
import org.spongepowered.api.text.Text;
import valandur.webapi.misc.WebAPICommandSource;
import java.util.Optional;
public class CachedCommand extends CachedObject {
@JsonPro... | Fix commands without descriptions causing crash on plugin load | fix(cmds): Fix commands without descriptions causing crash on plugin load
| Java | mit | Valandur/Web-API,Valandur/Web-API,Valandur/Web-API |
70b87b67d18fe608323476e24d2ee911f7658312 | buildSrc/src/main/groovy/org/gradle/testing/IntegrationTest.java | buildSrc/src/main/groovy/org/gradle/testing/IntegrationTest.java | /*
* Copyright 2016 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 applica... | /*
* Copyright 2016 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 applica... | Disable caching for integration tests temporarily | Disable caching for integration tests temporarily
+review REVIEW-6251
| Java | apache-2.0 | robinverduijn/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gs... |
71e0674d809e031c162eeb2c65f41e15e1a21c69 | osgi.enroute.trains.api/src/osgi/enroute/trains/controller/api/SignalSegmentController.java | osgi.enroute.trains.api/src/osgi/enroute/trains/controller/api/SignalSegmentController.java | package osgi.enroute.trains.controller.api;
import osgi.enroute.trains.cloud.api.Color;
/**
* This controller controls a SIGNAL Segment
*/
public interface SignalSegmentController extends SegmentController {
/**
* Set the signal to the given color
* @param color
*/
void signal(Color color);
}
| package osgi.enroute.trains.controller.api;
import osgi.enroute.trains.cloud.api.Color;
/**
* This controller controls a SIGNAL Segment
*/
public interface SignalSegmentController extends SegmentController {
/**
* Set the signal to the given color
* @param color
*/
void signal(Color color);
Color getSign... | Add a get method to fetch the current Signal color | Add a get method to fetch the current Signal color
| Java | apache-2.0 | tverbele/osgi.enroute.examples,osgi/osgi.enroute.examples,tverbele/osgi.enroute.examples,osgi/osgi.enroute.examples,osgi/osgi.enroute.examples,tverbele/osgi.enroute.examples |
b9c820ee2bd520308ae24cd4b7a19af11545cb05 | src/main/java/com/elmakers/mine/bukkit/warp/EssentialsWarps.java | src/main/java/com/elmakers/mine/bukkit/warp/EssentialsWarps.java | package com.elmakers.mine.bukkit.warp;
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.Warps;
import org.bukkit.Location;
import org.bukkit.plugin.Plugin;
/**
* Encapsulates Essentials warps
*/
public class EssentialsWarps {
private final Warps warps;
private EssentialsWarps(Warps... | package com.elmakers.mine.bukkit.warp;
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.Warps;
import org.bukkit.Location;
import org.bukkit.plugin.Plugin;
/**
* Encapsulates Essentials warps
*/
public class EssentialsWarps {
private final Warps warps;
private EssentialsWarps(Warps... | Remove stack trace from missing Essentials warp | Remove stack trace from missing Essentials warp
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
c12e99aef744bffd573742fdef60461eed661c01 | src/com/gh4a/EventReceiver.java | src/com/gh4a/EventReceiver.java | /*
* Copyright 2014 Danny Baumann
*
* 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... | /*
* Copyright 2014 Danny Baumann
*
* 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... | Fix API usage for API level 10. | Fix API usage for API level 10.
| Java | apache-2.0 | slapperwan/gh4a,edyesed/gh4a,shekibobo/gh4a,sauloaguiar/gh4a,sauloaguiar/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,AKiniyalocts/gh4a,slapperwan/gh4a,Bloody-Badboy/gh4a,shineM/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,shineM/gh4a,AKiniyalocts/gh4a,edyesed/gh4a,shekibobo/gh4a,Bloody-Badboy/g... |
89b13f1cbdac09c339877aa11529274ea67231cb | src/edu/stuy/commands/auton/AutonLiftUpCommand.java | src/edu/stuy/commands/auton/AutonLiftUpCommand.java | package edu.stuy.commands.auton;
import edu.stuy.Robot;
import edu.wpi.first.wpilibj.command.Command;
/**
*
*/
public class AutonLiftUpCommand extends Command {
public AutonLiftUpCommand() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
requires(Robo... | package edu.stuy.commands.auton;
import edu.stuy.Robot;
import edu.wpi.first.wpilibj.command.Command;
/**
*
*/
public class AutonLiftUpCommand extends Command {
public AutonLiftUpCommand() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
requires(Robo... | Add explicit stop to end of lift command | Add explicit stop to end of lift command
| Java | bsd-3-clause | Team694/PEGasus1,Team694/PEGasus1 |
fd4f7154130ed8bb66d4209366825ebf2d32b62f | base/src/main/java/uk/ac/ebi/atlas/bioentity/properties/PropertyLink.java | base/src/main/java/uk/ac/ebi/atlas/bioentity/properties/PropertyLink.java | package uk.ac.ebi.atlas.bioentity.properties;
import com.google.gson.JsonObject;
// Used in bioentity-information.jsp
public class PropertyLink {
private String text;
private String url;
private int relevance;
PropertyLink(String text, String url, int relevance) {
this.text = text;
t... | package uk.ac.ebi.atlas.bioentity.properties;
import com.google.gson.JsonObject;
public class PropertyLink {
private String text;
private String url;
private int relevance;
PropertyLink(String text, String url, int relevance) {
this.text = text;
this.url = url;
this.relevance... | Remove comment, it’s a lie | Remove comment, it’s a lie
| Java | apache-2.0 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas |
38d767d8c68017be659a995b33b3ee51830acb17 | src/com/nigorojr/typebest/Line.java | src/com/nigorojr/typebest/Line.java | package com.nigorojr.typebest;
import java.util.ArrayList;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class Line extends JPanel {
private ArrayList<Word> line = new ArrayList<Word>();
private final JLabel space = new JLabel(" ");
/**
* Returns the total width of the words in the l... | package com.nigorojr.typebest;
import java.util.ArrayList;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class Line extends JPanel {
private ArrayList<Word> words = new ArrayList<Word>();
private final JLabel space = new JLabel(" ");
/**
* Returns the total width of the words in the ... | Rename variable "line" to "words" | Rename variable "line" to "words"
Due to the fact that variable name "letters" is used instead of "word" in the
Word class, the variable name in the Line class is also changed for
consistency.
| Java | mit | NigoroJr/typebest |
cbd6fa06d9bd087b5970da4ce889e1033c7392ee | src/main/java/org/javarosa/xpath/expr/XPathSumFunc.java | src/main/java/org/javarosa/xpath/expr/XPathSumFunc.java | package org.javarosa.xpath.expr;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.model.instance.DataInstance;
import org.javarosa.xpath.XPathNodeset;
import org.javarosa.xpath.XPathTypeMismatchException;
import org.javarosa.xpath.parser.XPathSyntaxException;
public class XPathSumF... | package org.javarosa.xpath.expr;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.model.instance.DataInstance;
import org.javarosa.xpath.XPathNodeset;
import org.javarosa.xpath.XPathTypeMismatchException;
import org.javarosa.xpath.parser.XPathSyntaxException;
public class XPathSumF... | Update sum error text to be more descriptive | Update sum error text to be more descriptive | Java | apache-2.0 | dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare-core,dimagi/commcare,dimagi/commcare |
2e4582c80fa88929970171706e37d9861236570b | codemodel-visualization/src/test/java/hu/bme/mit/codemodel/rifle/visualization/TestCase.java | codemodel-visualization/src/test/java/hu/bme/mit/codemodel/rifle/visualization/TestCase.java | package hu.bme.mit.codemodel.rifle.visualization;
import java.io.File;
public abstract class TestCase {
protected static final String branchId = "dummyTestExport";
protected static final String sessionId = "dummyTestExport";
protected String testFolderPrefix = "";
protected String getTestResourcesFol... | package hu.bme.mit.codemodel.rifle.visualization;
import java.io.File;
public abstract class TestCase {
protected static final String branchId = "dummyTestExport";
protected static final String sessionId = "dummyTestExport";
protected String testFolderPrefix = "";
protected String getTestResourcesFol... | Test folder prefix separator should only be added to the path if prefix is not empty | Test folder prefix separator should only be added to the path if prefix is not empty
| Java | epl-1.0 | FTSRG/codemodel-rifle,FTSRG/codemodel-rifle,FTSRG/codemodel-rifle |
a9e2f1e1d54b7a7675b2e405d0ace527ae145376 | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import com.yahoo.vespa.flags.FlagSource;
import java.time.Dura... | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import com.yahoo.vespa.flags.FlagSource;
import java.time.Dura... | Remove log message already produced in superclass | Remove log message already produced in superclass
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
af796cf20532b517b9232d862b0f3d6444f162dc | demo-jda/src/main/java/com/sedmelluq/discord/lavaplayer/demo/jda/AudioPlayerSendHandler.java | demo-jda/src/main/java/com/sedmelluq/discord/lavaplayer/demo/jda/AudioPlayerSendHandler.java | package com.sedmelluq.discord.lavaplayer.demo.jda;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.playback.AudioFrame;
import net.dv8tion.jda.audio.AudioSendHandler;
/**
* This is a wrapper around AudioPlayer which makes it behave as an AudioSendHandler for ... | package com.sedmelluq.discord.lavaplayer.demo.jda;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.playback.AudioFrame;
import net.dv8tion.jda.audio.AudioSendHandler;
/**
* This is a wrapper around AudioPlayer which makes it behave as an AudioSendHandler for ... | Make it safe to call canProvide multiple times (or not at all). | Make it safe to call canProvide multiple times (or not at all).
| Java | apache-2.0 | sedmelluq/lavaplayer,sedmelluq/lavaplayer |
62b6c26e44205e58c5d80a4db3bca9aec136c5ca | src/test/java/org/narwhal/core/MyFirstTest.java | src/test/java/org/narwhal/core/MyFirstTest.java | package org.narwhal.core;
/**
* Date: 28.02.13
* Time: 20:28
* Author: Miron Aseev
*/
public class MyFirstTest {
}
| package org.narwhal.core;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
/**
* Date: 28.02.13
* Time: 20:28
* Author: Miron Aseev
*/
@RunWith(JUnit4.class)
public class MyFirstTest {
@Test
public void myFirstTestMethod() {
}
@Test
public void mySeco... | Test stub has been implemented | Test stub has been implemented
| Java | mit | maseev/narwhal |
4e451eec7cb5ef5c129dd0d460d1693971d95589 | persistence-couchbase/src/main/java/org/gluu/persist/couchbase/model/ConvertedExpression.java | persistence-couchbase/src/main/java/org/gluu/persist/couchbase/model/ConvertedExpression.java | package org.gluu.persist.couchbase.model;
import com.couchbase.client.java.query.dsl.Expression;
/**
* Filter to Expression convertation result
*
* @author Yuriy Movchan Date: 06/21/2019
*/
public class ConvertedExpression {
private Expression expression;
private boolean consistency;
private ConvertedExpres... | package org.gluu.persist.couchbase.model;
import com.couchbase.client.java.query.dsl.Expression;
/**
* Filter to Expression convertation result
*
* @author Yuriy Movchan Date: 06/21/2019
*/
public class ConvertedExpression {
private Expression expression;
private boolean consistency;
private ConvertedExpres... | Add to string to show real expression | Add to string to show real expression | Java | mit | GluuFederation/oxCore |
edd84bd9975b9f42752dd7d3c44822e9b3ac9fd9 | software/bulkoperator/src/main/java/edu/wustl/bulkoperator/processor/CustomDateConverter.java | software/bulkoperator/src/main/java/edu/wustl/bulkoperator/processor/CustomDateConverter.java | package edu.wustl.bulkoperator.processor;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.beanutils.Converter;
import edu.wustl.bulkoperator.metadata.DateValue;
import edu.wustl.common.util.global.ApplicationProperties;
import edu.wustl.common.util.l... | package edu.wustl.bulkoperator.processor;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.beanutils.Converter;
import edu.wustl.bulkoperator.metadata.DateValue;
import edu.wustl.common.util.global.ApplicationProperties;
import edu.wustl.common.util.l... | Fix for default date format issue. | Fix for default date format issue.
SVN-Revision: 402
| Java | bsd-3-clause | NCIP/catissue-migration-tool,NCIP/catissue-migration-tool |
3e7cd7a869715c8f538c714030064256e09da41b | SubLibrary/src/main/java/org/lodder/subtools/sublibrary/exception/ReleaseControlException.java | SubLibrary/src/main/java/org/lodder/subtools/sublibrary/exception/ReleaseControlException.java | package org.lodder.subtools.sublibrary.exception;
import org.lodder.subtools.sublibrary.logging.Logger;
import org.lodder.subtools.sublibrary.model.Release;
public class ReleaseControlException extends Exception {
public ReleaseControlException(String string, Release release) {
super(string + ": " + rele... | package org.lodder.subtools.sublibrary.exception;
import org.lodder.subtools.sublibrary.model.Release;
public class ReleaseControlException extends Exception {
public ReleaseControlException(String string, Release release) {
super(string + ": " + release.toString());
}
/**
*
*/
pri... | Remove trace logging from ReleaseControlExeption What the point of logging in a Exception class? | Remove trace logging from ReleaseControlExeption
What the point of logging in a Exception class? | Java | mit | phdelodder/SubTools |
1aaecfc13a4fbb9e7a09b2686badc9ccaacca02f | src/com/sb/util/MathUtil.java | src/com/sb/util/MathUtil.java | package com.sb.util;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
/**
*
*/
public final class MathUtil
{
private static MathContext context = MathContext.DECIMAL32;
public static BigDecimal divide(BigDecimal numerator, BigDecimal denominator)
{
... | package com.sb.util;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
/**
*
*/
public final class MathUtil
{
private static MathContext context = MathContext.DECIMAL32;
public static BigDecimal divide(BigDecimal numerator, BigDecimal denominator)
{
... | Add helpers that allow divisions and multiplication with doubles | Add helpers that allow divisions and multiplication with doubles
| Java | mit | dbayub/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,dbayub/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,dbayub/SB_Elsinore_Server,dbayub/SB_Elsinore_Server |
f2cd0403a41b9415736457d19cfb64ee0388a074 | app/src/main/java/com/liuhc/tools/demo/MainActivity.java | app/src/main/java/com/liuhc/tools/demo/MainActivity.java | package com.liuhc.tools.demo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.liuhc.tools.DateFormatHelper;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.o... | package com.liuhc.tools.demo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.liuhc.tools.DateFormatHelper;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.o... | Test File Commit And Reset | Test File Commit And Reset
| Java | apache-2.0 | weixidream/LibraryMaster |
0220324d1e8d259f873a910045f96283dc75d51d | src/main/java/com/smcpartners/shape/usecases/inactivate_provider/InactivateProviderService.java | src/main/java/com/smcpartners/shape/usecases/inactivate_provider/InactivateProviderService.java | package com.smcpartners.shape.usecases.inactivate_provider;
import com.smcpartners.shape.shared.dto.common.BooleanValueDTO;
import com.smcpartners.shape.shared.dto.shape.request.IntEntityIdRequestDTO;
import com.smcpartners.shape.shared.usecasecommon.UseCaseException;
import javax.ws.rs.Consumes;
import javax.ws.rs.P... | package com.smcpartners.shape.usecases.inactivate_provider;
import com.smcpartners.shape.shared.dto.common.BooleanValueDTO;
import com.smcpartners.shape.shared.dto.shape.request.IntEntityIdRequestDTO;
import com.smcpartners.shape.shared.usecasecommon.UseCaseException;
import javax.ws.rs.Consumes;
import javax.ws.rs.P... | Change typo in inactivate provider service | Change typo in inactivate provider service
| Java | mit | SMCPartners/shape-server |
80e82f8d0d733bb176ac167edc7df71851f8e2d8 | tempto-core/src/main/java/com/teradata/tempto/internal/fulfillment/table/TableNameGenerator.java | tempto-core/src/main/java/com/teradata/tempto/internal/fulfillment/table/TableNameGenerator.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Make mutable table suffix shorter | Make mutable table suffix shorter
Pull request: https://github.com/prestodb/tempto/pull/214
| Java | apache-2.0 | prestodb/tempto,prestodb/tempto |
a694877701e046155be48ef4857ac996a301833e | src/test/resources/type_error/ArrayAccessExpression.java | src/test/resources/type_error/ArrayAccessExpression.java | class ArrayAccessExpressionTest {
public static void main(String[] args) {
int i;
int[] ia;
long l;
long[] la;
boolean b;
A cA;
B cB;
i = ia[ia]; // INVALID_INDEX_TYPE
i = ia[l]; // INVALID_INDEX_TYPE
i = ia[la]; // INVALID_INDEX_TYPE... | class ArrayAccessExpressionTest {
public static void main(String[] args) {
int i;
int[] ia;
long l;
long[] la;
boolean b;
A cA;
B cB;
//i = ia[i];// OK!
i = ia[ia]; // INVALID_INDEX_TYPE
i = ia[l]; // INVALID_INDEX_TYPE
i = ia... | Add comment about allowed accesses. | Add comment about allowed accesses.
| Java | mit | liuxinglanyue/mjc,liuxinglanyue/mjc,estan/mjc,estan/mjc,liuxinglanyue/mjc,estan/mjc |
b5d7d704e278e21a475c533a2d14e5e96dec1e20 | Visualiser/src/Controller.java | Visualiser/src/Controller.java | import com.mysql.jdbc.Connection;
import db.DBConnector;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Created by shimin on 9/24/2014.
*/
public class Controller extends DBConnector {
private double temperature = 0.0;
private int lighting;
private int pressure;
private int humidity... |
/**
* Created by shimin on 9/24/2014.
*/
public class Controller {
}
| Move responsibility of SQL queries DBManager (different branch) | Move responsibility of SQL queries DBManager (different branch)
| Java | apache-2.0 | altran/kpro2014,altran/kpro2014 |
4cc213d6a2281cdb27aa4ca48b36af8a1724c60a | src/main/java/org/puller/Dates.java | src/main/java/org/puller/Dates.java | package org.puller;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.temporal.TemporalAdjuster;
import java.time.temporal.TemporalAdjusters;
import java.util.ArrayList;
import java.util.List;
public class Dates {
public static List<LocalDate> getWednesdays(final LocalDate from, final Local... | package org.puller;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.Period;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class Dates {
public static List<LocalDate> getWednesdays(final LocalDate from, final LocalDate to) {
final... | Use stream to generate wednesdays | Use stream to generate wednesdays
| Java | bsd-2-clause | joow/Puller |
e1b3293d1dc390f37f4a41ecfe1deac5c5c0d8cf | xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/service/KucoinTradeHistoryParams.java | xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/service/KucoinTradeHistoryParams.java | package org.knowm.xchange.kucoin.service;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamCurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamPaging;
public class KucoinTradeHistoryParams implements TradeHistoryParamCurrencyPair, ... | package org.knowm.xchange.kucoin.service;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamCurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamPaging;
import org.knowm.xchange.service.trade.params.TradeHistoryParamsTimeSpan;
import... | Allow to specify (optional) timespan on trade history params. | [kucoin] Allow to specify (optional) timespan on trade history params.
| Java | mit | LeonidShamis/XChange,chrisrico/XChange,npomfret/XChange,nopy/XChange,Panchen/XChange,timmolter/XChange,stachon/XChange,ww3456/XChange,andre77/XChange,TSavo/XChange,douggie/XChange |
7beda046338c75516bad9662d4f853f86ba2f6c1 | core/src/main/java/de/gurkenlabs/litiengine/graphics/emitters/particles/PolygonParticle.java | core/src/main/java/de/gurkenlabs/litiengine/graphics/emitters/particles/PolygonParticle.java | package de.gurkenlabs.litiengine.graphics.emitters.particles;
import java.awt.Polygon;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
public class PolygonParticle extends ShapeParticle {
private int sides;
public PolygonParticle(float width, float height, int sides) {
... | package de.gurkenlabs.litiengine.graphics.emitters.particles;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.Path2D;
import java.awt.geom.Point2D;
public class PolygonParticle extends ShapeParticle {
private int sides;
public PolygonParticle(float width, float height, int sides... | Fix polygon particle rounding errors | Fix polygon particle rounding errors
Fixes #418
| Java | mit | gurkenlabs/litiengine,gurkenlabs/litiengine |
11b4d3e82f6d9f08b89d098eee3e94bfba10873e | envs/karaf/examples/ContextNameAndHelloBean/src/main/java/org/apache/camel/cdi/example1/BootStrap.java | envs/karaf/examples/ContextNameAndHelloBean/src/main/java/org/apache/camel/cdi/example1/BootStrap.java | /**
* Copyright (C) 2014 Antonin Stefanutti (antonin.stefanutti@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | /**
* Copyright (C) 2014 Antonin Stefanutti (antonin.stefanutti@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Use standard CDI lifecycle event | Use standard CDI lifecycle event
| Java | apache-2.0 | astefanutti/camel-cdi,garyhodgson/camel-cdi |
1f4a7d1be2a8f9a8d68445cda63874f44d3b16ae | spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AnnotatedFooView.java | spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AnnotatedFooView.java | package org.vaadin.spring.mvp.autowired;
import org.vaadin.spring.UIScope;
import org.vaadin.spring.annotation.VaadinComponent;
import org.vaadin.spring.mvp.FooView;
@UIScope
@VaadinComponent
public class AnnotatedFooView extends FooView {
private static final long serialVersionUID = -4497836114697117034L;
}
| package org.vaadin.spring.mvp.autowired;
import org.vaadin.spring.annotation.VaadinComponent;
import org.vaadin.spring.annotation.VaadinUIScope;
import org.vaadin.spring.mvp.FooView;
@VaadinUIScope
@VaadinComponent
public class AnnotatedFooView extends FooView {
private static final long serialVersionUID = -4497... | Test Class Update: Changed UIScope => VaadinUIScope | Test Class Update: Changed UIScope => VaadinUIScope
| Java | apache-2.0 | peholmst/vaadin4spring,GJRTimmer/vaadin4spring,fastnsilver/vaadin4spring,mengqinzhanji/vaadin4spring,zkendall/vaadin4spring |
127658209d4e4625f1264396e62bf6e3a1d8f48d | src/main/java/ca/corefacility/bioinformatics/irida/web/config/IridaRestApiSecurityConfig.java | src/main/java/ca/corefacility/bioinformatics/irida/web/config/IridaRestApiSecurityConfig.java | package ca.corefacility.bioinformatics.irida.web.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.security.authentication.AuthenticationManager;
import org... | package ca.corefacility.bioinformatics.irida.web.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.security.authentication.AuthenticationManager;
import org... | Enable method-level security by annotating the configuration class in *this* project. Works (for now), but not an ideal solution. | Enable method-level security by annotating the configuration class in *this* project. Works (for now), but not an ideal solution.
| Java | apache-2.0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida |
3686a09afadfca858f59234ec220bb4d81c8099e | src/gov/nih/nci/camod/service/CurationManager.java | src/gov/nih/nci/camod/service/CurationManager.java | /**
* Copyright (c) 2001, SAIC, its vendors, and suppliers. ALL RIGHTS RESERVED.
*
* @author: Johnita Beasley
* @date: July 20, 2005
*
* Revision History
* ----------------
*
* 2005 July 21 Johnita Beasley Created and successfully compiled.
* 2005 August 18 Sumeet Rajput Integrated with caMOD code... | /**
* Copyright (c) 2001, SAIC, its vendors, and suppliers. ALL RIGHTS RESERVED.
*
* @author: Johnita Beasley
* @date: July 20, 2005
*
* Revision History
* ----------------
*
* 2005 July 21 Johnita Beasley Created and successfully compiled.
* 2005 August 18 Sumeet Rajput Integrated with caMOD code... | Change to process flow for curation model | Change to process flow for curation model
SVN-Revision: 271
| Java | bsd-3-clause | NCIP/camod,NCIP/camod,NCIP/camod,NCIP/camod |
9375216f698d35aa2afbad5cd0ab10bfb82a8d1c | org.spoofax.jsglr2.integration/src/main/java/org/spoofax/jsglr2/testset/TestSetIncrementalInput.java | org.spoofax.jsglr2.integration/src/main/java/org/spoofax/jsglr2/testset/TestSetIncrementalInput.java | package org.spoofax.jsglr2.testset;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.spoofax.jsglr2.testset.testinput.IncrementalStringInput;
public class TestSetIncrementalInput extends TestSetInput<String[], IncrementalStringInput> {
// Di... | package org.spoofax.jsglr2.testset;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.spoofax.jsglr2.testset.testinput.IncrementalStringInput;
public class TestSetIncrementalInput extends TestSetInput<String[], IncrementalStri... | Fix duplicate trailing directory separator | Fix duplicate trailing directory separator
| Java | apache-2.0 | metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr |
a6fe62a08ec01219eace1466a844adc06aa4af93 | extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/PrometheusConfigGroup.java | extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/PrometheusConfigGroup.java | package io.quarkus.micrometer.runtime.config;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class PrometheusConfigGroup implements MicrometerConfig.CapabilityEnabled {
/**
* Support for export to Prometheus... | package io.quarkus.micrometer.runtime.config;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class PrometheusConfigGroup implements MicrometerConfig.CapabilityEnabled {
/**
* Support for export to Prometheus... | Update docs for prometheus path config | Update docs for prometheus path config
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
50faa6a2d7b2b457d21806975243fd53816b2fe3 | src/java/com/hypirion/beckon/SignalRegistererHelper.java | src/java/com/hypirion/beckon/SignalRegistererHelper.java | package com.hypirion.beckon;
import sun.misc.Signal;
import sun.misc.SignalHandler;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
public class SignalRegistererHelper {
private static Map<String, SignalHandler> originalHandlers =
new HashMap<String, SignalHandler>();
/**
... | package com.hypirion.beckon;
import sun.misc.Signal;
import sun.misc.SignalHandler;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
public class SignalRegistererHelper {
/**
* A mapping of the signal name to the original signal handler.
*/
private final static Map<String, Si... | Document and synchronize register method. | Document and synchronize register method.
| Java | epl-1.0 | hyPiRion/beckon |
cb33141dc6882d032a3edb51d6bf03d26a396db1 | src/main/java/com/worldcretornica/plotme_abstractgenerator/bukkit/BukkitBlockRepresentation.java | src/main/java/com/worldcretornica/plotme_abstractgenerator/bukkit/BukkitBlockRepresentation.java | package com.worldcretornica.plotme_abstractgenerator.bukkit;
public class BukkitBlockRepresentation {
private final short id;
private final byte data;
public BukkitBlockRepresentation(short id, byte value) {
this.id = id;
this.data = value;
}
public BukkitBlockRepresentation(Stri... | package com.worldcretornica.plotme_abstractgenerator.bukkit;
public class BukkitBlockRepresentation {
private final short id;
private final byte data;
public BukkitBlockRepresentation(short id, byte value) {
this.id = id;
this.data = value;
}
public BukkitBlockRepresentation(Stri... | Use short instead of bytes for block id | Use short instead of bytes for block id
| Java | mit | WorldCretornica/PlotMe-AbstractGenerator |
f947207a238bdc3bf10c94d7354df07288753b72 | src/reports/org/apache/jmeter/testelement/Table.java | src/reports/org/apache/jmeter/testelement/Table.java | //$Header$
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | //$Header$
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Return empty array rather than null | Return empty array rather than null
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-1@330255 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: f33744d43f181e5c7fa384c4a2fbafeb8deb198e | Java | apache-2.0 | etnetera/jmeter,etnetera/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,benbenw/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter |
c028490252290a2d4ca89eb646a8347d5e6077de | src/org/yeastrc/xlink/base/config_system_table_common_access/ConfigSystemsKeysSharedConstants.java | src/org/yeastrc/xlink/base/config_system_table_common_access/ConfigSystemsKeysSharedConstants.java | package org.yeastrc.xlink.base.config_system_table_common_access;
import java.util.HashSet;
import java.util.Set;
public class ConfigSystemsKeysSharedConstants {
////// Any plain text inputs need to be added to textConfigKeys in the "static {}" at the bottom
//// Proxl XML File Import Set Up keys
public... | package org.yeastrc.xlink.base.config_system_table_common_access;
import java.util.HashSet;
import java.util.Set;
public class ConfigSystemsKeysSharedConstants {
////// Any plain text inputs need to be added to textConfigKeys in the "static {}" at the bottom
//// Proxl XML File Import Set Up keys
public... | Add Constant for config: SCAN_FILE_IMPORT_ALLOWED_VIA_WEB_SUBMIT_KEY | Add Constant for config: SCAN_FILE_IMPORT_ALLOWED_VIA_WEB_SUBMIT_KEY | Java | apache-2.0 | yeastrc/proxl-web-app,yeastrc/proxl-web-app,yeastrc/proxl-web-app |
9061ffa1511d48b91fa244e9e1c5641385d3d0b0 | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/search/AnnotationSolrQueryConverter.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/search/AnnotationSolrQueryConverter.java | package uk.ac.ebi.quickgo.annotation.search;
import uk.ac.ebi.quickgo.rest.search.query.FieldQuery;
import uk.ac.ebi.quickgo.rest.search.query.QueryRequest;
import uk.ac.ebi.quickgo.rest.search.query.SolrQueryConverter;
import org.apache.solr.client.solrj.SolrQuery;
/**
* @author Tony Wardell
* Date: 28/04/2016
*... | package uk.ac.ebi.quickgo.annotation.search;
import uk.ac.ebi.quickgo.rest.search.query.FieldQuery;
import uk.ac.ebi.quickgo.rest.search.query.QueryRequest;
import uk.ac.ebi.quickgo.rest.search.query.SolrQueryConverter;
import org.apache.solr.client.solrj.SolrQuery;
/**
*
* Specialized SolrQueryConverter. Doesn't ... | Add javadoc. Override of visit method no longer required. | Add javadoc. Override of visit method no longer required.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
c2281883ac2a5ba1952da63bd8f26cb25b8e11c6 | LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java | LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java | package nl.fontys.sofa.limo.view.node.property.editor;
import com.sksamuel.gaia.Country;
import java.awt.Component;
import java.beans.PropertyEditorSupport;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import nl.fontys.sofa.limo.domain.component.hub.Location;
import org.openide.nodes.Property... | package nl.fontys.sofa.limo.view.node.property.editor;
import com.sksamuel.gaia.Country;
import java.beans.PropertyEditorSupport;
import java.util.HashMap;
import java.util.List;
import org.openide.nodes.PropertyEditorRegistration;
/**
*
* @author Dominik Kaisers <d.kaisers@student.fontys.nl>
*/
@PropertyEditorReg... | Fix for "no country select" | Fix for "no country select" | Java | apache-2.0 | LogisticsImpactModel/LIMO,LogisticsImpactModel/LIMO,LogisticsImpactModel/LIMO |
032332855e3484eaac5fbf6374706947e140cfdd | clc-java-sdk/sdk/src/test/java/com/centurylink/cloud/sdk/servers/services/CreateServerAsyncTest.java | clc-java-sdk/sdk/src/test/java/com/centurylink/cloud/sdk/servers/services/CreateServerAsyncTest.java | package com.centurylink.cloud.sdk.servers.services;
import com.centurylink.cloud.sdk.servers.AbstractServersSdkTest;
import com.centurylink.cloud.sdk.servers.client.domain.server.metadata.ServerMetadata;
import com.centurylink.cloud.sdk.servers.services.domain.Response;
import com.google.common.util.concurrent.Listena... | package com.centurylink.cloud.sdk.servers.services;
import com.centurylink.cloud.sdk.servers.AbstractServersSdkTest;
import com.centurylink.cloud.sdk.servers.client.domain.server.metadata.ServerMetadata;
import com.centurylink.cloud.sdk.servers.services.domain.Response;
import com.google.common.util.concurrent.Listena... | Improve integration test tear down functionality | Improve integration test tear down functionality
| Java | apache-2.0 | CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk |
67806a6db625364a966a65d11b1cbfb6a203ba83 | contract-verifier/src/main/java/com/github/sebhoss/contract/verifier/impl/ExceptionFactoryErrors.java | contract-verifier/src/main/java/com/github/sebhoss/contract/verifier/impl/ExceptionFactoryErrors.java | /*
* Copyright © 2012 Sebastian Hoß <mail@shoss.de>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.sebhoss.contract.verifi... | /*
* Copyright © 2012 Sebastian Hoß <mail@shoss.de>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.sebhoss.contract.verifi... | Set default charset to UTF-8 | Set default charset to UTF-8
Signed-off-by: Sebastian Hoß <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@shoss.de> | Java | unlicense | sebhoss/annotated-contracts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.