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 |
|---|---|---|---|---|---|---|---|---|---|
1d3add4e3a555c8be618ad68bbb172be3c5c1f6d | src/maze/Cell.java | src/maze/Cell.java | package maze;
import java.util.LinkedList;
import java.util.List;
/**
* @author Nick Hirakawa
*/
public class Cell {
private int x;
private int y;
private boolean visited;
private List<Cell> neighbors;
public Cell(int x, int y){
this.x = x;
this.y = y;
this.setVisited(... | package maze;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
/**
* @author Nick Hirakawa
*/
public class Cell {
private int x;
private int y;
private boolean visited;
private List<Cell> neighbors;
private Random random;
public Cell(int x, int y){
this.... | Add method for getting random neighbor | Add method for getting random neighbor
| Java | mit | nh0815/jMaze |
29ea587a2d750fd43f72a36b051dd5e6a0e3cfba | src/test/java/hudson/plugins/git/extensions/impl/CloneOptionTest.java | src/test/java/hudson/plugins/git/extensions/impl/CloneOptionTest.java | package hudson.plugins.git.extensions.impl;
import nl.jqno.equalsverifier.EqualsVerifier;
import nl.jqno.equalsverifier.Warning;
import org.junit.Test;
public class CloneOptionTest {
@Test
public void equalsContract() {
EqualsVerifier.forClass(CloneOption.class)
.usingGetClass()
... | package hudson.plugins.git.extensions.impl;
import hudson.plugins.git.extensions.GitClientType;
import nl.jqno.equalsverifier.EqualsVerifier;
import nl.jqno.equalsverifier.Warning;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import org.junit.Test;
public class CloneOptionTest {
... | Add a test for CloneOption.getRequiredClient | Add a test for CloneOption.getRequiredClient
Cheap and harmless to test | Java | mit | MarkEWaite/git-plugin,MarkEWaite/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,jenkinsci/git-plugin,martinda/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin |
1eb995a464ea05e1cc70781ad254b08be932e221 | deeplearning4j-core/src/main/java/org/deeplearning4j/nn/conf/layers/RnnOutputLayer.java | deeplearning4j-core/src/main/java/org/deeplearning4j/nn/conf/layers/RnnOutputLayer.java | package org.deeplearning4j.nn.conf.layers;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction;
@Data @NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public cl... | package org.deeplearning4j.nn.conf.layers;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.nd4j.linalg.lossfunctions.LossFunctions.LossFunction;
@Data @NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public cl... | Add default loss for RNNOutput | Add default loss for RNNOutput
Former-commit-id: bb723e819949ca911702dff1bcae3f1507df92d5 | Java | apache-2.0 | huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/... |
29877ed22477fc2a7d20fc0a2510b5ea0c81eb97 | shout-to-me-sdk/src/main/java/me/shoutto/sdk/internal/http/DefaultUrlProvider.java | shout-to-me-sdk/src/main/java/me/shoutto/sdk/internal/http/DefaultUrlProvider.java | package me.shoutto.sdk.internal.http;
import me.shoutto.sdk.StmBaseEntity;
/**
* Implementation of URL provider for Shout to Me API service endpoints
*/
public class DefaultUrlProvider implements StmUrlProvider {
private String baseApiUrl;
public DefaultUrlProvider(String baseApiUrl) {
this.baseA... | package me.shoutto.sdk.internal.http;
import me.shoutto.sdk.StmBaseEntity;
/**
* Implementation of URL provider for Shout to Me API service endpoints
*/
public class DefaultUrlProvider implements StmUrlProvider {
private String baseApiUrl;
public DefaultUrlProvider(String baseApiUrl) {
this.baseA... | Add some protection to default url provider | Add some protection to default url provider
| Java | mit | ShoutToMe/stm-sdk-android |
b32830dfece995a893fc5b7e7bdc6c7ab5b27867 | modules/Core/src/test/java/jpower/core/test/CoreTestSuite.java | modules/Core/src/test/java/jpower/core/test/CoreTestSuite.java | package jpower.core.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses(
{AlphabetTest.class, ConditionTest.class, ConfigurationTest.class, FactoryTest.class, InternalTest.class,
IOUtilsTest.class, LoadTest.class, MultiMapTest.class,... | package jpower.core.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
AlphabetTest.class,
ConditionTest.class,
ConfigurationTest.class,
FactoryTest.class,
InternalTest.class,
IOUtilsTest.class,
Loa... | Add ServiceTest to the Core Test Suite. | Add ServiceTest to the Core Test Suite.
| Java | mit | DirectMyFile/JPower |
6c41ac943e970fe71bd946804725a24ff3d8202a | src/main/java/com/codenvy/ide/editor/codemirror/client/CodeMirrorTextEditorViewFactory.java | src/main/java/com/codenvy/ide/editor/codemirror/client/CodeMirrorTextEditorViewFactory.java | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | Add a constants parameter to the view factory | Add a constants parameter to the view factory | Java | epl-1.0 | codenvy/plugin-editor-codemirror,codenvy/plugin-editor-codemirror |
fc8025d224057a7269876ce13d63e20a6402aa2c | src/forager/server/ListManager.java | src/forager/server/ListManager.java |
package forager.server;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
public class ListManager {
private FileOutputStream taskListOut;
private PrintWriter taskListWriter;
public ListManager() throws IOException {
St... |
package forager.server;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
public class ListManager {
public static final String DEFAULT_LIST_NAME = "tasklist";
private FileOutputStream taskListOut;
private PrintWriter taskListW... | Add completed task file implementation | Add completed task file implementation
| Java | bsd-2-clause | malensek/forager,malensek/forager |
bf97a02c180d12161d6700d82662f4fa3dcd63ec | build-generation/src/test/java/org/ihtsdo/buildgeneration/BuildGeneratorTest.java | build-generation/src/test/java/org/ihtsdo/buildgeneration/BuildGeneratorTest.java | package org.ihtsdo.buildgeneration;
import org.ihtsdo.buildcloud.entity.Package;
import org.ihtsdo.buildcloud.entity.helper.TestEntityFactory;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.springframework.util.StreamUtils;
import java.io.ByteArrayOutputStream;
import java.io.IOEx... | package org.ihtsdo.buildgeneration;
import org.ihtsdo.buildcloud.entity.Package;
import org.ihtsdo.buildcloud.entity.helper.TestEntityFactory;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.springframework.util.StreamUtils;
import java.io.ByteArrayOutputStream;
import java.io.IOEx... | Fix issue with PC WhiteSpace (/r/n) causing test failure. | Fix issue with PC WhiteSpace (/r/n) causing test failure. | Java | apache-2.0 | IHTSDO/snomed-release-service,IHTSDO/snomed-release-service |
a2150e22e90b75e7bbf4193c5ca8cd7379567be3 | test/java/src/com/ibm/streamsx/rest/test/AppBundleSasTest.java | test/java/src/com/ibm/streamsx/rest/test/AppBundleSasTest.java | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2018
*/
package com.ibm.streamsx.rest.test;
import java.io.IOException;
import com.ibm.streamsx.rest.Instance;
/**
* Test use of ApplicationBundle including Job submission
* to a service.
*
*/
public class AppBundleSasTest extends AppBundleTest {
... | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2018
*/
package com.ibm.streamsx.rest.test;
import static org.junit.Assume.assumeNotNull;
import java.io.IOException;
import org.junit.Before;
import com.ibm.streamsx.rest.Instance;
/**
* Test use of ApplicationBundle including Job submission
* to... | Check for Sas setup before compiling | Check for Sas setup before compiling
| Java | apache-2.0 | IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,d... |
ef276ecd44ddb50ec58d8ab04b39a0e30777309a | contrib-components/src/main/java/net/mostlyoriginal/api/component/graphics/Color.java | contrib-components/src/main/java/net/mostlyoriginal/api/component/graphics/Color.java | package net.mostlyoriginal.api.component.graphics;
import com.artemis.Component;
/**
* Color for animations, labels.
*
* Optional, convention is to assume white if not set.
*
* @author Daan van Yperen
*/
public class Color extends Component {
public float r;
public float g;
public float b;
publ... | package net.mostlyoriginal.api.component.graphics;
import com.artemis.Component;
/**
* Color for animations, labels.
*
* Optional, convention is to assume white if not set.
*
* @author Daan van Yperen
*/
public class Color extends Component {
public float r;
public float g;
public float b;
publ... | Add hex constructor to color. | Add hex constructor to color.
| Java | cc0-1.0 | ThaBalla1148/artemis-odb-contrib,antag99/artemis-odb-contrib,ThaBalla1148/artemis-odb-contrib,antag99/artemis-odb-contrib,piotr-j/artemis-odb-contrib,piotr-j/artemis-odb-contrib |
3b0aab960fd6d046e4afc85a20f12737de2162bf | src/main/java/info/agrueneberg/fhir/configurations/SecurityConfig.java | src/main/java/info/agrueneberg/fhir/configurations/SecurityConfig.java | package info.agrueneberg.fhir.configurations;
import info.agrueneberg.fhir.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManage... | package info.agrueneberg.fhir.configurations;
import info.agrueneberg.fhir.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.... | Disable security for OPTIONS requests. | Disable security for OPTIONS requests.
| Java | agpl-3.0 | agrueneberg/FHIR |
4b236384b9da667596a77aba2b8c2b572f8a2a48 | java/mafia-game-server/src/main/java/com/mafia/server/bus/events/PlayerEvents.java | java/mafia-game-server/src/main/java/com/mafia/server/bus/events/PlayerEvents.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mafia.server.bus.events;
import com.mafia.server.bus.notify.NotifyGame;
import com.mafia.server.bus.notify.NotifyViewState... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mafia.server.bus.events;
import com.mafia.server.bus.notify.NotifyViewState;
import com.mafia.server.model.state.Game;
imp... | Check game when player quits | Check game when player quits
| Java | mit | team142/mafia,team142/mafia,team142/mafia,team142/mafia |
4dd0931520ce22603f707eb3c5eacba1ac17ca23 | service-realization/src/main/java/sg/ncl/service/realization/web/RealizationsController.java | service-realization/src/main/java/sg/ncl/service/realization/web/RealizationsController.java | package sg.ncl.service.realization.web;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.Res... | package sg.ncl.service.realization.web;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.Res... | Add start method to controller | Add start method to controller
| Java | apache-2.0 | nus-ncl/services-in-one,nus-ncl/services-in-one |
dc2605765e0732fd6d69d6923a1099737e990d19 | runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/MetricsSink.java | runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/MetricsSink.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Remove unneeded null check, format | Remove unneeded null check, format
| Java | apache-2.0 | lukecwik/incubator-beam,tgroh/beam,apache/beam,rangadi/incubator-beam,lukecwik/incubator-beam,chamikaramj/beam,chamikaramj/beam,tgroh/incubator-beam,RyanSkraba/beam,RyanSkraba/beam,RyanSkraba/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,chamikaramj/beam,rangadi/beam,markflyhigh/incubator-beam,chamikaramj/beam,c... |
cdc00d9edec3a701c2bad453c68f6b54b71a96c8 | app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java | app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java | package org.wikipedia.offline;
import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class DownloadManagerReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
... | package org.wikipedia.offline;
import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class DownloadManagerReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
... | Fix possible crash when clicking DownloadManager notification. | Fix possible crash when clicking DownloadManager notification.
The LocalCompilationsActivity must be launched with the NEW_TASK flag,
since we're calling startActivity() from outside an Activity context.
Bug: T172860
Change-Id: I54a3c8a7a9ea282d94298de4e998e35d0adbabb0
| Java | apache-2.0 | wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia |
3ee11b12d04f9ff5e2306b9dfd95874723678bdc | src/main/java/hello/config/Security.java | src/main/java/hello/config/Security.java | package hello.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.conf... | package hello.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.conf... | Split up the HTTP security config for readability. | Split up the HTTP security config for readability.
| Java | bsd-3-clause | hainesr/mvc-dev,hainesr/mvc-dev |
fd192da00b86fb70cefc9bc2a4a494e8a36a4393 | BeeeOn/app/src/main/java/com/rehivetech/beeeon/gcm/GcmRegistrationIntentService.java | BeeeOn/app/src/main/java/com/rehivetech/beeeon/gcm/GcmRegistrationIntentService.java | package com.rehivetech.beeeon.gcm;
import android.app.IntentService;
import android.content.Intent;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.google.android.gms.iid.InstanceID;
import com.rehivetech.beeeon.R;
import com.rehivetech.beeeon.controller.Controller;
import com.rehivetech.beeeon.mod... | package com.rehivetech.beeeon.gcm;
import android.app.IntentService;
import android.content.Intent;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.google.android.gms.iid.InstanceID;
import com.rehivetech.beeeon.R;
import com.rehivetech.beeeon.controller.Controller;
import com.rehivetech.beeeon.mod... | FIx null pointer in gcm registration service | FIx null pointer in gcm registration service
| Java | bsd-3-clause | BeeeOn/android,BeeeOn/android,BeeeOn/android |
fad6326a73ef87a32f413952def254bd7ef46d31 | src/main/java/com/greghaskins/spectrum/AfterEachBlock.java | src/main/java/com/greghaskins/spectrum/AfterEachBlock.java | package com.greghaskins.spectrum;
import com.greghaskins.spectrum.Spectrum.Block;
import java.util.ArrayList;
import java.util.List;
class AfterEachBlock implements Block {
private final List<Block> blocks;
public AfterEachBlock() {
this.blocks = new ArrayList<>();
}
@Override
public void run() thro... | package com.greghaskins.spectrum;
import com.greghaskins.spectrum.Spectrum.Block;
import java.util.ArrayList;
import java.util.List;
class AfterEachBlock implements Block {
private final List<Block> blocks;
public AfterEachBlock() {
this.blocks = new ArrayList<>();
}
@Override
public void run() thro... | Clarify AfterEach execution flow (naming) | Clarify AfterEach execution flow (naming)
| Java | mit | greghaskins/spectrum |
275c51e0d9b70fbae84360d2dceb0c29abdc9524 | src/main/java/org/sonar/plugins/xquery/api/XQueryConstants.java | src/main/java/org/sonar/plugins/xquery/api/XQueryConstants.java | /*
* © 2013 by Intellectual Reserve, Inc. All rights reserved.
*/
package org.sonar.plugins.xquery.api;
public interface XQueryConstants {
static String XQUERY_LANGUAGE_KEY = "xqy";
static String FILE_EXTENSIONS_KEY = "sonar.marklogic.fileExtensions";
static String SOURCE_DIRECTORY_KEY = "sonar.marklog... | /*
* © 2013 by Intellectual Reserve, Inc. All rights reserved.
*/
package org.sonar.plugins.xquery.api;
public interface XQueryConstants {
static String XQUERY_LANGUAGE_KEY = "xquery";
static String FILE_EXTENSIONS_KEY = "sonar.marklogic.fileExtensions";
static String SOURCE_DIRECTORY_KEY = "sonar.mark... | Change language key to something more appropriate | Change language key to something more appropriate
| Java | apache-2.0 | malteseduck/sonar-xquery-plugin |
922f1e8d77fe74243b74e6f362d5da12750e3656 | app/templates/src/main/java/package/web/rest/_AuditResource.java | app/templates/src/main/java/package/web/rest/_AuditResource.java | package <%=packageName%>.web.rest;
import <%=packageName%>.security.AuthoritiesConstants;
import <%=packageName%>.service.AuditEventService;
import <%=packageName%>.web.propertyeditors.LocaleDateTimeEditor;
import org.joda.time.LocalDateTime;
import org.springframework.boot.actuate.audit.AuditEvent;
import org.springf... | package <%=packageName%>.web.rest;
import <%=packageName%>.security.AuthoritiesConstants;
import <%=packageName%>.service.AuditEventService;
import <%=packageName%>.web.propertyeditors.LocaleDateTimeEditor;
import org.joda.time.LocalDateTime;
import org.springframework.boot.actuate.audit.AuditEvent;
import org.springf... | Use MediaType instead of user-written string | Use MediaType instead of user-written string | Java | apache-2.0 | ruddell/generator-jhipster,vivekmore/generator-jhipster,erikkemperman/generator-jhipster,siliconharborlabs/generator-jhipster,vivekmore/generator-jhipster,pascalgrimaud/generator-jhipster,sohibegit/generator-jhipster,sohibegit/generator-jhipster,wmarques/generator-jhipster,robertmilowski/generator-jhipster,liseri/gener... |
1eddff93df20a47e900ef7c0c4e1921494037ff4 | org.metaborg.meta.lang.template/src/main/strategies/org/metaborg/meta/lang/template/strategies/unquote_0_0.java | org.metaborg.meta.lang.template/src/main/strategies/org/metaborg/meta/lang/template/strategies/unquote_0_0.java | package org.metaborg.meta.lang.template.strategies;
import org.spoofax.interpreter.core.Tools;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermFactory;
import org.strategoxt.lang.Context;
import org.strategoxt.lang.Strategy;
public class unquote_0_0 extends Strategy {
... | package org.metaborg.meta.lang.template.strategies;
import org.spoofax.interpreter.core.Tools;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermFactory;
import org.strategoxt.lang.Context;
import org.strategoxt.lang.Strategy;
public class unquote_0_0 extends Strategy {
... | Fix `unquote` strategy for strings containing just a single quote | Fix `unquote` strategy for strings containing just a single quote
| Java | apache-2.0 | metaborg/sdf,metaborg/sdf,metaborg/sdf |
3f4b6d9dd78e9f5b5fef4e86fde3c5973f837d08 | plume-web-jersey/src/main/java/com/coreoz/plume/jersey/jackson/ObjectMapperProvider.java | plume-web-jersey/src/main/java/com/coreoz/plume/jersey/jackson/ObjectMapperProvider.java | package com.coreoz.plume.jersey.jackson;
import javax.inject.Provider;
import javax.inject.Singleton;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
// check https://github.com/FasterXML/jac... | package com.coreoz.plume.jersey.jackson;
import javax.inject.Provider;
import javax.inject.Singleton;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.datatype.jsr3... | Add Java 8 Time serialization feature for Jackson | Add Java 8 Time serialization feature for Jackson | Java | apache-2.0 | Coreoz/Plume |
4155b7dd6f53c1f8c814b0477c397c9e75103845 | micrometer-core/src/main/java/io/micrometer/core/instrument/simple/CumulativeCounter.java | micrometer-core/src/main/java/io/micrometer/core/instrument/simple/CumulativeCounter.java | /**
* Copyright 2017 Pivotal Software, Inc.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicab... | /**
* Copyright 2017 Pivotal Software, Inc.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicab... | Remove unintended import of Guava classes | Remove unintended import of Guava classes
| Java | apache-2.0 | micrometer-metrics/micrometer,micrometer-metrics/micrometer,micrometer-metrics/micrometer |
a766f7c0c0a21f63af848d06a359ee15c690fe89 | clc-java-sdk/src/test/java/com/centurylinkcloud/servers/service/ServerServiceTest.java | clc-java-sdk/src/test/java/com/centurylinkcloud/servers/service/ServerServiceTest.java | package com.centurylinkcloud.servers.service;
import com.centurylinkcloud.servers.config.ServersModule;
import com.centurylinkcloud.servers.domain.*;
import com.centurylinkcloud.servers.domain.datacenter.DataCenters;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.Injector;
im... | package com.centurylinkcloud.servers.service;
import com.centurylinkcloud.servers.config.ServersModule;
import com.centurylinkcloud.servers.domain.*;
import com.centurylinkcloud.servers.domain.datacenter.DataCenters;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.Injector;
im... | Add support of Google Guice dependency injection at integration tests | Add support of Google Guice dependency injection at integration tests
| Java | apache-2.0 | CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk |
c138fbd0341488a344dcada1543fc453493679af | rxbinding/src/main/java/com/jakewharton/rxbinding/internal/MainThreadSubscription.java | rxbinding/src/main/java/com/jakewharton/rxbinding/internal/MainThreadSubscription.java | package com.jakewharton.rxbinding.internal;
import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import rx.Subscription;
public abstract class MainThreadSubscription implements Subscription, Runnable {
private static final Handler mainThread = new Handle... | package com.jakewharton.rxbinding.internal;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.Keep;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import rx.Subscription;
public abstract class MainThreadSubscription implements Subscription, Runnable {
private sta... | Add @Keep annotation on unsubscribed field | Add @Keep annotation on unsubscribed field
Since it's accessed via reflection, this needs to be kept un-obfuscated.
| Java | apache-2.0 | Edward608/RxBinding,skoric/RxBinding,dlew/RxBinding,hzsweers/RxBinding,chemouna/RxBinding,lockerfish/RxBinding,pitatensai/RxBinding,rharter/RxBinding,JakeWharton/RxBinding,vipulshah2010/RxBinding,Edward608/RxBinding,vipulshah2010/RxBinding,vanniktech/RxBinding,dsvoronin/RxBinding,Edward608/RxBinding,dsvoronin/RxBinding... |
0475579b2bb05a256085c45329bd3b0dd29ae638 | subprojects/core/src/main/java/org/gradle/caching/internal/tasks/TaskOutputPacker.java | subprojects/core/src/main/java/org/gradle/caching/internal/tasks/TaskOutputPacker.java | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add missing words to comment | Add missing words to comment
+review REVIEW-6446
| Java | apache-2.0 | gstevey/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle... |
f0ed9c12a85ab3ccea3170c49e77aede31fdbb96 | src/test/java/com/hubspot/dropwizard/guice/InjectedResourcesTest.java | src/test/java/com/hubspot/dropwizard/guice/InjectedResourcesTest.java | package com.hubspot.dropwizard.guice;
import com.hubspot.dropwizard.guice.objects.ExplicitDAO;
import com.hubspot.dropwizard.guice.objects.ExplicitResource;
import io.dropwizard.testing.junit.ResourceTestRule;
import org.junit.ClassRule;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;... | package com.hubspot.dropwizard.guice;
import com.hubspot.dropwizard.guice.objects.ExplicitDAO;
import com.hubspot.dropwizard.guice.objects.ExplicitResource;
import com.squarespace.jersey2.guice.JerseyGuiceUtils;
import io.dropwizard.testing.junit.ResourceTestRule;
import org.junit.AfterClass;
import org.junit.Before... | Make sure this is set up before the test runs | Make sure this is set up before the test runs
| Java | apache-2.0 | HubSpot/dropwizard-guice |
e434266c709807509960cdcdacf63ae331a1d622 | tests/model/TestBoard.java | tests/model/TestBoard.java | package model;
import junit.framework.TestCase;
import java.awt.Color;
/**
*
* @author bwoconnor
*
*/
public class TestBoard extends TestCase{
public void testBoard(){
}
}
| package model;
import junit.framework.TestCase;
import java.awt.Color;
/**
*
* @author bwoconnor
*
*/
public class TestBoard extends TestCase{
public void testBoard(){
Board b = new Board();
b.board[0][0] = new BoardTile(0,0);
b.board[1][0] = new BoardTile(1,0);
b.board[2][0] = new BoardTile(2,0);
... | Test created, had to stop because of piece issues. | Test created, had to stop because of piece issues.
| Java | mit | Betta-Testers/Imbrius-Kabasuji |
0da826dce79c29245d00baef7ed4ad651c1111cc | src/main/java/wtf/password/ZxcvbnRemote.java | src/main/java/wtf/password/ZxcvbnRemote.java | package wtf.password;
import retrofit.RestAdapter;
import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
/**
* @author <a href="mailto:erik.beeson@gmail.com">Erik Beeson</a>
*/
public class ZxcvbnRemote {
private final ZxcvbnRemoteService service;
public ZxcvbnRemote() {
t... | package wtf.password;
import retrofit.RestAdapter;
import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
/**
* @author <a href="mailto:erik.beeson@gmail.com">Erik Beeson</a>
*/
public class ZxcvbnRemote {
private final ZxcvbnRemoteService service;
public ZxcvbnRemote(String ... | Remove default constructor to ensure that consumers understand this is a remote service | Remove default constructor to ensure that consumers understand this is a remote service
| Java | mit | shelv-es/zxcvbn-remote-java |
be0e913059b12eff40e7718354f520b2e16bab6b | quickgo-client/src/main/java/uk/ac/ebi/quickgo/client/service/loader/presets/evidence/RawEvidenceNamedPresetValidator.java | quickgo-client/src/main/java/uk/ac/ebi/quickgo/client/service/loader/presets/evidence/RawEvidenceNamedPresetValidator.java | package uk.ac.ebi.quickgo.client.service.loader.presets.evidence;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.batch.item.validator.ValidationException;
import static uk.ac.ebi.quickgo.client.service.loader.presets.PresetsValidationHelper.checkIsNullOrEmpty;
/**
* Validates the {@... | package uk.ac.ebi.quickgo.client.service.loader.presets.evidence;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.batch.item.validator.ValidationException;
import static uk.ac.ebi.quickgo.client.service.loader.presets.PresetsValidationHelper.checkIsNullOrEmpty;
/**
* Validates the {@... | Fix cut 'n' paster error RawDBPreset -> RawEvidenceNamedPreset. Code tidy. | Fix cut 'n' paster error RawDBPreset -> RawEvidenceNamedPreset. Code tidy.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
4358e4b9152cfa3e443e48e4594ff30a94e9ce8d | samples/helloworld/src/main/java/org/wso2/msf4j/example/HelloService.java | samples/helloworld/src/main/java/org/wso2/msf4j/example/HelloService.java | /*
* Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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 re... | /*
* Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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 re... | Remove unused imports from helloworld sample | Remove unused imports from helloworld sample
| Java | apache-2.0 | thusithathilina/msf4j,wso2/msf4j,tikaa/msf4j,wso2/msf4j,wso2/product-mss,chrishantha/msf4j,arunasujith/msf4j,wso2/product-mss,tikaa/msf4j,chrishantha/msf4j,bsenduran/product-mss,bsenduran/product-mss,chrishantha/msf4j,arunasujith/msf4j,arunasujith/msf4j,chrishantha/msf4j,thusithathilina/msf4j,thusithathilina/msf4j,thus... |
dff7a6e4cfa46c26483c4dd1f19faf1943b8b6f9 | src/main/java/org/cyclops/integrateddynamics/capability/cable/CableFakeableDefault.java | src/main/java/org/cyclops/integrateddynamics/capability/cable/CableFakeableDefault.java | package org.cyclops.integrateddynamics.capability.cable;
import org.cyclops.integrateddynamics.api.block.cable.ICableFakeable;
/**
* Default implementation of {@link ICableFakeable}.
* @author rubensworks
*/
public abstract class CableFakeableDefault implements ICableFakeable {
private boolean real = true;
... | package org.cyclops.integrateddynamics.capability.cable;
import org.cyclops.integrateddynamics.api.block.cable.ICableFakeable;
/**
* Default implementation of {@link ICableFakeable}.
* @author rubensworks
*/
public abstract class CableFakeableDefault implements ICableFakeable {
private boolean real = true;
... | Fix display panels causing unnecessary chunk rerenders | Fix display panels causing unnecessary chunk rerenders
| Java | mit | CyclopsMC/IntegratedDynamics |
0eb6e0759649a04bf482377324486e3863856404 | src/main/java/com/farm/processes/AccountBalanceProcess.java | src/main/java/com/farm/processes/AccountBalanceProcess.java | package com.farm.processes;
import com.farm.database.accounts.AccountBalance;
import com.farm.database.accounts.AccountBalanceRepository;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.transaction.Transactional;
/**
* Farm project. 2017
* Description:
*/
@Service
@Tr... | package com.farm.processes;
import com.farm.database.accounts.Account;
import com.farm.database.accounts.AccountBalance;
import com.farm.database.accounts.AccountBalanceRepository;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.transaction.Transactional;
import static j... | Work with account balance process | Work with account balance process
| Java | mit | PolexRufous/Farm |
b375893692e26c15beb38e88f8b822a8dd35c03c | src/test/java/info/u_team/u_team_test/block/BasicBlock.java | src/test/java/info/u_team/u_team_test/block/BasicBlock.java | package info.u_team.u_team_test.block;
import info.u_team.u_team_core.block.UBlock;
import info.u_team.u_team_test.init.TestItemGroups;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.item.*;
public class BasicBlock extends UBlock {
public BasicBlock(String ... | package info.u_team.u_team_test.block;
import info.u_team.u_team_core.block.UBlock;
import info.u_team.u_team_test.init.TestItemGroups;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.item.*;
public class BasicBlock extends UBlock {
public BasicBlock() {
s... | Remove String name from basic block | Remove String name from basic block | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
acdf88350b985d279d5003375e5e0d709dc7204a | src/integration_test/java/info/u_team/u_team_test/integration/TestIntegrationNotCall.java | src/integration_test/java/info/u_team/u_team_test/integration/TestIntegrationNotCall.java | package info.u_team.u_team_test.integration;
import org.apache.logging.log4j.*;
import info.u_team.u_team_core.api.integration.*;
@Integration("xyz")
public class TestIntegrationNotCall implements IModIntegration {
public static final Logger LOGGER = LogManager.getLogger("IntegrationNotCall");
static {
LOGGE... | package info.u_team.u_team_test.integration;
import org.apache.logging.log4j.*;
import info.u_team.u_team_core.api.integration.*;
import info.u_team.u_team_test.TestMod;
@Integration(modid = TestMod.MODID, integration = "xyz")
public class TestIntegrationNotCall implements IModIntegration {
public static final Lo... | Add the new modid field in the integration not call | Add the new modid field in the integration not call | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
dc69f04feea2fe92b86ae549d855227fa50b30d0 | BeeeOn/app/src/main/java/com/rehivetech/beeeon/threading/task/ReloadDashboardDataTask.java | BeeeOn/app/src/main/java/com/rehivetech/beeeon/threading/task/ReloadDashboardDataTask.java | package com.rehivetech.beeeon.threading.task;
import android.content.Context;
import com.rehivetech.beeeon.controller.Controller;
import java.util.EnumSet;
/**
* Created by martin on 29.3.16.
*/
public class ReloadDashboardDataTask extends ReloadGateDataTask{
public ReloadDashboardDataTask(Context context, boo... | package com.rehivetech.beeeon.threading.task;
import android.content.Context;
import com.rehivetech.beeeon.controller.Controller;
import com.rehivetech.beeeon.exception.AppException;
import java.util.EnumSet;
/**
* Created by martin on 29.3.16.
*/
public class ReloadDashboardDataTask extends ReloadGateDataTask{
... | Fix crash in reload task in dashboard | Fix crash in reload task in dashboard
| Java | bsd-3-clause | BeeeOn/android,BeeeOn/android,BeeeOn/android |
adcfe76dad19e5acfafb0e63e0c27689f04a0d42 | gemfire-demo/hashtag-rest/src/main/java/org/springframework/xd/demo/gemfire/MvcConfig.java | gemfire-demo/hashtag-rest/src/main/java/org/springframework/xd/demo/gemfire/MvcConfig.java | /*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | /*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Add cross-domain origin header to responses. | Add cross-domain origin header to responses.
Implemented in MVC interceptor. | Java | apache-2.0 | dturanski/SpringOne2013,dturanski/SpringOne2013,dturanski/SpringOne2013 |
8141c353a0d116a5d2ef2254079907fdf237537a | liberty-filter-application/src/main/java/com/ibm/liberty/starter/filter/FilterServlet.java | liberty-filter-application/src/main/java/com/ibm/liberty/starter/filter/FilterServlet.java | /*******************************************************************************
* Copyright (c) 2016 IBM Corp.
*
* 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... | /*******************************************************************************
* Copyright (c) 2016 IBM Corp.
*
* 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... | Update filter to only redirect if accessed at root, otherwise produce 404 with link to actual page. | Update filter to only redirect if accessed at root, otherwise produce 404 with link to actual page.
Signed-off-by: Kate Stanley <59c12a62b1d23be702ac06d493bad7887a15d0c5@uk.ibm.com>
| Java | apache-2.0 | WASdev/tool.accelerate.core,WASdev/tool.groove.core,WASdev/tool.groove.core,WASdev/tool.artisan.core,WASdev/tool.accelerate.core,WASdev/tool.artisan.core,WASdev/tool.groove.core,WASdev/tool.accelerate.core,WASdev/tool.artisan.core |
517fad7f123664ba82780cbf9664d021c772d188 | dataprep-backend-common/src/main/java/org/talend/dataprep/configuration/CORSConfiguration.java | dataprep-backend-common/src/main/java/org/talend/dataprep/configuration/CORSConfiguration.java | package org.talend.dataprep.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.spring... | package org.talend.dataprep.configuration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.spring... | Fix support for preflight HTTP requests | TDP-982: Fix support for preflight HTTP requests
* Fix missing allowed header "accept" when doing preflight HTTP requests.
| Java | apache-2.0 | Talend/data-prep,Talend/data-prep,Talend/data-prep |
68c20a00eccef2bd3cf2a332682dab917830c150 | cluster-kubernetes/src/main/java/org/elasticsoftware/elasticactors/kubernetes/cluster/statemachine/impl/SingleThreadKubernetesStateMachine.java | cluster-kubernetes/src/main/java/org/elasticsoftware/elasticactors/kubernetes/cluster/statemachine/impl/SingleThreadKubernetesStateMachine.java | package org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.impl;
import io.fabric8.kubernetes.api.model.apps.StatefulSet;
import org.elasticsoftware.elasticactors.kubernetes.cluster.TaskScheduler;
import org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.AbstractKubernetesStateMachine;
i... | package org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.impl;
import io.fabric8.kubernetes.api.model.apps.StatefulSet;
import org.elasticsoftware.elasticactors.kubernetes.cluster.DaemonThreadFactory;
import org.elasticsoftware.elasticactors.kubernetes.cluster.TaskScheduler;
import org.elasticsoftware... | Make the State Machine thread a daemon thread | Make the State Machine thread a daemon thread
| Java | apache-2.0 | elasticsoftwarefoundation/elasticactors |
d4fc98c4ee32cceebb122b5e61f14c15d1abb301 | app/src/main/java/com/apps/adrcotfas/goodtime/Statistics/AllSessions/AddEditEntryDialogViewModel.java | app/src/main/java/com/apps/adrcotfas/goodtime/Statistics/AllSessions/AddEditEntryDialogViewModel.java | /*
* Copyright 2016-2019 Adrian Cotfas
*
* 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 2016-2019 Adrian Cotfas
*
* 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 ... | Set 'Add Session' time to current time (& date). | Set 'Add Session' time to current time (& date).
When adding a new session it's most often because I missed starting one. This means I then have to set the session time to the current time instead of it (previously, by default) arbitrarily being set to 9am of today. | Java | apache-2.0 | adrcotfas/Goodtime |
84d78cdea7f63fbad637deffecfc2d9ea2cc3515 | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/user/UserApiTest.java | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/user/UserApiTest.java | package com.yahoo.vespa.hosted.controller.restapi.user;
import com.yahoo.vespa.hosted.controller.restapi.ContainerControllerTester;
import com.yahoo.vespa.hosted.controller.restapi.ControllerContainerTest;
import org.junit.Test;
/**
* @author jonmv
*/
public class UserApiTest extends ControllerContainerTest {
... | package com.yahoo.vespa.hosted.controller.restapi.user;
import com.yahoo.vespa.hosted.controller.restapi.ContainerControllerTester;
import com.yahoo.vespa.hosted.controller.restapi.ControllerContainerTest;
import org.junit.Test;
/**
* @author jonmv
*/
public class UserApiTest extends ControllerContainerTest {
... | Update test for user API | Update test for user API
| 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 |
cce16173b8ca93260916eb38133031a4bd0dcf71 | src/Wift.java | src/Wift.java | public class Wift {
/**
* Wift - The BASIC Programming Language
*/
}
| public class Wift {
/**
* Wift - The BASIC Programming Language
*
* BASIC FUNCTIONALITY:
* - STRINGS []
* - INTEGERS []
* - ARITHMETIC []
* - VARIABLES []
*
*/
}
| Add "BASIC functionality" comments :star: | Add "BASIC functionality" comments :star: | Java | bsd-2-clause | SuriyaaKudoIsc/wift,SuriyaaKudoIsc/wift |
9d41dc71455a6d3f2e6c70e87dfb666c309d76b6 | clc-java-sdk/sdk/src/main/java/com/centurylink/cloud/sdk/servers/services/domain/ip/PublicIpConfig.java | clc-java-sdk/sdk/src/main/java/com/centurylink/cloud/sdk/servers/services/domain/ip/PublicIpConfig.java | package com.centurylink.cloud.sdk.servers.services.domain.ip;
import com.centurylink.cloud.sdk.servers.client.domain.ip.PortConfig;
/**
* @author Ilya Drabenia
*/
public class PublicIpConfig {
public PublicIpConfig ports(Integer... ports) {
return this;
}
public PublicIpConfig ports(PortConfig... | package com.centurylink.cloud.sdk.servers.services.domain.ip;
import com.centurylink.cloud.sdk.servers.client.domain.ip.PortConfig;
/**
* @author Ilya Drabenia
*/
public class PublicIpConfig {
public PublicIpConfig openPorts(Integer... ports) {
return this;
}
public PublicIpConfig openPorts(Po... | Implement domain model for add public IP | Implement domain model for add public IP
| Java | apache-2.0 | CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk,CenturyLinkCloud/clc-java-sdk |
27ec35eb18f3df474042b1076cfa7d16154e2d10 | roboDTNTest/src/com/ajj/robodtn/test/SdnvDataInputStreamTest.java | roboDTNTest/src/com/ajj/robodtn/test/SdnvDataInputStreamTest.java | package com.ajj.robodtn.test;
import junit.framework.TestCase;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import com.ajj.robodtn.SdnvDataInputStream;
import com.ajj.robodtn.test.SdnvTest;
public class SdnvDataInputStreamTest extends TestCase {
public void testSdnvs() throws IOException {
Sdn... | package com.ajj.robodtn.test;
import junit.framework.TestCase;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import com.ajj.robodtn.SdnvDataInputStream;
import com.ajj.robodtn.test.SdnvTest;
public class SdnvDataInputStreamTest extends TestCase {
public void testSdnvs() throws IOException {
Sdn... | Use "assertEquals" because "assert" isn't run in Android JUnit Tests. | Use "assertEquals" because "assert" isn't run in Android JUnit Tests.
| Java | apache-2.0 | andrewjjenkins/roboDTN |
47701ec0cc22db7e87330bdb2a19b864915f729f | src/main/java/net/onrc/onos/core/matchaction/match/Ipv4Match.java | src/main/java/net/onrc/onos/core/matchaction/match/Ipv4Match.java | package net.onrc.onos.core.matchaction.match;
import net.onrc.onos.core.util.IPv4Net;
public class Ipv4Match implements Match {
IPv4Net dstIp;
public Ipv4Match(String ipAddressSlash) {
this.dstIp = new IPv4Net(ipAddressSlash);
}
public IPv4Net getDestination() {
return dstIp;
}
... | package net.onrc.onos.core.matchaction.match;
import net.onrc.onos.core.util.IPv4;
import net.onrc.onos.core.util.IPv4Net;
public class Ipv4Match implements Match {
IPv4Net dstIp;
public Ipv4Match(String ipAddressSlash) {
this.dstIp = new IPv4Net(ipAddressSlash);
IPv4 ip = dstIp.address();
... | Change IP address mask according to the prefix when setting the IP forwarding rule. | Change IP address mask according to the prefix when setting the IP forwarding rule.
Change-Id: Ic0f8fb43913473c622336de0dcf3e0751ba01d65
| Java | apache-2.0 | opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open |
75bd8b2b7af76f3d21205b1320b9d12df5c679b3 | parity-top/src/main/java/org/jvirtanen/parity/top/Order.java | parity-top/src/main/java/org/jvirtanen/parity/top/Order.java | package org.jvirtanen.parity.top;
/**
* <code>Order</code> represents an order in an order book.
*/
public class Order {
private Level parent;
private long remainingQuantity;
Order(Level parent, long size) {
this.parent = parent;
this.remainingQuantity = size;
}
OrderBook get... | package org.jvirtanen.parity.top;
/**
* An order in an order book.
*/
public class Order {
private Level parent;
private long remainingQuantity;
Order(Level parent, long size) {
this.parent = parent;
this.remainingQuantity = size;
}
OrderBook getOrderBook() {
return p... | Tweak documentation for order in order book reconstruction | Tweak documentation for order in order book reconstruction
| Java | apache-2.0 | paritytrading/parity,pmcs/parity,pmcs/parity,paritytrading/parity |
a9a60924f7fc0bb216bc7c0fd96676fd6cb60f79 | pac4j-http/src/main/java/org/pac4j/http/client/BasicAuthClient.java | pac4j-http/src/main/java/org/pac4j/http/client/BasicAuthClient.java | /*
Copyright 2012 - 2015 pac4j organization
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 2012 - 2015 pac4j organization
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 deprecated at Javadoc level | Add deprecated at Javadoc level
| Java | apache-2.0 | pac4j/pac4j,pac4j/pac4j,garpinc/pac4j,garpinc/pac4j |
a5d45e22ef1b63946c6549ce84def0e0d0ae6b8d | src/main/java/com/gitrekt/resort/model/entities/Package.java | src/main/java/com/gitrekt/resort/model/entities/Package.java | package com.gitrekt.resort.model.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "resort.packages")
public class Package {
... | package com.gitrekt.resort.model.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "resort.packages")
public class Package {
... | Fix extra line in package class | Fix extra line in package class
| Java | mit | maillouxc/git-rekt |
688ba6cf0c1e780d9d02fb02c861448c677e3fe4 | src/main/java/com/yammer/dropwizard/bundles/ScalaBundle.java | src/main/java/com/yammer/dropwizard/bundles/ScalaBundle.java | package com.yammer.dropwizard.bundles;
import com.fasterxml.jackson.module.scala.DefaultScalaModule;
import com.yammer.dropwizard.Bundle;
import com.yammer.dropwizard.config.Bootstrap;
import com.yammer.dropwizard.config.Environment;
import com.yammer.dropwizard.scala.inject.ScalaCollectionsQueryParamInjectableProvide... | package com.yammer.dropwizard.bundles;
import com.fasterxml.jackson.module.scala.DefaultScalaModule;
import com.yammer.dropwizard.Bundle;
import com.yammer.dropwizard.config.Bootstrap;
import com.yammer.dropwizard.config.Environment;
import com.yammer.dropwizard.scala.inject.ScalaCollectionsQueryParamInjectableProvide... | Update to be compatible with latest upstream | Update to be compatible with latest upstream
| Java | apache-2.0 | hailcode/dropwizard-scala |
e926f8c7580779fe3502572957c63a518e229821 | src/main/java/edu/kit/ipd/crowdcontrol/objectservice/config/Deployment.java | src/main/java/edu/kit/ipd/crowdcontrol/objectservice/config/Deployment.java | package edu.kit.ipd.crowdcontrol.objectservice.config;
public class Deployment {
/**
* Deployment origin of the control ui.
*/
public String origin;
}
| package edu.kit.ipd.crowdcontrol.objectservice.config;
/**
* Deployment variables specific to the control ui.
*/
public class Deployment {
/**
* Deployment origin of the control ui.
*/
public String origin;
}
| Add more docs to deployment | Add more docs to deployment
| Java | apache-2.0 | coolcrowd/object-service,coolcrowd/object-service,coolcrowd/object-service,coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/object-service |
e12812f04f4d4b7686d20d3ab153dcfdca71afb4 | src/test/java/io/github/bonigarcia/seljup/test/docker/DockerSafariTest.java | src/test/java/io/github/bonigarcia/seljup/test/docker/DockerSafariTest.java | /*
* (C) Copyright 2017 Boni Garcia (https://bonigarcia.github.io/)
*
* 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 requir... | /*
* (C) Copyright 2017 Boni Garcia (https://bonigarcia.github.io/)
*
* 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 requir... | Change website URL in Docker Safari test | Change website URL in Docker Safari test
| Java | apache-2.0 | bonigarcia/selenium-jupiter,bonigarcia/selenium-jupiter |
b49fc69262882398330bd1602f003175ea75c66b | Android/Les4ElefantCowork/app/src/main/java/com/les4elefantastiq/les4elefantcowork/models/LiveFeedMessage.java | Android/Les4ElefantCowork/app/src/main/java/com/les4elefantastiq/les4elefantcowork/models/LiveFeedMessage.java | package com.les4elefantastiq.les4elefantcowork.models;
public class LiveFeedMessage {
// -------------- Objects, Variables -------------- //
public String text;
public int type;
public String dateTime; // Date ?
public String tweetLink;
public String sender;
public String coworkerLinkedIn... | package com.les4elefantastiq.les4elefantcowork.models;
public class LiveFeedMessage {
// -------------- Objects, Variables -------------- //
public String text;
public int type;
public String dateTime; // Date ?
public String tweetLink;
public String sender;
public String coworkerLinkedIn... | Add pictureUrl to LivefeedMessage model | Add pictureUrl to LivefeedMessage model
| Java | mit | micbelgique/DevCamp2016-Les4Elefantastiq,micbelgique/DevCamp2016-Les4Elefantastiq,micbelgique/DevCamp2016-Les4Elefantastiq,micbelgique/DevCamp2016-Les4Elefantastiq |
c794c59a94ce723f66c74f2413c9543a4cf2bb5d | src/gensrc/dyvil/tools/gensrc/ast/expression/Expression.java | src/gensrc/dyvil/tools/gensrc/ast/expression/Expression.java | package dyvil.tools.gensrc.ast.expression;
import dyvil.tools.gensrc.ast.scope.Scope;
import dyvil.tools.parsing.ASTNode;
public interface Expression extends ASTNode
{
default boolean evaluateBoolean(Scope scope)
{
return Boolean.parseBoolean(this.evaluateString(scope));
}
default long evaluateInteger(Scope sc... | package dyvil.tools.gensrc.ast.expression;
import dyvil.collection.iterator.ArrayIterator;
import dyvil.collection.iterator.SingletonIterator;
import dyvil.source.position.SourcePosition;
import dyvil.tools.gensrc.ast.scope.Scope;
import dyvil.tools.parsing.ASTNode;
public interface Expression extends ASTNode
{
defa... | Improve Iterable Conversion in For Directives | Improve Iterable Conversion in For Directives
(gensrc): Improved Iterable Conversion for non-list non-range
expressions.
| Java | bsd-3-clause | Clashsoft/Dyvil,Clashsoft/Dyvil |
7369c74d08f941f7f4d3dacd4314dad7e65d10ef | src/main/java/org/realityforge/tarrabah/SyslogTCPServer.java | src/main/java/org/realityforge/tarrabah/SyslogTCPServer.java | package org.realityforge.tarrabah;
import javax.inject.Inject;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.Channels;
import org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecod... | package org.realityforge.tarrabah;
import javax.inject.Inject;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.Channels;
import org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecod... | Remove incorrect explicity setting of CDI managed bean | Remove incorrect explicity setting of CDI managed bean
| Java | apache-2.0 | realityforge-experiments/tarrabah,realityforge-experiments/tarrabah |
caccfcaf7a340a90a3ec0ecb0f042434bac82956 | genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/SamToSortedBam.java | genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/SamToSortedBam.java | package com.github.sparkcaller.preprocessing;
import org.apache.spark.api.java.function.Function;
import picard.sam.SortSam;
import java.io.File;
import java.util.ArrayList;
public class SamToSortedBam implements Function<File, File> {
public File call(File file) throws Exception {
final String ext = "sa... | package com.github.sparkcaller.preprocessing;
import com.github.sparkcaller.Utils;
import org.apache.spark.api.java.function.Function;
import picard.sam.SortSam;
import java.io.File;
import java.util.ArrayList;
public class SamToSortedBam implements Function<File, File> {
public File call(File file) throws Excep... | Use the utility for removing file extensions instead of doing this manually. | [Genomics]: Use the utility for removing file extensions instead of doing this manually.
| Java | mit | UNINETT/daas-apps,UNINETT/daas-apps |
8239b71c13aac2534a0dc16c7d0399cdf16d41ff | CompatibilityLib/modern/src/main/java/com/elmakers/mine/bukkit/utility/platform/modern/ModernCompatibilityUtils.java | CompatibilityLib/modern/src/main/java/com/elmakers/mine/bukkit/utility/platform/modern/ModernCompatibilityUtils.java | package com.elmakers.mine.bukkit.utility.platform.modern;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.bukkit.block.Block;
import org.bukkit.util.Vector;
import org.bukkit.util.VoxelShape;
import com.elmakers.mine.bukkit.utility.BoundingBox;
import com.elmakers.mine.bukk... | package com.elmakers.mine.bukkit.utility.platform.modern;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.bukkit.block.Block;
import org.bukkit.util.Vector;
import org.bukkit.util.VoxelShape;
import com.elmakers.mine.bukkit.utility.BoundingBox;
import com.elmakers.mine.bukk... | Return default full block bounding box for blocks that don't have one | Return default full block bounding box for blocks that don't have one
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
c592e3783f04e962014b4466266afdc8b4dbc2aa | cheddar/cheddar-domain/src/main/java/com/clicktravel/cheddar/domain/model/exception/ConstraintViolationException.java | cheddar/cheddar-domain/src/main/java/com/clicktravel/cheddar/domain/model/exception/ConstraintViolationException.java | /*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | /*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Remove constructor for ContraintViolationException that used DomainEvent to reduce coupling on application layer | Remove constructor for ContraintViolationException that used DomainEvent to reduce coupling on application layer
| Java | apache-2.0 | clicktravel-chris/Cheddar,clicktravel-chrishern/Cheddar,clicktravel-james/Cheddar,click-alexvladut/Cheddar,travel-cloud/Cheddar,clicktravel-gary/Cheddar,clicktravel-tajinder/Cheddar,clicktravel-robin/Cheddar,clicktravel-basharat/Cheddar,ClickTravel-VincentCleaver/Cheddar,clicktravel-andrew/Cheddar,clicktravel-craig/Che... |
8304884a8d79e476ee49e6abc45da632c4cc865b | controller/src/main/java/com/athena/meerkat/controller/web/user/UserRole.java | controller/src/main/java/com/athena/meerkat/controller/web/user/UserRole.java | package com.athena.meerkat.controller.web.user;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import java... | package com.athena.meerkat.controller.web.user;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import java... | Add more property to display on UI | Add more property to display on UI | Java | apache-2.0 | OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat,OpenSourceConsulting/athena-meerkat |
6155d634d61e8cc1e5f08ac103f6f4ff7c038c29 | src/main/java/stream/flarebot/flarebot/commands/secret/LogsCommand.java | src/main/java/stream/flarebot/flarebot/commands/secret/LogsCommand.java | package stream.flarebot.flarebot.commands.secret;
import net.dv8tion.jda.core.MessageBuilder;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.commands.... | package stream.flarebot.flarebot.commands.secret;
import net.dv8tion.jda.core.MessageBuilder;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.commands.... | Remove unnessacary check and format | Remove unnessacary check and format
| Java | mit | weeryan17/FlareBot,FlareBot/FlareBot,binaryoverload/FlareBot |
51b88b97abf8cf5cd99c4312237234a0f3502117 | src/main/java/org/lmdbjava/BufferMutator.java | src/main/java/org/lmdbjava/BufferMutator.java | /*
* Copyright 2016 The LmdbJava Project, http://lmdbjava.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 2016 The LmdbJava Project, http://lmdbjava.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... | Clarify direct buffers are not necessarily checked | Clarify direct buffers are not necessarily checked
| Java | apache-2.0 | lmdbjava/lmdbjava,phraktle/lmdbjava |
c9441de7e4c90c63527ddce3e2e1f019562ef28e | src/main/java/us/myles/ViaVersion/Bungee.java | src/main/java/us/myles/ViaVersion/Bungee.java | package us.myles.ViaVersion;
import net.md_5.bungee.api.plugin.Plugin;
import static net.md_5.bungee.api.ChatColor.RED;
public class Bungee extends Plugin {
@Override
public void onEnable() {
getLogger().info(RED + "===============================================");
getLogger().info(RED + "V... | package us.myles.ViaVersion;
import net.md_5.bungee.api.plugin.Plugin;
import static net.md_5.bungee.api.ChatColor.RED;
public class Bungee extends Plugin {
@Override
public void onEnable() {
getLogger().severe(RED + "===============================================");
getLogger().severe(RED ... | Change from info to severe | Change from info to severe
| Java | mit | MylesIsCool/ViaVersion,Matsv/ViaVersion |
bcadbf3eee252a32abddabb72dec5cb09a2c9f40 | xfire-core/src/main/org/codehaus/xfire/soap/handler/SoapActionOutHandler.java | xfire-core/src/main/org/codehaus/xfire/soap/handler/SoapActionOutHandler.java | package org.codehaus.xfire.soap.handler;
import org.codehaus.xfire.MessageContext;
import org.codehaus.xfire.addressing.AddressingOperationInfo;
import org.codehaus.xfire.handler.AbstractHandler;
import org.codehaus.xfire.handler.Phase;
import org.codehaus.xfire.service.OperationInfo;
import org.codehaus.xfire.service... | package org.codehaus.xfire.soap.handler;
import org.codehaus.xfire.MessageContext;
import org.codehaus.xfire.handler.AbstractHandler;
import org.codehaus.xfire.handler.Phase;
import org.codehaus.xfire.service.OperationInfo;
import org.codehaus.xfire.service.Service;
import org.codehaus.xfire.soap.AbstractSoapBinding;
... | Revert change. The soap action comes from the SOAP binding, not the ws-addressing information. | Revert change. The soap action comes from the SOAP binding, not the ws-addressing information.
git-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@1763 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba
| Java | mit | eduardodaluz/xfire,eduardodaluz/xfire |
9db544202867446850a7e72c37496a10b49364a5 | Semaphore-OE-Batch-Tools/src/main/java/com/smartlogic/SparqlUpdateOptions.java | Semaphore-OE-Batch-Tools/src/main/java/com/smartlogic/SparqlUpdateOptions.java | package com.smartlogic;
/**
* Options to send with SPARQL update calls.
*/
public class SparqlUpdateOptions {
/**
* Set to true to accept constraint warnings and proceed with changes.
* Normally this is set to true when runCheckConstraints is set to false;
*/
public boolean acceptWarnings = false;
/... | package com.smartlogic;
/**
* Options to send with SPARQL update calls.
*/
public class SparqlUpdateOptions {
/**
* Set to true to accept constraint warnings and proceed with changes.
* Normally this is set to true when runCheckConstraints is set to false;
*/
public boolean acceptWarnings = false;
/... | Add getters/setters, because Java is a very verbose language and Spring is inflexible. Leaving class variables public as they can also be used by clients that don't require bean accessors, or those that are already using them. | Add getters/setters, because Java is a very verbose language and Spring is inflexible.
Leaving class variables public as they can also be used by clients that don't require bean accessors, or those that are already using them.
| Java | apache-2.0 | Smartlogic-Semaphore-Limited/Java-APIs |
767ab7693ba3b5bcc8cff3ea85f694dce8d67ac6 | p4java/src/com/perforce/p4java/exception/AccessException.java | p4java/src/com/perforce/p4java/exception/AccessException.java | /**
*
*/
package com.perforce.p4java.exception;
import com.perforce.p4java.server.IServerMessage;
/**
* Exception thrown by P4Java methods when access to data or services has
* been denied by the Perforce server. This is usually a login or
* permissions issue.
*
*
*/
public class AccessException extends P4... | /**
*
*/
package com.perforce.p4java.exception;
import com.perforce.p4java.server.IServerMessage;
/**
* Exception thrown by P4Java methods when access to data or services has
* been denied by the Perforce server. This is usually a login or
* permissions issue.
*
*
*/
public class AccessException extends P4... | Fix the display text for authentication errors | Fix the display text for authentication errors
| Java | apache-2.0 | groboclown/p4ic4idea,groboclown/p4ic4idea,groboclown/p4ic4idea,groboclown/p4ic4idea,groboclown/p4ic4idea,groboclown/p4ic4idea |
839b49fb0bf7e52494ef212221ef91a58587d97c | common/src/main/java/org/broadleafcommerce/common/extensibility/jpa/clone/IgnoreEnterpriseConfigValidation.java | common/src/main/java/org/broadleafcommerce/common/extensibility/jpa/clone/IgnoreEnterpriseConfigValidation.java | /*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | /*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | Allow ignore to be called at class and field level | Allow ignore to be called at class and field level
| Java | apache-2.0 | alextiannus/BroadleafCommerce,SerPenTeHoK/BroadleafCommerce,trombka/blc-tmp,bijukunjummen/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,cloudbearings/BroadleafCommerce,udayinfy/BroadleafCommerce,caosg/BroadleafCommerce,bijukunjummen/BroadleafCommerce,caosg/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,arshada... |
360ef8a68452bcc26363c800c07c0b73dd9f68de | Conventions/app/src/main/java/amai/org/conventions/events/adapters/FreeTimeSlotViewHolder.java | Conventions/app/src/main/java/amai/org/conventions/events/adapters/FreeTimeSlotViewHolder.java | package amai.org.conventions.events.adapters;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import amai.org.conventions.R;
import amai.org.conventions.events.activities.EventsTimeSlot;
import amai.org.conventions.utils.Dates;
public class FreeTimeSlotViewHol... | package amai.org.conventions.events.adapters;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import java.util.Date;
import amai.org.conventions.R;
import amai.org.conventions.ThemeAttributes;
import amai.org.conventions.events.activities.EventsTimeSlot;
impor... | Set free time slot text color according to before/during/after | Set free time slot text color according to before/during/after
| Java | apache-2.0 | dbahat/conventions |
73a76d1c8ea27b1a510fda6fff16b85661ffc9b2 | src/main/java/com/ezardlabs/lostsector/missions/DefenseMission.java | src/main/java/com/ezardlabs/lostsector/missions/DefenseMission.java | package com.ezardlabs.lostsector.missions;
import com.ezardlabs.lostsector.missions.objectives.Cryopod;
public class DefenseMission extends Mission {
Cryopod cryopod = new Cryopod();
@Override
public void load() {
}
public void onCryopodDestroyed() {
}
}
| package com.ezardlabs.lostsector.missions;
import com.ezardlabs.dethsquare.Camera;
import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare.Vector2;
import com.ezardlabs.dethsquare.prefabs.PrefabManager;
import com.ezardlabs.lostsector.camera.SmartCamera;
import com.ezardlabs.lostsector.map.MapManag... | Load defense map and spawn player and camera | Load defense map and spawn player and camera
| Java | mit | 8-Bit-Warframe/Lost-Sector |
c4ac6d0525666b6bd9ef0018a156b80bf8311df7 | src/main/java/pl/tomaszdziurko/jvm_bloggers/blog_posts/RssLink.java | src/main/java/pl/tomaszdziurko/jvm_bloggers/blog_posts/RssLink.java | package pl.tomaszdziurko.jvm_bloggers.blog_posts;
import com.google.common.base.Preconditions;
import lombok.NonNull;
import org.apache.commons.lang3.StringUtils;
import pl.tomaszdziurko.jvm_bloggers.blogs.domain.Blog;
public class RssLink {
private final Blog blog;
public RssLink(@NonNull Blog blog) {
... | package pl.tomaszdziurko.jvm_bloggers.blog_posts;
import com.google.common.base.Preconditions;
import lombok.NonNull;
import pl.tomaszdziurko.jvm_bloggers.blogs.domain.Blog;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
public class RssLink {
private final Blog blog;
public RssLink(@NonNul... | Improve readability - StringUtils static import. | Improve readability - StringUtils static import.
| Java | mit | tdziurko/jvm-bloggers,szpak/jvm-bloggers,kraluk/jvm-bloggers,jvm-bloggers/jvm-bloggers,jvm-bloggers/jvm-bloggers,jvm-bloggers/jvm-bloggers,kraluk/jvm-bloggers,szpak/jvm-bloggers,tdziurko/jvm-bloggers,szpak/jvm-bloggers,tdziurko/jvm-bloggers,szpak/jvm-bloggers,jvm-bloggers/jvm-bloggers,kraluk/jvm-bloggers,kraluk/jvm-blo... |
4e0ef2cdfa2ae654e3329d90874e09dd2390385c | org.lamport.tla.toolbox.jclouds/src/org/lamport/tla/toolbox/jcloud/EC2CloudTLCInstanceParameters.java | org.lamport.tla.toolbox.jclouds/src/org/lamport/tla/toolbox/jcloud/EC2CloudTLCInstanceParameters.java | package org.lamport.tla.toolbox.jcloud;
public class EC2CloudTLCInstanceParameters extends CloudTLCInstanceParameters {
@Override
public String getOwnerId() {
// ubuntu official
return "owner-id=owner-id=099720109477;state=available;image-type=machine";
}
@Override
public String getCloudProvier() {
return... | package org.lamport.tla.toolbox.jcloud;
public class EC2CloudTLCInstanceParameters extends CloudTLCInstanceParameters {
@Override
public String getOwnerId() {
// ubuntu official
return "owner-id=owner-id=099720109477;state=available;image-type=machine";
}
@Override
public String getCloudProvier() {
return... | Use most recent Ubuntu AMI to minimize the cloud instance spin-up time (=> less system updates to apply at startup) | Use most recent Ubuntu AMI to minimize the cloud instance spin-up time (=> less system updates to apply at startup)
| Java | mit | lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,tlaplus/tlaplus |
7cb61638c32f5e7ee7b1df50c2ed9a7f59221fee | tools/table-server/src/test/java/org/jmeterplugins/protocol/http/control/STSInstallerTest.java | tools/table-server/src/test/java/org/jmeterplugins/protocol/http/control/STSInstallerTest.java | package org.jmeterplugins.protocol.http.control;
import org.junit.Test;
import java.io.File;
public class STSInstallerTest {
@Test
public void name() throws Exception {
File self = new File(STSInstaller.class.getProtectionDomain().getCodeSource().getLocation().getFile());
String home = self.g... | package org.jmeterplugins.protocol.http.control;
import org.apache.commons.io.FileUtils;
import org.junit.Test;
import java.io.File;
public class STSInstallerTest {
@Test
public void name() throws Exception {
File self = new File(STSInstaller.class.getProtectionDomain().getCodeSource().getLocation().... | Make test cleanup after itself | Make test cleanup after itself
| Java | apache-2.0 | Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins |
353b5e6f2f6991bd5aa6d3ddea20031fa55504d6 | src/main/java/org/hummingbirdlang/nodes/HBAssignmentNode.java | src/main/java/org/hummingbirdlang/nodes/HBAssignmentNode.java | package org.hummingbirdlang.nodes;
import com.oracle.truffle.api.frame.VirtualFrame;
import org.hummingbirdlang.types.realize.InferenceVisitor;
public class HBAssignmentNode extends HBExpressionNode {
@Child private HBExpressionNode targetNode;
@Child private HBExpressionNode valueNode;
public HBAssignmentNod... | package org.hummingbirdlang.nodes;
import com.oracle.truffle.api.frame.FrameSlot;
import com.oracle.truffle.api.frame.VirtualFrame;
import org.hummingbirdlang.types.realize.InferenceVisitor;
public class HBAssignmentNode extends HBExpressionNode {
@Child private HBExpressionNode targetNode;
@Child private HBExpr... | Add rudimentary implementation of assignment node | Add rudimentary implementation of assignment node
| Java | bsd-3-clause | dirk/hummingbird2,dirk/hummingbird2,dirk/hummingbird2 |
ac314e980b1410531b48b909fc2a9e4161382943 | src/main/java/com/akiban/sql/optimizer/rule/DefaultRules.java | src/main/java/com/akiban/sql/optimizer/rule/DefaultRules.java | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | Add new rules to default set. | Add new rules to default set.
| Java | agpl-3.0 | wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,ngaut/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,wfxiang08/sql-layer-1,ngaut/sql-layer,ngaut/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-lay... |
652277d99fcfee6ab1f063f5194efdd6829e3d2d | subprojects/tooling-api/src/main/java/org/gradle/tooling/events/internal/BaseProgressEvent.java | subprojects/tooling-api/src/main/java/org/gradle/tooling/events/internal/BaseProgressEvent.java | /*
* Copyright 2015 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 2015 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... | Rename field from eventDescription to displayName | Rename field from eventDescription to displayName
| Java | apache-2.0 | gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/... |
efc060c2d7c48dec506d375615e08c6fb693509e | subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IncrementalAnnotationProcessorType.java | subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IncrementalAnnotationProcessorType.java | /*
* Copyright 2018 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 2018 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... | Use ROOT local when converting enum constants | Use ROOT local when converting enum constants
Otherwise this will fail on some systems, e.g.
those with Turkish locale.
| Java | apache-2.0 | gradle/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinver... |
1934f539bb6391ec3e828d74d968e00fba1cc71d | konashi-android-sdk/src/androidTest/java/com/uxxu/konashi/lib/action/AioAnalogReadActionTest.java | konashi-android-sdk/src/androidTest/java/com/uxxu/konashi/lib/action/AioAnalogReadActionTest.java | package com.uxxu.konashi.lib.action;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattService;
import com.uxxu.konashi.lib.Konashi;
import com.uxxu.konashi.lib.KonashiUUID;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito... | package com.uxxu.konashi.lib.action;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattService;
import com.uxxu.konashi.lib.Konashi;
import com.uxxu.konashi.lib.KonashiUUID;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAn... | Remove unused imports and members | Remove unused imports and members
| Java | apache-2.0 | YUKAI/konashi-android-sdk,YUKAI/konashi-android-sdk,kiryuxxu/konashi-android-sdk |
4c4508c894099bcc79884d97871602d67419dc4a | wte4j-showcase/src/main/java/org/wte4j/examples/showcase/server/config/RootApplicationConfig.java | wte4j-showcase/src/main/java/org/wte4j/examples/showcase/server/config/RootApplicationConfig.java | /**
* Copyright (C) 2015 Born Informatik AG (www.born.ch)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | /**
* Copyright (C) 2015 Born Informatik AG (www.born.ch)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | Remove SpringServices Config and add missing beans to showcase config | Remove SpringServices Config and add missing beans to showcase config
Cleaned up configuration file of wte4j-shwocase
| Java | apache-2.0 | selbert/wte4j,wte4j/wte4j,ofreivogel/wte4j,bbrehman/wte4j,selbert/wte4j,wte4j/wte4j,bbrehman/wte4j,ofreivogel/wte4j |
bf3bff96e7e2977565c8e7509aaf133c2d044787 | java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java | java/org/apache/tomcat/util/XReflectionIntrospectionUtils.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Add some Javadoc to silence a handful of IDE warnings | Add some Javadoc to silence a handful of IDE warnings | Java | apache-2.0 | apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat |
d77f2e54ee15fd70dc4b43efa07653ff2ad18e00 | jvm-monitor-agent/src/main/java/communicator/DASPublisher.java | jvm-monitor-agent/src/main/java/communicator/DASPublisher.java | package communicator;
import jvmmonitor.model.MemoryUsageLog;
/*
* Copyright (c) ${date}, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You ... | package communicator;
import jvmmonitor.model.GarbageCollectionLog;
import jvmmonitor.model.MemoryUsageLog;
import java.util.List;
/*
* Copyright (c) ${date}, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you m... | Add GC Data publish method | Add GC Data publish method
| Java | apache-2.0 | wso2-incubator/automatic-anomaly-detection,wso2-incubator/automatic-anomaly-detection,wso2-incubator/automatic-anomaly-detection |
152b8e73235be97cd989e9b39498fc351a71fc8c | src/main/java/sizebay/catalog/client/model/ModelingSizeMeasures.java | src/main/java/sizebay/catalog/client/model/ModelingSizeMeasures.java | package sizebay.catalog.client.model;
import lombok.*;
@Getter
@Setter
@EqualsAndHashCode
@ToString
public class ModelingSizeMeasures {
String sizeName = null;
ModelingMeasureRange chest = null;
ModelingMeasureRange hip = null;
ModelingMeasureRange waist = null;
ModelingMeasureRange sleeve = null;
Mode... | package sizebay.catalog.client.model;
import lombok.*;
@Getter
@Setter
@EqualsAndHashCode
@ToString
public class ModelingSizeMeasures {
String sizeName = null;
ModelingMeasureRange chest = null;
ModelingMeasureRange hip = null;
ModelingMeasureRange waist = null;
ModelingMeasureRange sleeve = null;
Mode... | Add new measure -> headCircumference | Fix: Add new measure -> headCircumference
| Java | apache-2.0 | sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client |
f43202299e2f84648a7a21faa69b4adea3476674 | POC/hadoop-stamper/mapreduce/src/main/java/org/slc/sli/stamper/jobs/Stamper.java | POC/hadoop-stamper/mapreduce/src/main/java/org/slc/sli/stamper/jobs/Stamper.java | package org.slc.sli.stamper.jobs;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.slc.sli.stamper.mapreduce.ma... | package org.slc.sli.stamper.jobs;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.slc.sli.stamper.mapreduce.ma... | Increase the number of map/reduce tasks. | Increase the number of map/reduce tasks.
| Java | apache-2.0 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service |
9a24a46d5997bde57a70393c2c97a2aab26f0737 | org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/parser/ParseException.java | org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/parser/ParseException.java | package org.spoofax.jsglr2.parser;
import org.spoofax.jsglr2.parser.result.ParseFailureCause;
public class ParseException extends Exception {
private static final long serialVersionUID = 5070826083429554841L;
public ParseException(ParseFailureCause.Type failureType, Position position, Integer character) {
... | package org.spoofax.jsglr2.parser;
import org.metaborg.parsetable.characterclasses.CharacterClassFactory;
import org.spoofax.jsglr2.parser.result.ParseFailureCause;
public class ParseException extends Exception {
private static final long serialVersionUID = 5070826083429554841L;
public ParseException(ParseF... | Use helper to print whitespace characters with encodings | Use helper to print whitespace characters with encodings
| Java | apache-2.0 | metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr |
da96b6c19d0b7137ccccca31da2366abee93f370 | src/main/java/com/ezardlabs/lostsector/ai/RangedBehaviour.java | src/main/java/com/ezardlabs/lostsector/ai/RangedBehaviour.java | package com.ezardlabs.lostsector.ai;
import com.ezardlabs.dethsquare.Transform;
public class RangedBehaviour extends Behaviour {
private final float range;
RangedBehaviour(float moveSpeed, boolean willPatrol, float visionRange, float range) {
super(moveSpeed, willPatrol, visionRange);
this.range = range;
}
... | package com.ezardlabs.lostsector.ai;
import com.ezardlabs.dethsquare.Transform;
import com.ezardlabs.lostsector.ai.RangedBehaviour.Builder.ShootAction;
public class RangedBehaviour extends Behaviour {
private final float range;
private final ShootAction shootAction;
RangedBehaviour(float moveSpeed, boolean willPa... | Allow for ranged enemies to define what exactly they do when they shoot | Allow for ranged enemies to define what exactly they do when they shoot
| Java | mit | 8-Bit-Warframe/Lost-Sector |
6ee9897a0b5ceab8a4ce7d8262f9487e32d3db84 | src/main/java/com/s24/redjob/RedJobRedisConnectionFactory.java | src/main/java/com/s24/redjob/RedJobRedisConnectionFactory.java | package com.s24.redjob;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import java.lang.annotation.*;
/**
* Qualifier for the {@link RedisConnectionFactory} to use for RedJob.
*/
@Target({ElementType.FIELD, ElementType.PARAMET... | package com.s24.redjob;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import java.lang.annotation.*;
/**
* Qualifier for the {@link RedisConnectionFactory} to use for RedJob.
*/
@Target({ElementType.FIELD, ElementType.METHOD,... | Introduce qualifier for connection factory to use for RedJob | Introduce qualifier for connection factory to use for RedJob
| Java | apache-2.0 | shopping24/redjob |
45a528d16859ae0ae1ffa81839783e06dea86a0f | src/main/java/org/cyclops/commoncapabilities/core/Helpers.java | src/main/java/org/cyclops/commoncapabilities/core/Helpers.java | package org.cyclops.commoncapabilities.core;
import net.minecraftforge.fml.relauncher.ReflectionHelper;
import javax.annotation.Nullable;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
* Helper methods.
* @author rubensworks
*/
public class... | package org.cyclops.commoncapabilities.core;
import net.minecraftforge.fml.relauncher.ReflectionHelper;
import javax.annotation.Nullable;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
* Helper methods.
* @author rubensworks
*/
public class... | Fix compilation issue because of latest Forge RB | Fix compilation issue because of latest Forge RB
| Java | mit | CyclopsMC/CommonCapabilities |
c87507e6d15364d6f986a2cec76a69617cf6b898 | library/src/main/java/com/novoda/downloadmanager/InternalDownloadFileStatus.java | library/src/main/java/com/novoda/downloadmanager/InternalDownloadFileStatus.java | package com.novoda.downloadmanager;
import android.support.annotation.Nullable;
interface InternalDownloadFileStatus extends DownloadFileStatus {
void update(FileSize fileSize, FilePath localFilePath);
boolean isMarkedAsDownloading();
boolean isMarkedAsQueued();
boolean isMarkedForDeletion();
... | package com.novoda.downloadmanager;
interface InternalDownloadFileStatus extends DownloadFileStatus {
void update(FileSize fileSize, FilePath localFilePath);
boolean isMarkedAsDownloading();
boolean isMarkedAsQueued();
boolean isMarkedForDeletion();
void markAsDownloading();
void isMarked... | Remove Nullable annotation on Optional. | Remove Nullable annotation on Optional.
| Java | apache-2.0 | novoda/download-manager |
d128b7960c912999a68f3261018debc45c545f45 | appinventor/appengine/src/com/google/appinventor/client/widgets/properties/TextAreaPropertyEditor.java | appinventor/appengine/src/com/google/appinventor/client/widgets/properties/TextAreaPropertyEditor.java | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.widgets.properties;
import com.google.gwt.u... | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2018 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.widgets.properties;
import com.google.gwt.u... | Add two css styles to textarea | Add two css styles to textarea
| Java | apache-2.0 | josmas/app-inventor,jisqyv/appinventor-sources,mit-dig/punya,ewpatton/appinventor-sources,marksherman/appinventor-sources,mit-dig/punya,halatmit/appinventor-sources,marksherman/appinventor-sources,kkashi01/appinventor-sources,jisqyv/appinventor-sources,warren922/appinventor-sources,josmas/app-inventor,halatmit/appinven... |
5b72520d498bb907d2a69bd9b63cec30ba9cf946 | mathml-converters/src/main/java/com/formulasearchengine/mathmltools/converters/mathoid/MathoidTypes.java | mathml-converters/src/main/java/com/formulasearchengine/mathmltools/converters/mathoid/MathoidTypes.java | package com.formulasearchengine.mathmltools.converters.mathoid;
/**
* @author Andre Greiner-Petter
*/
public enum MathoidTypes {
TEX("tex"),
INLINE_TEX("inline-tex"),
MML("mml"),
ASCII("ascii");
private String value;
MathoidTypes(String value) {
this.value = value;
}
public... | package com.formulasearchengine.mathmltools.converters.mathoid;
/**
* @author Andre Greiner-Petter
*/
public enum MathoidTypes {
TEX("tex"),
INLINE_TEX("inline-tex"),
MML("mml"),
ASCII("ascii"),
CHEM("chem");
private String value;
MathoidTypes(String value) {
this.value = value;... | Add chem type of mathoid | Add chem type of mathoid
| Java | apache-2.0 | physikerwelt/MathMLTools |
f2c22def37c51e727add48bf7acff6e886cb4524 | cloudfoundry-runtime/src/main/java/org/cloudfoundry/runtime/service/relational/RdbmsServiceCreator.java | cloudfoundry-runtime/src/main/java/org/cloudfoundry/runtime/service/relational/RdbmsServiceCreator.java | package org.cloudfoundry.runtime.service.relational;
import org.cloudfoundry.runtime.env.*;
import org.cloudfoundry.runtime.service.AbstractDataSourceCreator;
import org.springframework.util.Assert;
import javax.sql.DataSource;
/**
* Simplified access to RDBMS service.
*
* @author Thomas Risberg
*
*/
public cla... | package org.cloudfoundry.runtime.service.relational;
import org.cloudfoundry.runtime.env.*;
import org.cloudfoundry.runtime.service.AbstractDataSourceCreator;
import org.springframework.util.Assert;
import javax.sql.DataSource;
/**
* Simplified access to RDBMS service.
*
* @author Thomas Risberg
*
*/
public cla... | Fix driver detection for elephantsql | Fix driver detection for elephantsql
| Java | apache-2.0 | cloudfoundry/java-buildpack-auto-reconfiguration,cloudfoundry/java-buildpack-auto-reconfiguration |
a2d09ba986100da971d903ded4ff18e1f4bc6fba | implementierung/src/worthwhile/src/edu/kit/iti/formal/pse/worthwhile/validation/WorthwhileJavaValidator.java | implementierung/src/worthwhile/src/edu/kit/iti/formal/pse/worthwhile/validation/WorthwhileJavaValidator.java | package edu.kit.iti.formal.pse.worthwhile.validation;
public class WorthwhileJavaValidator extends AbstractWorthwhileJavaValidator {
// @Check
// public void checkGreetingStartsWithCapital(Greeting greeting) {
// if (!Character.isUpperCase(greeting.getName().charAt(0))) {
// warning("Name should start with a capi... | package edu.kit.iti.formal.pse.worthwhile.validation;
import org.apache.tools.ant.taskdefs.optional.testing.Funtest;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.validation.Check;
import com.google.inject.Inject;
import de.itemis.xtext.typesystem.ITypesystem;
import edu.kit.iti.formal.pse.worthwhil... | Add check for valid return statements. | [validation] Add check for valid return statements.
| Java | bsd-3-clause | team-worthwhile/worthwhile,team-worthwhile/worthwhile |
15d4994308fa34e10f5cac3f66bfcc1a8de00edf | home-server-backend/src/main/java/nl/homeserver/energie/VerbruikenEnKosten.java | home-server-backend/src/main/java/nl/homeserver/energie/VerbruikenEnKosten.java | package nl.homeserver.energie;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Objects;
public class VerbruikenEnKosten {
private final Collection<VerbruikKosten> all;
public VerbruikenEnKosten(final Collection<VerbruikKosten> all) {
this.all = all;
}
private BigD... | package nl.homeserver.energie;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Objects;
import javax.annotation.Nullable;
class VerbruikenEnKosten {
private final Collection<VerbruikKosten> all;
VerbruikenEnKosten(final Collection<VerbruikKosten> all) {
this.all = all;
... | Fix issues found by SonarCloud | Fix issues found by SonarCloud
| Java | apache-2.0 | bassages/home-server,bassages/homecontrol,bassages/homecontrol,bassages/home-server |
9f067d28c1a402ba4bd2c8d497707b86b14e46dd | bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java | bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleMethodsMap.java | /*
* Copyright 2010 Proofpoint, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | /*
* Copyright 2010 Proofpoint, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Reduce contention during lifecycle tracking | Reduce contention during lifecycle tracking
| Java | apache-2.0 | electrum/airlift,zhenyuy-fb/airlift,johngmyers/airlift,zhenyuy-fb/airlift,electrum/airlift,johngmyers/airlift,airlift/airlift,dain/airlift,dain/airlift,zhenyuy-fb/airlift,airlift/airlift,electrum/airlift,dain/airlift,zhenyuy-fb/airlift,johngmyers/airlift,dain/airlift,airlift/airlift,electrum/airlift,johngmyers/airlift,... |
aa8e8087a9b8de316b6f867c8073b9df6ecb471e | src/main/java/com/boundary/camel/component/ssh/SshxResult.java | src/main/java/com/boundary/camel/component/ssh/SshxResult.java | package com.boundary.camel.component.ssh;
import com.boundary.camel.component.common.ServiceInfo;
/**
*
* @author davidg
*
*/
public class SshxInfo extends ServiceInfo {
private String command;
private String expectedOutput;
public SshxInfo() {
// TODO Auto-generated constructor stub
}
public String ... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Use code from Camel distribution for results | Use code from Camel distribution for results
| Java | apache-2.0 | jdgwartney/camel-checkport,boundary/boundary-camel-components |
eeba82ea2eb64b04b72f65fa9f3cdc3ec680bf69 | OpERP/src/main/java/devopsdistilled/operp/client/abstracts/AbstractPaneModel.java | OpERP/src/main/java/devopsdistilled/operp/client/abstracts/AbstractPaneModel.java | package devopsdistilled.operp.client.abstracts;
public abstract class AbstractPaneModel<PO extends PaneModelObserver> extends
AbstractModel<PO> implements PaneModel<PO> {
protected String title;
@Override
public void update() {
setTitle(getTitle());
}
@Override
public void setTitle(String title) {
this.... | package devopsdistilled.operp.client.abstracts;
public abstract class AbstractPaneModel<PO extends PaneModelObserver> extends
AbstractModel<PO> implements PaneModel<PO> {
protected String title = "";
@Override
public void update() {
setTitle(getTitle());
}
@Override
public void setTitle(String title) {
... | Use generic Observer type while notifying observers | Use generic Observer type while notifying observers
OPEN - task 41: Design "ListItemPane" as per new MVC model
http://github.com/DevOpsDistilled/OpERP/issues/issue/41 | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
5e1df4da7883856de1611536f896a29940b592cc | racecar/TextConverter/pattern_solution/src/test/java/de/itemis/mosig/racecar/textconv/TextFileReaderTest.java | racecar/TextConverter/pattern_solution/src/test/java/de/itemis/mosig/racecar/textconv/TextFileReaderTest.java | package de.itemis.mosig.racecar.textconv;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Random;
public class TextFileReaderTest {
@Test
... | package de.itemis.mosig.racecar.textconv;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Random;
... | Test does now proper tmpFile creation and deletion. | REFACTOR: Test does now proper tmpFile creation and deletion.
| Java | epl-1.0 | JanMosigItemis/codingdojoleipzig |
872da4cb72d4edbf396f730be8528e7a442236fa | backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/WatchdogResource.java | backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/WatchdogResource.java | package org.ovirt.engine.api.resource;
import javax.ws.rs.DELETE;
import javax.ws.rs.core.Response;
import org.ovirt.engine.api.model.WatchDog;
public interface WatchdogResource extends DeviceResource<WatchDog> {
@DELETE
Response remove();
}
| package org.ovirt.engine.api.resource;
import javax.ws.rs.DELETE;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import org.ovirt.engine.api.model.WatchDog;
@Produces({ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML})
public interface WatchdogResource exte... | Add @Provides to watchdogs resource | restapi: Add @Provides to watchdogs resource
Currently the watchdogs resource doesn't have a @Provides annotation. In
theory this shouldn't be required as the annotation is in the base
class. But in practice the application server reacts differently, in
particular if the annotation isn't present the server won't use u... | Java | apache-2.0 | yapengsong/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,ea... |
57868ce9f510f9f0f4adb94a399d94144b13e2e2 | gpconnect-demonstrator-api/src/main/java/uk/gov/hscic/OperationOutcomeFactory.java | gpconnect-demonstrator-api/src/main/java/uk/gov/hscic/OperationOutcomeFactory.java | package uk.gov.hscic;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExcep... | package uk.gov.hscic;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExcep... | Update Operation Outcome to include mandatory element | Update Operation Outcome to include mandatory element | Java | apache-2.0 | nhs-digital/gpconnect,nhs-digital/gpconnect,nhs-digital/gpconnect |
4dacd2ba9162d107c6e1f61334855174b2cb44c7 | intermine/web/main/src/org/intermine/util/Emailer.java | intermine/web/main/src/org/intermine/util/Emailer.java | package org.intermine.util;
import static org.apache.commons.lang.StringUtils.isBlank;
import java.util.Map;
import java.util.Properties;
import javax.mail.MessagingException;
public class Emailer {
private static final String PREFIX = "mail.regarding.";
private final Properties properties;
public Emailer(P... | package org.intermine.util;
import static org.apache.commons.lang.StringUtils.isBlank;
import java.util.Map;
import java.util.Properties;
import javax.mail.MessagingException;
import org.apache.commons.lang.StringUtils;
public class Emailer {
private static final String PREFIX = "mail.regarding.";
pr... | Handle missing templates nicely. Whitespace | Handle missing templates nicely. Whitespace
| Java | lgpl-2.1 | kimrutherford/intermine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,joshkh/intermine,justincc/intermine,zebrafishmine/intermine,joshkh/intermine,Arabidopsis-Information-Portal/intermine,joshkh/intermine,tomck/intermine,JoeCarlson/intermine,Arab... |
0c35ee2a8a71bf776001ebebc186b236ab34e7d3 | library/src/main/java/com/novoda/downloadmanager/NotificationDispatcher.java | library/src/main/java/com/novoda/downloadmanager/NotificationDispatcher.java | package com.novoda.downloadmanager;
import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DELETION;
import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DOWNLOADED;
class NotificationDispatcher {
private final Object waitForDownloadService;
private final NotificationCreator<Downl... | package com.novoda.downloadmanager;
import android.support.annotation.WorkerThread;
import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DELETION;
import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DOWNLOADED;
class NotificationDispatcher {
private final Object waitForDownloadSer... | Add worker thread annotation to update notification. | Add worker thread annotation to update notification.
| Java | apache-2.0 | novoda/download-manager |
ed14e1e55ce5dcaa8ff3f92ace257b37fd75d795 | shared/src/main/java/org/openmhealth/dsu/configuration/OAuth2Properties.java | shared/src/main/java/org/openmhealth/dsu/configuration/OAuth2Properties.java | /*
* Copyright 2014 Open mHealth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2014 Open mHealth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Fix typo in resource ID | Fix typo in resource ID
| Java | apache-2.0 | openmhealth/omh-dsu-ri,smalldatalab/omh-dsu,openmhealth/omh-dsu-ri,smalldatalab/omh-dsu,smalldatalab/omh-dsu,smalldatalab/omh-dsu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.