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 |
|---|---|---|---|---|---|---|---|---|---|
c7456edf3bf0056a9f807c5cc6925533a9ed4c2a | src/main/java/ca/earthgrazer/codereviewer/service/ReviewManagementServiceImpl.java | src/main/java/ca/earthgrazer/codereviewer/service/ReviewManagementServiceImpl.java | package ca.earthgrazer.codereviewer.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ca.earthgrazer.codereviewer.model.ReviewFile;
import ca.earthgrazer.codereviewer.rep... | package ca.earthgrazer.codereviewer.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ca.earthgrazer.codereviewer.model.ReviewFile;
im... | Add filtering for empty review files | Add filtering for empty review files
Resolves issue #4
| Java | apache-2.0 | earthgrazer/codereviewer,earthgrazer/codereviewer,earthgrazer/codereviewer |
9c9542b0e2df5ab0f43cd5611f6c6e060a0287f7 | src/main/java/com/nirima/jenkins/plugins/docker/utils/RetryingComputerLauncher.java | src/main/java/com/nirima/jenkins/plugins/docker/utils/RetryingComputerLauncher.java | package com.nirima.jenkins.plugins.docker.utils;
import com.nirima.docker.client.DockerException;
import hudson.model.TaskListener;
import hudson.slaves.ComputerLauncher;
import hudson.slaves.DelegatingComputerLauncher;
import hudson.slaves.SlaveComputer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... | package com.nirima.jenkins.plugins.docker.utils;
import com.nirima.docker.client.DockerException;
import hudson.model.TaskListener;
import hudson.slaves.ComputerLauncher;
import hudson.slaves.DelegatingComputerLauncher;
import hudson.slaves.SlaveComputer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... | Check if we have tried, pause if we have | Check if we have tried, pause if we have
| Java | mit | hcguersoy/docker-plugin,camunda-ci/docker-plugin,ldtkms/docker-plugin,camunda-ci/docker-plugin,KostyaSha/docker-plugin,pcas/docker-plugin,jgriffiths1993/docker-plugin,jgriffiths1993/docker-plugin,tom-canova/docker-plugin,pcas/docker-plugin,makuk66/docker-plugin,eaglerainbow/docker-plugin,daniel-beck/docker-plugin,camun... |
efb91a838ffbe78d12302672f4dafbe46b72c2b1 | test/src/test/java/hudson/node_monitors/ClockMonitorDescriptorTest.java | test/src/test/java/hudson/node_monitors/ClockMonitorDescriptorTest.java | package hudson.node_monitors;
import org.jvnet.hudson.test.HudsonTestCase;
import hudson.slaves.DumbSlave;
import hudson.slaves.SlaveComputer;
import hudson.util.ClockDifference;
import hudson.util.TimeUnit2;
/**
* @author Richard Mortimer
*/
public class ClockMonitorDescriptorTest extends HudsonTestCase {
/**
... | package hudson.node_monitors;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import hudson.slaves.DumbSlave;
import hudson.slaves.SlaveComputer;
import hudson.util.ClockDifference;
import hudson.util.TimeUnit2;
import org.junit.Rule;
import ... | Use JenkinsRule instead of deprecated HudsonTestCase | Use JenkinsRule instead of deprecated HudsonTestCase | Java | mit | aduprat/jenkins,daniel-beck/jenkins,MichaelPranovich/jenkins_sc,kzantow/jenkins,FTG-003/jenkins,MichaelPranovich/jenkins_sc,DoctorQ/jenkins,rsandell/jenkins,mdonohue/jenkins,vijayto/jenkins,guoxu0514/jenkins,DanielWeber/jenkins,liorhson/jenkins,maikeffi/hudson,jpederzolli/jenkins-1,synopsys-arc-oss/jenkins,gorcz/jenkin... |
d2ba8ff5120f02bed9016ac3a9d1f1d69aafc7ec | src/main/java/reborncore/mixin/implementations/asmInjector/ASMInjectorSetupClass.java | src/main/java/reborncore/mixin/implementations/asmInjector/ASMInjectorSetupClass.java | package reborncore.mixin.implementations.asmInjector;
import javassist.ByteArrayClassPath;
import javassist.LoaderClassPath;
import reborncore.mixin.MixinManager;
import reborncore.mixin.implementations.prebaker.MixinPrebaker;
import reborncore.mixin.transformer.MixinTransformer;
/**
* Used by asm injector to load m... | package reborncore.mixin.implementations.asmInjector;
import javassist.ByteArrayClassPath;
import javassist.LoaderClassPath;
import reborncore.mixin.MixinManager;
import reborncore.mixin.implementations.prebaker.MixinPrebaker;
import reborncore.mixin.transformer.MixinTransformer;
/**
* Used by asm injector to load m... | Add some debug code to try and track the issue down | Add some debug code to try and track the issue down
| Java | mit | TechReborn/RebornCore |
adcd092db51242e5177fb8db6aadabb1eb275d2c | src/main/java/info/evanchik/maven/project/SynchronizedProjectDependenciesResolver.java | src/main/java/info/evanchik/maven/project/SynchronizedProjectDependenciesResolver.java | package info.evanchik.maven.project;
/*
* 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... | package info.evanchik.maven.project;
/*
* 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... | Use the .class as the lock | locking: Use the .class as the lock
| Java | apache-2.0 | evanchsa/maven-parallel-resolver |
114917bc9cc7dc1474d4d72aed22dab513f67b7c | ethereumj-core/src/main/java/org/ethereum/listener/EthereumListener.java | ethereumj-core/src/main/java/org/ethereum/listener/EthereumListener.java | package org.ethereum.listener;
import org.ethereum.core.*;
import org.ethereum.net.eth.message.StatusMessage;
import org.ethereum.net.message.Message;
import org.ethereum.net.p2p.HelloMessage;
import org.ethereum.net.rlpx.Node;
import org.ethereum.net.server.Channel;
import org.ethereum.vm.program.InternalTransaction;... | package org.ethereum.listener;
import org.ethereum.core.*;
import org.ethereum.net.eth.message.StatusMessage;
import org.ethereum.net.message.Message;
import org.ethereum.net.p2p.HelloMessage;
import org.ethereum.net.rlpx.Node;
import org.ethereum.net.server.Channel;
import org.ethereum.vm.program.InternalTransaction;... | Add NEW pending tx state | Add NEW pending tx state
| Java | mit | loxal/FreeEthereum,loxal/FreeEthereum,loxal/FreeEthereum,loxal/ethereumj |
76080b428060d5fc293ff8e120d26debfec6f149 | lib/Cell_Segmentation.java | lib/Cell_Segmentation.java | import ij.*;
import ij.gui.*;
import ij.process.*;
import ij.plugin.frame.*;
import ij.plugin.filter.*;
import java.awt.*;
public class Cell_Segmentation implements PlugInFilter {
// External
public ImagePlus imp;
public RoiManager roiMgr;
public int setup(String arg, ImagePlus imp) {
this.imp = imp;
... | import ij.*;
import ij.gui.*;
import ij.process.*;
import ij.plugin.frame.*;
import ij.plugin.filter.*;
import java.awt.*;
public class Cell_Segmentation implements PlugInFilter {
// External
public RoiManager roiMgr;
public ImagePlus imp;
public ImageProcessor ip;
public int setup(String arg, Ima... | Create a copy in Gray8 format | Create a copy in Gray8 format
| Java | mit | aidistan/ij-fibersize |
f9bc2e2aead26866a59335f8a8514e2dd35837e8 | src/editor/serialization/CardAdapter.java | src/editor/serialization/CardAdapter.java | package editor.serialization;
import java.lang.reflect.Type;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;... | package editor.serialization;
import java.lang.reflect.Type;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.JsonSerializationContext;
im... | Add more fields for IDing cards | Add more fields for IDing cards
They aren't used yet; still just multiverseid
| Java | mit | aroelke/deck-editor-java |
512a8fc4e217bf5919590ce067cdc10309103594 | src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java | src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package hudson.plugins.emailext;
import java.util.Collection;
import java.util.Collections;
import hudson.Extension;
imp... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package hudson.plugins.emailext;
import java.util.Collection;
import java.util.Collections;
import hudson.Extension;
imp... | Add workaround to prevent NPE in Maven projects | [JENKINS-25940] Add workaround to prevent NPE in Maven projects
| Java | mit | jenkinsci/email-ext-plugin,jenkinsci/email-ext-plugin,jenkinsci/email-ext-plugin,jenkinsci/email-ext-plugin |
97ecc9af061d3d58f697e8107d7761d365efe006 | src/main/java/me/nithanim/mmf4j/Main.java | src/main/java/me/nithanim/mmf4j/Main.java | package me.nithanim.mmf4j;
import io.netty.buffer.ByteBuf;
import io.netty.util.CharsetUtil;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
MemoryMap mm = MemoryMapFactory.getInstance();
mm.openFile("./test.txt");
mm.openMapping(... | package me.nithanim.mmf4j;
import com.sun.jna.Platform;
import io.netty.buffer.ByteBuf;
import io.netty.util.CharsetUtil;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
MemoryMap mm = MemoryMapFactory.getInstance();
mm.openFile(Platform.... | Fix for my test environment for linux | Fix for my test environment for linux | Java | apache-2.0 | Nithanim/mmf4j |
140973d538e645c87cd8de9dcd0efa8315599892 | src/protocolsupport/protocol/packet/middleimpl/serverbound/play/v_6_7/EntityAction.java | src/protocolsupport/protocol/packet/middleimpl/serverbound/play/v_6_7/EntityAction.java | package protocolsupport.protocol.packet.middleimpl.serverbound.play.v_6_7;
import io.netty.buffer.ByteBuf;
import protocolsupport.protocol.packet.middle.serverbound.play.MiddleEntityAction;
import protocolsupport.utils.CollectionsUtils.ArrayMap;
public class EntityAction extends MiddleEntityAction {
private static ... | package protocolsupport.protocol.packet.middleimpl.serverbound.play.v_6_7;
import io.netty.buffer.ByteBuf;
import protocolsupport.protocol.packet.middle.serverbound.play.MiddleEntityAction;
import protocolsupport.utils.CollectionsUtils.ArrayMap;
public class EntityAction extends MiddleEntityAction {
private static ... | Add missing entity action mapping for horse inventory open for 1.6-1.7 | Add missing entity action mapping for horse inventory open for 1.6-1.7 | Java | agpl-3.0 | ProtocolSupport/ProtocolSupport |
4a3c2cc2a3ac04b740088b19132262f70ce22606 | vespa-athenz/src/main/java/com/yahoo/vespa/athenz/client/zms/bindings/PolicyEntity.java | vespa-athenz/src/main/java/com/yahoo/vespa/athenz/client/zms/bindings/PolicyEntity.java | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.client.zms.bindings;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPro... | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.client.zms.bindings;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPro... | Read policy from resource name | Read policy from resource name
| 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 |
2d5e47b5a7f425042352e0fbc9930222ec001188 | app/src/main/java/com/pr0gramm/app/ui/base/AsyncLifecycleTransformer.java | app/src/main/java/com/pr0gramm/app/ui/base/AsyncLifecycleTransformer.java | package com.pr0gramm.app.ui.base;
import android.support.annotation.NonNull;
import com.pr0gramm.app.util.BackgroundScheduler;
import com.trello.rxlifecycle.LifecycleTransformer;
import rx.Completable;
import rx.Observable;
import rx.Single;
import rx.android.schedulers.AndroidSchedulers;
/**
*/
class AsyncLifecyc... | package com.pr0gramm.app.ui.base;
import android.support.annotation.NonNull;
import com.pr0gramm.app.util.BackgroundScheduler;
import com.trello.rxlifecycle.LifecycleTransformer;
import rx.Completable;
import rx.Observable;
import rx.Single;
import rx.android.schedulers.AndroidSchedulers;
/**
*/
class AsyncLifecyc... | Remove redundant single -> observable -> single transformation | Remove redundant single -> observable -> single transformation
| Java | mit | mopsalarm/Pr0,mopsalarm/Pr0,mopsalarm/Pr0 |
58e5362907a871cbc4e5c4179b361d1522755909 | hibernate/src/main/java/eu/fraho/spring/securityJwt/hibernate/dto/RefreshTokenEntity.java | hibernate/src/main/java/eu/fraho/spring/securityJwt/hibernate/dto/RefreshTokenEntity.java | /*
* MIT Licence
* Copyright (c) 2017 Simon Frankenberger
*
* Please see LICENCE.md for complete licence text.
*/
package eu.fraho.spring.securityJwt.hibernate.dto;
import lombok.*;
import javax.persistence.*;
import java.time.ZonedDateTime;
@Entity
@Table(name = "jwt_refresh")
@Getter
@Setter
@EqualsAndHashCod... | /*
* MIT Licence
* Copyright (c) 2017 Simon Frankenberger
*
* Please see LICENCE.md for complete licence text.
*/
package eu.fraho.spring.securityJwt.hibernate.dto;
import lombok.*;
import javax.persistence.*;
import java.time.ZonedDateTime;
@Entity
@Table(name = "jwt_refresh")
@Getter
@Setter
@EqualsAndHashCod... | Use IDENTITY as strategy for entity | hibernate: Use IDENTITY as strategy for entity
| Java | mit | bratkartoffel/security-jwt |
b54c68c700aee58893e9a4af499fdf45c2b22722 | core/common/src/main/java/alluxio/util/ExtensionUtils.java | core/common/src/main/java/alluxio/util/ExtensionUtils.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Replace anonymous type with lambda | [SMALLFIX] Replace anonymous type with lambda
Java 8 Improvement: replace anonymous type with lambda in
alluxio/core/common/src/main/java/alluxio/util/ExtensionUtils.java#listExtensions
pr-link: Alluxio/alluxio#8651
change-id: cid-c2f89e9233c853cdf9b027254a33aa93f9297217 | Java | apache-2.0 | calvinjia/tachyon,Alluxio/alluxio,madanadit/alluxio,Alluxio/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,EvilMcJerkface/alluxio,Alluxio/alluxio,calvinjia/tachyon,Alluxio/alluxio,EvilMcJerkface/alluxio,maobaolong/alluxio,wwjiang007/alluxio,bf8086/alluxio,maobaolong/alluxio,Alluxio/alluxio,wwjiang007/alluxio,madanadi... |
68bdf6dd006a7e5449b433e0945c5e63130dabd5 | src/com/iciql/Constants.java | src/com/iciql/Constants.java | /*
* Copyright 2011 James Moger.
*
* 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 ... | /*
* Copyright 2011 James Moger.
*
* 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 ... | Reset build identifiers for next release | Reset build identifiers for next release | Java | apache-2.0 | gitblit/iciql,gitblit/iciql |
158f688e2b43e7c63cd0db8c225f2467e137b11f | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | package com.proxerme.library.parameters;
import android.support.annotation.IntDef;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Class of the SeasonParameter. This includes the possible yearly se... | package com.proxerme.library.parameters;
import android.support.annotation.IntDef;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Class of the SeasonParameter. This includes the possible yearly se... | Add UNSPECIFIED to the seasons. For example present in Test123 MOVIE | Add UNSPECIFIED to the seasons. For example present in Test123 MOVIE
| Java | mit | proxer/ProxerLibJava |
c040f0b93426374ca452ef779f4329f4b91bc291 | core/src/main/java/forklift/consumer/ProcessStep.java | core/src/main/java/forklift/consumer/ProcessStep.java | package forklift.consumer;
public enum ProcessStep {
Pending,
Validating,
Invalid,
Processing,
Error,
Complete
}
| package forklift.consumer;
public enum ProcessStep {
Pending,
Validating,
Invalid,
Processing,
Retrying,
Error,
Complete
}
| Add the retrying process step to indicate a message is being attempted for the nth time. | Add the retrying process step to indicate a message is being attempted for the nth time.
| Java | mit | dcshock/forklift,dcshock/forklift |
61016e1a841c6ec39828e5fb7cdcd83dd426fcb7 | core/src/test/java/jenkins/util/TimeDurationTest.java | core/src/test/java/jenkins/util/TimeDurationTest.java | package jenkins.util;
import org.junit.Test;
import java.util.concurrent.TimeUnit;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import static jenkins.util.TimeDuration.*;
public class TimeDurationTest {
@Test
public void fromString() throws Exception {
assertEqual... | package jenkins.util;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
import java.util.concurrent.TimeUnit;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.*;
import static jenkins.util.TimeDuration.*;
@Issue("JENKINS-44052")
public class TimeDurationTest {
@Test
publ... | Add @Issue to reference JENKINS-44052 | Add @Issue to reference JENKINS-44052
| Java | mit | dariver/jenkins,kohsuke/hudson,patbos/jenkins,daniel-beck/jenkins,recena/jenkins,oleg-nenashev/jenkins,DanielWeber/jenkins,Jimilian/jenkins,Jochen-A-Fuerbacher/jenkins,DanielWeber/jenkins,dariver/jenkins,bkmeneguello/jenkins,pjanouse/jenkins,recena/jenkins,MarkEWaite/jenkins,amuniz/jenkins,dariver/jenkins,dariver/jenki... |
c153c2f372531db2046fbe8acb435710a08672e3 | lib/src/main/java/com/sensirion/libble/devices/KnownDevices.java | lib/src/main/java/com/sensirion/libble/devices/KnownDevices.java | package com.sensirion.libble.devices;
import java.util.ArrayList;
import java.util.List;
public enum KnownDevices {
/**
* Devices that returns Humidity and Temperature data.
* Notification interface: {@link com.sensirion.libble.listeners.services.RHTListener}
*/
RHT_GADGETS {
@Override... | package com.sensirion.libble.devices;
import java.util.ArrayList;
import java.util.List;
public enum KnownDevices {
/**
* Devices that returns Humidity and Temperature data.
* Notification interface: {@link com.sensirion.libble.listeners.services.RHTListener}
*/
RHT_GADGETS {
@Override... | Add RHT gadgets to Known Devices | Add RHT gadgets to Known Devices
Change-Id: Ib83f04b07cd27ff9e2dbf0bdbf5d66016352b6ee
| Java | bsd-3-clause | Sensirion/libble-android |
edaeb72c6a05321eb657816eabeda0aa53e48346 | navi/src/test/java/com/trello/navi/EventHandlingTest.java | navi/src/test/java/com/trello/navi/EventHandlingTest.java | package com.trello.navi;
import com.trello.navi.internal.NaviEmitter;
import org.junit.Test;
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertTrue;
public class EventHandlingTest {
@Test public void handlesEventsNone() {
NaviComponent component = NaviEmitter.createAc... | package com.trello.navi;
import com.trello.navi.internal.NaviEmitter;
import org.junit.Test;
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertTrue;
import static org.mockito.Mockito.mock;
public class EventHandlingTest {
@Test public void handlesEventsNone() {
NaviCo... | Add Tests for Exception when adding/removing a listener for an unsupported event | Add Tests for Exception when adding/removing a listener for an unsupported event
| Java | apache-2.0 | trello/navi |
ca1c75b722c1b2feffcd2e343a4e933146506402 | backend/src/main/java/com/example/Jose/myapplication/backend/JokeEndpoint.java | backend/src/main/java/com/example/Jose/myapplication/backend/JokeEndpoint.java | /*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Java Endpoints Module" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints
*/
package com.example.Jose.myapplication.backend;
impo... | /*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Java Endpoints Module" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints
*/
package com.example.Jose.myapplication.backend;
impo... | Use a non static Joker again | Use a non static Joker again
| Java | mit | Jamargle/GradleJokesProject,Jamargle/GradleJokesProject |
73d4079795c7cdabf6ff0581459979e0faab3cb2 | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | /*_##########################################################################
_##
_## Copyright (C) 2012 Kaito Yamada
_##
_##########################################################################
*/
package com.github.kaitoy.sneo.giane.jetty;
import java.net.URL;
import java.security.ProtectionDomain;
impo... | /*_##########################################################################
_##
_## Copyright (C) 2012 Kaito Yamada
_##
_##########################################################################
*/
package com.github.kaitoy.sneo.giane.jetty;
import java.net.URL;
import java.security.ProtectionDomain;
impo... | Add an option to specify HTTP port. | Add an option to specify HTTP port.
| Java | mit | kaitoy/sneo,kaitoy/sneo |
880a4f74f0fd691aea38a1150d4cb77bed717b83 | Sweeper.java | Sweeper.java | package ftc8390.vv;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.HardwareMap;
/**
* Created by jmgu3 on 11/7/2016.
*/
public class Sweeper {
public DcMotor motor;
public void init(HardwareMap hardwareMap) {
motor = hardwareMap.dcMotor.get("sweeper");
... | package ftc8390.vv;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.HardwareMap;
/**
* Created by jmgu3 on 11/7/2016.
*/
public class Sweeper {
public DcMotor motor;
public void init(HardwareMap hardwareMap) {
motor = hardwareMap.dcMotor.get("sweeper");
... | Put motor in FLOAT mode | Put motor in FLOAT mode
| Java | mit | FTC8390/vv |
ab86b403a84e9f086d17f38df2f149bffede3df4 | src/main/java/com/seaglasslookandfeel/state/ScrollBarButtonsTogetherState.java | src/main/java/com/seaglasslookandfeel/state/ScrollBarButtonsTogetherState.java | /*
* Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
*
* This file is part of the SeaGlass Pluggable Look and Feel.
*
* 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:... | /*
* Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
*
* This file is part of the SeaGlass Pluggable Look and Feel.
*
* 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:... | Set "buttons together" state from client property for override, otherwise from global UI property. | Set "buttons together" state from client property for override, otherwise from global UI property. | Java | apache-2.0 | anhtu1995ok/seaglass |
42f3d24e98c69cc6e26847ab5ffbae15b4e1b91d | src/main/java/app/App.java | src/main/java/app/App.java | package app;
import ui.Stage1Question1Frame;
import javax.swing.*;
public class App {
public static void main(String[] args) {
Stage1 stage1 = new Stage1();
double checkAllElemSum = stage1.checkAllElementsSum();
System.out.println("checkAllElemSum = " + checkAllElemSum);
double[] moles = stage1.moleFrac... | package app;
import stage1.calc.Calc;
public class App {
public static void main(String[] args) {
new Calc();
}
}
| Simplify app run - create only calculator class. | Simplify app run - create only calculator class.
| Java | apache-2.0 | maxtat3/fmps |
a162a996d9eafa168f0bf321df9bc2b6996fb9d3 | src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java | src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java | package com.gmail.cs475x.anybar4j;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.gmail.cs475x.anybar4j.AnyBar4j.AnyBarImage;
public class AnyBar4jTest {
@Test
public void shouldWorkWithDefaultHostAndPort() {
Exception exception = null;
try {
AnyBar4j anybar = new AnyBar4j... | package com.gmail.cs475x.anybar4j;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.gmail.cs475x.anybar4j.AnyBar4j.AnyBarImage;
public class AnyBar4jTest {
@Test
public void shouldWorkWithDefaultHostAndPort() {
AnyBar4j anybar = null;
Exception exception = null;
try {
anyb... | Move `close()` calls to finally block | Move `close()` calls to finally block
| Java | mit | cs475x/AnyBar4j |
f7ea60a87f3608ededf1baccf7a20cfa5b08e436 | restler-spring-data-rest/src/main/java/org/restler/spring/data/methods/DeleteCrudMethod.java | restler-spring-data-rest/src/main/java/org/restler/spring/data/methods/DeleteCrudMethod.java | package org.restler.spring.data.methods;
import com.google.common.collect.ImmutableMultimap;
import org.restler.client.Call;
import org.restler.http.HttpMethod;
import org.restler.spring.data.proxy.ResourceProxy;
import java.lang.reflect.Method;
public class DeleteCrudMethod implements CrudMethod {
@Override
... | package org.restler.spring.data.methods;
import com.google.common.collect.ImmutableMultimap;
import org.restler.client.Call;
import org.restler.http.HttpMethod;
import org.restler.spring.data.proxy.ResourceProxy;
import java.lang.reflect.Method;
public class DeleteCrudMethod implements CrudMethod {
@Override
... | Change header for delete method. | Change header for delete method.
| Java | apache-2.0 | aleksey-zhidkov/restler,olegarx/restler,olegarx/restler,excelsior-oss/restler,aleksey-zhidkov/restler,excelsior-oss/restler |
c313edcdb9334bf0621a7ce62823c60a5b238d62 | src/main/java/it/reply/orchestrator/service/commands/GetSlam.java | src/main/java/it/reply/orchestrator/service/commands/GetSlam.java | package it.reply.orchestrator.service.commands;
import it.reply.orchestrator.dto.CloudProvider;
import it.reply.orchestrator.dto.RankCloudProvidersMessage;
import it.reply.orchestrator.dto.slam.Service;
import it.reply.orchestrator.dto.slam.Sla;
import it.reply.orchestrator.service.SlamService;
import org.spr... | package it.reply.orchestrator.service.commands;
import it.reply.orchestrator.dto.CloudProvider;
import it.reply.orchestrator.dto.RankCloudProvidersMessage;
import it.reply.orchestrator.dto.slam.Service;
import it.reply.orchestrator.dto.slam.Sla;
import it.reply.orchestrator.service.SlamService;
import org.spr... | Support multiple SLAs for cloud providers | Support multiple SLAs for cloud providers
Fixes #110 | Java | apache-2.0 | indigo-dc/orchestrator,indigo-dc/orchestrator |
15f352d7014531a9fc5c7ff22ceb15cad343a1b8 | shadows/framework/src/main/java/org/robolectric/shadows/ShadowGLSurfaceView.java | shadows/framework/src/main/java/org/robolectric/shadows/ShadowGLSurfaceView.java | package org.robolectric.shadows;
import android.opengl.GLSurfaceView;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/** Fake implementation of GLSurfaceView */
@Implements(GLSurfaceView.class)
public class ShadowGLSurfaceView extends ShadowSurfaceView {
@Implementat... | package org.robolectric.shadows;
import android.opengl.GLSurfaceView;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/** Fake implementation of GLSurfaceView */
@Implements(GLSurfaceView.class)
public class ShadowGLSurfaceView extends ShadowSurfaceView {
@Implementat... | Call queued events on GLSurfaceView shadow. | Call queued events on GLSurfaceView shadow.
PiperOrigin-RevId: 200641301
| Java | mit | jongerrish/robolectric,spotify/robolectric,jongerrish/robolectric,jongerrish/robolectric,spotify/robolectric,spotify/robolectric,jongerrish/robolectric |
e7832df524d4655234dc49435881cf8fb44f2ff7 | client/src/main/java/replicant/messages/AbstractMessage.java | client/src/main/java/replicant/messages/AbstractMessage.java | package replicant.messages;
import javax.annotation.Nonnull;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
/**
* The abstract message that messages conform to.
*/
@SuppressWarnings( "NullableProblems" )
@SuppressFBWarnings( "EI_EXPOSE_REP" )
@JsType( isNative = true, namespace = JsPac... | package replicant.messages;
import javax.annotation.Nonnull;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
/**
* The abstract message that messages conform to.
*/
@SuppressWarnings( "NullableProblems" )
@SuppressFBWarnings( "EI_EXPOSE_REP" )
@Js... | Make sure this class complies with JsType restrictions | Make sure this class complies with JsType restrictions
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
69a6224ae74d7dcb4667820f5c24cab57ab61796 | parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java | parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java | package org.parallelj.ssh.publickey;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IO {
public static byte[] readAsBytes(InputStream in) throws IOException {
return read(in).toByteArray();
}
publ... | package org.parallelj.ssh.publickey;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IO {
private IO() {
}
public static byte[] readAsBytes(InputStream in) throws IOException {
return read(in).toB... | Hide constructor for utility class | Hide constructor for utility class
| Java | lgpl-2.1 | christophe-w/parallelj.runtime,awltech/org.parallelj |
50b1c3f538000833833b3dadd91e85ab714574a5 | test/models/support/FinderTemplateTest.java | test/models/support/FinderTemplateTest.java | package models.support;
import models.Milestone;
import models.ModelTest;
import models.enumeration.Direction;
import models.enumeration.Matching;
import org.junit.Test;
import play.db.ebean.Model;
import java.util.List;
import static org.fest.assertions.Assertions.assertThat;
public class FinderTemplateTest exten... | package models.support;
import models.Milestone;
import models.ModelTest;
import models.enumeration.Direction;
import models.enumeration.Matching;
import org.junit.Test;
import play.db.ebean.Model;
import java.util.List;
import static org.fest.assertions.Assertions.assertThat;
public class FinderTemplateTest exten... | Fix test failures caused by 57b8cc7. | milestone: Fix test failures caused by 57b8cc7.
| Java | apache-2.0 | oolso/yobi,doortts/forked-for-history,doortts/fork-yobi,naver/yobi,ihoneymon/yobi,violetag/demo,brainagenet/yobi,yona-projects/yona,ahb0327/yobi,bloodybear/yona,yona-projects/yona,violetag/demo,bloodybear/yona,ihoneymon/yobi,naver/yobi,doortts/forked-for-history,Limseunghwan/oss,yona-projects/yona,doortts/fork-yobi,blo... |
87b7540ce1c97a1922176a5c24b5afe7ce813a66 | en/architecture/SpringBootSecurity/src/main/java/de/oio/spring/config/MethodSecurityConfig.java | en/architecture/SpringBootSecurity/src/main/java/de/oio/spring/config/MethodSecurityConfig.java | package de.oio.spring.config;
import de.oio.service.impl.VaadinAccessDecisionManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.access.AccessDecisionManager;
import org.springframework.security.config.... | package de.oio.spring.config;
import de.oio.service.impl.VaadinAccessDecisionManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.access.AccessDecisionManager;
import org.springframework.security.config.... | Add proxyTargetClass=true to @EnableGlobalMethodSecurity to prevent intermittent widgetset errors | Add proxyTargetClass=true to @EnableGlobalMethodSecurity to prevent intermittent widgetset errors
| Java | unlicense | rolandkrueger/vaadin-by-example,rolandkrueger/vaadin-by-example |
630a223c502c42e8e0f65f2e8f702b7067892f87 | Backend/src/dhbw/pluto/recipes/Recipe.java | Backend/src/dhbw/pluto/recipes/Recipe.java | package dhbw.pluto.recipes;
import java.util.List;
import org.json.*;
public class Recipe {
private int id;
private String title;
private String author;
private String text;
List<Ingredient> ingredients;
/*
* Constructor
*/
public Recipe (int id, String title, String author, String text, List<Ingred... | package dhbw.pluto.recipes;
import java.util.List;
import org.json.*;
public class Recipe {
private int id;
private String title;
private String author;
private String text;
List<Ingredient> ingredients;
private int score = 100;
/*
* Constructor
*/
public Recipe (int id, String title, String author... | Add score attribute to recipe | Add score attribute to recipe
As long as the search algorith remains simple, the score is always
100/100.
| Java | mit | felix185/pluto,felix185/pluto,felix185/pluto |
2da6f98b7a1357df2099fdf548dbff4cfbee9317 | app/src/main/java/com/veyndan/paper/reddit/post/Flair.java | app/src/main/java/com/veyndan/paper/reddit/post/Flair.java | package com.veyndan.paper.reddit.post;
import android.graphics.drawable.Drawable;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
@AutoValue
public abstract class Flair {
public enum Type {... | package com.veyndan.paper.reddit.post;
import android.graphics.drawable.Drawable;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
@AutoValue
public abstract class Flair {
public enum Type {... | Make @AutoValue.Builder builder an interface | Make @AutoValue.Builder builder an interface
| Java | mit | veyndan/paper-for-reddit,veyndan/reddit-client,veyndan/paper-for-reddit |
a524cf9520b11bb55e3d7c74585aa171651f68bb | client/eu-client-service/src/main/java/com/mkl/eu/client/service/vo/EuObject.java | client/eu-client-service/src/main/java/com/mkl/eu/client/service/vo/EuObject.java | package com.mkl.eu.client.service.vo;
import javax.xml.bind.annotation.XmlID;
import java.io.Serializable;
/**
* Mother class of all VOs.
*
* @author MKL
*/
public abstract class EuObject implements Serializable {
/** Id of the object. */
private Long id;
/** @return the id. */
public Long getId(... | package com.mkl.eu.client.service.vo;
import javax.xml.bind.annotation.XmlID;
import java.io.Serializable;
/**
* Mother class of all VOs.
*
* @author MKL
*/
public abstract class EuObject implements Serializable {
/** Id of the object. */
private Long id;
/** @return the id. */
public Long getId(... | Fix Jaxb bug on XmlIdRef. | Fix Jaxb bug on XmlIdRef.
| Java | mit | FogiaFr/eu |
367b45797acd511587f582d9b4f772e94c24131b | src/main/java/com/alexrnl/commons/database/EntityColumn.java | src/main/java/com/alexrnl/commons/database/EntityColumn.java | package com.alexrnl.commons.database;
import java.util.Enumeration;
/**
* Interface for the entity columns.<br />
* This interface should be implemented by the {@link Enumeration} which represent the column of the
* entity in the database.<br />
* @author Alex
*/
public interface EntityColumn {
/**
* Retur... | package com.alexrnl.commons.database;
/**
* Interface for the entity columns.<br />
* This interface should be implemented by the {@link java.util.Enumeration} which represent the
* column of the
* entity in the database.<br />
* @author Alex
*/
public interface EntityColumn {
/**
* Return the name of the c... | Remove useless dependancy to java.util.Enumeration | Remove useless dependancy to java.util.Enumeration
| Java | bsd-3-clause | AlexRNL/Commons |
f929a3c110f84a1227a43d4b6aee7c21d19a4645 | java/squeek/wailaharvestability/helpers/OreHelper.java | java/squeek/wailaharvestability/helpers/OreHelper.java | package squeek.wailaharvestability.helpers;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
public class OreHelper
{
public static boolean isBlockAnOre(Block block)
{
return isBlockAnOre(block, 0);
}
public static boolean isBlockAnOre(Bloc... | package squeek.wailaharvestability.helpers;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
public class OreHelper
{
public static boolean isBlockAnOre(Block block)
{
return isBlockAnOre(block, 0);
}
public static boolean isBlockAnOre(Bloc... | Fix 'is ore' check not handling multiple oredict registrations properly | Fix 'is ore' check not handling multiple oredict registrations properly
| Java | unlicense | squeek502/WailaHarvestability |
188ad806809b4663732b5fadd611d73f2c02fcf4 | subprojects/format/src/main/groovy/com/github/sherter/googlejavaformatgradleplugin/format/Gjf.java | subprojects/format/src/main/groovy/com/github/sherter/googlejavaformatgradleplugin/format/Gjf.java | package com.github.sherter.googlejavaformatgradleplugin.format;
import com.google.common.collect.ImmutableList;
/** Static factory method for creating new {@link Formatter}s. */
public class Gjf {
public static final String GROUP_ID = "com.google.googlejavaformat";
public static final String ARTIFACT_ID = "googl... | package com.github.sherter.googlejavaformatgradleplugin.format;
import com.google.common.collect.ImmutableList;
/** Static factory method for creating new {@link Formatter}s. */
public class Gjf {
public static final String GROUP_ID = "com.google.googlejavaformat";
public static final String ARTIFACT_ID = "googl... | Add support for google-java-format versions 1.4, 1.5 and 1.6 | Add support for google-java-format versions 1.4, 1.5 and 1.6
| Java | mit | sherter/google-java-format-gradle-plugin,sherter/google-java-format-gradle-plugin |
848190806bbe44386593e2aa57d3100f908f2b00 | src/main/java/seedu/typed/schedule/TimeExpression.java | src/main/java/seedu/typed/schedule/TimeExpression.java | package seedu.typed.schedule;
import seedu.typed.model.task.DateTime;
//@@author A0139379M
/**
* TimeExpression is an expression that specifies
* a recurring date. All TimeExpression has an individual
* instance method to work out whether a day lies in the
* expression.
* @author: YIM CHIA HUI
**/
public interfa... | package seedu.typed.schedule;
import seedu.typed.model.task.DateTime;
//@@author A0139379M
/**
* TimeExpression is an expression that specifies
* a recurring date. All TimeExpression has an individual
* instance method to work out whether a day lies in the
* expression.
* @author: YIM CHIA HUI
**/
public interfa... | Add support for recurrence in time expression with time expression to parse recurrence rule | Add support for recurrence in time expression with time expression to parse recurrence rule
| Java | mit | CS2103JAN2017-W09-B2/main,CS2103JAN2017-W09-B2/main |
77a18e9d7edadb44c68aeaf1472cf5acefeef33d | Magic/src/main/java/com/elmakers/mine/bukkit/integration/TokenManagerController.java | Magic/src/main/java/com/elmakers/mine/bukkit/integration/TokenManagerController.java | package com.elmakers.mine.bukkit.integration;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.plugin.Plugin;
import com.elmakers.mine.bukkit.api.magic.MageController;
import com.elmakers.mine.bukkit.utility.ConfigurationUtils;
import me.realized.tokenmanager.api.TokenManager;
public class To... | package com.elmakers.mine.bukkit.integration;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.plugin.Plugin;
import com.elmakers.mine.bukkit.api.magic.MageController;
import com.elmakers.mine.bukkit.utility.ConfigurationUtils;
import me.realized.tokenmanager.api.TokenManager;
public class To... | Fix not being able to disable TokenManager integration | Fix not being able to disable TokenManager integration
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
148c5419323216cd360c2b70eb6b143933a82bc7 | common/src/main/java/com/matao/common/util/ScreenUtils.java | common/src/main/java/com/matao/common/util/ScreenUtils.java | package com.matao.common.util;
import android.content.Context;
import android.util.DisplayMetrics;
/**
* Created by matao on 2016-12-11 16:19
* <p>
* ScreenUtils提供了获取屏幕宽高以及dp与px相互转换的方法
*/
public class ScreenUtils {
private ScreenUtils() {
throw new AssertionError("ScreenUtils cannot be instantiated!"... | package com.matao.common.util;
import android.content.Context;
import android.util.DisplayMetrics;
/**
* Created by matao on 2016-12-11 16:19
* <p>
* ScreenUtils提供了获取屏幕宽高以及dp与px相互转换的方法
*/
public class ScreenUtils {
private ScreenUtils() {
throw new AssertionError("ScreenUtils cannot be instantiated!"... | Add transformation between dp sp and px | [REV] Add transformation between dp sp and px
| Java | mit | xMardle/AndroidCommon |
911501680f0386a1fc31a13bafc623da5146875e | vino-srv/src/main/java/com/vino/domain/WineCellar.java | vino-srv/src/main/java/com/vino/domain/WineCellar.java | /*
*
* * Copyright 2013 - Elian ORIOU
* *
* * 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.
* *
* * Unless required b... | /*
*
* * Copyright 2013 - Elian ORIOU
* *
* * 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.
* *
* * Unless required b... | Add localization on wine cellar | Add localization on wine cellar
| Java | apache-2.0 | vinoApp/vino,vinoApp/vino,vinoApp/vino |
23b9162f94b0360bc371bf748d521aadf7ee52af | config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java | config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java | // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.admin;
import com.yahoo.config.model.deploy.DeployState;
import com.yahoo.config.model.producer.AbstractConfigProducer;
import com.yahoo.vespa.model.container.ContainerCluster;... | // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.admin;
import com.yahoo.config.model.deploy.DeployState;
import com.yahoo.config.model.producer.AbstractConfigProducer;
import com.yahoo.vespa.model.container.ContainerCluster;... | Revert "Add access log for logserver container " | Revert "Add access log for logserver container "
| 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 |
783469229e18b5ae8719ea94b334f192cbf7fb81 | src/main/java/com/enderio/core/common/util/OreDictionaryHelper.java | src/main/java/com/enderio/core/common/util/OreDictionaryHelper.java | package com.enderio.core.common.util;
import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
public final class OreDictionaryHelper {
public static final String INGOT_COPPER = "ingotCopper";
public static final String INGOT_TIN = "ingotTin";
public static ... | package com.enderio.core.common.util;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
public final class OreDictionaryHelper {
public static final String INGOT_COPPER = "ingotCopper";
public static final St... | Add some new OreDictionary helpers | Add some new OreDictionary helpers | Java | cc0-1.0 | minecreatr/EnderCore,HenryLoenwind/EnderCore,SleepyTrousers/EnderCore,Adaptivity/EnderCore |
18d3a1930fd3620586b5ab46387916f075905caa | src/main/java/com/sajo/teamkerbell/repository/FileDBRepository.java | src/main/java/com/sajo/teamkerbell/repository/FileDBRepository.java | package com.sajo.teamkerbell.repository;
import com.sajo.teamkerbell.entity.FileDB;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Created by seongahjo on 2016. 7. 2..
*/
@Repository
public interface FileDBRepository extends JpaRepository<FileDB... | package com.sajo.teamkerbell.repository;
import com.sajo.teamkerbell.entity.FileDB;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by seongahjo on 2016. 7. 2..
*/
@... | Add find files, images in repository | Add find files, images in repository
| Java | mit | seongahjo/Teamkerbell,seongahjo/Teamkerbell |
4a7610a6a8054c46ea2e3c2df26f29b431bbad66 | src/main/java/org/gwtbootstrap3/extras/slider/client/ui/Slider.java | src/main/java/org/gwtbootstrap3/extras/slider/client/ui/Slider.java | package org.gwtbootstrap3.extras.slider.client.ui;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 GwtBootstrap3
* %%
* 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
*
* htt... | package org.gwtbootstrap3.extras.slider.client.ui;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 GwtBootstrap3
* %%
* 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
*
* htt... | Fix for zero arg constructor | Fix for zero arg constructor
| Java | apache-2.0 | BenDol/gwtbootstrap3-extras,BenDol/gwtbootstrap3-extras,bauna/gwtbootstrap3-extras,manstis/gwtbootstrap3-extras,davidbuhler/gwtbootstrap3-strongly-typed-bootstrap-select,gwtbootstrap3/gwtbootstrap3-extras,denis-vilyuzhanin/gwtbootstrap3-extras,markonikolic/gwtbootstrap3-extras,0x3333/gwtbootstrap3-extras,markonikolic/g... |
29c429466e7b32108450c03ddb11ae6f6875a390 | service-registration/src/main/java/sg/ncl/service/registration/controllers/RegistrationController.java | service-registration/src/main/java/sg/ncl/service/registration/controllers/RegistrationController.java | package sg.ncl.service.registration.controllers;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import sg.ncl.service.registration.RegistrationService;
import sg.ncl.service.registration.dtos.RegistrationInfo;
import javax.injec... | package sg.ncl.service.registration.controllers;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import sg.ncl.service.registration.RegistrationService;
import sg.ncl.service.registration.dtos.RegistrationData;
import sg.ncl.servi... | Revert "remove line to apply for new team" | Revert "remove line to apply for new team"
This reverts commit e9cc064a440db8457387a8ce527453679446b327.
| Java | apache-2.0 | nus-ncl/services-in-one,nus-ncl/services-in-one |
5545df9938377b6397f496b22045d9a3895fa669 | TrailScribeTest/src/edu/cmu/sv/trailscribe/tests/SynchronizationCenterActivityTest.java | TrailScribeTest/src/edu/cmu/sv/trailscribe/tests/SynchronizationCenterActivityTest.java | package edu.cmu.sv.trailscribe.tests;
import android.test.ActivityInstrumentationTestCase2;
import edu.cmu.sv.trailscribe.view.SynchronizationCenterActivity;
import edu.cmu.sv.trailscribe.R;
import android.widget.ListView;
public class SynchronizationCenterActivityTest extends ActivityInstrumentationTestCase2<Synchro... | package edu.cmu.sv.trailscribe.tests;
import android.test.ActivityInstrumentationTestCase2;
import edu.cmu.sv.trailscribe.view.SynchronizationCenterActivity;
import edu.cmu.sv.trailscribe.R;
import android.widget.ListView;
import java.util.concurrent.TimeUnit;
import android.database.DataSetObserver;
import java.util.... | Add test for map fetching in sync center | Add test for map fetching in sync center
| Java | mit | CMUPracticum/TrailScribe,CMUPracticum/TrailScribe,CMUPracticum/TrailScribe |
2fde52b819f597916702ac76548d4f2c766a697f | src/main/java/com/github/sebhoss/nullanalysis/Nullsafe.java | src/main/java/com/github/sebhoss/nullanalysis/Nullsafe.java | /*
* Copyright © 2013 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.nullanalysis;
... | /*
* Copyright © 2013 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.nullanalysis;
... | Move annotation type information before final keyword | Move annotation type information before final keyword
Signed-off-by: Sebastian Hoß <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@shoss.de> | Java | cc0-1.0 | sebhoss/null-analysis |
df3f18b885c49e390135a502351c4ae5f20886e1 | common/net/teamio/taam/content/MaterialMachinesTransparent.java | common/net/teamio/taam/content/MaterialMachinesTransparent.java | package net.teamio.taam.content;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.MaterialTransparent;
public class MaterialMachinesTransparent extends MaterialTransparent {
public static final MaterialMachinesTransparent INSTANCE = new MaterialMachinesTransparent(MapColor.ironColor)... | package net.teamio.taam.content;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
public class MaterialMachinesTransparent extends Material {
public static final MaterialMachinesTransparent INSTANCE = new MaterialMachinesTransparent(MapColor.ironColor);
public MaterialMa... | Fix machines material being replaceable | Fix machines material being replaceable
| Java | mit | Team-IO/taam |
162061ea0ee9ef36de8887472e260a7e95df81aa | java/squeek/spiceoflife/asm/ASMPlugin.java | java/squeek/spiceoflife/asm/ASMPlugin.java | package squeek.spiceoflife.asm;
import java.util.Map;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
public class ASMPlugin implements IFMLLoadingPlugin
{
@Override
public String[] getASMTransformerClass()
{
return new String[]{ClassTransformer.class.getName()};
}
@Override
public String getModContainerCl... | package squeek.spiceoflife.asm;
import java.util.Map;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions;
@TransformerExclusions("squeek.spiceoflife.asm")
public class ASMPlugin implements IFMLLoadingPlugin
{
@Override
public String[] getASMTrans... | Exclude the ASM package from being transformed | Exclude the ASM package from being transformed
| Java | unlicense | squeek502/SpiceOfLife |
65dc25a90bde05ec133274e80466e6b25656594f | android/app/src/main/java/com/phicdy/totoanticipation/model/scheduler/DeadlineAlarm.java | android/app/src/main/java/com/phicdy/totoanticipation/model/scheduler/DeadlineAlarm.java | package com.phicdy.totoanticipation.model.scheduler;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.util.Log;
import java.util.Calendar;
import java.util.Date;
public class Dea... | package com.phicdy.totoanticipation.model.scheduler;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.util.Log;
import java.util.Calendar;
import java.util.Date;
public class Dea... | Fix the bug that calendar was not used for alarm | Fix the bug that calendar was not used for alarm
| Java | apache-2.0 | phicdy/toto-anticipation,phicdy/toto-anticipation |
bda626667657db9ac412ae7f01d33bf8305355ef | clc-java-sdk/sdk/src/test/java/com/centurylink/cloud/sdk/tests/mocks/BindSpiesModule.java | clc-java-sdk/sdk/src/test/java/com/centurylink/cloud/sdk/tests/mocks/BindSpiesModule.java | /*
* (c) 2015 CenturyLink. 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 applicable law or a... | /*
* (c) 2015 CenturyLink. 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 applicable law or a... | Fix compilation issue on not latest JDKs | Fix compilation issue on not latest JDKs
| Java | apache-2.0 | CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk |
e5811f70b27c430b9c3653dce4730f72385491dc | user-experience/src/test/java/router/client/location/TestRegExp.java | user-experience/src/test/java/router/client/location/TestRegExp.java | package router.client.location;
public class TestRegExp
extends RegExp
{
private String[] _results;
public TestRegExp()
{
super( new Object() );
}
public void setResults( final String[] results )
{
_results = results;
}
@Override
public String[] exec( final Object str )
{
return _r... | package router.client.location;
import javax.annotation.Nonnull;
public class TestRegExp
extends RegExp
{
private String[] _resultGroups;
public TestRegExp( @Nonnull final String[] resultGroups )
{
this();
setResultGroups( resultGroups );
}
public TestRegExp()
{
super( new Object() );
}
... | Rename the match results so the intent is clearer | Rename the match results so the intent is clearer
| Java | apache-2.0 | realityforge-experiments/gwt-router,realityforge-experiments/gwt-router,realityforge-experiments/gwt-router |
15546cf2407ab6aa9459de25d88961aa208516b6 | src/org/intellij/lang/jflex/fileTypes/JFlexFileTypeFactory.java | src/org/intellij/lang/jflex/fileTypes/JFlexFileTypeFactory.java | package org.intellij.lang.jflex.fileTypes;
import com.intellij.openapi.fileTypes.FileTypeConsumer;
import com.intellij.openapi.fileTypes.FileTypeFactory;
import org.jetbrains.annotations.NotNull;
/**
* JFlex file type factory, tells IDEA about new file type
*
* @author Jan Dolecek
*/
public final class... | package org.intellij.lang.jflex.fileTypes;
import com.intellij.openapi.fileTypes.FileTypeConsumer;
import com.intellij.openapi.fileTypes.FileTypeFactory;
import org.jetbrains.annotations.NotNull;
/**
* JFlex file type factory, tells IDEA about new file type
*
* @author Jan Dolecek
*/
public final class... | Add .jflex as a supported file extension (in addition to .flex). | Add .jflex as a supported file extension (in addition to .flex).
| Java | apache-2.0 | aefimov/idea-jflex |
b61c43b13dc9e1ce9c4c3110194bb7c3c20a5047 | src/test/java/com/stefanengineering/api/ApiControllerTests.java | src/test/java/com/stefanengineering/api/ApiControllerTests.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... | package com.stefanengineering.api;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.spr... | Test if /users route is 200 and is json | Test if /users route is 200 and is json
| Java | mit | stefaneng/mariadb-springmvc-api,stefaneng/mariadb-springmvc-api,stefaneng/mariadb-springmvc-api |
660c26f210c08ac69b7e398572e737773a409454 | data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/LinkedDataSetUtil.java | data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/LinkedDataSetUtil.java | package org.eclipse.birt.report.data.adapter.api;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.eclipse.birt.report.model.api.ReportItemHandle;
public class LinkedDataSetUtil
{
private static String GET_LINKED_DATA_MODEL_METHOD = "getLinkedDataModel";
... | package org.eclipse.birt.report.data.adapter.api;
import java.lang.reflect.Method;
import org.eclipse.birt.report.model.api.ReportItemHandle;
public class LinkedDataSetUtil
{
private static String GET_LINKED_DATA_MODEL_METHOD = "getLinkedDataModel";
public static boolean bindToLinkedDataSet( ReportIt... | Remove the exception lists from the API which judges whether a ReportItemHandle binds to a Linked Data Set | Remove the exception lists from the API which judges whether a
ReportItemHandle binds to a Linked Data Set | Java | epl-1.0 | rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt |
ad6ab6fbb376e768a200d0f9aaca586e1b83097d | fibonacci/Fibonacci.java | fibonacci/Fibonacci.java | package fibonacci;
public class Fibonacci
{
public static int fibonacci(int n)
{
if (n < 2)
return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
public static void main(String[] args)
{
if (args.length > 0)
{
try
{
int n = Integer.parseInt(args[0]);
Sys... | package fibonacci;
public class Fibonacci
{
public static long fibonacci(long n)
{
if (n < 2)
return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
public static void main(String[] args)
{
if (args.length > 0)
{
try
{
long n = Long.parseLong(args[0]);
Sy... | Change from int to long to allow for bigger numbers | Change from int to long to allow for bigger numbers
| Java | mit | joelabr/Laborationer-Programmering-1 |
c10509fd4d68f9b57043170c95c6aeb9d5e90131 | server/openstorefront/openstorefront-core/service/src/main/java/edu/usu/sdl/openstorefront/service/io/reader/CSVReader.java | server/openstorefront/openstorefront-core/service/src/main/java/edu/usu/sdl/openstorefront/service/io/reader/CSVReader.java | /*
* Copyright 2016 Space Dynamics Laboratory - Utah State University Research 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/LICEN... | /*
* Copyright 2016 Space Dynamics Laboratory - Utah State University Research 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/LICEN... | Fix for attribute import statistics | Fix for attribute import statistics
The currentRecordNumber must be up-to-date for the UI to reflect the
proper numbers of stored / processed / total.
| Java | apache-2.0 | jbottel/openstorefront,jbottel/openstorefront,jbottel/openstorefront,jbottel/openstorefront |
362188c2c42a2d95c8529613a1b0cfa764088da9 | subprojects/core-impl/src/main/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DownloadedIvyModuleDescriptorParser.java | subprojects/core-impl/src/main/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DownloadedIvyModuleDescriptorParser.java | /*
* Copyright 2012 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 2012 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... | Add quickfix for fixing this enough for 1.3. | GRADLE-2486: Add quickfix for fixing this enough for 1.3.
| Java | apache-2.0 | lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate... |
e50e5754c5c31c71a97ccf38a548dfbfca0946c7 | org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/natives/abruptions/AbortedEvaluationException.java | org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/natives/abruptions/AbortedEvaluationException.java | package org.metaborg.meta.lang.dynsem.interpreter.nodes.natives.abruptions;
import org.metaborg.meta.lang.dynsem.interpreter.nodes.natives.StatefulControlFlowException;
public final class AbortedEvaluationException extends StatefulControlFlowException {
/**
*
*/
private static final long serialVersionUID = -2... | package org.metaborg.meta.lang.dynsem.interpreter.nodes.natives.abruptions;
import org.metaborg.meta.lang.dynsem.interpreter.nodes.natives.StatefulControlFlowException;
public final class AbortedEvaluationException extends StatefulControlFlowException {
/**
*
*/
private static final long serialVersionUID = -2... | Implement getMessage for exception trap (to allow error to be presented to user if no handler applies) | Implement getMessage for exception trap (to allow error to be presented to user if no handler applies)
| Java | apache-2.0 | metaborg/dynsem,metaborg/dynsem |
f2325ef9a746dddf3b245b07a9c67f074e579592 | spring-boot-example/src/main/java/com/sayemahmed/example/springboot/HealthController.java | spring-boot-example/src/main/java/com/sayemahmed/example/springboot/HealthController.java | /*
* Copyright 2020 MD Sayem Ahmed
*
* 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 ... | /*
* Copyright 2020 MD Sayem Ahmed
*
* 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 ... | Add slower and slowest health endpoint | Add slower and slowest health endpoint
| Java | apache-2.0 | sayembd/java-examples |
c103bbe3da21b6bb3381dc01ab13039d47abe474 | src/us/kbase/auth2/lib/exceptions/PasswordMismatchException.java | src/us/kbase/auth2/lib/exceptions/PasswordMismatchException.java | package us.kbase.auth2.lib.exceptions;
/** Thrown when a username and password do not match.
* @author gaprice@lbl.gov
*/
@SuppressWarnings("serial")
public class PasswordMismatchException extends UnauthorizedException {
public PasswordMismatchException(final String message) {
super(ErrorType.PASSWORD_MISMATCH... | package us.kbase.auth2.lib.exceptions;
/** Thrown when a username and password do not match.
* @author gaprice@lbl.gov
*/
@SuppressWarnings("serial")
public class PasswordMismatchException extends AuthenticationException {
public PasswordMismatchException(final String message) {
super(ErrorType.PASSWORD_MISMAT... | Make password login errors 401s vs 403s | Make password login errors 401s vs 403s | Java | mit | kbase/auth2,MrCreosote/auth2,MrCreosote/auth2,kbase/auth2 |
a2bb23d7f717d19d3c6d4b2aabbd9fb6d0425fd6 | mmtf-serialization/src/main/java/org/rcsb/mmtf/serialization/MessagePackSerialization.java | mmtf-serialization/src/main/java/org/rcsb/mmtf/serialization/MessagePackSerialization.java | package org.rcsb.mmtf.serialization;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.msgpack.jackson.dataformat.MessagePackFactory;
import org.rcsb.mmtf.dataholders.MmtfStructure;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson... | package org.rcsb.mmtf.serialization;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.msgpack.jackson.dataformat.MessagePackFactory;
import org.rcsb.mmtf.dataholders.MmtfStructure;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson... | Update to the serialization module - only construct object mapper once. | Update to the serialization module - only construct object mapper once.
| Java | apache-2.0 | pwrose/mmtf-java,josemduarte/mmtf-java,rcsb/mmtf-java |
d4188cdede42cf56224b84e4db16584573ef2cca | java/src/org/certificatetransparency/ctlog/PrecertChainEntry.java | java/src/org/certificatetransparency/ctlog/PrecertChainEntry.java | package org.certificatetransparency.ctlog;
import java.util.List;
import org.certificatetransparency.ctlog.PreCert;
public class PrecertChainEntry {
// The chain certifying the precertificate, as submitted by the CA.
public List<byte[]> precertificateChain;
// PreCert input to the SCT. Can be computed from th... | package org.certificatetransparency.ctlog;
import java.util.ArrayList;
import java.util.List;
import org.certificatetransparency.ctlog.PreCert;
public class PrecertChainEntry {
// The chain certifying the precertificate, as submitted by the CA.
public List<byte[]> precertificateChain;
// PreCert input to the ... | Use an import for java.util.ArrayList. | Use an import for java.util.ArrayList.
| Java | apache-2.0 | phad/certificate-transparency,AlCutter/certificate-transparency,phad/certificate-transparency,lexibrent/certificate-transparency,eranmes/certificate-transparency,taknira/certificate-transparency,eranmes/certificate-transparency,katjoyce/certificate-transparency,pphaneuf/certificate-transparency,eranmes/certificate-tran... |
cc1d30c6f91cd61319791bba20332807044134fc | addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java | addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java | package kurs.zadania.adressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
public void gotoGroupPage() {
clic... | package kurs.zadania.adressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
// public void gotoGroupPage() { click(By... | Revert "Revert "Revert "Revert "optimization of the transition between the pages"""" | Revert "Revert "Revert "Revert "optimization of the transition between the pages""""
This reverts commit 1fde695a1625d503e54d90719c87460cf6f5a4c1.
| Java | apache-2.0 | wozniakpiotr/java_training,wozniakpiotr/java_training,wozniakpiotr/java_training |
ee6b17480f1af8956cf797d1f381caadf72b4b2e | src/integration/java/org/microworld/mangopay/tests/ConnectIT.java | src/integration/java/org/microworld/mangopay/tests/ConnectIT.java | /**
* Copyright © 2015 MicroWorld (contact@microworld.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /**
* Copyright © 2015 MicroWorld (contact@microworld.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Update error message in tests. | Update error message in tests.
| Java | apache-2.0 | MicroWorld/mangopay-client |
c2aee38958e9e4fca9545a54c6306a3bdb012f05 | src/main/java/org/openlmis/fulfillment/service/ResourceNames.java | src/main/java/org/openlmis/fulfillment/service/ResourceNames.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... | Move variable to comply with Java Code Conventions. | OLMIS-3608: Move variable to comply with Java Code Conventions.
| Java | agpl-3.0 | OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment |
3d8728fdc3671cf8709b1000cc2aff9d048ff13a | src/test/java/net/sf/commonclipse/CCPluginPreferencesTest.java | src/test/java/net/sf/commonclipse/CCPluginPreferencesTest.java | package net.sf.commonclipse;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import java.util.regex.Pattern;
/**
* Tests for CCPluginPreferences.
* @author fgiust
* @version $Revision$ ($Author$)
*/
public class CCPluginPreferenc... | package net.sf.commonclipse;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import java.util.regex.Pattern;
import org.junit.Test;
/**
* Tests for CCPluginPreferences.
* @author fgiust
* @version $Revision$ ($Author$)
*/
public... | Fix missing @Test annotations for JUnit tests. | Fix missing @Test annotations for JUnit tests.
Forgot to add the annotations when upgrading to JUnit 4.
| Java | apache-2.0 | mnuessler/commonclipse |
03c7cd2cae064652a8b322f207e2b0a9d2001ffc | src/main/java/graphql/GraphQLException.java | src/main/java/graphql/GraphQLException.java | package graphql;
public class GraphQLException extends RuntimeException {
public GraphQLException() {
}
public GraphQLException(String message) {
super(message);
}
public GraphQLException(String message, Throwable cause) {
super(message, cause);
}
public GraphQLExceptio... | package graphql;
public class GraphQLException extends RuntimeException {
public GraphQLException() {
}
public GraphQLException(String message) {
super(message);
}
public GraphQLException(String message, Throwable cause) {
super(message, cause);
}
public GraphQLExceptio... | Make graphql exception tostring be the message | Make graphql exception tostring be the message
| Java | mit | graphql-java/graphql-java,graphql-java/graphql-java |
5201ce86ef91030beab1e5c8ffb5968af1886b02 | milton-api/src/main/java/com/bradmcevoy/http/values/DateValueWriter.java | milton-api/src/main/java/com/bradmcevoy/http/values/DateValueWriter.java | package com.bradmcevoy.http.values;
import com.bradmcevoy.http.DateUtils;
import com.bradmcevoy.http.DateUtils.DateParseException;
import com.bradmcevoy.http.XmlWriter;
import java.util.Date;
import java.util.Map;
public class DateValueWriter implements ValueWriter {
public boolean supports( String nsUri, String... | package com.bradmcevoy.http.values;
import com.bradmcevoy.http.DateUtils;
import com.bradmcevoy.http.DateUtils.DateParseException;
import com.bradmcevoy.http.XmlWriter;
import java.util.Date;
import java.util.Map;
public class DateValueWriter implements ValueWriter {
@Override
public boolean supports( String ns... | Fix so that Timestamp objects get formatted as Date's | Fix so that Timestamp objects get formatted as Date's
| Java | apache-2.0 | arkxu/milton2,arkxu/milton2,arkxu/milton2 |
367b1603d4addcd62924b1c1c60b4e9e24b54b63 | trustkit/src/main/java/com/datatheorem/android/trustkit/pinning/TrustKitSSLSocketFactory.java | trustkit/src/main/java/com/datatheorem/android/trustkit/pinning/TrustKitSSLSocketFactory.java | package com.datatheorem.android.trustkit.pinning;
import android.net.SSLCertificateSocketFactory;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import javax.net.ssl.TrustManager;
public class TrustKitSSLSocketFactory extends SSLCertificateSocketFactory {
// TODO(ad): Figure ... | package com.datatheorem.android.trustkit.pinning;
import android.net.SSLCertificateSocketFactory;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import javax.net.ssl.TrustManager;
public class TrustKitSSLSocketFactory extends SSLCertificateSocketFactory {
public TrustKitSSLSo... | Remove and TODO and add explanation | Remove and TODO and add explanation
| Java | mit | datatheorem/TrustKit-Android,datatheorem/TrustKit-Android |
e4aacf020798832df2275656c70b0449bbdc0eff | desktop/src/uk/co/alynn/games/ld30/desktop/DesktopLauncher.java | desktop/src/uk/co/alynn/games/ld30/desktop/DesktopLauncher.java | package uk.co.alynn.games.ld30.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import uk.co.alynn.games.ld30.SpaceHams;
import uk.co.alynn.games.ld30.world.Constants;
public class DesktopLauncher {
public static void main (Strin... | package uk.co.alynn.games.ld30.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import uk.co.alynn.games.ld30.SpaceHams;
import uk.co.alynn.games.ld30.world.Constants;
public class DesktopLauncher {
public static void main (Strin... | Switch the name to Intergalactopol | Switch the name to Intergalactopol
| Java | mit | prophile/ludum-dare-30,prophile/ludum-dare-30 |
4cc088417427cb89423de394a85bfbc497f7e3d8 | application/src/main/java/ru/ming13/gambit/local/sqlite/DbFieldParams.java | application/src/main/java/ru/ming13/gambit/local/sqlite/DbFieldParams.java | /*
* Copyright 2012 Artur Dryomov
*
* 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 2012 Artur Dryomov
*
* 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... | Add cascade deletion for deck cards. | Add cascade deletion for deck cards.
| Java | apache-2.0 | ming13/gambit |
6cd520631ed499d5d1201f1398a3493014d83c74 | parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerParser.java | parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerParser.java | package org.jvirtanen.parity.net.poe;
import static org.jvirtanen.parity.net.poe.POE.*;
import com.paritytrading.nassau.MessageListener;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* A parser for inbound messages on the server side.
*/
public class POEServerParser implements MessageListener {
... | package org.jvirtanen.parity.net.poe;
import static org.jvirtanen.parity.net.poe.POE.*;
import com.paritytrading.nassau.MessageListener;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* A parser for inbound messages on the server side.
*/
public class POEServerParser implements MessageListener {
... | Simplify POE server parser in network protocols | Simplify POE server parser in network protocols
| Java | apache-2.0 | pmcs/parity,paritytrading/parity,pmcs/parity,paritytrading/parity |
ccfd0a23d2ba3363a4b86fdc9807f39eddbffc83 | src/main/java/de/codecentric/centerdevice/glass/MacApplicationAdapter.java | src/main/java/de/codecentric/centerdevice/glass/MacApplicationAdapter.java | package de.codecentric.centerdevice.glass;
import com.sun.glass.ui.Application;
import de.codecentric.centerdevice.util.ReflectionUtils;
import javafx.application.Platform;
public class MacApplicationAdapter {
private Application app;
private boolean forceQuitOnCmdQ = true;
public MacApplicationAdapter() t... | package de.codecentric.centerdevice.glass;
import com.sun.glass.ui.Application;
import de.codecentric.centerdevice.util.ReflectionUtils;
import javafx.application.Platform;
public class MacApplicationAdapter {
private Application app;
private boolean forceQuitOnCmdQ = true;
public MacApplicationAdapter() {... | Remove exception from method signature | Remove exception from method signature
| Java | bsd-3-clause | codecentric/NSMenuFX |
77b1113c96406b71024b007fc53df0be7e29a3c0 | src/main/java/uk/ac/ic/wlgitbridge/snapshot/getsavedvers/SnapshotInfo.java | src/main/java/uk/ac/ic/wlgitbridge/snapshot/getsavedvers/SnapshotInfo.java | package uk.ac.ic.wlgitbridge.snapshot.getsavedvers;
import uk.ac.ic.wlgitbridge.util.Util;
/**
* Created by Winston on 06/11/14.
*/
public class SnapshotInfo implements Comparable<SnapshotInfo> {
private int versionId;
private String comment;
private WLUser user;
private String createdAt;
publ... | package uk.ac.ic.wlgitbridge.snapshot.getsavedvers;
import uk.ac.ic.wlgitbridge.util.Util;
/**
* Created by Winston on 06/11/14.
*/
public class SnapshotInfo implements Comparable<SnapshotInfo> {
private int versionId;
private String comment;
private WLUser user;
private String createdAt;
publ... | Support for anonymous saved versions | Support for anonymous saved versions
This fixes a case when de API sends a version without user. There was a
bug allowing to create anonymous versions in the application and we
have to support the old data.
The problem here is that SnapshotInfo classes are inflated from json
via Gson. This method does not call any co... | Java | mit | overleaf/writelatex-git-bridge,winstonli/writelatex-git-bridge,overleaf/writelatex-git-bridge,winstonli/writelatex-git-bridge |
cb949d4777e531cff727c74ac2270026f206a2ec | extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/LifecycleEventsBuildStep.java | extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/LifecycleEventsBuildStep.java | package io.quarkus.arc.deployment;
import static io.quarkus.deployment.annotations.ExecutionTime.RUNTIME_INIT;
import java.util.List;
import io.quarkus.arc.runtime.ArcRecorder;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.annotations.Record;
import io.quarkus.deployment.builditem.... | package io.quarkus.arc.deployment;
import static io.quarkus.deployment.annotations.ExecutionTime.RUNTIME_INIT;
import java.util.List;
import io.quarkus.arc.runtime.ArcRecorder;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.annotations.Consume;
import io.quarkus.deployment.annotatio... | Make sure the StartupEvent is fired after the runtime config is set | Make sure the StartupEvent is fired after the runtime config is set | Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
911437d633cca4bbd83b87a22e190f25686afe4e | software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/view/edit/SimpleInstrumentBean.java | software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/view/edit/SimpleInstrumentBean.java | package gov.nih.nci.cananolab.restful.view.edit;
public class SimpleInstrumentBean {
String manufacturer;
String modelName;
String type;
public String getManufacturer() {
return manufacturer;
}
public void setManufacturer(String manufacturer) {
this.manufacturer = manufacturer;
}
public Stri... | package gov.nih.nci.cananolab.restful.view.edit;
public class SimpleInstrumentBean {
String manufacturer = "";
String modelName = "";
String type = "";
public String getManufacturer() {
return manufacturer;
}
public void setManufacturer(String manufacturer) {
if (manufacturer != null)
thi... | Make sure type doesn't have null value. Otherwise, got hibernate error | Make sure type doesn't have null value. Otherwise, got hibernate error | Java | bsd-3-clause | NCIP/cananolab,NCIP/cananolab,NCIP/cananolab |
6a13df5cd32ccb76181feb93dd3a160cc7f728b7 | src/test/java/tars/testutil/TaskBuilder.java | src/test/java/tars/testutil/TaskBuilder.java | package tars.testutil;
import tars.commons.exceptions.IllegalValueException;
import tars.model.task.*;
import tars.model.tag.Tag;
/**
*
*/
public class TaskBuilder {
private TestTask task;
public TaskBuilder() {
this.task = new TestTask();
}
public TaskBuilder withName(String name) throws... | package tars.testutil;
import tars.commons.exceptions.IllegalValueException;
import tars.model.task.*;
import tars.model.tag.Tag;
/**
*
*/
public class TaskBuilder {
private TestTask task;
public TaskBuilder() {
this.task = new TestTask();
}
public TaskBuilder withName(String name) throws... | Add methods withDateTime(String) and withPriority(String) | Add methods withDateTime(String) and withPriority(String)
| Java | mit | CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main |
77810eaf2eae729c0ecda833567d76e8e78dcb55 | tapestry-core/src/main/java/org/apache/tapestry5/services/compatibility/CompatibilityModule.java | tapestry-core/src/main/java/org/apache/tapestry5/services/compatibility/CompatibilityModule.java | // Copyright 2012 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 applicable l... | // Copyright 2012 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 applicable l... | Remove broken contribution to Compatibility service | Remove broken contribution to Compatibility service
| Java | apache-2.0 | apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5 |
15759707d4de986941f59d4e7523b8e8d28a9b0e | raven/src/test/java/net/kencochrane/raven/RavenFactoryTest.java | raven/src/test/java/net/kencochrane/raven/RavenFactoryTest.java | package net.kencochrane.raven;
import com.google.common.collect.Iterators;
import mockit.Injectable;
import mockit.Mocked;
import mockit.NonStrictExpectations;
import mockit.Tested;
import net.kencochrane.raven.dsn.Dsn;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import java.util.S... | package net.kencochrane.raven;
import com.google.common.collect.Iterators;
import mockit.Injectable;
import mockit.Mocked;
import mockit.NonStrictExpectations;
import mockit.Tested;
import net.kencochrane.raven.dsn.Dsn;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import java.util.S... | Test that factories can be added manually | Test that factories can be added manually
| Java | bsd-3-clause | galmeida/raven-java,galmeida/raven-java,buckett/raven-java,littleyang/raven-java,littleyang/raven-java,reki2000/raven-java6,reki2000/raven-java6,buckett/raven-java |
44481bf0a7dccc0847cc7424006a78cc6cdb3437 | src/com/openxc/measurements/KeylessEntryProgrammingCommand.java | src/com/openxc/measurements/KeylessEntryProgrammingCommand.java | package com.openxc.measurements;
import java.util.Locale;
import com.openxc.units.KeylessEntryCode;
import com.openxc.units.State;
public class KeylessEntryProgrammingCommand extends BaseMeasurement<
State<KeylessEntryProgrammingCommand.Command>> {
public final static String ID = "keyless_entry_command";... | package com.openxc.measurements;
import java.util.Locale;
import com.openxc.units.KeylessEntryCode;
import com.openxc.units.State;
public class KeylessEntryProgrammingCommand extends BaseMeasurement<
State<KeylessEntryProgrammingCommand.Command>> {
public final static String ID = "keyless_entry_command";... | Allow keyless entry command to have no event. | Allow keyless entry command to have no event.
| Java | bsd-3-clause | openxc/nonstandard-android-measurements,openxc/nonstandard-android-measurements |
4316527ce70c487e9d9ef4dcf333d00ff3d961b3 | src/main/java/de/tum/in/www1/artemis/web/rest/TimeResource.java | src/main/java/de/tum/in/www1/artemis/web/rest/TimeResource.java | package de.tum.in.www1.artemis.web.rest;
import java.time.Instant;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TimeResource {
/**
* {@code GET /time}:
*... | package de.tum.in.www1.artemis.web.rest;
import java.time.Instant;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TimeResource {
/**
* {@code GET /time}:
... | Fix "/time" not returning JSON string | Fix "/time" not returning JSON string
Signed-off-by: Jan Philip Bernius <814ff5be9e22112ef64fe4fffd286a913b75a514@tum.de>
| Java | mit | ls1intum/ArTEMiS,ls1intum/ArTEMiS,ls1intum/ArTEMiS,ls1intum/ArTEMiS,ls1intum/ArTEMiS,ls1intum/ArTEMiS |
9ff08c9af38c572b906f0862380cbedaaa566085 | src/main/java/net/openhft/chronicle/queue/NoMessageHistory.java | src/main/java/net/openhft/chronicle/queue/NoMessageHistory.java | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Improve logging for unknown/empty messages | Improve logging for unknown/empty messages
| Java | apache-2.0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue |
8cc1385ae485bb02c3ae28df5e6de8dfe60d152c | transformers/src/main/java/com/pushtechnology/diffusion/transform/transformer/SafeTransformer.java | transformers/src/main/java/com/pushtechnology/diffusion/transform/transformer/SafeTransformer.java | /*******************************************************************************
* Copyright (C) 2016 Push Technology Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.a... | /*******************************************************************************
* Copyright (C) 2016 Push Technology Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.a... | Add a method to convert a safe transformer to a function. | Add a method to convert a safe transformer to a function.
| Java | apache-2.0 | pushtechnology/diffusion-transform |
33c1af251d23d97aa14dca046820b27eb39f13b5 | app/src/main/java/com/veyndan/redditclient/api/reddit/network/interceptor/UserAgentInterceptor.java | app/src/main/java/com/veyndan/redditclient/api/reddit/network/interceptor/UserAgentInterceptor.java | package com.veyndan.redditclient.api.reddit.network.interceptor;
import com.google.common.base.Preconditions;
import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
public final class UserAgentInterceptor implements Interceptor {
private static final String USER... | package com.veyndan.redditclient.api.reddit.network.interceptor;
import java.io.IOException;
import java.util.Objects;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
public final class UserAgentInterceptor implements Interceptor {
private static final String USER_AGENT_HEADER_NAME =... | Replace Preconditions.checkNonNull() from Guava with Java sdks Objects.requireNonNull() | Replace Preconditions.checkNonNull() from Guava with Java sdks Objects.requireNonNull()
| Java | mit | veyndan/reddit-client,veyndan/paper-for-reddit,veyndan/paper-for-reddit |
06ef4cd63df58c4b7e287556b95886d2e5b32759 | editor-impl/src/main/java/org/cytoscape/editor/internal/CopyTaskFactory.java | editor-impl/src/main/java/org/cytoscape/editor/internal/CopyTaskFactory.java | package org.cytoscape.editor.internal;
import java.util.List;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.model.CyNetworkManager;
import org.cytoscape.model.CyNode;
import org.cytoscape.model.CyTableUtil;
import org.cytoscape.task.AbstractNetworkViewTaskFactory;
import org.cytoscape.view.model.CyNetwor... | package org.cytoscape.editor.internal;
import java.util.List;
import org.cytoscape.model.CyEdge;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.model.CyNetworkManager;
import org.cytoscape.model.CyNode;
import org.cytoscape.model.CyTableUtil;
import org.cytoscape.task.AbstractNetworkViewTaskFactory;
impor... | Make sure to allow copy if only edges are selected | Make sure to allow copy if only edges are selected
| Java | lgpl-2.1 | cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl |
26f4b4deeabcd7e578ed6491c627de83100e724e | src/main/java/org/gitlab4j/api/models/ArtifactsFile.java | src/main/java/org/gitlab4j/api/models/ArtifactsFile.java | package org.gitlab4j.api.models;
import org.gitlab4j.api.utils.JacksonJson;
public class ArtifactsFile {
private String filename;
private Integer size;
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
... | package org.gitlab4j.api.models;
import org.gitlab4j.api.utils.JacksonJson;
public class ArtifactsFile {
private String filename;
private Long size;
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
p... | Support larger file sizes by expanding the size type to a Long. | Support larger file sizes by expanding the size type to a Long.
| Java | mit | gmessner/gitlab4j-api |
c5e7af302c7dcc9fca33a71af6d1fbe6ae9634ea | extensions/quarkus-rest/runtime/src/main/java/io/quarkus/rest/runtime/injection/ContextProducers.java | extensions/quarkus-rest/runtime/src/main/java/io/quarkus/rest/runtime/injection/ContextProducers.java | package io.quarkus.rest.runtime.injection;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.sse.Sse;
import io.quarkus.rest.runtime... | package io.quarkus.rest.runtime.injection;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.sse.Sse;
import io.quarkus.rest.runtime... | Add support for doing injecting HttpServerRequest with @Context | Add support for doing injecting HttpServerRequest with @Context
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
b38e7718c017288bc0e29200e44a48d0ae6b3385 | pm-server/src/main/java/com/pm/server/controller/GhostControllerImpl.java | pm-server/src/main/java/com/pm/server/controller/GhostControllerImpl.java | package com.pm.server.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframewor... | package com.pm.server.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframewor... | Fix null exception if no ghosts found | Fix null exception if no ghosts found
| Java | mit | pacmacro/pm-server,pacmacro/pm-server,pacmacro/pm-server |
5134ded8eb0fe6ec498c4836853f7fb90f8b0c37 | src/main/java/org/jenkinsci/plugins/ghprb/HttpConnectorWithJenkinsProxy.java | src/main/java/org/jenkinsci/plugins/ghprb/HttpConnectorWithJenkinsProxy.java | package org.jenkinsci.plugins.ghprb;
import hudson.ProxyConfiguration;
import org.kohsuke.github.HttpConnector;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpConnectorWithJenkinsProxy implements HttpConnector {
public HttpURLConnection connect(URL url) throw... | package org.jenkinsci.plugins.ghprb;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import org.kohsuke.github.HttpConnector;
import hudson.ProxyConfiguration;
public class HttpConnectorWithJenkinsProxy implements HttpConnector {
public HttpURLConnection connect(URL url) thro... | Use default timeouts for URLConnections | [JENKINS-31827] Use default timeouts for URLConnections
| Java | mit | AtkinsChang/ghprb,janinko/ghprb,arcadia/ghprb-plugin,mmitche/ghprb,AtkinsChang/ghprb,fbelzunc/ghprb-plugin,jenkinsci/ghprb-plugin,ithaka/ghprb-plugin,DavidTanner/ghprb-plugin,DavidTanner/ghprb-plugin,dulvac/ghprb-plugin,ithaka/ghprb-plugin,arcadia/ghprb-plugin,fbelzunc/ghprb-plugin,jenkinsci/ghprb-plugin,dulvac/ghprb-p... |
a98990563b3023dde77cac425899c63942d3cff3 | src/BU/transactions/Rule.java | src/BU/transactions/Rule.java | package BU.transactions;
public class Rule {
final String TYPE = "operation";
String softwareService;
String url;
public Rule(String softwareService, String url) {
this.softwareService = softwareService;
this.url = url;
}
public String toString() {
String res = "";
String[] ssArray = this.softwareServ... | package BU.transactions;
public class Rule {
final String TYPE = "operation";
String softwareService;
String url;
public Rule(String softwareService, String url) {
this.softwareService = softwareService;
this.url = url;
}
public String toString() {
String res = "";
String[] ssArray = this.softwareServ... | Fix bug removes spaces from Software Service names | Fix bug removes spaces from Software Service names | Java | mit | ashe540/dynatrace-bu-importer |
afa0ade132a6684004288a6494e115820550b7ae | document/src/main/java/com/yahoo/document/ReferenceDataType.java | document/src/main/java/com/yahoo/document/ReferenceDataType.java | // Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.yahoo.document.datatypes.FieldValue;
import com.yahoo.document.datatypes.ReferenceFieldValue;
public class ReferenceDataType extends DataType {
private final Do... | // Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.yahoo.document.datatypes.FieldValue;
import com.yahoo.document.datatypes.ReferenceFieldValue;
public class ReferenceDataType extends DataType {
private final Do... | Delete to existing constructor and fix typo | Delete to existing constructor and fix typo
| 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 |
4b23df84fad9f334b82ca6235d115d277b75fc2c | opfiab/src/main/java/org/onepf/opfiab/model/event/BillingEvent.java | opfiab/src/main/java/org/onepf/opfiab/model/event/BillingEvent.java | /*
* Copyright 2012-2014 One Platform 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 applicable ... | /*
* Copyright 2012-2014 One Platform 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 applicable ... | Change Setup as a standalone Event. | Change Setup as a standalone Event.
| Java | apache-2.0 | onepf/OPFIab,ptornhult/OPFIab |
fa7c2d12600b281fed3550d768ad1af5c3067511 | trunk/CVSROOT/org.mwc.debrief.core/src/org/mwc/debrief/core/creators/chartFeatures/InsertVPFLayers.java | trunk/CVSROOT/org.mwc.debrief.core/src/org/mwc/debrief/core/creators/chartFeatures/InsertVPFLayers.java | /**
*
*/
package org.mwc.debrief.core.creators.chartFeatures;
import MWC.GUI.*;
import MWC.GUI.Tools.Palette.CreateVPFLayers;
/**
* @author ian.mayo
*
*/
public class InsertVPFLayers extends CoreInsertChartFeature
{
/**
* @return
*/
protected Plottable getPlottable(PlainChart theChart)
{
return Create... | /**
*
*/
package org.mwc.debrief.core.creators.chartFeatures;
import MWC.GUI.*;
import MWC.GUI.Tools.Palette.CreateVPFLayers;
/**
* @author ian.mayo
*
*/
public class InsertVPFLayers extends CoreInsertChartFeature
{
public InsertVPFLayers()
{
// tell our parent that we want to be inserted as a top-level ... | Stop us going in as top-level layer | Stop us going in as top-level layer
git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@883 cb33b658-6c9e-41a7-9690-cba343611204
| Java | epl-1.0 | debrief/debrief,pecko/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,pecko/debrief,debrief/debrief,alastrina123/debrief,theanuradha/debrief,pecko/debrief,theanuradha/debrief,alastrina123/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,alast... |
968898589e9296eb565e788ce7d7c1c93beda6ad | src/main/java/se/transmode/gradle/plugins/docker/JavaBaseImage.java | src/main/java/se/transmode/gradle/plugins/docker/JavaBaseImage.java | /**
* Copyright 2014 Transmode AB
*
* 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 Transmode AB
*
* 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... | Use new official java (openjdk-jre) base images | Use new official java (openjdk-jre) base images
| Java | apache-2.0 | Transmode/gradle-docker |
d2f779ac5cb71eef1b1e50e6aa853b88666b0a84 | gandalf-library-test/src/test/java/com/fernandocejas/android10/gandalf/joinpoint/GandalfJoinPointTest.java | gandalf-library-test/src/test/java/com/fernandocejas/android10/gandalf/joinpoint/GandalfJoinPointTest.java | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.gandalf.joinpoint;
import com.fernandocejas.android10.gandalf.ApplicationTestCase;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.core.Is.is... | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.gandalf.joinpoint;
import com.fernandocejas.android10.gandalf.ApplicationTestCase;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException... | Add constructor test to GandalfJoinPoint. | Add constructor test to GandalfJoinPoint.
| Java | apache-2.0 | android10/gandalf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.