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 |
|---|---|---|---|---|---|---|---|---|---|
0a2ddac187c288e7aee12b1c9e2657c969671eae | src/entities/Projectile.java | src/entities/Projectile.java | package edu.stuy.starlorn.entities;
public class Projectile extends Entity {
// Angle is radians, measured from the positive x axis
private double _angle, _speed;
public Projectile() {
super();
_angle = 0;
_speed = 1;
}
@Override
public void step() {
setXY(getX... | package edu.stuy.starlorn.entities;
public class Projectile extends Entity {
// Angle is radians, measured from the positive x axis
private double _angle, _speed;
public Projectile() {
super();
_angle = 0;
_speed = 1;
}
@Override
public void step() {
setXY(getX... | Add shouldDespawn tag to projectiles, so we can do piercing shots | Add shouldDespawn tag to projectiles, so we can do piercing shots
| Java | mit | Hypersonic/Starlorn |
3893b78a42bb1f7c6d24465f10dc50d8ed378e9e | test/sqlancer/dbms/TestMySQL.java | test/sqlancer/dbms/TestMySQL.java | package sqlancer.dbms;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assumptions.assumeTrue;
import org.junit.jupiter.api.Test;
import sqlancer.Main;
public class TestMySQL {
@Test
public void testMySQL() {
String mysqlAvailable = System.getenv("MY... | package sqlancer.dbms;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assumptions.assumeTrue;
import org.junit.jupiter.api.Test;
import sqlancer.Main;
public class TestMySQL {
String mysqlAvailable = System.getenv("MYSQL_AVAILABLE");
boolean mysqlIsAvailabl... | Add tests for the PQS implementation | [MySQL] Add tests for the PQS implementation
| Java | mit | sqlancer/sqlancer,sqlancer/sqlancer |
44036d92de46456ee2269111275684c0e518e115 | addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java | addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java | package kurs.zadania.adressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
// public void gotoGroupPage() { click(By... | package kurs.zadania.adressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
public void gotoGroupPage() {
clic... | Revert "optimization of the transition between the pages" | Revert "optimization of the transition between the pages"
This reverts commit c4bc2d8c0db6a599fbeeb725de931f99b7edcfd2.
| Java | apache-2.0 | wozniakpiotr/java_training,wozniakpiotr/java_training,wozniakpiotr/java_training |
d3f1eb590854d87da12487063ed2a636b85fe750 | parser/src/main/java/me/vertretungsplan/additionalinfo/lsschleswig/LsSchleswigRSSParser.java | parser/src/main/java/me/vertretungsplan/additionalinfo/lsschleswig/LsSchleswigRSSParser.java | /*
* substitution-schedule-parser - Java library for parsing schools' substitution schedules
* Copyright (c) 2017 Johan v. Forstner
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil... | /*
* substitution-schedule-parser - Java library for parsing schools' substitution schedules
* Copyright (c) 2017 Johan v. Forstner
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil... | Update LS Schleswig feed URL | Update LS Schleswig feed URL | Java | mpl-2.0 | vertretungsplanme/substitution-schedule-parser,vertretungsplanme/substitution-schedule-parser,johan12345/substitution-schedule-parser,johan12345/substitution-schedule-parser |
b722f22b83e11a780ae67bf23a000060fb3b1d2d | app/src/main/java/com/naijab/nextzytimeline/ui/people/addform/AddPeopleFragmentPresenter.java | app/src/main/java/com/naijab/nextzytimeline/ui/people/addform/AddPeopleFragmentPresenter.java | package com.naijab.nextzytimeline.ui.people.addform;
import com.naijab.nextzytimeline.base.BaseMvpPresenter;
import io.realm.Realm;
public class AddPeopleFragmentPresenter extends BaseMvpPresenter<AddPeopleFragmentInterface.View>
implements AddPeopleFragmentInterface.Presenter{
private Realm realm;
... | package com.naijab.nextzytimeline.ui.people.addform;
import com.naijab.nextzytimeline.base.BaseMvpPresenter;
import com.naijab.nextzytimeline.ui.people.model.PeopleModel;
import io.realm.Realm;
import io.realm.RealmResults;
public class AddPeopleFragmentPresenter extends BaseMvpPresenter<AddPeopleFragmentInterface.V... | Add Insert Realm in Presenter | Add Insert Realm in Presenter
| Java | mit | naijab/nextzytimeline,naijab/nextzytimeline |
234289205276011c90ba883994352f02a1f62a99 | src/test/java/org/tearsofaunicorn/auspost/domestic/postcode/search/model/SearchRequestTest.java | src/test/java/org/tearsofaunicorn/auspost/domestic/postcode/search/model/SearchRequestTest.java | package org.tearsofaunicorn.auspost.domestic.postcode.search.model;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* _TODO:_ Write summary
*/
public class SearchRequestTest {
@Test
public void testQuery() throws Exception {
Assert.fail("Implement test");
}
@Test
public ... | package org.tearsofaunicorn.auspost.domestic.postcode.search.model;
import org.junit.Assert;
import org.junit.Test;
public class SearchRequestTest {
@Test
public void testQuery() throws Exception {
String request = new SearchRequest("apiKey", "http://test.com").query("query").buildUrl();
Asse... | Add test for building search requests | Add test for building search requests
| Java | mit | ashri/java-auspost-api |
34b0c2d4add9a911e476812dbf9069bfe3032c6d | gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/service/json/AuthenticationResponseDecoder.java | gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/service/json/AuthenticationResponseDecoder.java | package ro.pub.cs.vmchecker.client.service.json;
import ro.pub.cs.vmchecker.client.model.AuthenticationResponse;
import ro.pub.cs.vmchecker.client.model.User;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONValue;
public class Authenti... | package ro.pub.cs.vmchecker.client.service.json;
import ro.pub.cs.vmchecker.client.model.AuthenticationResponse;
import ro.pub.cs.vmchecker.client.model.User;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONValue;
public class Authenti... | Use new services.py reply format for login(). | gwt: Use new services.py reply format for login().
| Java | mit | calin-iorgulescu/vmchecker,rosedu/vmchecker,calin-iorgulescu/vmchecker,rosedu/vmchecker,calin-iorgulescu/vmchecker,rosedu/vmchecker,calin-iorgulescu/vmchecker,rosedu/vmchecker,rosedu/vmchecker,rosedu/vmchecker,calin-iorgulescu/vmchecker,calin-iorgulescu/vmchecker |
22c867ca7a0287a1fa5db0adacbe62151e5f089b | src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java | src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java | package com.github.aureliano.achmed.os;
import com.github.aureliano.achmed.command.CommandResponse;
import com.github.aureliano.achmed.os.pkg.IPackageManager;
import com.github.aureliano.achmed.os.service.IService;
import com.github.aureliano.achmed.types.OS;
import com.github.aureliano.achmed.types.OperatingSystemFam... | package com.github.aureliano.achmed.os;
import com.github.aureliano.achmed.command.CommandResponse;
import com.github.aureliano.achmed.os.fs.IFileProvider;
import com.github.aureliano.achmed.os.pkg.IPackageManager;
import com.github.aureliano.achmed.os.service.IService;
import com.github.aureliano.achmed.types.OS;
imp... | Add method to get default file provider. | Add method to get default file provider.
| Java | mit | aureliano/achmed |
aa795e9572d21289f86d64db3e45bed7a199cf0b | src/main/java/com/sakamichi46/api/AbstractSakamichi46Resource.java | src/main/java/com/sakamichi46/api/AbstractSakamichi46Resource.java | package com.sakamichi46.api;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sakamichi46.model.Member;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax... | package com.sakamichi46.api;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sakamichi46.model.Member;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax... | Change url path for simplifying | Change url path for simplifying | Java | mit | kikutaro/Sakamichi46Api,kikutaro/Sakamichi46Api |
590f79ece4aac561179a66c3d098d0aceae6af8d | src/com/jcwhatever/bukkit/musical/Lang.java | src/com/jcwhatever/bukkit/musical/Lang.java | /* This file is part of MusicalRegions for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | /* This file is part of MusicalRegions for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | Implement localization and fix existing localization to match changes | Implement localization and fix existing localization to match changes
| Java | mit | JCThePants/MusicalRegions,JCThePants/MusicalRegions |
50a5cbf230ba2c566bf99ef6d1023820a639b282 | src/test/java/info/u_team/u_team_test/init/TestRenderers.java | src/test/java/info/u_team/u_team_test/init/TestRenderers.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.util.registry.ClientRegistry;
import info.u_team.u_team_test.entity.render.TestLivingEntityRenderer;
import net.minecraft.client.renderer.entity.ThrownItemRenderer;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.event... | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.entity.render.TestLivingEntityRenderer;
import net.minecraft.client.renderer.entity.ThrownItemRenderer;
import net.minecraftforge.client.event.EntityRenderersEvent.RegisterRenderers;
import net.minecraftforge.eventbus.api.IEventBus;
public class Tes... | Update entity renderer to use the new events | Update entity renderer to use the new events | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
53f8dbd33a605f3b60b5d883cc69dbfb9fed0a6a | src/test/java/com/github/gabrielruiu/spring/cloud/config/redis/BaseRedisEnvironmentRepositoryTest.java | src/test/java/com/github/gabrielruiu/spring/cloud/config/redis/BaseRedisEnvironmentRepositoryTest.java | package com.github.gabrielruiu.spring.cloud.config.redis;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.embedded.LocalServerPort;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.w... | package com.github.gabrielruiu.spring.cloud.config.redis;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.embedded.LocalServerPort;
import org.springframework.boot.test.context.SpringBootTest;
import org.sp... | Add @Before method so that all extending tests cleanup the Redis database before executing This makes sure we work starting from an empty database | Add @Before method so that all extending tests cleanup the Redis database before executing
This makes sure we work starting from an empty database
| Java | apache-2.0 | gabrielruiu/spring-cloud-config-server-redis |
9a77d66dc9688bc1aeebdb900a15b5563a502051 | dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/servlet/DryadAPIServletContainer.java | dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/servlet/DryadAPIServletContainer.java | /*
*/
package org.datadryad.rest.servlet;
import com.sun.jersey.spi.container.servlet.ServletContainer;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import org.apache.log4j.Logger;
import org.dspace.core.ConfigurationManager;
/**
*
* @author Dan Leehr <dan.leehr@nescent.org>
*/
public... | /*
*/
package org.datadryad.rest.servlet;
import com.sun.jersey.spi.container.servlet.ServletContainer;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import org.apache.log4j.Logger;
import org.dspace.core.ConfigurationManager;
/**
*
* @author Dan Leehr <dan.leehr@nescent.org>
*/
public... | Load dspace configFile before calling super.init() | Load dspace configFile before calling super.init()
Prevents singletons from being initialized before DSpace config is
available
| Java | bsd-3-clause | jimallman/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,jamie-dryad/dryad-repo,ojacobson/drya... |
f4b349a7926abe8c2c8276522a189c904bf41024 | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | package uk.ac.ebi.quickgo.annotation.service.search;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;
import uk.ac.ebi.quickgo.common.SearchableDocumentFields;
import uk.ac.ebi.quickgo.rest.search.SearchableField;
import java.util.stream.Stream;
import org.springframework.stereotype.Component;
/... | package uk.ac.ebi.quickgo.annotation.service.search;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;
import uk.ac.ebi.quickgo.common.SearchableDocumentFields;
import uk.ac.ebi.quickgo.rest.search.SearchableField;
import java.util.stream.Stream;
import org.springframework.stereotype.Component;
/... | Remove duplicate word "searchable" in class Javadoc. | Remove duplicate word "searchable" in class Javadoc.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
45f8af99e90f211e76d1da497ef546d960153472 | app/src/main/java/com/github/mkjensen/tv/util/CrashlyticsTimberTree.java | app/src/main/java/com/github/mkjensen/tv/util/CrashlyticsTimberTree.java | /*
* Copyright 2017 Martin Kamp Jensen
*
* 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 agr... | /*
* Copyright 2017 Martin Kamp Jensen
*
* 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 agr... | Add @NonNull to message parameter of overridden method log | Add @NonNull to message parameter of overridden method log
| Java | apache-2.0 | mkjensen/tv |
a96d990fc7132f93f344f2705f70f2f31d458026 | src/com/edinarobotics/zephyr/Zephyr.java | src/com/edinarobotics/zephyr/Zephyr.java | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | Remove unused Joystick import from the main robot class. | Remove unused Joystick import from the main robot class.
| Java | bsd-3-clause | TheGreenMachine/Zephyr-Java |
c37d7fd0d2f9bcc5ecb876975d81228a7fcbe0e5 | benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java | benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java | // Copyright 2011 Google Inc. All Rights Reserved.
package org.cachebench;
import org.cachebench.reportgenerators.CsvStatisticReportGenerator;
import java.io.File;
/**
* An extension of the report generator to simplify the file name.
*
* @author bmanes@google.com (Ben Manes)
*/
public final class CustomCsvStati... | // Copyright 2011 Google Inc. All Rights Reserved.
package org.cachebench;
import static com.google.common.base.Strings.emptyToNull;
import org.cachebench.reportgenerators.CsvStatisticReportGenerator;
import java.io.File;
/**
* An extension of the report generator to simplify the file name.
*
* @author bmanes@g... | Fix to remove '-' when no run specified | Fix to remove '-' when no run specified
git-svn-id: 907e4e34b61c8b36c3c46852ca75613c7936718f@672 52670e78-85c4-11dd-9ffd-cdf95c2cae98
| Java | apache-2.0 | songchuanyuan66/concurrentlinkedhashmap,rzel/concurrentlinkedhashmap,sdslnmd/concurrentlinkedhashmap,hhshuai/concurrentlinkedhashmap,mapiman/concurrentlinkedhashmap,easyfmxu/concurrentlinkedhashmap,ben-manes/concurrentlinkedhashmap,Tradeshift/concurrentlinkedhashmap |
180ce761d952c9fea7331c9a6367dbc9588b584d | ode/test/IntegrationTest.java | ode/test/IntegrationTest.java | import org.junit.*;
import play.test.*;
import play.libs.F.*;
import static play.test.Helpers.*;
import static org.fest.assertions.Assertions.*;
public class IntegrationTest {
/**
* add your integration test here
* in this example we just check if the welcome page is being shown
*/
@Test
... | import org.junit.*;
import play.test.*;
import play.libs.F.*;
import static play.test.Helpers.*;
import static org.fest.assertions.Assertions.*;
public class IntegrationTest {
/**
* Add your integration tests here.
* In this example we just check if the home page is being shown.
*/
@Test
... | Make example integration test pass. | Make example integration test pass.
| Java | agpl-3.0 | itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE |
96a35d190228200b9a00f1a3b2aa92de3346386d | net.stickycode.resource/sticky-resource-stereotype/src/main/java/net/stickycode/resource/stereotype/Resource.java | net.stickycode.resource/sticky-resource-stereotype/src/main/java/net/stickycode/resource/stereotype/Resource.java | package net.stickycode.stereotype.resource;
import net.stickycode.stereotype.ConfiguredComponent;
/**
* Interface used to mark of point where an external resource should be injected.
*
* <pre>
* @Configured
* private Resource<String> helpText;
*
* @Configured
* private Resource<Properties> decodeM... | package net.stickycode.resource.stereotype;
import net.stickycode.stereotype.ConfiguredComponent;
/**
* Interface used to mark of point where an external resource should be injected.
*
* <pre>
* @Configured
* private Resource<String> helpText;
*
* @Configured
* private Resource<Properties> decodeM... | Move the package as well as the group | Move the package as well as the group | Java | apache-2.0 | tectronics/stickycode,tectronics/stickycode,walterDurin/stickycode,walterDurin/stickycode,walterDurin/stickycode,tectronics/stickycode |
eb60efc65afe5979513bcffb9ce14b1b25838069 | src/main/java9/module-info.java | src/main/java9/module-info.java | /*module io.xlate.validation {
exports io.xlate.validation.constraints;
requires jakarta.el.api;
requires java.instrument;
requires java.logging;
requires java.management;
requires java.naming;
requires java.prefs;
requires java.sql;
requires java.sql.rowset;
requires java.valid... | /*module io.xlate.validation {
exports io.xlate.validation.constraints;
opens io.xlate.validation.internal.constraintvalidators;
requires jakarta.el.api;
requires java.instrument;
requires java.logging;
requires java.management;
requires java.naming;
requires java.prefs;
requires ... | Add 'opens' for reflective access | Add 'opens' for reflective access
| Java | apache-2.0 | xlate/validators |
f18db3897f1ec61df07aa6aff5c575c8634632d8 | openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/MultiTenantRouterForwardingProvider.java | openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/MultiTenantRouterForwardingProvider.java | /*
* Copyright (C) 2014 Red Hat, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Authors : Dave Tucker, Flavio Fernandes
*/
packa... | /*
* Copyright (C) 2014 Red Hat, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Authors : Dave Tucker, Flavio Fernandes
*/
packa... | Add node and dpid information to L3 Forwarding API | Add node and dpid information to L3 Forwarding API
Change-Id: I06186d17b3a26e262caee612d9221994adc8ca1c
Signed-off-by: Dave Tucker <38bd290b0ce167c92fc77aa50ad43e0fe89e0f98@redhat.com>
| Java | epl-1.0 | opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt |
5be759d95613c354976cfbecefbc7cb1f26110b6 | 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 import in HelloWorld sample | Remove unused import in HelloWorld sample
| Java | apache-2.0 | wso2/product-mss,thusithathilina/msf4j,wso2/product-mss,thusithathilina/msf4j,wso2/product-mss,thusithathilina/msf4j,thusithathilina/msf4j,wso2/msf4j,wso2/msf4j,wso2/msf4j,wso2/product-mss |
14b2ae85ef66c11112ad4b456e76fefe115ffced | snippets/extension-attributes-for-user-tasks/src/main/java/com/camunda/bpm/demo/extension_attributes_for_user_tasks/EscalationStartTaskListener.java | snippets/extension-attributes-for-user-tasks/src/main/java/com/camunda/bpm/demo/extension_attributes_for_user_tasks/EscalationStartTaskListener.java | package com.camunda.bpm.demo.extension_attributes_for_user_tasks;
import java.util.Collection;
import java.util.Date;
import org.camunda.bpm.engine.delegate.DelegateTask;
import org.camunda.bpm.engine.delegate.TaskListener;
import org.camunda.bpm.model.bpmn.instance.ExtensionElements;
import org.camunda.bpm.model.bpm... | package com.camunda.bpm.demo.extension_attributes_for_user_tasks;
import java.util.Collection;
import java.util.Date;
import org.camunda.bpm.engine.delegate.DelegateTask;
import org.camunda.bpm.engine.delegate.TaskListener;
import org.camunda.bpm.model.bpmn.instance.ExtensionElements;
import org.camunda.bpm.model.bpm... | Add hint on improved API in 7.2 | Add hint on improved API in 7.2
| Java | apache-2.0 | nagyistoce/camunda-consulting,plexiti/camunda-consulting,nagyistoce/camunda-consulting,camunda/camunda-consulting,nagyistoce/camunda-consulting,camunda/camunda-consulting,plexiti/camunda-consulting,plexiti/camunda-consulting,camunda/camunda-consulting,camunda/camunda-consulting |
87f6b0eb7092c428610eb681a6b3b2b5192f2714 | src/main/java/moe/tristan/easyfxml/util/Nodes.java | src/main/java/moe/tristan/easyfxml/util/Nodes.java | package moe.tristan.easyfxml.util;
import javafx.scene.Node;
import javafx.scene.layout.AnchorPane;
/**
* Small DOM-related utils for JavaFX nodes.
*/
public final class Nodes {
private Nodes() {
}
/**
* Centers a node that is inside an enclosing {@link AnchorPane}.
*
* @param node ... | package moe.tristan.easyfxml.util;
import javafx.beans.value.ObservableValue;
import javafx.scene.Node;
import javafx.scene.layout.AnchorPane;
/**
* Small DOM-related utils for JavaFX nodes.
*/
public final class Nodes {
private Nodes() {
}
/**
* Centers a node that is inside an enclosing {@link ... | Add a helper method for auto-hiding and resizing the parent of a node | Add a helper method for auto-hiding and resizing the parent of a node
| Java | apache-2.0 | Tristan971/EasyFXML,Tristan971/EasyFXML |
f1acec57657a455642905103052b9c2b658f067f | src/main/java/com/google/sps/data/AggregationResponseEntry.java | src/main/java/com/google/sps/data/AggregationResponseEntry.java | package com.google.sps.data;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.stream.Collectors;
import org.apache.commons.collections4.keyvalue.MultiKey;
/*
* Class representing one row/entry in the aggregation response. A NULL field value
* means the field was no... | package com.google.sps.data;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import org.apache.commons.collections4.keyvalue.MultiKey;
/*
* Class representing one row/entry in the aggregation response. A NULL field value
* means the field was not being ... | Improve efficiency by merging two loops accessing the same data into one loop | Improve efficiency by merging two loops accessing the same data into one loop
| Java | apache-2.0 | googleinterns/step176-2020,googleinterns/step176-2020,googleinterns/step176-2020 |
b5f3a38e7adb7d77875536863510de7061dc05b2 | src/main/java/org/everit/osgi/ecm/metadata/ServiceMetadata.java | src/main/java/org/everit/osgi/ecm/metadata/ServiceMetadata.java | /**
* This file is part of Everit - Component Metadata.
*
* Everit - Component Metadata is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | /**
* This file is part of Everit - Component Metadata.
*
* Everit - Component Metadata is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | Throw exception if null is provided as service interfaces array. | Throw exception if null is provided as service interfaces array. | Java | apache-2.0 | zsigmond-czine-everit/ecm-metadata,everit-org/ecm-metadata |
203ea4375ba4d269df84752529708ad54ee94604 | src/test/java/com/modesteam/urutau/builder/ArtifactBuilder.java | src/test/java/com/modesteam/urutau/builder/ArtifactBuilder.java | package com.modesteam.urutau.builder;
import com.modesteam.urutau.model.Artifact;
import com.modesteam.urutau.model.User;
public class ArtifactBuilder {
private String title;
private String description;
public ArtifactBuilder title(String title){
this.title = title;
return this;
}
public ArtifactBuilder ... | package com.modesteam.urutau.builder;
import com.modesteam.urutau.model.Artifact;
import com.modesteam.urutau.model.Epic;
import com.modesteam.urutau.model.Feature;
import com.modesteam.urutau.model.User;
public class ArtifactBuilder {
private String title;
private String description;
public ArtifactBuilder titl... | Create a build for artifacts epic and feature for mock | Create a build for artifacts epic and feature for mock
| Java | apache-2.0 | tainarareis/Urutau,tainarareis/Urutau,Modesteam/Urutau,Modesteam/Urutau,tainarareis/Urutau,tainarareis/Urutau,tainarareis/Urutau,ProjectUrutau/Urutau,ProjectUrutau/Urutau |
8908509ec2c4419dcca6e5506f16d06b59f21960 | api/src/main/java/uk/gov/dvla/services/filter/FilterService.java | api/src/main/java/uk/gov/dvla/services/filter/FilterService.java | package uk.gov.dvla.services.filter;
import uk.gov.dvla.domain.ServiceResult;
import java.util.UUID;
import java.util.HashMap;
public interface FilterService<T>
{
public ServiceResult<T> filter(UUID id, T objectToFilter, String Context);
public ServiceResult<T> filter(T objectToFilter, String Con... | package uk.gov.dvla.services.filter;
import uk.gov.dvla.domain.ServiceResult;
import java.util.UUID;
public interface FilterService<T>
{
public ServiceResult<T> filter(UUID id, T objectToFilter, String Context);
public ServiceResult<T> filter(T objectToFilter, String Context);
}
| Fix failing tests due to test set up changes and make a start on MibResponse object to be used to restrict what is returned from the filter service | Fix failing tests due to test set up changes and make a start on MibResponse object to be used to restrict what is returned from the filter service
| Java | mit | dvla/vdr-core |
1a42a0d23139776324d92b2484065aea3480f907 | libraries/netip/java/src/main/java/eu/netide/lib/netip/OpenFlowMessage.java | libraries/netip/java/src/main/java/eu/netide/lib/netip/OpenFlowMessage.java | package eu.netide.lib.netip;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.projectfloodlight.openflow.protocol.OFMessage;
/**
* Class representing a message of type OPENFLOW.
* Note that this only serves as a convenience class - if the MessageType is manipulat... | package eu.netide.lib.netip;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.projectfloodlight.openflow.protocol.OFMessage;
/**
* Class representing a message of type OPENFLOW.
* Note that this only serves as a convenience class - if the MessageType is manipulat... | Fix OpenFlow packets getting stuffed with \0 bytes. | Fix OpenFlow packets getting stuffed with \0 bytes.
| Java | epl-1.0 | fp7-netide/Engine,fp7-netide/Engine,fp7-netide/Engine,fp7-netide/Engine,fp7-netide/Engine |
237161121e987bd0650bb6344cfa431e4d1b6286 | vertx-db2-client/src/test/java/io/vertx/db2client/tck/DB2CollectorTest.java | vertx-db2-client/src/test/java/io/vertx/db2client/tck/DB2CollectorTest.java | package io.vertx.db2client.tck;
import java.util.function.BiConsumer;
import java.util.function.Function;
import java.util.function.Supplier;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import io.vertx.db2client.junit.DB2Resource;
import io.vertx.ext.u... | package io.vertx.db2client.tck;
import org.junit.ClassRule;
import org.junit.runner.RunWith;
import io.vertx.db2client.junit.DB2Resource;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import io.vertx.sqlclient.tck.CollectorTestBase;
@RunWith(VertxUnitRunner.class)
public class DB2CollectorTest extends CollectorTes... | Enable DB2Collector error path tests | Enable DB2Collector error path tests
| Java | apache-2.0 | vietj/vertx-pg-client,vietj/vertx-pg-client,vietj/vertx-pg-client |
dcce8521441050eae887f91341cf34bb1f592e36 | JMP.java | JMP.java | import java.io.*;
import java.net.*;
import java.util.*;
import java.net.ServerSocket;
public class JMP {
public static void main(String[] args) throws IOException {
String mysqlHost = System.getProperty("mysqlHost");
int mysqlPort = Integer.parseInt(System.getProperty("mysqlPort"));
int po... | import java.io.*;
import java.net.*;
import java.util.*;
import java.net.ServerSocket;
public class JMP {
public static void main(String[] args) throws IOException {
String mysqlHost = System.getProperty("mysqlHost");
int mysqlPort = Integer.parseInt(System.getProperty("mysqlPort"));
int po... | Optimize plugin loading, add error messages | Optimize plugin loading, add error messages
| Java | mit | fdagostini/JMPjct,MPjct/JMPjct,creary/JMPjct,IBYoung/JMPjct |
1a5b269e4e5864ae6ac44d3b66f4ce5e09b4ddab | src/main/java/stream/flarebot/flarebot/mod/modlog/ModAction.java | src/main/java/stream/flarebot/flarebot/mod/modlog/ModAction.java | package stream.flarebot.flarebot.mod.modlog;
public enum ModAction {
BAN(true, ModlogEvent.USER_BANNED),
FORCE_BAN(true, ModlogEvent.USER_BANNED),
TEMP_BAN(true, ModlogEvent.USER_TEMP_BANNED),
UNBAN(false, ModlogEvent.USER_UNBANNED),
KICK(true, ModlogEvent.USER_KICKED),
TEMP_MUTE(true, Modlo... | package stream.flarebot.flarebot.mod.modlog;
public enum ModAction {
BAN(true, ModlogEvent.USER_BANNED),
FORCE_BAN(true, ModlogEvent.USER_BANNED),
TEMP_BAN(true, ModlogEvent.USER_TEMP_BANNED),
UNBAN(false, ModlogEvent.USER_UNBANNED),
KICK(true, ModlogEvent.USER_KICKED),
TEMP_MUTE(true, Modlo... | Copy and paste is the devil | Copy and paste is the devil | Java | mit | FlareBot/FlareBot,weeryan17/FlareBot,binaryoverload/FlareBot |
c2d085c3d9b2ea0bf56698f9d4102f16ba2b2a66 | mrm-api/src/main/java/org/codehaus/mojo/mrm/api/maven/BaseArtifactStore.java | mrm-api/src/main/java/org/codehaus/mojo/mrm/api/maven/BaseArtifactStore.java | package org.codehaus.mojo.mrm.api.maven;
import java.io.IOException;
import java.io.InputStream;
/**
* Base implementation of {@link ArtifactStore}.
*
* @serial
* @since 1.0
*/
public abstract class BaseArtifactStore
implements ArtifactStore
{
/**
* Ensure consistent serialization.
*
* @s... | package org.codehaus.mojo.mrm.api.maven;
import java.io.IOException;
import java.io.InputStream;
import org.apache.maven.archetype.catalog.ArchetypeCatalog;
/**
* Base implementation of {@link ArtifactStore}.
*
* @serial
* @since 1.0
*/
public abstract class BaseArtifactStore
implements ArtifactStore
{
... | Add stubMethods for all new methods added to the interface of ArtifactStore to prevent LinkageErrors | [MMOCKRM-10] Add stubMethods for all new methods added to the interface of ArtifactStore to prevent LinkageErrors
git-svn-id: bd1f34fbfec48d91264778014075c1f6aa6d3f05@18309 52ab4f32-60fc-0310-b215-8acea882cd1b
| Java | apache-2.0 | mojohaus/mrm |
14a6c506e4c6356228bd3c801fc38dc2e26e261d | core/api/src/main/java/org/onosproject/net/AbstractAnnotated.java | core/api/src/main/java/org/onosproject/net/AbstractAnnotated.java | /*
* Copyright 2014-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | /*
* Copyright 2014-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Fix NPE when trying to reference delta port statistics via REST API | Fix NPE when trying to reference delta port statistics via REST API
Change-Id: Ic195d06e55bd4d8379ac28938e93105d6d181bf6
| Java | apache-2.0 | opennetworkinglab/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,opennetworkinglab/onos,kuujo/onos,opennetworkinglab/onos,gkatsikas/onos,kuujo/onos,kuujo/onos,gkatsikas/onos,oplinkoms/onos,kuujo/onos,kuujo/onos,gkatsikas/onos,gkatsikas/onos,oplinkoms/onos,kuujo/onos,gkatsikas/onos,opennetworkinglab/onos,kuuj... |
f34f758fdd7657b381579266d482d04b75aecf33 | junit/src/test/java/cucumber/runtime/junit/TestPickleBuilder.java | junit/src/test/java/cucumber/runtime/junit/TestPickleBuilder.java | package cucumber.runtime.junit;
import cucumber.runtime.io.Resource;
import cucumber.runtime.model.CucumberFeature;
import cucumber.runtime.model.FeatureParser;
import gherkin.events.PickleEvent;
import gherkin.pickles.Compiler;
import gherkin.pickles.Pickle;
import java.io.ByteArrayInputStream;
import java.io.InputS... | package cucumber.runtime.junit;
import cucumber.runtime.io.Resource;
import cucumber.runtime.model.CucumberFeature;
import cucumber.runtime.model.FeatureParser;
import gherkin.events.PickleEvent;
import gherkin.pickles.Compiler;
import gherkin.pickles.Pickle;
import java.io.ByteArrayInputStream;
import java.io.InputS... | Use explicit encoding when getting bytes from String | [JUnit] Use explicit encoding when getting bytes from String
| Java | mit | cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm,cucumber/cucumber-jvm |
04f214ca40293f1927663dd6824e54700e1421bc | liquibase-core/src/main/java/liquibase/executor/ExecutorService.java | liquibase-core/src/main/java/liquibase/executor/ExecutorService.java | package liquibase.executor;
import liquibase.database.Database;
import liquibase.exception.UnexpectedLiquibaseException;
import liquibase.servicelocator.ServiceLocator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ExecutorService {
private static ExecutorService instance = n... | package liquibase.executor;
import liquibase.database.Database;
import liquibase.exception.UnexpectedLiquibaseException;
import liquibase.servicelocator.ServiceLocator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ExecutorService {
private static ExecutorService instance = n... | Use computeIfAbsent to avoid concurrency issues | Use computeIfAbsent to avoid concurrency issues
(cherry picked from commit a79513112c7e3b46370deca6d3bb1b47432df00b)
| Java | apache-2.0 | jimmycd/liquibase,liquibase/liquibase,mattbertolini/liquibase,fossamagna/liquibase,fossamagna/liquibase,jimmycd/liquibase,liquibase/liquibase,jimmycd/liquibase,mattbertolini/liquibase,fossamagna/liquibase,liquibase/liquibase,mattbertolini/liquibase,jimmycd/liquibase,mattbertolini/liquibase |
9abdda630c04d49a399ea9f9bd141ef1c01b166d | src/main/java/com/github/qrokodial/sparkle/events/util/Priority.java | src/main/java/com/github/qrokodial/sparkle/events/util/Priority.java | package com.github.qrokodial.sparkle.events.util;
public enum Priority {
/**
* For core functionality. Do not use unless you know exactly what you're doing. If unsure, use {@link #HIGHEST}.
*/
REALTIME,
/**
* For things requiring the highest priority.
*/
HIGHEST,
/**
* Fo... | package com.github.qrokodial.sparkle.events.util;
public enum Priority {
/**
* For core functionality. Do not use unless you know exactly what you're doing. If unsure, use {@link #HIGHEST}.
*/
REALTIME(3),
/**
* For things requiring the highest priority.
*/
HIGHEST(2),
/**
... | Allow for getting the inverse of a priority | Allow for getting the inverse of a priority
| Java | mit | SparkleCommons/Events |
01627da71c24467c117bdfd8eba2a24b850d4424 | main/java/com/slugterra/entity/protoform/EntityJellyish.java | main/java/com/slugterra/entity/protoform/EntityJellyish.java | package com.slugterra.entity.protoform;
import java.util.Random;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIFollowOwner;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIPanic;
i... | package com.slugterra.entity.protoform;
import com.slugterra.entity.EntitySlug;
import com.slugterra.item.SlugItemRegistry;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.world.World;
public class EntityJellyish extends EntitySlug{
public EntityJellyish(World p_i1738_1_) {
super(p_i17... | Change worldObj variable to world | Change worldObj variable to world
| Java | mit | mpbagot/Slugterra-Mod |
db642767d225ee3f0dabb38e6f7128c4d78964bc | fotoapparat/src/main/java/io/fotoapparat/util/CompareSizesByArea.java | fotoapparat/src/main/java/io/fotoapparat/util/CompareSizesByArea.java | package io.fotoapparat.util;
import java.util.Comparator;
import io.fotoapparat.parameter.Size;
/**
* Comparator based on area of the given {@link Size} objects.
*/
public class CompareSizesByArea implements Comparator<Size> {
@Override
public int compare(Size lhs, Size rhs) {
return Long.signum((... | package io.fotoapparat.util;
import java.util.Comparator;
import io.fotoapparat.parameter.Size;
/**
* Comparator based on area of the given {@link Size} objects.
*/
public class CompareSizesByArea implements Comparator<Size> {
@Override
public int compare(Size lhs, Size rhs) {
return Long.signum((... | Replace calculation with ready method | Replace calculation with ready method
| Java | apache-2.0 | Fotoapparat/Fotoapparat,Fotoapparat/Fotoapparat |
c659079a6af6107c1b8ef25d70ed317532dc99f5 | github-android/src/main/java/com/github/mobile/android/util/Html.java | github-android/src/main/java/com/github/mobile/android/util/Html.java | package com.github.mobile.android.util;
import android.text.Html.ImageGetter;
/**
* Html Utilities
*/
public class Html {
/**
* Encode HTML
*
* @param html
* @return html
*/
public static CharSequence encode(String html) {
return encode(html, null);
}
/**
* En... | package com.github.mobile.android.util;
import android.text.Html.ImageGetter;
/**
* Html Utilities
*/
public class Html {
/**
* Encode HTML
*
* @param html
* @return html
*/
public static CharSequence encode(String html) {
return encode(html, null);
}
/**
* En... | Drop <p> tags and replace </p> with <br> | Drop <p> tags and replace </p> with <br>
This was causing an excessive amount of bottom padding | Java | apache-2.0 | esironal/PocketHub,roadrunner1987/PocketHub,xiaoleigua/PocketHub,Liyue1314/PocketHub,xiaoleigua/PocketHub,Damonzh/PocketHub,acemaster/android,erpragatisingh/android-1,forkhubs/android,tempbottle/PocketHub,Leaking/android,micrologic/PocketHub,Calamus-Cajan/PocketHub,gvaish/PocketHub,yummy222/PocketHub,Calamus-Cajan/Pock... |
6e88b2e656d3a6a057d82357f086471ea42ca8ea | src/main/java/com/graphicsengine/scene/SceneSerializerFactory.java | src/main/java/com/graphicsengine/scene/SceneSerializerFactory.java | package com.graphicsengine.scene;
import com.graphicsengine.json.JSONSceneFactory;
/**
* Creates the sceneserializer implementations
*
* @author Richard Sahlin
*
*/
public class SceneSerializerFactory {
/**
* Returns an implementation of the SceneSerializer interface, pass null to get the default plat... | package com.graphicsengine.scene;
/**
* Creates the sceneserializer implementations
*
* @author Richard Sahlin
*
*/
public class SceneSerializerFactory {
/**
* Returns an implementation of the SceneSerializer interface, callers must know the implementing class.
*
* @param className Implement... | Remove default serializer, caller must specify classname of serializer implementation | Remove default serializer, caller must specify classname of serializer implementation
| Java | apache-2.0 | rsahlin/graphics-engine,rsahlin/graphics-engine |
eaab7f623f3585a5529135148b2d8486c32be122 | src/org/helioviewer/jhv/view/jp2view/io/ByteChannelInputStream.java | src/org/helioviewer/jhv/view/jp2view/io/ByteChannelInputStream.java | package org.helioviewer.jhv.view.jp2view.io;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;
import javax.annotation.Nonnull;
public class ByteChannelInputStream extends InputStream {
private final ByteBuffer buf = ByteBuffer.allocateDire... | package org.helioviewer.jhv.view.jp2view.io;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;
import javax.annotation.Nonnull;
public class ByteChannelInputStream extends InputStream {
private final ByteBuffer buf = ByteBuffer.allocateDire... | Check return value of read operation | Check return value of read operation
| Java | mpl-2.0 | Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV |
650692068cd6947f64d0f79cf43e09d3a9b8d031 | app/src/main/java/com/cloudskol/moviedroid/provider/MovieDbHelper.java | app/src/main/java/com/cloudskol/moviedroid/provider/MovieDbHelper.java | package com.cloudskol.moviedroid.provider;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
/**
* @author tham
*/
public class MovieDbHelper extends SQLiteOpenHelper {
private static final String LOG_TAG = Mo... | package com.cloudskol.moviedroid.provider;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
/**
* @author tham
*/
public class MovieDbHelper extends SQLiteOpenHelper {
private static final String LOG_TAG = Mo... | Create and drop schema changes are done | Create and drop schema changes are done
| Java | apache-2.0 | zarub2k/moviedroid |
2d4710c99f1887744a1f6bfde37925d97cfc068c | src/main/java/PortalI.java | src/main/java/PortalI.java | import Ice.Current;
import VideoStreaming.Stream;
import java.util.ArrayList;
import java.util.List;
public class PortalI extends VideoStreaming._PortalDisp {
private List<Stream> Streams = new ArrayList<Stream>();
// Calls from Streaming Servers
public void register(Stream stream, Current current) {
... | import Streaming.NotifierPrxHelper;
import Streaming.Stream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public class PortalI extends Streaming._PortalDisp {
private Map<Stream, Long> Streams = new HashMap<Stream, Long>();
Streaming.NotifierPrx No... | Implement lots of new methods | Implement lots of new methods
Signed-off-by: Nuno Azevedo <8c1e4f9df2ead62a44323c12422702b1d8dd9c90@gmail.com>
| Java | mit | nuno-azevedo/video-streaming-ice |
e6ec13ce6f31f74ccd0bdd96de0b9513163cd4bf | jestful-form/src/main/java/org/qfox/jestful/form/TokenInterceptor.java | jestful-form/src/main/java/org/qfox/jestful/form/TokenInterceptor.java | package org.qfox.jestful.form;
import org.qfox.jestful.core.BeanContainer;
import org.qfox.jestful.core.Initialable;
import org.qfox.jestful.core.annotation.DELETE;
import org.qfox.jestful.core.annotation.GET;
import org.qfox.jestful.core.annotation.POST;
import org.qfox.jestful.core.annotation.PUT;
import org.qfox.je... | package org.qfox.jestful.form;
import org.qfox.jestful.core.BeanContainer;
import org.qfox.jestful.core.Initialable;
import org.qfox.jestful.core.annotation.DELETE;
import org.qfox.jestful.core.annotation.GET;
import org.qfox.jestful.core.annotation.POST;
import org.qfox.jestful.core.annotation.PUT;
import org.qfox.je... | Add Servlet Request Parameters Supports | Add Servlet Request Parameters Supports
| Java | apache-2.0 | core-lib/jestful |
b2960b7cd94545d63e74fa18ac5cba9a091700fe | src/io/miti/beetle/cache/SessionCache.java | src/io/miti/beetle/cache/SessionCache.java | package io.miti.beetle.cache;
import io.miti.beetle.model.Session;
import java.util.List;
public final class SessionCache {
/** The one instance of the cache object. */
private static final SessionCache cache;
/** The list of objects in the cache. */
private List<Session> list = null;
/** Instantiate the... | package io.miti.beetle.cache;
import io.miti.beetle.model.Session;
import java.util.List;
public final class SessionCache {
/** The one instance of the cache object. */
private static final SessionCache cache;
/** The list of objects in the cache. */
private List<Session> list = null;
/** Instantiate the... | Stop sorting sessions by ID (column removed). | Stop sorting sessions by ID (column removed). | Java | mit | argonium/beetle-cli |
f00794b0907cebf28c2001dde632c5959a79c977 | src/test/java/com/taxtelecom/chelnyedu/dropwizard/TestApplication.java | src/test/java/com/taxtelecom/chelnyedu/dropwizard/TestApplication.java | package com.taxtelecom.chelnyedu.dropwizard;
import static org.fest.assertions.api.Assertions.assertThat;
import javax.ws.rs.core.Response;
import org.junit.Test;
import com.taxtelecom.chelnyedu.dropwizard.representations.Contact;
import com.taxtelecom.chelnyedu.dropwizard.resources.ContactResources;
/**
* Created by... | package com.taxtelecom.chelnyedu.dropwizard;
import static org.fest.assertions.api.Assertions.assertThat;
import javax.ws.rs.core.Response;
import org.junit.Test;
import com.taxtelecom.chelnyedu.dropwizard.representations.Contact;
import com.taxtelecom.chelnyedu.dropwizard.resources.ContactResources;
/**
* Created by... | Test for constructor and getId() by Sagel | Test for constructor and getId() by Sagel
| Java | apache-2.0 | chelnyedu/dropwizard-rest,chelnyedu/dropwizard-rest |
8739dc5bb5197c1a854850569fdbf0c72a4c568e | RosettaCore/src/main/java/com/hubspot/rosetta/jackson/RosettaNamingStrategy.java | RosettaCore/src/main/java/com/hubspot/rosetta/jackson/RosettaNamingStrategy.java | package com.hubspot.rosetta.jackson;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.cfg.MapperConfig;
import com.fasterxml.jackson.databind.introspect.AnnotatedField;
import com.fasterxml.jackson.databind.introspect.AnnotatedMember;
import com.fasterxml.jackson.data... | package com.hubspot.rosetta.jackson;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.cfg.MapperConfig;
import com.fasterxml.jackson.databind.introspect.AnnotatedField;
import com.fasterxml.jackson.databind.introspect.AnnotatedMember;
import com.fasterxml.jackson.data... | Support @ColumnName on Constructor params. | Support @ColumnName on Constructor params.
| Java | apache-2.0 | HubSpot/Rosetta |
e85e6bdad87372678401f262045c51bf3ee2c400 | src/main/java/com/amebame/triton/service/cassandra/TritonCassandraException.java | src/main/java/com/amebame/triton/service/cassandra/TritonCassandraException.java | package com.amebame.triton.service.cassandra;
import com.amebame.triton.exception.TritonRuntimeException;
public class TritonCassandraException extends TritonRuntimeException {
private static final long serialVersionUID = 7118320011419965473L;
public TritonCassandraException() {
}
public TritonCassandraExcepti... | package com.amebame.triton.service.cassandra;
import com.amebame.triton.exception.TritonRuntimeException;
public class TritonCassandraException extends TritonRuntimeException {
private static final long serialVersionUID = 7118320011419965473L;
public TritonCassandraException() {
}
public TritonCassandraExcepti... | Apply cause message to the exception | Apply cause message to the exception
| Java | bsd-3-clause | ameba-proteus/triton-server,ameba-proteus/triton-server |
931ccd57e6e2f133ebab104df69a8ae28717e5ac | scripts/templates/java_enum_class.java | scripts/templates/java_enum_class.java | package net.avalara.avatax.rest.client.enums;
/*
* AvaTax Software Development Kit for Java JRE based environments
*
* (c) 2004-2018 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @@author Dustin Welden <dusti... | package net.avalara.avatax.rest.client.enums;
import java.util.HashMap;
/*
* AvaTax Software Development Kit for Java JRE based environments
*
* (c) 2004-2018 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @@autho... | Include enum integer value logic in java SDK template. | Include enum integer value logic in java SDK template.
| Java | apache-2.0 | avadev/AvaTaxClientLibrary,avadev/AvaTaxClientLibrary,avadev/AvaTaxClientLibrary,avadev/AvaTaxClientLibrary,avadev/AvaTaxClientLibrary,avadev/AvaTaxClientLibrary |
637a3cc83a030a6f0c39a9edf42ea76ce3ab8d27 | src/main/java/com/google/sps/data/Tutor.java | src/main/java/com/google/sps/data/Tutor.java | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Use array of TimeRanges to store availability | Use array of TimeRanges to store availability
| Java | apache-2.0 | googleinterns/step132-2020,googleinterns/step132-2020,googleinterns/step132-2020 |
52eb6ed59a554114867d4495ae0503db9d95ecc7 | core/src/main/java/org/javarosa/xml/util/ActionableInvalidStructureException.java | core/src/main/java/org/javarosa/xml/util/ActionableInvalidStructureException.java | package org.javarosa.xml.util;
import org.javarosa.core.services.locale.Localization;
/**
* Invalid structure error that can _potentially_ be recovered from via
* advanced user intervention. Useful for notifying the user that the issue lies
* on the server.
*
* @author Phillip Mates (pmates@dimagi.com).
*/
publ... | package org.javarosa.xml.util;
import org.javarosa.core.services.locale.Localization;
import org.javarosa.core.util.NoLocalizedTextException;
/**
* Invalid structure error that can _potentially_ be recovered from via
* advanced user intervention. Useful for notifying the user that the issue lies
* on the server.
... | Add error handling for localization failures | Add error handling for localization failures
| Java | apache-2.0 | dimagi/javarosa,dimagi/javarosa,dimagi/javarosa |
afb1b04cf9c74e830eb0ab41d358f3996e081cac | dg-core/src/main/java/org/finra/datagenerator/exceptions/NullActionException.java | dg-core/src/main/java/org/finra/datagenerator/exceptions/NullActionException.java | /*
* Copyright 2014 DataGenerator Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | /*
* Copyright 2014 DataGenerator Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Add a constructor with Throwable | Add a constructor with Throwable
| Java | apache-2.0 | Brijeshrpatel9/DataGeneratorFinal,FINRAOS/DataGenerator,mibrahim/DataGenerator,leeny324/DataGenerator,jeanmusinski/DataGenerator,SamerAdra/DataGenerator,bryantrobbins/DataGenerator,wnilkamal/DataGenerator,Brijeshrpatel9/DataGenerator,mauriciosilva1990/DataGenerator,cakelly/DataGenerator,yukaReal/DataGenerator,shraddha-... |
edd10df4026ebe3e4b0f4ec314760453cecfe756 | exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/DrillPathFilter.java | exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/DrillPathFilter.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 redundant check to ignore files beginning with '.' | DRILL-3819: Remove redundant check to ignore files beginning with '.'
| Java | apache-2.0 | sohami/drill,yufeldman/incubator-drill,jinfengni/incubator-drill,akumarb2010/incubator-drill,ebegoli/drill,Ben-Zvi/drill,sohami/drill,ppadma/drill,Agirish/drill,bitblender/drill,vkorukanti/drill,johnnywale/drill,KulykRoman/drill,nagix/drill,paul-rogers/drill,hsuanyi/incubator-drill,nagix/drill,ppadma/drill,santoshsahoo... |
4b69ba88cb5fa5971ebb99b19bf38423dd7ed468 | tinylog-core/src/main/java9/module-info.java | tinylog-core/src/main/java9/module-info.java | /*
* Copyright 2020 Martin Winandy
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | /*
* Copyright 2020 Martin Winandy
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Fix exporting number format builder via module information | Fix exporting number format builder via module information
| Java | apache-2.0 | pmwmedia/tinylog,pmwmedia/tinylog |
9662c3aa1760015fb77ea411d3558d69546641b2 | olca-app/src/org/openlca/app/editors/graphical/model/RoundBorder.java | olca-app/src/org/openlca/app/editors/graphical/model/RoundBorder.java | package org.openlca.app.editors.graphical.model;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.LineBorder;
import org.eclipse.draw2d.geometry.Insets;
public class RoundBorder extends LineBorder {
public RoundBorder(int value) {
super(value);
}
@Override
publi... | package org.openlca.app.editors.graphical.model;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.LineBorder;
import org.eclipse.draw2d.geometry.Insets;
import org.eclipse.swt.SWT;
public class RoundBorder extends LineBorder {
public RoundBorder(int value) {
super(v... | Set anti-aliasing ON for rounded corner boxes. | Set anti-aliasing ON for rounded corner boxes.
| Java | mpl-2.0 | GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app |
316de9d9157863c8b71d8c4e1f62daf9d99dbb27 | richtextfx/src/test/java/org/fxmisc/richtext/model/ParagraphTest.java | richtextfx/src/test/java/org/fxmisc/richtext/model/ParagraphTest.java | package org.fxmisc.richtext.model;
import static org.junit.Assert.*;
import org.junit.Test;
public class ParagraphTest {
// Tests that when concatenating two paragraphs,
// the style of the first one is used for the result.
// This relates to merging text changes and issue #216.
@Test
public voi... | package org.fxmisc.richtext.model;
import static org.junit.Assert.*;
import org.junit.Test;
public class ParagraphTest {
// Tests that when concatenating two paragraphs,
// the style of the first one is used for the result.
// This relates to merging text changes and issue #216.
@Test
public voi... | Write test: restyling newline char should not throw exception | Write test: restyling newline char should not throw exception
| Java | bsd-2-clause | JordanMartinez/RichTextFX,TomasMikula/RichTextFX,JFormDesigner/RichTextFX,TomasMikula/RichTextFX,FXMisc/RichTextFX,afester/RichTextFX,JordanMartinez/RichTextFX,JFormDesigner/RichTextFX,FXMisc/RichTextFX,afester/RichTextFX |
d5861d20170697e65860acd781db6039c22888a8 | engine/src/main/java/org/terasology/logic/nameTags/NameTagComponent.java | engine/src/main/java/org/terasology/logic/nameTags/NameTagComponent.java | /*
* Copyright 2014 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright 2014 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Make NameTag available to modules | Make NameTag available to modules
| Java | apache-2.0 | Felges/Terasology,MovingBlocks/Terasology,indianajohn/Terasology,MovingBlocks/Terasology,Malanius/Terasology,frankpunx/Terasology,MovingBlocks/Terasology,sceptross/Terasology,flo/Terasology,dannyzhou98/Terasology,Josharias/Terasology,Vizaxo/Terasology,Nanoware/Terasology,frankpunx/Terasology,Halamix2/Terasology,Malaniu... |
8c6558267aaed531f66b7036ccec0522e746d860 | src/android/SamsungPassPlugin.java | src/android/SamsungPassPlugin.java | package com.cordova.plugin.samsung.pass;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CallbackContext;
import com.samsung.android.sdk.SsdkUnsupportedException;
import com.samsung.android.sdk.pass.Spass;
import com.samsung.android.sdk.pass.SpassFingerprint;
import com.samsung.android.sdk.pass.Spa... | package com.cordova.plugin.samsung.pass;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaArgs;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.PluginResult;
import org.json.JSONException... | Initialize Spass, add excute function and test method | Initialize Spass, add excute function and test method
| Java | mit | tabrindle/cordova-plugin-samsungpass,tabrindle/cordova-plugin-samsungpass |
a19c9bc42bc4f717be517c8f889e7aec5cd74ead | priam/src/main/java/com/netflix/priam/defaultimpl/PriamGuiceModule.java | priam/src/main/java/com/netflix/priam/defaultimpl/PriamGuiceModule.java | /**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | /**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Put back ClearCredential in Guice loading process | Put back ClearCredential in Guice loading process
| Java | apache-2.0 | vinaykumarchella/Priam,vinaykumarchella/Priam,eg-eng/Priam,Clearleap/Priam,pqdev/Priam,scottmcmaster/Priam,muddman/Priam,Netflix/Priam,giosg/Priam |
faabe701cfeda307217a8b9cab7d4c152bd3b072 | plugin/src/com/microsoft/alm/plugin/idea/common/settings/SettingsChangedNotifier.java | plugin/src/com/microsoft/alm/plugin/idea/common/settings/SettingsChangedNotifier.java | package com.microsoft.alm.plugin.idea.common.settings;
import com.intellij.util.messages.Topic;
import org.jetbrains.annotations.NotNull;
public interface SettingsChangedNotifier {
Topic<SettingsChangedNotifier> SETTINGS_CHANGED_TOPIC = Topic.create(
"TFS Settings Changed",
SettingsChanged... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.
package com.microsoft.alm.plugin.idea.common.settings;
import com.intellij.util.messages.Topic;
import org.jetbrains.annotations.NotNull;
public interface SettingsChangedNotifier {
Topic<Setti... | Add an absent copyright notice | Add an absent copyright notice
| Java | mit | Microsoft/vso-intellij,Microsoft/vso-intellij |
8c4740edeb0bf32e36f965889fdcbd22088bf6a2 | scr/src/main/java/org/apache/felix/scr/impl/helper/DeactivateMethod.java | scr/src/main/java/org/apache/felix/scr/impl/helper/DeactivateMethod.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 ... | Improve getAcceptedParameterTypes method along the lines of the respective improvement in the ActivateMethod class in Rev. 982605 | Improve getAcceptedParameterTypes method along the lines of the respective improvement in the ActivateMethod class in Rev. 982605
git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@982613 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev |
d9f4898fa963651e219d29a4149205ff611df360 | wherehows-dao/src/main/java/wherehows/models/view/DatasetValidation.java | wherehows-dao/src/main/java/wherehows/models/view/DatasetValidation.java | /**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add a constructor to datasetvalidation | Add a constructor to datasetvalidation
| Java | apache-2.0 | alyiwang/WhereHows,alyiwang/WhereHows,alyiwang/WhereHows,theseyi/WhereHows,camelliazhang/WhereHows,linkedin/WhereHows,linkedin/WhereHows,theseyi/WhereHows,theseyi/WhereHows,camelliazhang/WhereHows,mars-lan/WhereHows,camelliazhang/WhereHows,linkedin/WhereHows,alyiwang/WhereHows,alyiwang/WhereHows,linkedin/WhereHows,mars... |
8df65a7aebb4bb6c2b21eacf7272056e02ec21e4 | app/src/main/java/com/satsumasoftware/timetable/db/TimetableDbHelper.java | app/src/main/java/com/satsumasoftware/timetable/db/TimetableDbHelper.java | package com.satsumasoftware.timetable.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public final class TimetableDbHelper extends SQLiteOpenHelper {
private static TimetableDbHelper sInstance;
private static final int DATAB... | package com.satsumasoftware.timetable.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public final class TimetableDbHelper extends SQLiteOpenHelper {
private static TimetableDbHelper sInstance;
private static final int DATAB... | Add missing creation and deletion SQLite invocations | Add missing creation and deletion SQLite invocations
| Java | apache-2.0 | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp |
fda6a84f4e47bfcc117cb88b5ffc75532fe0c4d6 | OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java | OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java | package devopsdistilled.operp.client.main;
import javax.inject.Inject;
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import devopsdistilled.operp.client.abstracts.ViewPane;
public class NavigationPane extend... | package devopsdistilled.operp.client.main;
import javax.inject.Inject;
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.DefaultMutableTreeNode;
import devopsdistilled.operp.client.abstrac... | Change taskpane upon navigation menu selection | Change taskpane upon navigation menu selection | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
1b2454a61df5e4383328defc6f182d179e0d497b | wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/AbstractDataInstallator.java | wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/AbstractDataInstallator.java | package ru.ydn.wicket.wicketorientdb;
import org.apache.wicket.Application;
import org.apache.wicket.IApplicationListener;
import com.orientechnologies.orient.core.db.record.ODatabaseRecord;
public abstract class AbstractDataInstallator implements IApplicationListener
{
@Override
public void onAfterInitialized(App... | package ru.ydn.wicket.wicketorientdb;
import org.apache.wicket.Application;
import org.apache.wicket.IApplicationListener;
import com.orientechnologies.orient.core.db.record.ODatabaseRecord;
public abstract class AbstractDataInstallator implements IApplicationListener
{
@Override
public void onAfterInitialized(App... | Allow child classes to obtain db | Allow child classes to obtain db
| Java | apache-2.0 | OrienteerBAP/wicket-orientdb,OrienteerDW/wicket-orientdb,OrienteerBAP/wicket-orientdb,OrienteerDW/wicket-orientdb |
c6d43c2d3c61b3de342aa57bc43b9195902b0e2c | platform/lang-impl/src/com/intellij/openapi/module/WebModuleTypeBase.java | platform/lang-impl/src/com/intellij/openapi/module/WebModuleTypeBase.java | package com.intellij.openapi.module;
import com.intellij.ide.util.projectWizard.ModuleBuilder;
import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.application.ex.ApplicationInfoEx;
import com.intellij.openapi.module.ModuleType;
import com.intellij.openapi.project.ProjectBundle;
import ... | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Correct icon for web module | Correct icon for web module
| Java | apache-2.0 | allotria/intellij-community,supersven/intellij-community,retomerz/intellij-community,consulo/consulo,fitermay/intellij-community,diorcety/intellij-community,idea4bsd/idea4bsd,jagguli/intellij-community,samthor/intellij-community,wreckJ/intellij-community,petteyg/intellij-community,dslomov/intellij-community,fnouama/int... |
dfc8d29018d8d3f9865828c65dcf5184e7c608ca | library/src/main/java/com/oasisfeng/android/databinding/adapters/ViewBindingAdapter.java | library/src/main/java/com/oasisfeng/android/databinding/adapters/ViewBindingAdapter.java | package com.oasisfeng.android.databinding.adapters;
import android.databinding.BindingAdapter;
import android.view.View;
/**
* Binding adapter for {@link View}
*
* Created by Oasis on 2016/4/25.
*/
@SuppressWarnings("unused")
public class ViewBindingAdapter {
@BindingAdapter("android:visible")
public static vo... | package com.oasisfeng.android.databinding.adapters;
import android.databinding.BindingAdapter;
import android.view.View;
/**
* Complementary binding adapter for {@link View}
*
* Created by Oasis on 2016/4/25.
*/
@SuppressWarnings("unused")
public class ViewBindingAdapter {
@BindingAdapter("visible")
public sta... | Use ":visible" instead of "android:visible" to avoid confusion. | UPDATE: Use ":visible" instead of "android:visible" to avoid confusion.
| Java | apache-2.0 | oasisfeng/deagle |
3d2bd606f9c4ded6a858eff25d3d8935c96a155a | src/main/src/org/openspaces/admin/internal/pu/elastic/ElasticMachineIsolationConfig.java | src/main/src/org/openspaces/admin/internal/pu/elastic/ElasticMachineIsolationConfig.java | package org.openspaces.admin.internal.pu.elastic;
import java.util.Map;
/**
* @author Moran Avigdor
* @since 8.0.1
*/
public class ElasticMachineIsolationConfig {
private static final String ELASTIC_MACHINE_ISOLATION_SHARING_ID_KEY = "elastic-machine-provisioning-isolation-sharing-id";
priv... | package org.openspaces.admin.internal.pu.elastic;
import java.util.Map;
/**
* @author Moran Avigdor
* @since 8.0.1
*/
public class ElasticMachineIsolationConfig {
private static final String ELASTIC_MACHINE_ISOLATION_SHARING_ID_KEY = "elastic-machine-isolation-sharing-id";
private final Map... | Add machine isolation API shorter key | GS-8654: Add machine isolation API
shorter key
svn path=/trunk/openspaces/; revision=83620
Former-commit-id: 2bab1678ffd82133a8e8506c17b9d505eb44706b | Java | apache-2.0 | Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces |
0c44232208b87c84a381d397ab9e9261063d500d | Bindings/Java/tests/TestDataAdapter.java | Bindings/Java/tests/TestDataAdapter.java | import java.io.File;
import org.opensim.modeling.*;
class TestDataAdapter {
public static void test_C3DFileAdapter() {
C3DFileAdapter c3dAdapter = new C3DFileAdapter();
StdMapStringTimeSeriesTableVec3 tables =
c3dAdapter.read("../../../../OpenSim/Common/Test/walking5.c3d");
Time... | import java.io.File;
import org.opensim.modeling.*;
class TestDataAdapter {
public static void test_C3DFileAdapter() {
C3DFileAdapter c3dAdapter = new C3DFileAdapter();
StdMapStringTimeSeriesTableVec3 tables =
c3dAdapter.read("../../../../OpenSim/Common/Test/walking5.c3d");
... | Add Java test to read/write forces table from C3D along with markers table. | Add Java test to read/write forces table from C3D along with markers table.
| Java | apache-2.0 | opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core |
bbe62237b7332e74fb2e92719d63b017c9a52b84 | core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java | core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java | package org.apache.commons.vfs2.provider;
import junit.framework.Assert;
import org.junit.Test;
public class UriParserTestCase
{
@Test
public void testColonInFileName()
{
Assert.assertEquals(null, UriParser.extractScheme("some/path/some:file"));
}
@Test
public void t... | /*
* 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... | Add missing Apache license header. | Add missing Apache license header.
git-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1244680 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | svn2github/commons-vfs2,svn2github/commons-vfs2,svn2github/commons-vfs2 |
ebb8ad2460115a84c84e2be5f2e1d5847f62c222 | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | package com.proxerme.library.parameters;
import android.support.annotation.IntDef;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Class of the SeasonParameter. This includes the possible yearly se... | package com.proxerme.library.parameters;
import android.support.annotation.IntDef;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Class of the SeasonParameter. This includes the possible yearly se... | Add alternative undefined season which some media has | Add alternative undefined season which some media has
| Java | mit | proxer/ProxerLibJava |
9bed55338a8c11bec538acb155e09cacccdd8ec4 | apina-core/src/test/java/fi/evident/apina/java/reader/ClassReaderUtils.java | apina-core/src/test/java/fi/evident/apina/java/reader/ClassReaderUtils.java | package fi.evident.apina.java.reader;
import fi.evident.apina.java.model.JavaClass;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
public final class ClassReaderUtils {
private ClassReaderUtils() { }
public static JavaClass loadClass(Class<?> cl) {
try... | package fi.evident.apina.java.reader;
import fi.evident.apina.java.model.JavaClass;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
public final class ClassReaderUtils {
private ClassReaderUtils() { }
public static JavaClass loadClass(Class<?> cl) {
try... | Support loading classes that use system classloader | Support loading classes that use system classloader
| Java | mit | EvidentSolutions/apina,EvidentSolutions/apina,EvidentSolutions/apina |
eac7026af8a003ed4bdbb76fd6c9baab2e33461b | src/main/java/me/august/lumen/common/Modifier.java | src/main/java/me/august/lumen/common/Modifier.java | package me.august.lumen.common;
import java.util.ArrayList;
import java.util.List;
public enum Modifier {
PUBLIC(0x0001),
PRIVATE(0x0002),
PROTECTED(0x004),
PACKAGE_PRIVATE(0x0000),
FINAL(0x0010),
STATIC(0x0008),
ABSTRACT(0x0400),
VOLATILE(0x0040),
SYNCHRONIZED(0x0020),
NAT... | package me.august.lumen.common;
import java.util.ArrayList;
import java.util.List;
public enum Modifier {
PUBLIC(0x0001),
PRIVATE(0x0002),
PROTECTED(0x004),
PACKAGE_PRIVATE(0x0000),
FINAL(0x0010),
STATIC(0x0008),
ABSTRACT(0x0400),
VOLATILE(0x0040),
SYNCHRONIZED(0x0020),
NAT... | Fix package private modifier presence | Fix package private modifier presence
| Java | mit | augustt198/lumen |
f3337c870645cd2c48f2a22da5590f9ad281982d | src/test-common/java/org/thymeleaf/engine/domselector/DOMSelectorTest.java | src/test-common/java/org/thymeleaf/engine/domselector/DOMSelectorTest.java | /*
* =============================================================================
*
* Copyright (c) 2011-2013, The THYMELEAF team (http://www.thymeleaf.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 ... | /*
* =============================================================================
*
* Copyright (c) 2011-2013, The THYMELEAF team (http://www.thymeleaf.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 ... | Remove unneeded specific test method | Remove unneeded specific test method
| Java | apache-2.0 | thymeleaf/thymeleaf-tests,thymeleaf/thymeleaf-tests,thymeleaf/thymeleaf-tests |
0d74b4400f428608437542729f19ff5be753cfdb | src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/PlaceSpell.java | src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/PlaceSpell.java | package com.elmakers.mine.bukkit.plugins.magic.spells;
import org.bukkit.block.Block;
import com.elmakers.mine.bukkit.blocks.BlockList;
import com.elmakers.mine.bukkit.blocks.MaterialBrush;
import com.elmakers.mine.bukkit.plugins.magic.BrushSpell;
import com.elmakers.mine.bukkit.plugins.magic.SpellResult;
import com.... | package com.elmakers.mine.bukkit.plugins.magic.spells;
import org.bukkit.block.Block;
import com.elmakers.mine.bukkit.blocks.BlockList;
import com.elmakers.mine.bukkit.blocks.MaterialBrush;
import com.elmakers.mine.bukkit.plugins.magic.BrushSpell;
import com.elmakers.mine.bukkit.plugins.magic.SpellResult;
import com.... | Fix Place spell with copy | Fix Place spell with copy
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
93f9ac90602fd70b02f262b9e705052270169ee3 | goplayer-core/src/main/java/org/goplayer/move/StoneMove.java | goplayer-core/src/main/java/org/goplayer/move/StoneMove.java | package org.goplayer.move;
import org.goplayer.util.Coord;
public class StoneMove implements IMove {
private final Coord coord;
public StoneMove(int row, int col) {
this.coord = new Coord(row, col);
}
public int getRow() {
return coord.getRow();
}
public int getCol() {
return coord.getCol();
}
publ... | package org.goplayer.move;
import org.goplayer.util.Coord;
public class StoneMove implements IMove {
private final Coord coord;
public StoneMove(int row, int col) {
this(new Coord(row, col));
}
public StoneMove(Coord coord) {
this.coord = coord;
}
public int getRow() {
return coord.getRow();
}
publi... | Replace inner row/col by coord + add a coord-based constructor. | Replace inner row/col by coord + add a coord-based constructor.
| Java | bsd-3-clause | matthieu-vergne/Go-Player |
e236c0eb35299d164f76f59f5e11a0567cf72b86 | src/gx/realtime/RealtimeOptions.java | src/gx/realtime/RealtimeOptions.java | package gx.realtime;
import gx.realtime.RealtimeLoader.InitializeModelCallback;
import gx.realtime.RealtimeLoader.HandleErrorsCallback;
/**
* Options (key/value) for the RealtimeLoader.
*/
public class RealtimeOptions {
// Attributes
private String clientId;
private String docId;
private Realt... | package gx.realtime;
import gx.realtime.RealtimeLoader.OnDocumentLoadedCallback;
import gx.realtime.RealtimeLoader.InitializeModelCallback;
import gx.realtime.RealtimeLoader.HandleErrorsCallback;
/**
* Options (key/value) for the RealtimeLoader.
*/
public class RealtimeOptions {
private String clientId;
... | Move some class references to imports. | Move some class references to imports.
| Java | mit | mkrause/gx,mkrause/gx |
021b2633807855143d17354378685710ca8291ac | src/main/java/leetcode/Problem65.java | src/main/java/leetcode/Problem65.java | package leetcode;
/**
* https://leetcode.com/problems/valid-number/
*/
public class Problem65 {
public boolean isNumber(String s) {
return s.matches("\\s*(?:-|\\+)?(\\d+|(?:\\d+\\.\\d*)|(?:\\d*\\.\\d+))(e(?:-|\\+)?\\d+)?\\s*");
}
private static void test(boolean actual, boolean expected) {
... | package leetcode;
/**
* https://leetcode.com/problems/valid-number/
*/
public class Problem65 {
public boolean isNumber(String s) {
return s.matches("\\s*(?:-|\\+)?(\\d+|(?:\\d+\\.\\d*)|(?:\\d*\\.\\d+))(e(?:-|\\+)?\\d+)?\\s*");
}
}
| Solve problem 65 (regex one-liner FTW!) | Solve problem 65 (regex one-liner FTW!)
| Java | mit | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode |
829dc1ed70a4a75b13c832872b75f2d99e91eb4d | app/helpers/BasicAuthHelper.java | app/helpers/BasicAuthHelper.java | package helpers;
import play.Play;
import play.libs.Codec;
import play.mvc.Http;
/**
* @author jtremeaux
*/
public class BasicAuthHelper {
public static void unauthorized(Http.Response response) {
String realm = Play.configuration.getProperty("basicAuth.realm", "Secure Realm");
response.status =... | package helpers;
import play.Play;
import play.libs.Codec;
import play.mvc.Http;
/**
* @author jtremeaux
*/
public class BasicAuthHelper {
public static void unauthorized(Http.Response response) {
String realm = Play.configuration.getProperty("basicAuth.realm", "Secure Realm");
response.status =... | Allow plugin to be disabled | Allow plugin to be disabled
| Java | apache-2.0 | sismics/play-basicauth,sismics/play-basicauth |
cd07e73f8447d2e767433a1482de3a59cb1bb601 | src/test/java/info/u_team/u_team_test/init/TestGlobalEntityTypeAttributes.java | src/test/java/info/u_team/u_team_test/init/TestGlobalEntityTypeAttributes.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.entity.TestLivingEntity;
import net.minecraft.entity.ai.attributes.GlobalEntityTypeAttributes;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
public class TestGlobalEntityTypeAttr... | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.entity.TestLivingEntity;
import net.minecraftforge.event.entity.EntityAttributeCreationEvent;
import net.minecraftforge.eventbus.api.IEventBus;
public class TestGlobalEntityTypeAttributes {
private static void entityAttributionCreation(EntityAttr... | Use new EntityAttributeCreationEvent for registering entity attributes | Use new EntityAttributeCreationEvent for registering entity attributes | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
97d227a0c41a1e860cc519d731791f66dec7c24e | app/src/main/java/com/expidev/gcmapp/service/SessionService.java | app/src/main/java/com/expidev/gcmapp/service/SessionService.java | package com.expidev.gcmapp.service;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.expidev.gcmapp.db.SessionDao;
/**
* Created by William.Randall on 1/21/2015.
*/
public class SessionService extends IntentService
{
private final String TAG = getClass().getS... | package com.expidev.gcmapp.service;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.expidev.gcmapp.db.SessionDao;
/**
* Created by William.Randall on 1/21/2015.
*/
public class SessionService extends IntentService
{
private final String TAG = getClass().getS... | Use this instead of getBaseContext() (I did not realize services had a context of their own) | Use this instead of getBaseContext() (I did not realize services had a context of their own)
| Java | mit | GlobalTechnology/gma-android |
71b9c89ac3c67e8da268a774e08201443749e740 | src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/GrenadeSpell.java | src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/GrenadeSpell.java | package com.elmakers.mine.bukkit.plugins.magic.spells;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.TNTPrimed;
import org.bukkit.util.Vector;
import com.elmakers.mine.bukkit.plugins.magic.Spell;
import com.elmakers.mine.bukkit.plugins.magic.S... | package com.elmakers.mine.bukkit.plugins.magic.spells;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.TNTPrimed;
import org.bukkit.util.Vector;
import com.elmakers.mine.bukkit.plugins.magic.Spell;
import com.elmakers.mine.bukkit.plugins.magic.S... | Fix potential NPE in grenade spell. | Fix potential NPE in grenade spell.
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
c10c2e438a9042ff0b961b0bb4cbab4b1d200866 | src/test/java/com/aemreunal/config/controller/BeaconControllerTestConfig.java | src/test/java/com/aemreunal/config/controller/BeaconControllerTestConfig.java | package com.aemreunal.config.controller;
/*
***************************
* Copyright (c) 2014 *
* *
* This code belongs to: *
* *
* @author Ahmet Emre Ünal *
* S001974 *
* *
* aemreunal@gmail.com *
* emre.unal@o... | package com.aemreunal.config.controller;
/*
***************************
* Copyright (c) 2014 *
* *
* This code belongs to: *
* *
* @author Ahmet Emre Ünal *
* S001974 *
* *
* aemreunal@gmail.com *
* emre.unal@o... | Fix typo, add beacon service bean | Fix typo, add beacon service bean
| Java | mit | aemreunal/iBeaconServer,aemreunal/iBeaconServer |
7b04084ad5cd61f617bea98b187048a681f982bb | src/test/java/guitests/SaveCommandTest.java | src/test/java/guitests/SaveCommandTest.java | package guitests;
import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import seedu.ezdo.logic.commands.SaveCommand;
public class SaveCommandTest extends EzDoGuiTest {
private final String validDirectory = "./";
private final String inexistentDirectory = "da... | package guitests;
import static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import org.junit.Test;
import seedu.ezdo.logic.commands.SaveCommand;
public class SaveCommandTest extends EzDoGuiTest {
private final String validDirectory = "./";
private final String inexistentDirectory = "da... | Add test for shortened save command | Add test for shortened save command
| Java | mit | CS2103JAN2017-W14-B4/main,CS2103JAN2017-W14-B4/main |
de4834f3c3f2ffc21859f26c2510bb5da998900c | tests/gdx-tests-gwt/src/com/badlogic/gdx/tests/gwt/client/GwtTestStarter.java | tests/gdx-tests-gwt/src/com/badlogic/gdx/tests/gwt/client/GwtTestStarter.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | Use GwtTestWrapper for GWT tests | Use GwtTestWrapper for GWT tests
| Java | apache-2.0 | thepullman/libgdx,yangweigbh/libgdx,samskivert/libgdx,KrisLee/libgdx,xpenatan/libgdx-LWJGL3,saqsun/libgdx,nave966/libgdx,kotcrab/libgdx,ninoalma/libgdx,Xhanim/libgdx,anserran/libgdx,flaiker/libgdx,andyvand/libgdx,Dzamir/libgdx,revo09/libgdx,libgdx/libgdx,firefly2442/libgdx,FredGithub/libgdx,libgdx/libgdx,Dzamir/libgdx,... |
f8a057f2b643bc3a172f530680395d343e7850ae | appsearch/appsearch/src/androidTest/java/androidx/appsearch/app/cts/AppSearchSchemaMigrationPlatformCtsTest.java | appsearch/appsearch/src/androidTest/java/androidx/appsearch/app/cts/AppSearchSchemaMigrationPlatformCtsTest.java | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add a missing SDK suppression for migration test on platform backend. | Add a missing SDK suppression for migration test on platform backend.
Test: Presubmit
Change-Id: I743e5f77a088e7f260d6cc18541b7d9a204dc1f5
| Java | apache-2.0 | androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/andro... |
5e9c448afc9717224bc0e05503c199c392c9d595 | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/AnnotationREST.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/AnnotationREST.java | package uk.ac.ebi.quickgo.annotation;
import uk.ac.ebi.quickgo.annotation.service.search.SearchServiceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.solr.SolrRepositoriesAutoConfiguratio... | package uk.ac.ebi.quickgo.annotation;
import uk.ac.ebi.quickgo.annotation.service.search.SearchServiceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.solr.SolrRepositoriesAutoConfiguratio... | Remove component scan for common package - not required obvs. | Remove component scan for common package - not required obvs.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
744842877aae29e3308fc383c345596333012663 | src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java | src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java | package main.java.org.usfirst.frc.team1360.robot.autonomous;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.CommandGroup;
import main.java.org.usfirst.frc.team1360.robot.util.CommandData;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
pub... | package org.usfirst.frc.team1360.robot.autonomous;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.CommandGroup;
import org.usfirst.frc.team1360.robot.util.CommandData;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
public class Autonomous... | Fix ethan's eclipse package issues; Jamie ETHAN - NO MORE ECLIPSE. EVER. | Fix ethan's eclipse package issues; Jamie
ETHAN - NO MORE ECLIPSE. EVER.
| Java | mit | FRC1360/Stronghold2016 |
d08f48d2131fd02e0a932a3b45e1b8a739a0c0cb | modules/foxbpm-webapps-base/src/main/java/org/foxbpm/web/model/BizInfo.java | modules/foxbpm-webapps-base/src/main/java/org/foxbpm/web/model/BizInfo.java | package org.foxbpm.web.model;
import lombok.Data;
/**
* 业务数据定义
*
* @author MEL
* @date 2014-06-04
*/
@Data
public class BizInfo {
private String id = "";
private String name = "";
private String comment = "";
}
| package org.foxbpm.web.model;
import lombok.Data;
/**
* 业务数据定义
*
* @author MEL
* @date 2014-06-04
*/
public class BizInfo {
private String id = "";
private String name = "";
private String comment = "";
public String getId() {
return id;
}
public void setId(String id) {
this.id =... | DELETE @Data annotation DELETED BY MAENLIANG AT 2014-06-09 | DELETE @Data annotation
DELETED BY MAENLIANG AT 2014-06-09 | Java | apache-2.0 | think-gem/FoxBPM,think-gem/FoxBPM,fashionsun/FoxBPM,fashionsun/FoxBPM,FoxBPM/FoxBPM,think-gem/FoxBPM,FoxBPM/FoxBPM,FoxBPM/FoxBPM,fashionsun/FoxBPM,fashionsun/FoxBPM |
a430cb4bcf7238d8afaafabb756fc7c0e620018d | com.codeaffine.extras.imageviewer/src/com/codeaffine/extras/imageviewer/internal/ImageViewerPlugin.java | com.codeaffine.extras.imageviewer/src/com/codeaffine/extras/imageviewer/internal/ImageViewerPlugin.java | package com.codeaffine.extras.imageviewer.internal;
public class ImageViewerPlugin {
public static final String ID = "com.codeaffine.extras.imageviewer";
public static final String IMAGE_CONTENT_TYPE_ID = "com.codeaffine.extras.imageviewer.ImageContentType";
}
| package com.codeaffine.extras.imageviewer.internal;
public class ImageViewerPlugin {
public static final String ID = "com.codeaffine.extras.imageviewer";
public static final String IMAGE_CONTENT_TYPE_ID = "com.codeaffine.extras.imageviewer.ImageContentType";
private ImageViewerPlugin() { }
}
| Add private default constructor to avoid accidential instantiation | Add private default constructor to avoid accidential instantiation | Java | epl-1.0 | rherrmann/eclipse-extras,rherrmann/eclipse-extras |
3a0eff3d5baa15d4c555e8395710da77a3c3b9f0 | dataprep-backend-common/src/main/java/org/talend/dataprep/transformation/pipeline/node/FilteredNode.java | dataprep-backend-common/src/main/java/org/talend/dataprep/transformation/pipeline/node/FilteredNode.java | package org.talend.dataprep.transformation.pipeline.node;
import java.util.function.Function;
import java.util.function.Predicate;
import org.talend.dataprep.api.dataset.DataSetRow;
import org.talend.dataprep.api.dataset.RowMetadata;
public class FilteredNode extends BasicNode {
private final Function<RowMetada... | package org.talend.dataprep.transformation.pipeline.node;
import java.util.Collections;
import java.util.function.Function;
import java.util.function.Predicate;
import org.talend.dataprep.api.dataset.DataSetRow;
import org.talend.dataprep.api.dataset.RowMetadata;
import org.talend.dataprep.transformation.pipeline.Sig... | Fix issue in filter out node for empty content | TDP-2107: Fix issue in filter out node for empty content
* Fix issue when filter node filters out all values in source data.
| Java | apache-2.0 | Talend/data-prep,Talend/data-prep,Talend/data-prep |
46c268023be3796d2ab96cb8b5422eae312be675 | subprojects/composite-builds/src/main/java/org/gradle/composite/internal/IncludedBuildTaskReference.java | subprojects/composite-builds/src/main/java/org/gradle/composite/internal/IncludedBuildTaskReference.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... | Use '_' instead of ':' in synthetic delegate task name | Use '_' instead of ':' in synthetic delegate task name
| Java | apache-2.0 | gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/grad... |
832c84b1e3daf12ac348dbd84e04b73e2e2b0ec5 | indexing/src/test/java/uk/ac/ebi/quickgo/index/annotation/AnnotationMocker.java | indexing/src/test/java/uk/ac/ebi/quickgo/index/annotation/AnnotationMocker.java | package uk.ac.ebi.quickgo.index.annotation;
/**
* A class for creating stubbed annotations, representing rows of data read from
* annotation source files.
*
* Created 22/04/16
* @author Edd
*/
class AnnotationMocker {
static Annotation createValidAnnotation() {
Annotation annotation = new Annotation(... | package uk.ac.ebi.quickgo.index.annotation;
/**
* A class for creating stubbed annotations, representing rows of data read from
* annotation source files.
*
* Created 22/04/16
* @author Edd
*/
class AnnotationMocker {
static Annotation createValidAnnotation() {
Annotation annotation = new Annotation(... | Fix broken merge from Master. | Fix broken merge from Master.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
6d23ac793f7ee632d8c3390658655c9cf0ab5cd6 | src/main/java/sophomore/classfile/Members.java | src/main/java/sophomore/classfile/Members.java | package sophomore.classfile;
import java.util.Iterator;
import java.util.NoSuchElementException;
abstract class Members <T> implements Iterable<T> {
T[] elements;
int currentIndex = 0;
public Members() {}
public int getSize() {
return elements.length;
}
public void addElement(T element) {
if(currentInd... | package sophomore.classfile;
import java.util.Iterator;
import java.util.NoSuchElementException;
abstract class Members <T> {
T[] elements;
int currentIndex = 0;
public Members() {}
public int getSize() {
return elements.length;
}
public void addElement(T element) {
if(currentIndex == elements.length) ... | Change to return array of elements instead of implementing iterable. | Change to return array of elements instead of implementing iterable.
| Java | apache-2.0 | g1144146/SDS |
6988e876ded8bc7c9dd4b30503c98bba34fbafd6 | stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/StagemonitorRuntimeAgentAttacherDriver.java | stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/StagemonitorRuntimeAgentAttacherDriver.java | package org.stagemonitor.core.instrument;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
import java.util.logging.Logger;
import org.stagemonitor.core.Stagemonitor;
/**... | package org.stagemonitor.core.instrument;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
import java.util.logging.Logger;
import org.stagemonitor.core.Stagemonitor;
/**... | Remove @Override annotation from 1.7 added method | Remove @Override annotation from 1.7 added method
| Java | apache-2.0 | sdgdsffdsfff/stagemonitor,elevennl/stagemonitor,stagemonitor/stagemonitor,trampi/stagemonitor,hexdecteam/stagemonitor,marcust/stagemonitor,sdgdsffdsfff/stagemonitor,stagemonitor/stagemonitor,elevennl/stagemonitor,hexdecteam/stagemonitor,glamarre360/stagemonitor,elevennl/stagemonitor,elevennl/stagemonitor,glamarre360/st... |
6b0fd96e4a28c2f2bffbc31559aa9a864c17c4c0 | org.spoofax.jsglr2.measure/src/main/java/org/spoofax/jsglr2/measure/parsing/StandardParserMeasureObserver.java | org.spoofax.jsglr2.measure/src/main/java/org/spoofax/jsglr2/measure/parsing/StandardParserMeasureObserver.java | package org.spoofax.jsglr2.measure.parsing;
import org.spoofax.jsglr2.parseforest.IDerivation;
import org.spoofax.jsglr2.parseforest.IParseForest;
import org.spoofax.jsglr2.parseforest.IParseNode;
import org.spoofax.jsglr2.parser.AbstractParseState;
import org.spoofax.jsglr2.stack.StackLink;
import org.spoofax.jsglr2.... | package org.spoofax.jsglr2.measure.parsing;
import org.spoofax.jsglr2.parseforest.IDerivation;
import org.spoofax.jsglr2.parseforest.IParseForest;
import org.spoofax.jsglr2.parseforest.IParseNode;
import org.spoofax.jsglr2.parser.AbstractParseState;
import org.spoofax.jsglr2.stack.StackLink;
import org.spoofax.jsglr2.... | Fix stack node types mismatch | Fix stack node types mismatch
| Java | apache-2.0 | metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr |
77626f0bc299445646924e2ab0f40cb9cb874250 | implementation/src/test/java/net/serverpeon/discord/internal/JavaCompatTest.java | implementation/src/test/java/net/serverpeon/discord/internal/JavaCompatTest.java | package net.serverpeon.discord.internal;
import net.serverpeon.discord.DiscordClient;
import org.junit.Test;
public class JavaCompatTest {
@Test
public void testBuilderAccess() {
DiscordClient client = DiscordClient.Companion.newBuilder().build();
}
}
| package net.serverpeon.discord.internal;
import net.serverpeon.discord.DiscordClient;
import org.junit.Test;
public class JavaCompatTest {
@Test
public void testBuilderAccess() {
DiscordClient.Companion.newBuilder().token("hello").build();
}
}
| Make the java test actually succeed | Make the java test actually succeed
| Java | mit | Kiskae/DiscordKt,Kiskae/DiscordKt |
c732ebd80ea411b1c318367809871dbdebf5d46e | services/src/api/src/main/java/org/openkilda/northbound/dto/switches/PortDto.java | services/src/api/src/main/java/org/openkilda/northbound/dto/switches/PortDto.java | /* Copyright 2018 Telstra Open Source
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /* Copyright 2018 Telstra Open Source
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Exclude non-null properties in response. | Exclude non-null properties in response.
| Java | apache-2.0 | telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda |
b00d1daf9a32653178bf858444327128927050d0 | Stately/app/src/main/java/com/lloydtorres/stately/dto/NationOverviewCardData.java | Stately/app/src/main/java/com/lloydtorres/stately/dto/NationOverviewCardData.java | package com.lloydtorres.stately.dto;
/**
* Created by Lloyd on 2016-07-24.
* A holder for data in the main nation overview card.
*/
public class NationOverviewCardData {
public String category;
public String region;
public String inflDesc;
public int inflScore;
public String population;
publ... | package com.lloydtorres.stately.dto;
/**
* Created by Lloyd on 2016-07-24.
* A holder for data in the main nation overview card.
*/
public class NationOverviewCardData {
public String category;
public String region;
public String inflDesc;
public int inflScore;
public String population;
publ... | Add WA parameters to nation overview card DTO | Add WA parameters to nation overview card DTO
| Java | apache-2.0 | lloydtorres/stately |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.