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 |
|---|---|---|---|---|---|---|---|---|---|
6d019dd6a4f8c9601577395c2e77c78acfb5ccc2 | OpERP/src/main/java/devopsdistilled/operp/client/context/RmiContext.java | OpERP/src/main/java/devopsdistilled/operp/client/context/RmiContext.java | package devopsdistilled.operp.client.context;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.rmi.RmiProxyFactoryBean;
import devopsdistilled.operp.server.data.service.items.ItemService;
@Configuration
public class R... | package devopsdistilled.operp.client.context;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.rmi.RmiProxyFactoryBean;
import devopsdistilled.operp.server.data.service.items.BrandService;
import devopsdistilled.operp.... | Configure RmiProxy Bean for Product and Brand | Configure RmiProxy Bean for Product and Brand
OPEN - task 20: Create a working item module workflow
http://github.com/DevOpsDistilled/OpERP/issues/issue/20 | Java | mit | njmube/OpERP,DevOpsDistilled/OpERP |
ead1a6d6f094a3187b8973a195d967b2fe7ddda2 | src/main/java/sssj/Utils.java | src/main/java/sssj/Utils.java | package sssj;
import com.google.common.base.Preconditions;
import com.google.common.collect.ForwardingTable;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Table;
public class Utils {
public static double computeTau(double theta, double lambda) {
Preconditions.checkArgument(t... | package sssj;
import com.google.common.base.Preconditions;
import com.google.common.collect.ForwardingTable;
import com.google.common.collect.Table;
import com.google.common.collect.TreeBasedTable;
public class Utils {
public static double computeTau(double theta, double lambda) {
Preconditions.checkArgument(t... | Sort results in minibatch mode | Sort results in minibatch mode
| Java | apache-2.0 | gdfm/sssj,gdfm/sssj,gdfm/sssj |
45af59748ac1ec7cef999ad6ae95f71d20489677 | jmx/src/test/java/org/xbean/jmx/JMXTest.java | jmx/src/test/java/org/xbean/jmx/JMXTest.java | package org.xbean.jmx;
import junit.framework.TestCase;
import org.xbean.spring.context.ClassPathXmlApplicationContext;
/**
* $Rev$
*/
public class JMXTest extends TestCase {
public void testSimple() throws Exception {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext... | package org.xbean.jmx;
import junit.framework.TestCase;
import org.xbean.spring.context.ClassPathXmlApplicationContext;
import java.util.List;
/**
* $Rev$
*/
public class JMXTest extends TestCase {
public void testSimple() throws Exception {
ClassPathXmlApplicationContext context = new Clas... | Add a few asserts to the test | Add a few asserts to the test
git-svn-id: c55cfc7c8893d43c3333f2d886128b43c8520716@380472 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/geronimo-xbean |
a406c24eae54b07804dae7306d8c77463cdfaec6 | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.billing;
/**
* A Plan knows about the billing calculations and the default quota for any tenant associated with the Plan.
* The Plan can also enfo... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.billing;
/**
* A Plan knows about the billing calculations and the default quota for any tenant associated with the Plan.
* The Plan can also enfo... | Update interface for check if plan is billed | Update interface for check if plan is billed
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
db7ef7b497983b9f77fcc06e1d9a249d0c131f07 | xamoomsdk/src/main/java/com/xamoom/android/xamoomsdk/Utils/ListUtil.java | xamoomsdk/src/main/java/com/xamoom/android/xamoomsdk/Utils/ListUtil.java | package com.xamoom.android.xamoomsdk.Utils;
import java.util.List;
/**
* ListUtil to join lists of string.
* (Because TextUtil gets mocked in tests)
*/
public class ListUtil {
/**
* Will return joined list with seperator.
*
* @param list List of Strings.
* @param seperator String to seperate them.
... | package com.xamoom.android.xamoomsdk.Utils;
import java.util.List;
/**
* ListUtil to join lists of string.
* (Because TextUtil gets mocked in tests)
*/
public class ListUtil {
/**
* Will return joined list with seperator.
*
* @param list List of Strings.
* @param seperator String to seperate them.
... | Fix for problem with tags | Fix for problem with tags
| Java | mit | xamoom/xamoom-android-sdk,xamoom/xamoom-android-sdk |
be65022a001ee1a864d2e90ae7b4d1c1edaad9fc | app/src/main/java/com/example/mwismer/mobproto_finalproject/MyFragment.java | app/src/main/java/com/example/mwismer/mobproto_finalproject/MyFragment.java | package com.example.mwismer.mobproto_finalproject;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* Created by mwismer on 10/23/14.
*/
public class MyFragment extends Fragment{
public MyFragment() {
}
... | package com.example.mwismer.mobproto_finalproject;
import android.app.Fragment;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
imp... | Enable Bluetooth if not already enabled | Enable Bluetooth if not already enabled
| Java | mit | MattWis/MobProto-FinalProject |
b0511e7857144d29e87999a9d9983a603e17ffe6 | src/com/thedoctorslife/hello/HelloWorld.java | src/com/thedoctorslife/hello/HelloWorld.java | /**
* @author benjamin.hoffmeyer
*/
// package
package com.thedoctorslife.hello;
import com.thedoctorslife.hello.StuffUtils;
public class HelloWorld {
public static void main(String[] args) {
StuffUtils.hello();
StuffUtils.cheese();
StuffUtils.end();
}
} | /**
* @author benjamin.hoffmeyer
*/
// package
package com.thedoctorslife.hello;
public class HelloWorld {
public static void main(String[] args) {
StuffUtils.hello();
StuffUtils.cheese();
StuffUtils.end();
}
} | Remove the import since they are in the same package. | Remove the import since they are in the same package.
Signed-off-by: TheDoctorsLife <5f15c2f87d000932be98132f8483e055af19d725@gmail.com>
| Java | mit | 88rabbit/HelloWorld,TheDoctorsLife/HelloWorld |
1be57ad837352d5cbf7f6e9dc4896f8d1caa7453 | src/main/java/enmasse/config/service/podsense/PodSenseMessageEncoder.java | src/main/java/enmasse/config/service/podsense/PodSenseMessageEncoder.java | package enmasse.config.service.podsense;
import enmasse.config.service.openshift.MessageEncoder;
import io.fabric8.kubernetes.api.model.Pod;
import org.apache.qpid.proton.amqp.messaging.AmqpSequence;
import org.apache.qpid.proton.amqp.messaging.AmqpValue;
import org.apache.qpid.proton.message.Message;
import java.io.... | package enmasse.config.service.podsense;
import enmasse.config.service.openshift.MessageEncoder;
import io.fabric8.kubernetes.api.model.Pod;
import org.apache.qpid.proton.amqp.messaging.AmqpSequence;
import org.apache.qpid.proton.amqp.messaging.AmqpValue;
import org.apache.qpid.proton.message.Message;
import java.io.... | Add pod name to payload | Add pod name to payload
| Java | apache-2.0 | EnMasseProject/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse |
a3f650473ee323fece222576e4bd8f6d4bdefc55 | src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java | src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java | package co.phoenixlab.discord.api.entities;
import com.google.gson.annotations.SerializedName;
public class ReadyMessage {
@SerializedName("v")
private int version;
private User user;
private String sessionId;
@SerializedName("read_state")
private ReadState[] readState;
@SerializedName("... | package co.phoenixlab.discord.api.entities;
import com.google.gson.annotations.SerializedName;
public class ReadyMessage {
@SerializedName("v")
private int version;
private User user;
@SerializedName("session_id")
private String sessionId;
@SerializedName("read_state")
private ReadState[... | Fix missing serialized name annotation | Fix missing serialized name annotation
| Java | mit | vincentzhang96/VahrhedralBot |
c0236f24f4d8fc0a5bebeb633b91e4191f2e2d32 | config-model/src/main/java/com/yahoo/vespa/model/admin/metricsproxy/MetricsNodesConfigGenerator.java | config-model/src/main/java/com/yahoo/vespa/model/admin/metricsproxy/MetricsNodesConfigGenerator.java | /*
* Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
*/
package com.yahoo.vespa.model.admin.metricsproxy;
import ai.vespa.metricsproxy.http.MetricsHandler;
import ai.vespa.metricsproxy.http.application.MetricsNodesConfig;
import java.util.List;
import j... | /*
* Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
*/
package com.yahoo.vespa.model.admin.metricsproxy;
import ai.vespa.metricsproxy.http.MetricsHandler;
import ai.vespa.metricsproxy.http.application.MetricsNodesConfig;
import java.util.List;
import j... | Use configId for the host, not the container. | Use configId for the host, not the container.
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
7278e83bd238596d6c77143401472bf94054fd9b | src/main/java/com/brg/dao/RuleValueBundleDAO.java | src/main/java/com/brg/dao/RuleValueBundleDAO.java | package com.brg.dao;
import com.brg.ServiceProvider;
import com.brg.domain.RuleValueBundle;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
public class RuleValueBundleDAO implements DAO{
@Override
public ArrayList<RuleValueBundle> executeRead(String sql) {
ArrayLi... | package com.brg.dao;
import com.brg.ServiceProvider;
import com.brg.domain.RuleValueBundle;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
public class RuleValueBundleDAO implements DAO{
@Override
public ArrayList<RuleValueBundle> executeRead(String sql) {
ArrayLi... | Put the bundle set value in a new while loop. | Put the bundle set value in a new while loop.
| Java | mit | tomvlk/BusinessRuleGenerator-to |
06d648d44c685677144988211e35c3d822fd6e57 | app/src/main/java/edu/rutgers/css/Rutgers/fragments/MainScreen.java | app/src/main/java/edu/rutgers/css/Rutgers/fragments/MainScreen.java | package edu.rutgers.css.Rutgers.fragments;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
impor... | package edu.rutgers.css.Rutgers.fragments;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
impor... | Choose set background method by API | Choose set background method by API
| Java | bsd-3-clause | rutgersmobile/android-client,rutgersmobile/android-client |
2d6629742c11e1a5d03f7a7caf939d1d3748547a | gerrit-server/src/main/java/com/google/gerrit/server/schema/Schema_70.java | gerrit-server/src/main/java/com/google/gerrit/server/schema/Schema_70.java | // Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | // Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Clean left over data migration after removal of TrackingIds table | Clean left over data migration after removal of TrackingIds table
9f4de526dd3fec0400f6df53628956a4bf0d9033 removed TrackingIds table.
766e4415b0f004a4e53c93d256624361072c67c4 tries to swap primary key from
tracking_id to tracking_key in data migration method.
But because the table was removed from the Schema the Trac... | Java | apache-2.0 | anminhsu/gerrit,bootstraponline-archive/gerrit-mirror,supriyantomaftuh/gerrit,Saulis/gerrit,midnightradio/gerrit,midnightradio/gerrit,MerritCR/merrit,pkdevbox/gerrit,Team-OctOS/host_gerrit,dwhipstock/gerrit,jackminicloud/test,TonyChai24/test,joshuawilson/merrit,thinkernel/gerrit,joshuawilson/merrit,Overruler/gerrit,the... |
b55ab2d914de455dcfe1ad1d94a181f4a28138d8 | services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/oauth/ClaimsWithAuthTime.java | services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/oauth/ClaimsWithAuthTime.java | package org.sagebionetworks.repo.manager.oauth;
import java.util.Date;
import org.sagebionetworks.repo.model.oauth.OIDCClaimName;
import io.jsonwebtoken.impl.DefaultClaims;
public class ClaimsWithAuthTime extends DefaultClaims {
public static ClaimsWithAuthTime newClaims() {return new ClaimsWithAuthTime();}
p... | package org.sagebionetworks.repo.manager.oauth;
import java.util.Date;
import org.sagebionetworks.repo.model.oauth.OIDCClaimName;
import io.jsonwebtoken.impl.DefaultClaims;
public class ClaimsWithAuthTime extends DefaultClaims {
public static ClaimsWithAuthTime newClaims() {return new ClaimsWithAuthTime();}
p... | Fix failing test due changes in library | PLFM-6278: Fix failing test due changes in library
| Java | apache-2.0 | Sage-Bionetworks/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services |
b358822b63209c5a8fdb9d318002de72fca4e3ac | name.abuchen.portfolio.tests/src/name/abuchen/portfolio/util/IsinTest.java | name.abuchen.portfolio.tests/src/name/abuchen/portfolio/util/IsinTest.java | package name.abuchen.portfolio.util;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class IsinTest
{
@Test
public void testValidIsin()
{
String ubsIsin = "CH0244767585";
assertTrue(Isin.isValid(ubsIsin));
Strin... | package name.abuchen.portfolio.util;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class IsinTest
{
@Test
public void testValidIsin()
{
String ubsIsin = "CH0244767585";
assertTrue(Isin.isValid(ubsIsin));
Strin... | Add test for too short isin | Add test for too short isin
| Java | epl-1.0 | cmaoling/portfolio,cmaoling/portfolio,cmaoling/portfolio,cmaoling/portfolio |
0eb4ffc80a3fed17e8ab945ebfe2c97426453548 | src/org/netbeans/modules/web/primefaces/crudgenerator/util/StringHelper.java | src/org/netbeans/modules/web/primefaces/crudgenerator/util/StringHelper.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.netbeans.modules.web.primefaces.crudgenerator.util;
/**
*
* @author kuw
*/
public class StringHelper {
public stat... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.netbeans.modules.web.primefaces.crudgenerator.util;
/**
*
* @author kuw
*/
public class StringHelper {
public stat... | Fix first upper case problem. | Fix first upper case problem. | Java | mit | hfluz/nbcrudgen,hfluz/nbcrudgen,hfluz/nbcrudgen |
aaf067d7b63d3af80b40cc098c585bf269e9aa7f | uportal-war/src/main/java/org/jasig/portal/portlets/iframe/IFramePortletMinimizedStateHandlerInterceptor.java | uportal-war/src/main/java/org/jasig/portal/portlets/iframe/IFramePortletMinimizedStateHandlerInterceptor.java | package org.jasig.portal.portlets.iframe;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.WindowState;
import org.springframework.web.portlet.handler.HandlerInterceptorAdapter;
/**
* @author Jen Bourey, jennifer.bourey@gmail.com
* @version $Revision$
*/
public class I... | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | Fix license headers Fix notice file | Fix license headers
Fix notice file
git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@24364 f5dbab47-78f9-eb45-b975-e544023573eb
| Java | apache-2.0 | unistra/aboutIFrame-portlet |
8929028720b47ce63ae304fe45b1485c3aa32bcd | omegarecyclerviewlibs/src/main/java/com/omega_r/libs/omegarecyclerview/item_decoration/SpaceItemDecoration.java | omegarecyclerviewlibs/src/main/java/com/omega_r/libs/omegarecyclerview/item_decoration/SpaceItemDecoration.java | package com.omega_r.libs.omegarecyclerview.item_decoration;
import android.graphics.Rect;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.omega_r.libs.omegarecyclerview.item_decoration.decoration_helpers.DividerDecorationHelper;
public class SpaceItemDecoration extend... | package com.omega_r.libs.omegarecyclerview.item_decoration;
import android.graphics.Rect;
import com.omega_r.libs.omegarecyclerview.item_decoration.decoration_helpers.DividerDecorationHelper;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widge... | Add support GridLayoutManager for itemSpace | Add support GridLayoutManager for itemSpace
| Java | mit | Omega-R/OmegaRecyclerView,Omega-R/OmegaRecyclerView |
d1019cdd20ec6a4cd0f1351632cd662a57a26418 | test/com/facebook/buck/junit/testdata/runwith/ParametrizedTest.java | test/com/facebook/buck/junit/testdata/runwith/ParametrizedTest.java | /*
* Copyright 2013-present Facebook, 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... | /*
* Copyright 2013-present Facebook, 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... | Fix an inconsistency of line separator in RunWithAnnotationIntegrationTest. | Fix an inconsistency of line separator in RunWithAnnotationIntegrationTest.
Summary: In `ParametrizedTest` `\n` should be explicitly printed instead of
`println` in order to match string pattern defined in `RunWithAnnotationIntegrationTest`.
Test Plan: Unit tests.
| Java | apache-2.0 | janicduplessis/buck,marcinkwiatkowski/buck,JoelMarcey/buck,dpursehouse/buck,tgummerer/buck,Dominator008/buck,robbertvanginkel/buck,ilya-klyuchnikov/buck,pwz3n0/buck,stuhood/buck,neonichu/buck,LegNeato/buck,lukw00/buck,rmaz/buck,shs96c/buck,SeleniumHQ/buck,mikekap/buck,OkBuilds/buck,siddhartharay007/buck,Addepar/buck,He... |
23e3470cbd7b9d5740c949fe8f5b8f7fe80348d1 | src/main/java/com/maxmind/geoip2/record/RecordWithNames.java | src/main/java/com/maxmind/geoip2/record/RecordWithNames.java | package com.maxmind.geoip2.record;
import java.util.*;
import org.json.*;
public abstract class RecordWithNames {
private HashMap<String, String> names;
private Integer geoNameId;
private Integer confidence;
protected RecordWithNames(JSONObject json) throws JSONException {
geoNameId = json.g... | package com.maxmind.geoip2.record;
import java.util.*;
import org.json.*;
public abstract class RecordWithNames {
private HashMap<String, String> names;
private Integer geoNameId;
private Integer confidence;
protected RecordWithNames(JSONObject json) throws JSONException {
geoNameId = json.g... | Use a while loop rather than a c-style for loop | Use a while loop rather than a c-style for loop
| Java | apache-2.0 | maxmind/GeoIP2-java,CASPED/GeoIP2-java,maxmind/GeoIP2-java,CASPED/GeoIP2-java,ecliptical/GeoIP2-java,ecliptical/GeoIP2-java |
b0a34235a85edc6b14df57c9a58622ad20ca6bda | subprojects/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalBuildFailureResult.java | subprojects/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalBuildFailureResult.java | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Remove redundant declaration of getFailures() that is already defined in the super interface | Remove redundant declaration of getFailures() that is already defined in the super interface
| Java | apache-2.0 | lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,blindpirate... |
98d257c4b8b1a794db2287fb6643657d9868efa8 | src/edu/northwestern/bioinformatics/studycalendar/dao/StudyCalendarDao.java | src/edu/northwestern/bioinformatics/studycalendar/dao/StudyCalendarDao.java | package edu.northwestern.bioinformatics.studycalendar.dao;
import gov.nih.nci.cabig.ctms.dao.AbstractDomainObjectDao;
import gov.nih.nci.cabig.ctms.domain.DomainObject;
/**
* @author Rhett Sutphin
*/
public abstract class StudyCalendarDao<T extends DomainObject> extends AbstractDomainObjectDao<T> {
}
| package edu.northwestern.bioinformatics.studycalendar.dao;
import gov.nih.nci.cabig.ctms.dao.AbstractDomainObjectDao;
import gov.nih.nci.cabig.ctms.domain.DomainObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Rhett Sutphin
*/
public abstract class StudyCalendarDao<T extends DomainObje... | Mask ctms-common's commons-logging logger with an slf4j logger | Mask ctms-common's commons-logging logger with an slf4j logger
git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1296 0d517254-b314-0410-acde-c619094fa49f
| Java | bsd-3-clause | NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror |
72941a79b725ed904f8cb91ebb5666d4cd7565a1 | test/net/ssehub/kernel_haven/fe_analysis/pcs/AllPresenceConditionTests.java | test/net/ssehub/kernel_haven/fe_analysis/pcs/AllPresenceConditionTests.java | package net.ssehub.kernel_haven.fe_analysis.pcs;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
/**
* Tests suite to load tests specific to the computation of feature effect constraints.
* @author El-Sharkawy
*
*/
@RunWith(Suite.class)
@SuiteClasses({... | package net.ssehub.kernel_haven.fe_analysis.pcs;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
/**
* Tests suite to load tests specific to the computation of feature effect constraints.
* @author El-Sharkawy
*
*/
@RunWith(Suite.class)
@SuiteClasses({... | Add new test case to AllTests | Add new test case to AllTests | Java | apache-2.0 | KernelHaven/FeatureEffectAnalysis |
5c88257e0d1f16188d1d68eab8d5f1939137a640 | server/src/test/java/umm3601/plant/FilterPlantsByGardenLocation.java | server/src/test/java/umm3601/plant/FilterPlantsByGardenLocation.java | package umm3601.plant;
import com.google.gson.Gson;
import org.junit.Before;
import org.junit.Test;
import umm3601.digitalDisplayGarden.Plant;
import umm3601.digitalDisplayGarden.PlantController;
import umm3601.plant.PopulateMockDatabase;
import java.io.IOException;
import static junit.framework.TestCase.assertEqual... | package umm3601.plant;
import com.google.gson.Gson;
import org.junit.Before;
import org.junit.Test;
import umm3601.digitalDisplayGarden.Plant;
import umm3601.digitalDisplayGarden.PlantController;
import umm3601.plant.PopulateMockDatabase;
import java.io.IOException;
import static junit.framework.TestCase.assertEqual... | Add and pass tests for gardenLocation | Add and pass tests for gardenLocation
| Java | mit | UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner,UMM-CSci-3601-S17/digital-display-garden-iteration-4-dorfner-v2,UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner,UMM-CSci-3601-S17/digital-display-garden-iteration-4-dorfner-v2,UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner,UMM-CSci-... |
435f18c8470b0eceb24e6187049fcf3d142bf2d8 | src/main/java/uni/projects/javafxcrud/Main.java | src/main/java/uni/projects/javafxcrud/Main.java | package uni.projects.javafxcrud;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Parent ro... | package uni.projects.javafxcrud;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Parent ro... | Change window title. Forbid resizing. | Change window title. Forbid resizing.
| Java | mit | Ostrea/JavaFXCrud |
d4405540eece5f3fc60e66cc9a6dbc4ecba300bc | org/gemoc/sample_deployed/TFSM_PlainK3/language_workbench/org.gemoc.sample.tfsm.plaink3.xdsml/src/main/java/org/gemoc/sample/tfsm/xdsml/api/impl/TfsmCodeExecutor.java | org/gemoc/sample_deployed/TFSM_PlainK3/language_workbench/org.gemoc.sample.tfsm.plaink3.xdsml/src/main/java/org/gemoc/sample/tfsm/xdsml/api/impl/TfsmCodeExecutor.java |
package org.gemoc.sample.tfsm.xdsml.api.impl;
import java.lang.reflect.Method;
import java.util.List;
import org.gemoc.execution.engine.trace.gemoc_execution_trace.MSEOccurrence;
import org.gemoc.gemoc_language_workbench.api.dsa.CodeExecutionException;
import org.gemoc.gemoc_language_workbench.api.dsa.ICodeExecutor;... |
package org.gemoc.sample.tfsm.xdsml.api.impl;
import java.lang.reflect.Method;
import java.util.List;
import org.gemoc.execution.engine.trace.gemoc_execution_trace.MSEOccurrence;
import org.gemoc.gemoc_language_workbench.api.dsa.CodeExecutionException;
import org.gemoc.gemoc_language_workbench.api.dsa.ICodeExecutor;... | Update due to API change | Update due to API change | Java | epl-1.0 | SiriusLab/ModelDebugging,SiriusLab/ModelDebugging,SiriusLab/ModelDebugging,SiriusLab/SiriusAnimator,SiriusLab/SiriusAnimator,SiriusLab/SiriusAnimator |
af7aadae960c964daaf2bafb118a0316b00bad19 | mobile/src/main/java/com/stefanhoth/ropasclisp/achievements/ACHIEVEMENT.java | mobile/src/main/java/com/stefanhoth/ropasclisp/achievements/ACHIEVEMENT.java | package com.stefanhoth.ropasclisp.achievements;
import android.content.Context;
import android.support.annotation.StringRes;
import com.stefanhoth.ropasclisp.R;
public enum ACHIEVEMENT {
HELLO_THERE(R.string.achievement_hellothere, TYPE.STATIC),
GOTCHA(R.string.achievement_gotcha, TYPE.STATIC),
ON_A_ROL... | package com.stefanhoth.ropasclisp.achievements;
import android.content.Context;
import android.support.annotation.StringRes;
import com.stefanhoth.ropasclisp.R;
public enum ACHIEVEMENT {
HELLO_THERE(R.string.achievement_hellothere, TYPE.STATIC, 1),
GOTCHA(R.string.achievement_gotcha, TYPE.STATIC, 1),
ON... | Update 2 achievement types, add goal amount to type + accessor method | Update 2 achievement types, add goal amount to type + accessor method
| Java | mit | stefanhoth/ropasclisp |
bf7dac3133b96b04a3aca88580e7dbfb52c6d126 | muon-spring/src/main/java/io/muoncore/spring/boot/MuonAutoConfiguration.java | muon-spring/src/main/java/io/muoncore/spring/boot/MuonAutoConfiguration.java | package io.muoncore.spring.boot;
import io.muoncore.spring.annotations.EnableMuonControllers;
import io.muoncore.spring.repository.DefaultMuonEventStoreRepository;
import io.muoncore.spring.repository.MuonEventStoreRepository;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org... | package io.muoncore.spring.boot;
import io.muoncore.spring.annotations.EnableMuonControllers;
import io.muoncore.spring.repository.DefaultMuonEventStoreRepository;
import io.muoncore.spring.repository.MuonEventStoreRepository;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org... | Allow prop file to be missing. | Allow prop file to be missing.
| Java | apache-2.0 | microserviceux/muon-java,microserviceux/muon-java |
32e07098a1ec512540dacf422b111cc3a76fb0e1 | core/java/com/google/instrumentation/common/NonThrowingCloseable.java | core/java/com/google/instrumentation/common/NonThrowingCloseable.java | package com.google.instrumentation.common;
import java.io.Closeable;
/**
* An {@link Closeable} which cannot throw a checked exception.
*/
public interface NonThrowingCloseable extends Closeable {
@Override
void close();
}
| package com.google.instrumentation.common;
import java.io.Closeable;
/**
* An {@link Closeable} which cannot throw a checked exception.
*
* <p>This is useful because such a reversion otherwise requires the caller to catch the
* (impossible) Exception in the try-with-resources.
*
* <p>Example of usage:
*
* <pr... | Add more comments and example of use. | Add more comments and example of use.
| Java | apache-2.0 | bogdandrutu/opencensus-java,census-instrumentation/opencensus-java,sebright/opencensus-java,songy23/instrumentation-java,census-instrumentation/opencensus-java,songy23/instrumentation-java,bogdandrutu/opencensus-java,census-instrumentation/opencensus-java,sebright/instrumentation-java,bogdandrutu/instrumentation-java,s... |
1724439627370cf8b96d63e320520ca2d426a899 | core/src/test/java/com/gentics/mesh/etc/RouterStorageTest.java | core/src/test/java/com/gentics/mesh/etc/RouterStorageTest.java | package com.gentics.mesh.etc;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.junit.Test;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.ext.web.ParsedHeaderValues;
import io.vertx.ext.web.Route;
import io.vertx.ext.web.Rou... | package com.gentics.mesh.etc;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.junit.Test;
import io.vertx.core.http.CaseInsensitiveHeaders;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.ext.web.ParsedHeaderValues;
import ... | Fix regression in test due to vert.x update | Fix regression in test due to vert.x update
| Java | apache-2.0 | gentics/mesh,gentics/mesh,gentics/mesh,gentics/mesh |
cc5f85678d015b77326f4c0ecea9f3ab0fbccd33 | android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/wrapper/Metadata.java | android/app/src/main/java/edu/berkeley/eecs/cfc_tracker/wrapper/Metadata.java | package edu.berkeley.eecs.cfc_tracker.wrapper;
/**
* Created by shankari on 7/5/15.
*/
public class Metadata {
public long getWrite_ts() {
return write_ts;
}
public void setWrite_ts(long write_ts) {
this.write_ts = write_ts;
}
public long getRead_ts() {
return read_ts;
... | package edu.berkeley.eecs.cfc_tracker.wrapper;
/**
* Created by shankari on 7/5/15.
*/
public class Metadata {
public long getWrite_ts() {
return write_ts;
}
public void setWrite_ts(long write_ts) {
this.write_ts = write_ts;
}
public long getRead_ts() {
return read_ts;
... | Add in the "metadata" field to be consistent with the specification | Add in the "metadata" field to be consistent with the specification
| Java | bsd-3-clause | sfwatergit/e-mission-data-collection,jeffdh5/e-mission-data-collection,jeffdh5/e-mission-data-collection,sfwatergit/e-mission-data-collection,shankari/e-mission-data-collection,e-mission/e-mission-data-collection,e-mission/e-mission-data-collection,shankari/e-mission-data-collection,e-mission/e-mission-data-collection,... |
19f2846f0172820416a25767ebbfdc373c5d8978 | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Refactor magic port number into constant. | Refactor magic port number into constant.
git-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1349874 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | svn2github/commons-vfs2,svn2github/commons-vfs2,svn2github/commons-vfs2 |
6a0bb43586fa88181656dcb64a696bf267c08a47 | src/main/java/jauter/Pattern.java | src/main/java/jauter/Pattern.java | package jauter;
public class Pattern<T> {
protected final String path;
protected final String[] tokens;
protected final T target;
public static String removeSlashAtBothEnds(String path) {
if (path.isEmpty()) return path;
int beginIndex = 0;
while (beginIndex < path.length() && path.charA... | package jauter;
public class Pattern<T> {
private final String path;
private final String[] tokens;
private final T target;
public static String removeSlashAtBothEnds(String path) {
if (path.isEmpty()) return path;
int beginIndex = 0;
while (beginIndex < path.length() && path.charAt(begi... | Use "private" for fields in struct-like classes | Use "private" for fields in struct-like classes
| Java | mit | sinetja/jauter |
08bfec0c6b7635a1a0030de9ff1198dd85fb90db | src/main/java/com/tesco/bootcamp/orderreview/adaptor/CustomerServiceAdaptor.java | src/main/java/com/tesco/bootcamp/orderreview/adaptor/CustomerServiceAdaptor.java | package com.tesco.bootcamp.orderreview.adaptor;
import com.tesco.bootcamp.orderreview.representations.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.core.ParameterizedTypeReference;
import org.springfram... | package com.tesco.bootcamp.orderreview.adaptor;
import com.tesco.bootcamp.orderreview.representations.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org... | Enable AutoConfiguration and removed default controller to CustomerAdaptor | Enable AutoConfiguration and removed default controller to CustomerAdaptor
| Java | mit | bartoszjed/bootcamp-order-review-app,bartoszjed/bootcamp-order-review-app,bartoszjed/bootcamp-order-review-app |
74473167579b84cbbea3a3d9b94babfdabf6e6e2 | chapter_001/src/main/java/ru/job4j/maximum/Max.java | chapter_001/src/main/java/ru/job4j/maximum/Max.java | package ru.job4j.maximum;
/**
* Max class.
* @author Yury Chuksin (chuksin.yury@gmail.com)
* @since 18.01.2017
*/
public class Max {
/**
* maxFromTwo method compare two variables and takes maximum.
* @param first first of two compared variables
* @param second second of two compared variables
*/
public maxFromT... | package ru.job4j.maximum;
/**
* Max class.
* @author Yury Chuksin (chuksin.yury@gmail.com)
* @since 18.01.2017
*/
public class Max {
/**
* maxFromTwo method compare two variables and takes maximum.
* @param first first of two compared variables
* @param second second of two compared variables
*/
public maxFromT... | Make corrections in task 3.3 again | Make corrections in task 3.3 again
| Java | apache-2.0 | Yurik16/yuchuksin |
947e8854879aaabde25b84480a049bdd9fade446 | ReactAndroid/src/main/java/com/facebook/react/flat/DrawTextLayout.java | ReactAndroid/src/main/java/com/facebook/react/flat/DrawTextLayout.java | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | Make Nodes use TextLayoutBuilder's LayoutMeasureUtil | Make Nodes use TextLayoutBuilder's LayoutMeasureUtil
Summary:
Make Nodes use TextLayoutBuilder's LayoutMeasureUtil.
This cuts down a dependency.
Reviewed By: ahmedre
Differential Revision: D4151599
| Java | bsd-3-clause | clozr/react-native,jevakallio/react-native,alin23/react-native,tszajna0/react-native,pandiaraj44/react-native,tsjing/react-native,ndejesus1227/react-native,Ehesp/react-native,lprhodes/react-native,ndejesus1227/react-native,kesha-antonov/react-native,cdlewis/react-native,cpunion/react-native,frantic/react-native,javache... |
bfc2fa2678f259c9a28ca140e8e6687ee9b5d7aa | app/src/main/java/com/kickstarter/libs/WebViewJavascriptInterface.java | app/src/main/java/com/kickstarter/libs/WebViewJavascriptInterface.java | package com.kickstarter.libs;
import android.webkit.JavascriptInterface;
import com.kickstarter.services.KickstarterWebViewClient;
public class WebViewJavascriptInterface {
private final KickstarterWebViewClient kickstarterWebViewClient;
public WebViewJavascriptInterface(final KickstarterWebViewClient kickstart... | package com.kickstarter.libs;
import android.webkit.JavascriptInterface;
import com.kickstarter.services.KickstarterWebViewClient;
public class WebViewJavascriptInterface {
private final KickstarterWebViewClient kickstarterWebViewClient;
public WebViewJavascriptInterface(final KickstarterWebViewClient kickstart... | Add comment explaining how we capture form contents | Add comment explaining how we capture form contents
| Java | apache-2.0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss |
3a598dd242d6c0a7ca13ddbc958ba453fa03f237 | src/main/java/ch/viascom/hipchat/api/deserializer/MessageFromDeserializer.java | src/main/java/ch/viascom/hipchat/api/deserializer/MessageFromDeserializer.java | package ch.viascom.hipchat.api.deserializer;
import ch.viascom.hipchat.api.models.message.MessageFrom;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
/**
* Creat... | package ch.viascom.hipchat.api.deserializer;
import ch.viascom.hipchat.api.models.message.MessageFrom;
import com.google.gson.*;
import java.lang.reflect.Type;
/**
* Created by patrickboesch on 21.04.16.
*/
public class MessageFromDeserializer implements JsonDeserializer<MessageFrom> {
@Override
public Me... | Use default Deserializer for object-type | Use default Deserializer for object-type
- Use default Deserializer for object-type instead of map each field
| Java | apache-2.0 | Viascom/hipchat-api |
f572a4bb271b7656f47a29d30b7f9e9dd7c33cbc | 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 {
String mysqlAvailable = System.getenv("MYSQL_AVAILABLE");
boolean mysqlIsAvailabl... | 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... | Use NUMERIC as a string generation strategy | [MySQL] Use NUMERIC as a string generation strategy
| Java | mit | sqlancer/sqlancer,sqlancer/sqlancer |
8c0cb172e0e318cbdbe9164722f423b187dba2a1 | src/com/advancedpwr/record/methods/StringBuilder.java | src/com/advancedpwr/record/methods/StringBuilder.java | /*
* Copyright 2011 Matthew Avery, mavery@advancedpwr.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | /*
* Copyright 2011 Matthew Avery, mavery@advancedpwr.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Handle newlines when building strings. | Handle newlines when building strings.
| Java | apache-2.0 | hani/jtor,hani/jtor,hani/jtor |
8ec0da4435d0b6df341830cfd710700b24b6181c | src/main/java/com/xfyre/tapestry5/xtensions/components/FormatDate.java | src/main/java/com/xfyre/tapestry5/xtensions/components/FormatDate.java | package com.xfyre.tapestry5.xtensions.components;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.Parameter;
/**
* Convenience component for formatti... | package com.xfyre.tapestry5.xtensions.components;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.ioc.annotation... | Allow persistent locale-based formatting for DateFormat | Allow persistent locale-based formatting for DateFormat | Java | mit | xfyre/tapestry5-xtensions,xfyre/tapestry5-xtensions,xfyre/tapestry5-xtensions |
e2fccb56e615979fd2d16983109a8bd2c1ce8ca0 | src/main/java/de/syquel/bushytail/controller/IBushyTailController.java | src/main/java/de/syquel/bushytail/controller/IBushyTailController.java | /*
* Copyright 2016, Frederik Boster
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | /*
* Copyright 2016, Frederik Boster
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Add update and delete methods. | Add update and delete methods.
| Java | apache-2.0 | Syquel/BushyTail |
4e69b1cf7fcb05531acaf67ded15d21152fefd62 | pinot-common/src/main/java/com/linkedin/pinot/common/metrics/ControllerMetrics.java | pinot-common/src/main/java/com/linkedin/pinot/common/metrics/ControllerMetrics.java | package com.linkedin.pinot.common.metrics;
import com.yammer.metrics.core.MetricsRegistry;
/**
* Metrics for the controller.
*/
public class ControllerMetrics extends AbstractMetrics<AbstractMetrics.QueryPhase, AbstractMetrics.Meter> {
public ControllerMetrics(MetricsRegistry metricsRegistry) {
super("pinot.... | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | Add missing license header to fix failing build | Add missing license header to fix failing build
RB=606120
G=pinot-dev-reviewers
R=kgopalak,jfim,ssubrama,mshrivas
A=mshrivas
| Java | apache-2.0 | apucher/pinot,Hanmourang/Pinot,linkedin/pinot,Hanmourang/Pinot,linkedin/pinot,tkao1000/pinot,pinotlytics/pinot,fx19880617/pinot-1,fx19880617/pinot-1,Hanmourang/Pinot,Hanmourang/Pinot,pinotlytics/pinot,sajavadi/pinot,apucher/pinot,apucher/pinot,tkao1000/pinot,tkao1000/pinot,pinotlytics/pinot,linkedin/pinot,pinotlytics/p... |
49f3967f9827a4392fa6d4a1ed7b4b4a217df696 | work/src/org/kuali/kfs/sys/businessobject/AccountingLineDecorator.java | work/src/org/kuali/kfs/sys/businessobject/AccountingLineDecorator.java | /*
* Copyright 2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
*
* Unless required by app... | /*
* Copyright 2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
*
* Unless required by app... | Make class serializable so that it'll work with the session stuff | Make class serializable so that it'll work with the session stuff
| Java | agpl-3.0 | kuali/kfs,quikkian-ua-devops/kfs,smith750/kfs,ua-eas/kfs-devops-automation-fork,bhutchinson/kfs,kkronenb/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,kuali/kfs,quikkian-ua-devops/will-financials,UniversityOfHawaii/kfs,smith750/kfs,smith750/kfs,UniversityOfHawaii/kfs,ua-eas/kfs,kuali/kfs,kkro... |
3044d8c53b82401bb603bf931884f00e567aafe2 | src/main/java/de/ailis/usb4java/libusb/DeviceListIterator.java | src/main/java/de/ailis/usb4java/libusb/DeviceListIterator.java | /*
* Copyright (C) 2013 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package de.ailis.usb4java.libusb;
import java.util.Iterator;
/**
* Iterator for device list.
*
* @author Klaus Reimer (k@ailis.de)
*/
final class DeviceListIterator implements Iterator<Device>
{
/** The devic... | /*
* Copyright (C) 2013 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package de.ailis.usb4java.libusb;
import java.util.Iterator;
/**
* Iterator for device list.
*
* @author Klaus Reimer (k@ailis.de)
*/
final class DeviceListIterator implements Iterator<Device>
{
/** The devic... | Correct iterator so it doesn't skip the last device | Correct iterator so it doesn't skip the last device
| Java | mit | zodsoft/usb4java,usb4java/usb4java |
633136c3eae7a32103db3fb4f6a3bf6c914a4b1c | org.carewebframework.api/src/main/java/org/carewebframework/api/event/EventUtil.java | org.carewebframework.api/src/main/java/org/carewebframework/api/event/EventUtil.java | /**
* 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
* http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is also subject to the terms of the Health-Related Additional
* Disclaimer of Warr... | /**
* 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
* http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is also subject to the terms of the Health-Related Additional
* Disclaimer of Warr... | Add convenience method for EventManager access. | Add convenience method for EventManager access. | Java | apache-2.0 | carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core |
507e64dd06712fa92dd2cd4e5996b2941b3a77c0 | src/test/java/fi/helsinki/cs/tmc/cli/tmcstuff/TmcUtilTest.java | src/test/java/fi/helsinki/cs/tmc/cli/tmcstuff/TmcUtilTest.java | package fi.helsinki.cs.tmc.cli.tmcstuff;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import fi.helsinki.cs.tmc.cli.Application;
import fi.helsinki.cs.tmc.core.TmcCore;
import fi.helsinki.cs.tmc.core.domain.Course;
import org.junit.Before;
import org.junit.Test;
import j... | package fi.helsinki.cs.tmc.cli.tmcstuff;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import fi.helsinki.cs.tmc.cli.Application;
import fi.helsinki.cs.tmc.core.TmcCore;
import fi.helsinki.cs.tmc.core.domain.Course;
import org.junit.Before;
import org.junit.Test;
import j... | Fix test, get username etc from env vars | Fix test, get username etc from env vars
| Java | mit | tmc-cli/tmc-cli,tmc-cli/tmc-cli,testmycode/tmc-cli,testmycode/tmc-cli |
ad22feef913e9b2ddd97daa65c5b5cf52b522656 | src/test/java/age/CSVReader.java | src/test/java/age/CSVReader.java | package age;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
public class CSVReader {
private static final int CLASS_INDEX = 0;
public static void main(String[] args){
}
public static String getClassNameFromLine(String l... | package age;
import java.io.IOException;
import java.lang.reflect.Type;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class CSVReader {
private static final int CLASS_INDEX = 0;
public static void main(String[] args){
}
... | Add helper method for creating needed field mappings | Add helper method for creating needed field mappings
| Java | bsd-3-clause | skill-lang/skillJavaTestSuite |
8c211875d563cc617554fef91acb9db4a8f178bb | graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCConstDataOp.java | graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCConstDataOp.java | package com.oracle.graal.lir.sparc;
import static com.oracle.graal.lir.LIRInstruction.OperandFlag.*;
import com.oracle.graal.api.code.CompilationResult.RawData;
import com.oracle.graal.api.meta.*;
import com.oracle.graal.asm.sparc.*;
import com.oracle.graal.lir.asm.*;
import com.oracle.graal.lir.sparc.SPARCMove.LoadA... | package com.oracle.graal.lir.sparc;
import static com.oracle.graal.lir.LIRInstruction.OperandFlag.*;
import com.oracle.graal.api.code.*;
import com.oracle.graal.api.code.CompilationResult.RawData;
import com.oracle.graal.api.meta.*;
import com.oracle.graal.asm.sparc.*;
import com.oracle.graal.lir.*;
import com.oracle... | Make proper code for c const strings required for fixup in hotspot | Make proper code for c const strings required for fixup in hotspot
| Java | bsd-3-clause | wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy |
9cb235efc40d38dc91d39ab553afc559d3ade7b0 | sensorhub-driver-v4l/src/main/java/org/sensorhub/impl/sensor/v4l/V4LCameraConfig.java | sensorhub-driver-v4l/src/main/java/org/sensorhub/impl/sensor/v4l/V4LCameraConfig.java | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
Software distributed under the License is distri... | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
Software distributed under the License is distri... | Fix in ModuleRegistry to properly disable module without unloading them | Fix in ModuleRegistry to properly disable module without unloading them | Java | mpl-2.0 | opensensorhub/osh-processing |
992c29ed85019c7e05f137d2091ec59858820f9f | src/fitnesse/testutil/WaitFixture.java | src/fitnesse/testutil/WaitFixture.java | package fitnesse.testutil;
public class WaitFixture {
public WaitFixture() {
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
| package fitnesse.testutil;
public class WaitFixture {
public WaitFixture() throws InterruptedException {
Thread.sleep(2000);
}
}
| Remove catch in wait fixture. | Remove catch in wait fixture.
| Java | epl-1.0 | jdufner/fitnesse,hansjoachim/fitnesse,rbevers/fitnesse,rbevers/fitnesse,amolenaar/fitnesse,rbevers/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,hansjoachim/fitnesse,hansjoachim/fitnesse |
4fc4223db55f38f2dea76d11a5559693ff6a44f4 | core/src/uk/co/alynn/games/suchrobot/CargoType.java | core/src/uk/co/alynn/games/suchrobot/CargoType.java | package uk.co.alynn.games.suchrobot;
public enum CargoType {
NOTHING,
WATER;
}
| package uk.co.alynn.games.suchrobot;
public enum CargoType {
NOTHING, WATER, METAL, SALVAGE;
}
| Add the other two types of cargo | Add the other two types of cargo
| Java | mit | prophile/ggj2015,prophile/ggj2015,prophile/ggj2015,prophile/ggj2015 |
01f341feabde668310a37ceaf96ffa58c709cf6c | TestUtils/src/main/java/com/braintreepayments/testutils/BraintreeActivityTestRule.java | TestUtils/src/main/java/com/braintreepayments/testutils/BraintreeActivityTestRule.java | package com.braintreepayments.testutils;
import android.app.Activity;
import android.app.KeyguardManager;
import android.content.Context;
import android.support.test.espresso.intent.Intents;
import android.support.test.rule.ActivityTestRule;
import static android.support.test.InstrumentationRegistry.getTargetContext;... | package com.braintreepayments.testutils;
import android.app.Activity;
import android.app.KeyguardManager;
import android.content.Context;
import android.support.test.espresso.intent.Intents;
import android.support.test.rule.ActivityTestRule;
import static android.support.test.InstrumentationRegistry.getTargetContext;... | Stop catching Espresso Intents exception | Stop catching Espresso Intents exception
| Java | mit | braintree/braintree_android,braintree/braintree_android,braintree/braintree_android,braintree/braintree_android |
40e02789773d9a5c289b960d73045dcaf88c6385 | miru-plugin/src/test/java/com/jivesoftware/os/miru/plugin/query/TermAnalyzersTest.java | miru-plugin/src/test/java/com/jivesoftware/os/miru/plugin/query/TermAnalyzersTest.java | package com.jivesoftware.os.miru.plugin.query;
import com.google.common.collect.Lists;
import org.apache.lucene.analysis.Analyzer;
import org.testng.annotations.Test;
import java.util.List;
import static org.testng.Assert.*;
public class TermAnalyzersTest {
@Test
public void testFindAnalyzer() throws Except... | package com.jivesoftware.os.miru.plugin.query;
import com.google.common.collect.Lists;
import org.apache.lucene.analysis.Analyzer;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
public class TermAnalyzersTest {
@Test
public void testFindAnalyzer() throws Exception {
... | Clean up analyzer unit test | Clean up analyzer unit test
| Java | apache-2.0 | jivesoftware/miru,jivesoftware/miru,jivesoftware/miru,jivesoftware/miru |
e5db8c0ff3aabe98e572bfe0003c5a94a0c4fb59 | src/main/java/com/github/klane/parc/BasisCurve.java | src/main/java/com/github/klane/parc/BasisCurve.java | package com.github.klane.parc;
import org.jblas.DoubleMatrix;
public abstract class BasisCurve implements ParametricCurve {
protected final int n;
private DoubleMatrix P;
public BasisCurve(final int n) {
this.n = n;
}
public BasisCurve(final DoubleMatrix P) {
this(P.rows-1);
... | package com.github.klane.parc;
import org.jblas.DoubleMatrix;
public abstract class BasisCurve implements ParametricCurve {
protected final int n;
protected final int d;
protected DoubleMatrix P;
public BasisCurve(final int n, final int d) {
this.n = n;
this.d = d;
}
public ... | Add dimension variable and make control points protected. | Add dimension variable and make control points protected.
| Java | mit | klane/parc |
e66c5ecbdd62aebd834a077d9a79bb4649a98f21 | orienteer-core/src/test/java/org/orienteer/junit/GuiceRule.java | orienteer-core/src/test/java/org/orienteer/junit/GuiceRule.java | package org.orienteer.junit;
import org.junit.rules.MethodRule;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
import com.google.inject.Injector;
import com.google.inject.Provider;
public class GuiceRule implements MethodRule
{
private final Provider<Injector> injectorProv... | package org.orienteer.junit;
import org.junit.rules.MethodRule;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
import com.google.inject.Injector;
import com.google.inject.Provider;
public class GuiceRule implements MethodRule
{
private final Provider<Injector> injectorProv... | Fix worst bug with not execution of testcases in case of @OrinteerRule | Fix worst bug with not execution of testcases in case of @OrinteerRule
| Java | apache-2.0 | OrienteerBAP/Orienteer,OrienteerBAP/Orienteer,OrienteerBAP/Orienteer,OrienteerBAP/Orienteer,evilsyncope/Orienteer,OrienteerDW/Orienteer,OrienteerDW/Orienteer,evilsyncope/Orienteer,WeaxMe/Orienteer,WeaxMe/Orienteer,WeaxMe/Orienteer,OrienteerDW/Orienteer,evilsyncope/Orienteer |
6176e6ed582d194e1270995ee10f351d0484d7c9 | src/main/java/org/linuxguy/MarketBot/MarketBot.java | src/main/java/org/linuxguy/MarketBot/MarketBot.java | package org.linuxguy.MarketBot;
import org.linuxguy.MarketBot.FlowdockNotifier.FlowdockNotificationType;
public class MarketBot {
public static void main(String[] args) throws InterruptedException {
String username = "marketbotuser@gmail.com";
String password = "foo";
String groupMeBotI... | package org.linuxguy.MarketBot;
import org.linuxguy.MarketBot.FlowdockNotifier.FlowdockNotificationType;
public class MarketBot {
public static void main(String[] args) throws InterruptedException {
String googlePlayUsername = "marketbotuser@gmail.com";
String googlePlayPassword = "foo";
... | Clarify variables for Google Play credentials | Clarify variables for Google Play credentials
| Java | apache-2.0 | acj/MarketBot |
3e14a47492c97e6cd0717aa8945de3280abee30f | facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java | facturatie-api/src/main/java/nl/avansc1/facturatie/api/controller/ImportController.java | package nl.avansc1.facturatie.api.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* This controller is responsible for importing declarations
*
* @author Bob van der Valk
*/
@RequestMapping("/import")
@Controller
public class ImportC... | package nl.avansc1.facturatie.api.controller;
import nl.avansc1.facturatie.api.service.Import;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.xml.sax.SAXException;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOExcep... | Add working controller. XML IMPORTER DONE not tested yet | Add working controller. XML IMPORTER DONE not tested yet
| Java | apache-2.0 | Avans-C1/facturatie,Avans-C1/facturatie |
c00fcf14b9f1904f96ab5d84601d3bbb9323267c | src/main/java/com/vtence/molecule/testing/http/TextContent.java | src/main/java/com/vtence/molecule/testing/http/TextContent.java | package com.vtence.molecule.testing.http;
import com.vtence.molecule.http.ContentType;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
public class TextContent implements HttpContent {
private final String text;
private fina... | package com.vtence.molecule.testing.http;
import com.vtence.molecule.http.ContentType;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
public class TextContent implements HttpContent {
private final String text;
private fina... | Fix potential issue when parsing text content charset | Fix potential issue when parsing text content charset
| Java | mit | testinfected/molecule,testinfected/molecule,testinfected/molecule,testinfected/molecule,testinfected/molecule |
e41e9ed04efe78d337ff163d9a74ad0f1b4b32cb | src/main/java/se/simonsoft/cms/item/export/CmsExportWriter.java | src/main/java/se/simonsoft/cms/item/export/CmsExportWriter.java | /**
* Copyright (C) 2009-2016 Simonsoft Nordic AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /**
* Copyright (C) 2009-2016 Simonsoft Nordic AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | Revert to returning the exportUrl as String since a relative href is not a valid Java URL. | Revert to returning the exportUrl as String since a relative href is not a valid Java URL.
| Java | apache-2.0 | simonsoft/cms-item |
ead8d84df4db6e2c1f0b7cc5d5485870a73a393f | yang/yang-parser-spi/src/main/java/module-info.java | yang/yang-parser-spi/src/main/java/module-info.java | /*
* Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
module org... | /*
* Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
module org... | Add a requirement on annotations | Add a requirement on annotations
Do not rely to get these transitively, add a requires static.
Change-Id: Ibf06934bcdf808e1bdc47cdb8097adc9d5650606
Signed-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech>
| Java | epl-1.0 | opendaylight/yangtools,opendaylight/yangtools |
81004f54535120d9f7f6e6b4e38888e351ac1d37 | src/main/java/graphql/analysis/QueryVisitorFragmentDefinitionEnvironmentImpl.java | src/main/java/graphql/analysis/QueryVisitorFragmentDefinitionEnvironmentImpl.java | package graphql.analysis;
import graphql.Internal;
import graphql.language.FragmentDefinition;
import graphql.language.Node;
import graphql.util.TraverserContext;
import java.util.Objects;
@Internal
public class QueryVisitorFragmentDefinitionEnvironmentImpl implements QueryVisitorFragmentDefinitionEnvironment {
... | package graphql.analysis;
import graphql.Internal;
import graphql.language.FragmentDefinition;
import graphql.language.Node;
import graphql.util.TraverserContext;
import java.util.Objects;
@Internal
public class QueryVisitorFragmentDefinitionEnvironmentImpl implements QueryVisitorFragmentDefinitionEnvironment {
... | Add support for visiting fragments in QueryVisitior. PR feedback | Add support for visiting fragments in QueryVisitior. PR feedback
| Java | mit | graphql-java/graphql-java,graphql-java/graphql-java |
c5e86f8358d7bb5fad3c8da79813c9ad79832f66 | core/src/net/alcuria/umbracraft/definitions/config/ConfigDefinition.java | core/src/net/alcuria/umbracraft/definitions/config/ConfigDefinition.java | package net.alcuria.umbracraft.definitions.config;
import net.alcuria.umbracraft.annotations.Tooltip;
import net.alcuria.umbracraft.definitions.Definition;
import com.badlogic.gdx.utils.Array;
/** Contains various user-defined configurations for the game, such as starting
* location, starting sprites, and so on.
*... | package net.alcuria.umbracraft.definitions.config;
import net.alcuria.umbracraft.annotations.Tooltip;
import net.alcuria.umbracraft.definitions.Definition;
import com.badlogic.gdx.utils.Array;
/** Contains various user-defined configurations for the game, such as starting
* location, starting sprites, and so on.
*... | Add starting coordinates to config | Add starting coordinates to config
| Java | mit | adketuri/umbracraft,adketuri/umbracraft,adketuri/umbracraft |
fa090a0ee35c85decd59107490986e563d611543 | src/main/java/fr/xebia/management/config/ManagementNamespaceHandler.java | src/main/java/fr/xebia/management/config/ManagementNamespaceHandler.java | /*
* Copyright 2008-2010 Xebia and 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 requ... | /*
* Copyright 2008-2010 Xebia and 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 requ... | Fix forgotten registration of BeanDefinitionParser for <management:jms-caching-connection-factory> | Fix forgotten registration of BeanDefinitionParser for <management:jms-caching-connection-factory>
| Java | apache-2.0 | xebia-france/xebia-management-extras |
22ff0c0f3bc0aa862ac80852d251a71620aaeb3a | cindyberg/QLJava/src/org/uva/sea/ql/gui/widget/StringWidget.java | cindyberg/QLJava/src/org/uva/sea/ql/gui/widget/StringWidget.java | package org.uva.sea.ql.gui.widget;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComponent;
import javax.swing.JTextField;
import org.uva.sea.ql.ast.Identifier;
import org.uva.sea.ql.evaluate.StringValue;
import org.uva.sea.ql.evaluate.Value;
import org.uva.s... | package org.uva.sea.ql.gui.widget;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComponent;
import javax.swing.JTextField;
import org.uva.sea.ql.ast.Identifier;
import org.uva.sea.ql.evaluate.StringValue;
import org.uva.sea.ql.evaluate.Value;
import org.uva.s... | Remove money, bugfixing, added typecheckertests | Remove money, bugfixing, added typecheckertests
| Java | apache-2.0 | software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql,software-engineering-amsterdam/poly-ql |
8c3e2393226e4968ea0f7539505c61a90a84ce4d | src/main/java/org/concord/datagraph/analysis/GraphAnalyzer.java | src/main/java/org/concord/datagraph/analysis/GraphAnalyzer.java | package org.concord.datagraph.analysis;
import java.awt.Component;
import java.util.ArrayList;
import org.concord.data.state.OTDataStore;
import org.concord.datagraph.analysis.rubric.GraphRubric;
import org.concord.datagraph.analysis.rubric.ResultSet;
import org.concord.datagraph.state.OTDataCollector;
import org.con... | package org.concord.datagraph.analysis;
import java.awt.Component;
import java.util.ArrayList;
import org.concord.data.state.OTDataStore;
import org.concord.datagraph.analysis.rubric.GraphRubric;
import org.concord.datagraph.analysis.rubric.ResultSet;
import org.concord.datagraph.state.OTDataCollector;
import org.con... | Add support for drawing the interpreted segments into a data collector. | Add support for drawing the interpreted segments into a data collector.
git-svn-id: a0d2519504059b70a86a1ce51b726c2279190bad@24833 6e01202a-0783-4428-890a-84243c50cc2b
| Java | lgpl-2.1 | concord-consortium/datagraph |
e5ef5b32fc6592df810815226c0297485c4a83c3 | src/com/fedorvlasov/lazylist/LazyAdapter.java | src/com/fedorvlasov/lazylist/LazyAdapter.java | package com.fedorvlasov.lazylist;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
public class LazyAdapter exten... | package com.fedorvlasov.lazylist;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
public class LazyAd... | Use activity context not application context | Use activity context not application context
| Java | mit | peterdocter/LazyList,yukihane/LazyList,rsrahulee/LazyList,thest1/LazyList,abdul-khalid/LazyList,vaibhav712/imagelist,chathudan/LazyList,xiaojiu01/LazyList,pretizy/LazyList,jiachenning/LazyList |
dac6055c8c188a9bd98a5d9143691948b7a7195b | common/filesystem/src/main/java/roart/common/filesystem/FileSystemMessageResult.java | common/filesystem/src/main/java/roart/common/filesystem/FileSystemMessageResult.java | package roart.common.filesystem;
import java.util.Map;
import roart.common.inmemory.model.InmemoryMessage;
import roart.common.model.FileObject;
public class FileSystemMessageResult {
public Map<FileObject, InmemoryMessage> message;
}
| package roart.common.filesystem;
import java.util.Map;
import roart.common.inmemory.model.InmemoryMessage;
import roart.common.model.FileObject;
public class FileSystemMessageResult extends FileSystemResult {
public Map<FileObject, InmemoryMessage> message;
}
| Read file batch transfer (I38). | Read file batch transfer (I38).
| Java | agpl-3.0 | rroart/aether,rroart/aether,rroart/aether,rroart/aether,rroart/aether |
2fd8ab85d0b7e96aae6476eec57e5c11c9615b87 | PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java | PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java | /*
* Copyright 2008-2010 Brookhaven National Laboratory
* All rights reserved. Use is subject to license terms.
*/
package org.epics.pvmanager;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import static org.epics.pvmanager.ExpressionLanguage.*;
import static org.e... | /*
* Copyright 2008-2010 Brookhaven National Laboratory
* All rights reserved. Use is subject to license terms.
*/
package org.epics.pvmanager;
import org.epics.pvmanager.loc.LocalDataSource;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import static org.epics.pvm... | Write syntax test on LocalDataSource which supports writes. | Write syntax test on LocalDataSource which supports writes.
| Java | mit | berryma4/diirt,berryma4/diirt,richardfearn/diirt,berryma4/diirt,diirt/diirt,ControlSystemStudio/diirt,ControlSystemStudio/diirt,berryma4/diirt,richardfearn/diirt,richardfearn/diirt,ControlSystemStudio/diirt,diirt/diirt,diirt/diirt,ControlSystemStudio/diirt,diirt/diirt |
70e8757756e4ea509645cedee0bc526982028023 | omni-cx2x/unittest/cx2x/xcodeml/xelement/XelementHelperTest.java | omni-cx2x/unittest/cx2x/xcodeml/xelement/XelementHelperTest.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.xelement;
import cx2x.xcodeml.exception.IllegalTransformationException;
import cx2x.xcodeml.helper.XelementHelper;
import helper.XmlHelper;
import org.junit.Test;
import static junit.framework.Tes... | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.xelement;
import cx2x.xcodeml.exception.IllegalTransformationException;
import cx2x.xcodeml.helper.XelementHelper;
import helper.XmlHelper;
import org.junit.Test;
import java.io.File;
import java.... | Test findDoStatement method for loop-hoisting | Test findDoStatement method for loop-hoisting
| Java | bsd-2-clause | clementval/claw-compiler,clementval/claw-compiler |
f4a7a41013adc1113ac8f15bb40f4519bfd82027 | app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java | app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java | package com.aayaffe.sailingracecoursemanager.communication;
import java.io.Serializable;
/**
* Created by aayaffe on 30/09/2015.
*/
public enum ObjectTypes {
WorkerBoat,
FlagBuoy,
TomatoBuoy,
TriangleBuoy,
StartLine,
FinishLine,
StartFinishLine,
RaceManager, //from here, the releva... | package com.aayaffe.sailingracecoursemanager.communication;
import java.io.Serializable;
/**
* Created by aayaffe on 30/09/2015.
*/
public enum ObjectTypes {
RaceManager(0),
WorkerBoat(1),
Buoy(2),
FlagBuoy(3),
TomatoBuoy(4),
TriangleBuoy(5),
StartLine(6),
FinishLine(7),
StartFin... | Revert "Revert "Updated object types in Dev"" | Revert "Revert "Updated object types in Dev""
This reverts commit 640067d83b3bdb0c9547926fbecf69b08b227548.
| Java | apache-2.0 | aayaffe/SailingRaceCourseManager,aayaffe/SailingRaceCourseManager |
b7cf23c14229da370b6ee9386208432a2c421ebd | biz.aQute.resolve/test/biz/aQute/resolve/ResolverLoggerTest.java | biz.aQute.resolve/test/biz/aQute/resolve/ResolverLoggerTest.java | package biz.aQute.resolve;
import junit.framework.*;
public class ResolverLoggerTest extends TestCase {
public void testSimple() throws Exception {
ResolverLogger rl = new ResolverLogger();
rl.log(ResolverLogger.LOG_ERROR, "test", null);
assertEquals("ERROR: test\n", rl.getLog());
for ( int i=0; i < 100... | package biz.aQute.resolve;
import junit.framework.*;
public class ResolverLoggerTest extends TestCase {
public void testSimple() throws Exception {
ResolverLogger rl = new ResolverLogger();
rl.log(ResolverLogger.LOG_ERROR, "test", null);
assertEquals(String.format("ERROR: test%n"), rl.getLog());
for ( i... | Fix logger test for windows | resolve: Fix logger test for windows
Properly deal with eol differences.
Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
| Java | apache-2.0 | mcculls/bnd,joansmith/bnd,psoreide/bnd,magnet/bnd,joansmith/bnd,GEBIT/bnd,psoreide/bnd,GEBIT/bnd,lostiniceland/bnd,mcculls/bnd,lostiniceland/bnd,xtracoder/bnd,psoreide/bnd,magnet/bnd,magnet/bnd,xtracoder/bnd,lostiniceland/bnd,mcculls/bnd |
fa5d1eef1e4785b39cc65d70fb5520832deee3dd | java-vtl-script/src/main/java/no/ssb/vtl/script/expressions/MembershipExpression.java | java-vtl-script/src/main/java/no/ssb/vtl/script/expressions/MembershipExpression.java | package no.ssb.vtl.script.expressions;
import no.ssb.vtl.model.VTLObject;
import javax.script.Bindings;
public class MembershipExpression extends VariableExpression {
private String dataset;
public MembershipExpression(Class<?> type, String dataset, String right) {
super(type, right);
}
pu... | package no.ssb.vtl.script.expressions;
import no.ssb.vtl.model.VTLObject;
import javax.script.Bindings;
import static com.google.common.base.Preconditions.checkNotNull;
public class MembershipExpression extends VariableExpression {
private String dataset;
public MembershipExpression(Class<?> type, String ... | Set dataset id in membership | Set dataset id in membership
| Java | apache-2.0 | statisticsnorway/java-vtl,statisticsnorway/java-vtl,statisticsnorway/java-vtl,statisticsnorway/java-vtl |
30c2ad09743f339b41b74784c2837e62b4409ace | web/src/main/java/uk/ac/ebi/atlas/widget/HeatmapWidgetErrorHandler.java | web/src/main/java/uk/ac/ebi/atlas/widget/HeatmapWidgetErrorHandler.java | package uk.ac.ebi.atlas.widget;
import org.springframework.dao.RecoverableDataAccessException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAndView;... | package uk.ac.ebi.atlas.widget;
import org.springframework.dao.RecoverableDataAccessException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAndView;... | Use exceptionMessage for the widget error page as all other error pages | Use exceptionMessage for the widget error page as all other error pages
| Java | apache-2.0 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas |
00ea750c0d8375733c4a5a9c0d1bc85bd5010913 | Client/Core/src/main/java/me/footlights/core/data/store/MemoryStore.java | Client/Core/src/main/java/me/footlights/core/data/store/MemoryStore.java | package me.footlights.core.data.store;
import java.nio.ByteBuffer;
import java.util.*;
/** A block store in memory. */
public class MemoryStore extends LocalStore
{
public MemoryStore()
{
super(null);
blocks = new HashMap<String,ByteBuffer>();
}
@Override
public AbstractCollection<String> list()
{
re... | package me.footlights.core.data.store;
import java.nio.ByteBuffer;
import java.util.*;
import me.footlights.core.data.NoSuchBlockException;
/** A block store in memory. */
public class MemoryStore extends LocalStore
{
public MemoryStore()
{
super(null);
blocks = new HashMap<String,ByteBuffer>();
}
@Over... | Throw exception rather than return null. | Throw exception rather than return null.
In Store, we should check for badness (e.g. null keys) and, rather than return null if we can't find a block [or throw a NullPointerException], throw a NoSuchBlockException. | Java | apache-2.0 | trombonehero/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,nasrallahmounir/Footlights |
8e7eba679a69ae75d05d59f9df5c543d355add24 | src/main/java/io/scalecube/gateway/benchmarks/BenchmarksServiceImpl.java | src/main/java/io/scalecube/gateway/benchmarks/BenchmarksServiceImpl.java | package io.scalecube.gateway.benchmarks;
import io.scalecube.services.api.ServiceMessage;
import java.util.concurrent.Callable;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;
public class BenchmarksServiceImpl implements BenchmarksService {
@Overri... | package io.scalecube.gateway.benchmarks;
import io.scalecube.services.api.ServiceMessage;
import java.util.concurrent.Callable;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;
public class BenchmarksServiceImpl implements BenchmarksService {
@Overri... | Set stream scenario be in sync with stream scenario from services | Set stream scenario be in sync with stream scenario from services
| Java | apache-2.0 | servicefabric/servicefabric,scalecube/scalecube,scalecube/scalecube |
430aebcb84e38568e3be0d347a27796f966502f6 | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/MergeToolAction.java | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/MergeToolAction.java | /*******************************************************************************
* Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this dist... | /*******************************************************************************
* Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this dist... | Fix a misleading javadoc comment. | Fix a misleading javadoc comment.
The comment was apparently come from copy-paste.
Change-Id: I2882549633ce2c316a2754ab2fc87f8605110962
| Java | epl-1.0 | collaborative-modeling/egit,paulvi/egit,wdliu/egit,collaborative-modeling/egit,chalstrick/egit,paulvi/egit,SmithAndr/egit,wdliu/egit,SmithAndr/egit,mdoninger/egit,blizzy78/egit |
e8d5bca15b64f0162d149d2fbd2c0ecdeb8270f3 | prototype-api/src/test/java/com/jcalvopinam/api/PrototypeApiApplicationTests.java | prototype-api/src/test/java/com/jcalvopinam/api/PrototypeApiApplicationTests.java | package com.jcalvopinam.api;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class PrototypeApiApplicationTests {
@Test
public ... | package com.jcalvopinam.api;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class PrototypeApiApplicationTests {
@Test
public ... | Add unit test for main class of spring-boot application | Add unit test for main class of spring-boot application
| Java | mit | juanca87/prototype-model,juanca87/prototype-model |
77f553d993339293d7a4f2fcb4d5e51dc2d91db5 | core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java | core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java | /*
* Copyright 2018-2022 Asynchronous Game Query Library
*
* 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 (c) 2022 Asynchronous Game Query Library
*
* 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 appl... | Include payload data in exception | Include payload data in exception
Signed-off-by: Rafael Luis Ibasco <80d89b34d8cf04643e39f61fb924744a8cfa1566@gmail.com>
| Java | apache-2.0 | ribasco/async-gamequery-lib,ribasco/async-gamequery-lib |
3e85f0af5145be288fef49f98a721561bbbacc5d | core/src/main/java/io/bitsquare/locale/CurrencyTuple.java | core/src/main/java/io/bitsquare/locale/CurrencyTuple.java | /*
* This file is part of Bitsquare.
*
* Bitsquare is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bitsquare is dist... | /*
* This file is part of Bitsquare.
*
* Bitsquare is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bitsquare is dist... | Add precision to currency json | Add precision to currency json
| Java | agpl-3.0 | sakazz/exchange,bisq-network/exchange,ManfredKarrer/exchange,haiqu/bitsquare,bitsquare/bitsquare,bisq-network/exchange,ManfredKarrer/exchange,haiqu/bitsquare,sakazz/exchange,bitsquare/bitsquare |
65203576b2df28331c078dd66d5507a3c3d151fd | core-common/src/main/java/org/zalando/nakadi/annotations/validation/LabelKey.java | core-common/src/main/java/org/zalando/nakadi/annotations/validation/LabelKey.java | package org.zalando.nakadi.annotations.validation;
import javax.validation.Constraint;
import javax.validation.Payload;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.... | package org.zalando.nakadi.annotations.validation;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({
ElementType.FIELD, ... | Reduce the amount of lines | Reduce the amount of lines
| Java | mit | zalando/nakadi,zalando/nakadi |
df8a90b0f7c5d7a21ae58371eef48aef0abc023b | rest/src/main/java/io/car/server/rest/encoding/rdf/linker/GroupDCTermsLinker.java | rest/src/main/java/io/car/server/rest/encoding/rdf/linker/GroupDCTermsLinker.java | package io.car.server.rest.encoding.rdf.linker;
import com.google.inject.Provider;
import com.hp.hpl.jena.rdf.model.Model;
import io.car.server.core.entities.Group;
import io.car.server.core.entities.Measurement;
import io.car.server.rest.encoding.rdf.RDFLinker;
import static io.car.server.rest.encoding.rdf.linker.Mea... | package io.car.server.rest.encoding.rdf.linker;
import com.google.inject.Provider;
import com.hp.hpl.jena.rdf.model.Model;
import io.car.server.core.entities.Group;
import io.car.server.rest.encoding.rdf.RDFLinker;
import io.car.server.rest.resources.GroupsResource;
import io.car.server.rest.resources.RootResource;
im... | Fix in group DC licence | Fix in group DC licence
| Java | agpl-3.0 | gotodeepak1122/enviroCar-server,enviroCar/enviroCar-server,autermann/enviroCar-server,Drifftr/enviroCar-server,gotodeepak1122/enviroCar-server,autermann/enviroCar-server,autermann/enviroCar-server,Drifftr/enviroCar-server,enviroCar/enviroCar-server,enviroCar/enviroCar-server |
e1a4db008f07e499b038fa09e83a2903321784a7 | chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/DialScaleSheet.java | chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/DialScaleSheet.java | /*******************************************************************************
* Copyright (c) 2006 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | /*******************************************************************************
* Copyright (c) 2006 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Remove UI of ShowOutside for Dial scale | Remove UI of ShowOutside for Dial scale
| Java | epl-1.0 | rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt |
114e25d71248081a0837e2f6d68116e1f1ce8ee0 | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.codenvy.ide.api.editor.EditorPartPresenter;
import com.codenvy.ide.api.editor.EditorProvider;
import com.codenvy.ide.api.notification.NotificationManager;
import com.codenvy.ide.api.preferences.PreferencesManager;
import com.codenvy.ide.dto.DtoFacto... | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.codenvy.ide.api.editor.EditorPartPresenter;
import com.codenvy.ide.api.editor.EditorProvider;
import com.codenvy.ide.util.loging.Log;
import com.google.inject.Inject;
public class SqlLauncherEditorProvider implements EditorProvider {
private S... | Simplify the SQL launcher editor provider | Simplify the SQL launcher editor provider | Java | epl-1.0 | codenvy/plugin-datasource,codenvy/plugin-datasource |
4fa1d7d2926d81eb5428a13ae9f7c554b2784880 | src/main/java/org/techern/infinitewater/blocks/BlockInfinitelySpreadingWater.java | src/main/java/org/techern/infinitewater/blocks/BlockInfinitelySpreadingWater.java | package org.techern.infinitewater.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
/**
* A {@link Block} for infinitely spreading water
*
* @since 1.0.0
*/
public class BlockInfinitelySpreadingWater extends Block {
/**
* Creates a new {@link BlockInfinitelySpreadin... | package org.techern.infinitewater.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
/**
* A {@link Block} for infinitely spreading water
*
* @since 1.0.0
*/
public class BlockInfinitelySpreadingWater extends Block {
/**
... | Add to Misc creative tab | Add to Misc creative tab
| Java | mit | Techern/Infinitely-Spreading-Water |
0362e29eff60439d8bd9a5e26a4490fd1839847f | container-search/src/main/java/com/yahoo/prelude/fastsearch/XMLField.java | container-search/src/main/java/com/yahoo/prelude/fastsearch/XMLField.java | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.fastsearch;
import com.yahoo.data.access.Inspector;
import com.yahoo.data.access.Type;
import com.yahoo.prelude.hitfield.XMLString;
import com.yahoo.search.result.PositionsD... | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.fastsearch;
import com.yahoo.data.access.Inspector;
import com.yahoo.data.access.Type;
import com.yahoo.prelude.hitfield.XMLString;
import com.yahoo.search.result.PositionsD... | Remove comment looking forward to Vespa 6. | Remove comment looking forward to Vespa 6.
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
9953983bbc43ebfbf62b353aa043543c7b3ef5c9 | config-model/src/main/java/com/yahoo/vespa/model/container/component/SystemBindingPattern.java | config-model/src/main/java/com/yahoo/vespa/model/container/component/SystemBindingPattern.java | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.component;
/**
* A {@link BindingPattern} which is implicitly constructed by the model, e.g for built-in handlers and filter chains.
*
* @author bjorncs
*/
public... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.component;
/**
* A {@link BindingPattern} which is implicitly constructed by the model, e.g for built-in handlers and filter chains.
*
* @author bjorncs
*/
public... | Add static builder taking port and path | Add static builder taking port and path
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
9e503382c0b4ad20d2962a080591646383342dab | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Refactor magic port number into constant. | Refactor magic port number into constant.
git-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1349874 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | seeburger-ag/commons-vfs,mohanaraosv/commons-vfs,seeburger-ag/commons-vfs,apache/commons-vfs,seeburger-ag/commons-vfs,ecki/commons-vfs,mohanaraosv/commons-vfs,mohanaraosv/commons-vfs,apache/commons-vfs,ecki/commons-vfs |
d1ff3bb3ebf0b9615c120918dc2ab4de3912c789 | aeron-system-tests/src/test/java/io/aeron/log/EventLogExtension.java | aeron-system-tests/src/test/java/io/aeron/log/EventLogExtension.java | /*
* Copyright 2014-2021 Real Logic Limited.
*
* 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 ... | /*
* Copyright 2014-2021 Real Logic Limited.
*
* 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 ... | Fix name recorded in test event log. | [Java] Fix name recorded in test event log.
| Java | apache-2.0 | mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron |
4af51e10a9978864f6cede0ebabbd69056272fb9 | java-client/src/main/java/io/fluxcapacitor/javaclient/common/Message.java | java-client/src/main/java/io/fluxcapacitor/javaclient/common/Message.java | package io.fluxcapacitor.javaclient.common;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.fluxcapacitor.common.MessageType;
import io.fluxcapacitor.common.api.Metadata;
import lombok.AllArgsConstructor;
import lombok.Value;
import lombok.experimental.Wither;
@Value
@AllArgsConstructor
@JsonTypeInfo(... | package io.fluxcapacitor.javaclient.common;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.fluxcapacitor.common.MessageType;
import io.fluxcapacitor.common.api.Metadata;
import lombok.AllArgsConstructor;
import lombok.Value;
import lombok.experimental.Wither;
@Value
@AllArgsConstructor
@JsonTypeInfo(... | Add Jackson type information to message payload | Add Jackson type information to message payload
| Java | apache-2.0 | flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client |
8d2827f5b7cdbe99e6d0f0b817e3eab870835a18 | org.spoofax.modelware.emf/src/org/spoofax/modelware/emf/LanguageRegistry.java | org.spoofax.modelware.emf/src/org/spoofax/modelware/emf/LanguageRegistry.java | package org.spoofax.modelware.emf;
/**
* @author Oskar van Rest
*/
import java.util.ArrayList;
import java.util.Collection;
public class LanguageRegistry {
private static LanguageRegistry instance = new LanguageRegistry();
private Collection<Language> languages = new ArrayList<Language>();
private LanguageRe... | package org.spoofax.modelware.emf;
/**
* @author Oskar van Rest
*/
import java.util.ArrayList;
import java.util.Collection;
public class LanguageRegistry {
private static LanguageRegistry instance = new LanguageRegistry();
private Collection<Language> languages = new ArrayList<Language>();
private LanguageRe... | Revert "support for file extensions with dots (.) in them" | Revert "support for file extensions with dots (.) in them"
This reverts commit 4439ab932535897adc93039a5b212ea21ef399df.
| Java | apache-2.0 | metaborg/spoofax-modelware |
c066812dc2420afaae6fba19818b1aa93ae299e8 | src/main/java/org/synyx/urlaubsverwaltung/application/ApplicationProperties.java | src/main/java/org/synyx/urlaubsverwaltung/application/ApplicationProperties.java | package org.synyx.urlaubsverwaltung.application;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties("uv.application")
public class ApplicationProperties {
/**
* Checks remind date about waiting appl... | package org.synyx.urlaubsverwaltung.application;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotEmpty;
@Component
@ConfigurationProperties("... | Add bean validation for uv.application.reminderNotificationCron | Add bean validation for uv.application.reminderNotificationCron
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
22c2aa1a0e12fb46d9f7d98c78ae0d4f233605c4 | src/test_mod/java/info/u_team/u_team_test/init/TestSpawnPlacementRegistries.java | src/test_mod/java/info/u_team/u_team_test/init/TestSpawnPlacementRegistries.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.entity.TestLiving;
import net.minecraft.world.entity.SpawnPlacements;
import net.minecraft.world.level.levelgen.Heightmap;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
public cl... | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.entity.TestLiving;
import net.minecraft.world.entity.SpawnPlacements;
import net.minecraft.world.level.levelgen.Heightmap;
import net.minecraftforge.event.entity.SpawnPlacementRegisterEvent;
import net.minecraftforge.event.entity.SpawnPlacementRegist... | Use event in test mod for spawn placement registry | Use event in test mod for spawn placement registry
| Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
552b7e83f7d9399933349d32a141bcf9030eed9e | src/main/java/com/link_intersystems/gitdirstat/domain/PathDeletionIndexFilter.java | src/main/java/com/link_intersystems/gitdirstat/domain/PathDeletionIndexFilter.java | package com.link_intersystems.gitdirstat.domain;
import java.io.IOException;
import java.util.Collection;
public class PathDeletionIndexFilter implements IndexFilter {
private Collection<String> pathsToDelete;
public PathDeletionIndexFilter(Collection<String> pathsToDelete) {
this.pathsToDelete = pathsToDelete;... | package com.link_intersystems.gitdirstat.domain;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
public class PathDeletionIndexFilter implements IndexFilter {
private Collection<String> pathsToDelete;
public PathDeletionIndexFilter(Collection<String> pathsToDelete) {
this.path... | Stop iterating tree if all index filter paths are deleted | Stop iterating tree if all index filter paths are deleted
| Java | apache-2.0 | link-intersystems/GitDirStat |
889dab3152645ab4d225ea0a2fce9a95fa0e43fe | bukkit/src/main/java/com/github/games647/fastlogin/bukkit/PremiumPlaceholder.java | bukkit/src/main/java/com/github/games647/fastlogin/bukkit/PremiumPlaceholder.java | package com.github.games647.fastlogin.bukkit;
import java.util.List;
import me.clip.placeholderapi.PlaceholderAPI;
import me.clip.placeholderapi.PlaceholderHook;
import org.bukkit.entity.Player;
import org.bukkit.metadata.MetadataValue;
public class PremiumPlaceholder extends PlaceholderHook {
private final Fa... | package com.github.games647.fastlogin.bukkit;
import java.util.stream.Collectors;
import me.clip.placeholderapi.PlaceholderAPI;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.entity.Player;
public class PremiumPlaceholder extends PlaceholderExpansion {
private static final Stri... | Migrate to PlaceholderExpansion from PlaceholderAPI | Migrate to PlaceholderExpansion from PlaceholderAPI
| Java | mit | AuthMe/FastLogin,sgdc3/FastLogin,games647/FastLogin |
e7739a07beac9baa58efadbb7d26c37822a0b060 | classloader-leak-prevention/classloader-leak-prevention-core/src/test/java/se/jiderhamn/classloader/leak/prevention/cleanup/JceSecurityCleanUpTest.java | classloader-leak-prevention/classloader-leak-prevention-core/src/test/java/se/jiderhamn/classloader/leak/prevention/cleanup/JceSecurityCleanUpTest.java | package se.jiderhamn.classloader.leak.prevention.cleanup;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
/**
* Test that the leak caused by {@link javax.crypto.JceSecurity} is cleared.
* Thanks to Paul Kiman for the report.
* @author Mattias Jiderhamn
*/
public class JceSecurityClea... | package se.jiderhamn.classloader.leak.prevention.cleanup;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
/**
* Test that the leak caused by {@link javax.crypto.JceSecurity} is cleared.
* Thanks to Paul Kiman for the report.
* @author Mattias Jiderhamn
*/
public class JceSecurityClea... | Move exceptions in one catch expression | JceSecurityCleanupTest: Move exceptions in one catch expression
| Java | apache-2.0 | mjiderhamn/classloader-leak-prevention,hazendaz/classloader-leak-prevention |
dbfd235eabf7c3fba9bd660fa648602d7e0847f4 | runtime/src/main/java/org/wildfly/swarm/swagger/runtime/SwaggerConfiguration.java | runtime/src/main/java/org/wildfly/swarm/swagger/runtime/SwaggerConfiguration.java | package org.wildfly.swarm.swagger.runtime;
import org.jboss.dmr.ModelNode;
import org.jboss.shrinkwrap.api.Archive;
import org.wildfly.swarm.container.JARArchive;
import org.wildfly.swarm.container.runtime.AbstractServerConfiguration;
import org.wildfly.swarm.container.runtime.Configuration;
import org.wildfly.swarm.j... | package org.wildfly.swarm.swagger.runtime;
import org.jboss.dmr.ModelNode;
import org.jboss.shrinkwrap.api.Archive;
import org.wildfly.swarm.container.JARArchive;
import org.wildfly.swarm.container.runtime.AbstractServerConfiguration;
import org.wildfly.swarm.jaxrs.JAXRSArchive;
import org.wildfly.swarm.swagger.Swagge... | Remove the need for @Configuration annotation. Simplify! | Remove the need for @Configuration annotation. Simplify!
| Java | apache-2.0 | Ladicek/wildfly-swarm,christian-posta/wildfly-swarm,heiko-braun/wildfly-swarm-1,nelsongraca/wildfly-swarm,nelsongraca/wildfly-swarm,gastaldi/wildfly-swarm,christian-posta/wildfly-swarm,emag/wildfly-swarm,juangon/wildfly-swarm,wildfly-swarm/wildfly-swarm-swagger,emag/wildfly-swarm,nelsongraca/wildfly-swarm,jamesnetherto... |
68668cf6142153442e5bb0039ef8cb8e580fa479 | engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java | engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java | /*
* Copyright 2017 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 2017 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... | Reformat tests to remove tabs | Reformat tests to remove tabs
| Java | apache-2.0 | Malanius/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Malanius/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology,Nanoware/Terasology |
713a0fce6cdf4c7be01734a46fda9dec11dbdeec | com.github.sormuras.bach/main/java/com/github/sormuras/bach/internal/Modules.java | com.github.sormuras.bach/main/java/com/github/sormuras/bach/internal/Modules.java | package com.github.sormuras.bach.internal;
import java.lang.module.ModuleFinder;
import java.util.List;
import java.util.Set;
/** Module-related utilities. */
public class Modules {
public static ModuleLayer layer(ModuleFinder finder) {
var boot = ModuleLayer.boot();
var configuration = boot.configuration(... | package com.github.sormuras.bach.internal;
import java.lang.module.ModuleDescriptor;
import java.lang.module.ModuleDescriptor.Requires;
import java.lang.module.ModuleFinder;
import java.lang.module.ModuleReference;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.stream.Collector... | Extend module-related utilities with declared and required methods | Extend module-related utilities with declared and required methods
| Java | mit | sormuras/bach,sormuras/bach |
feac130655c88c72603ba7f544fd8d9232cba4d0 | core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java | core/sis-build-helper/src/main/java/org/apache/sis/internal/book/Resources_fr.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fix wrong French resources for the developer guide. | Fix wrong French resources for the developer guide.
git-svn-id: bd781a9493159d57baabeab2b59de614917f0f5c@1713160 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | desruisseaux/sis,Geomatys/sis,Geomatys/sis,Geomatys/sis,desruisseaux/sis,desruisseaux/sis,Geomatys/sis,desruisseaux/sis |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.