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 |
|---|---|---|---|---|---|---|---|---|---|
dc8a9dd81ee7585391a69ecd0a19a13133366482 | xstream/src/test/com/thoughtworks/acceptance/SwingTest.java | xstream/src/test/com/thoughtworks/acceptance/SwingTest.java | package com.thoughtworks.acceptance;
import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JTable;
import javax.swing.LookAndFeel;
import javax.swing.plaf.synth.SynthLookAndFeel;
public class SwingTest extends AbstractAcceptanceTest {
// JTable is one of the nastiest components to ser... | package com.thoughtworks.acceptance;
import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JTable;
import javax.swing.LookAndFeel;
import javax.swing.plaf.metal.MetalLookAndFeel;
public class SwingTest extends AbstractAcceptanceTest {
// JTable is one of the nastiest components to ser... | Use L&F that is available on JDK 1.3 | Use L&F that is available on JDK 1.3
git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@1344 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
| Java | bsd-3-clause | svn2github/xstream,svn2github/xstream |
1b3a5d60a50914f9574f4dd12a7dd7a187e932d1 | api/src/main/java/io/opencensus/trace/unsafe/ContextUtils.java | api/src/main/java/io/opencensus/trace/unsafe/ContextUtils.java | /*
* Copyright 2017, Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writi... | /*
* Copyright 2017, Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writi... | Rename trace io.grpc.Context key to opencensus-trace-span-key. | Rename trace io.grpc.Context key to opencensus-trace-span-key.
| Java | apache-2.0 | bogdandrutu/opencensus-java,sebright/opencensus-java,bogdandrutu/instrumentation-java,songy23/instrumentation-java,census-instrumentation/opencensus-java,ubschmidt2/instrumentation-java,sebright/instrumentation-java,songy23/instrumentation-java,songy23/instrumentation-java,sebright/opencensus-java,sebright/opencensus-j... |
b78e854ef04d4a7ae5f84a7093da9f153807b674 | test/codeu/chat/TestRunner.java | test/codeu/chat/TestRunner.java | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | Add TokenizerTest to the list of tests to run | Add TokenizerTest to the list of tests to run
| Java | apache-2.0 | lysanderp41/CodeUSummer2017,lysanderp41/CodeUSummer2017 |
05136e275e2880eb6fbcd1b547e30bbcf5370f38 | opencga-server/src/main/java/org/opencb/opencga/server/CORSFilter.java | opencga-server/src/main/java/org/opencb/opencga/server/CORSFilter.java | package org.opencb.opencga.server;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Created by pfurio on 04/10/16.
*/
public class CORSFilter implements Filter {
@Override
public void init(FilterConfig fil... | package org.opencb.opencga.server;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Created by pfurio on 04/10/16.
*/
public class CORSFilter implements Filter {
@Override
public void init(FilterConfig fil... | Add Authorization to Access-Control-Allow-Headers list. | server: Add Authorization to Access-Control-Allow-Headers list.
| Java | apache-2.0 | j-coll/opencga,j-coll/opencga,opencb/opencga,j-coll/opencga,j-coll/opencga,opencb/opencga,j-coll/opencga,opencb/opencga,opencb/opencga,j-coll/opencga,opencb/opencga,opencb/opencga |
fdba583b95aca8d03525e993d6fe338f59bc601b | wysi/core/src/com/seven/game/game_objects/interactions/IHide.java | wysi/core/src/com/seven/game/game_objects/interactions/IHide.java | package game_objects.interactions;
/**
* Created by mtvarkovsky on 12/10/16.
*/
public interface IHide {
}
| package com.seven.game.game_objects.interactions;
public interface IHide {
Boolean possibleToHide();
}
| Add interface for GameObjects to be able to hide | Add interface for GameObjects to be able to hide
| Java | mit | mtvarkovsky/old_48 |
a3df2eff605d4e984e4839ab6ea700362ff53ec6 | src/main/java/alien4cloud/plugin/marathon/config/MarathonConfig.java | src/main/java/alien4cloud/plugin/marathon/config/MarathonConfig.java | package alien4cloud.plugin.marathon.config;
import alien4cloud.ui.form.annotation.FormProperties;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* @author Adrian Fraisse
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@FormProperties({ "m... | package alien4cloud.plugin.marathon.config;
import alien4cloud.ui.form.annotation.FormProperties;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* @author Adrian Fraisse
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@FormProperties({ "m... | Remove mesosDNS url from configuration | Remove mesosDNS url from configuration
| Java | apache-2.0 | alien4cloud/alien4cloud-marathon-plugin |
c8dece1e7533ff54d59a3563308465feff79e2e4 | src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java | src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java | package com.sangdol.experiment.portableDb;
import io.dropwizard.Application;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import org.h2.jdbcx.JdbcConnectionPool;
/**
* @author hugh
*/
public class ViewApplication extends Application<ViewConfiguration>{
public static void main(St... | package com.sangdol.experiment.portableDb;
import io.dropwizard.Application;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import org.h2.jdbcx.JdbcConnectionPool;
/**
* @author hugh
*/
public class ViewApplication extends Application<ViewConfiguration>{
public static void main(St... | Add AUTO_SERVER=TRUE for multiple processes access to the same db file | Add AUTO_SERVER=TRUE for multiple processes access to the same db file
| Java | mit | Sangdol/portable-db-experiment,Sangdol/portable-db-experiment |
2c15c633f0691202192c1bb5581331c7d6ae900f | src/main/java/com/packtpublishing/tddjava/friendships/Friendships.java | src/main/java/com/packtpublishing/tddjava/friendships/Friendships.java | package com.packtpublishing.tddjava.friendships;
import java.util.*;
public class Friendships {
private final Map<String, List<String>> friendships = new HashMap<>();
public void makeFriends(String person1, String person2) {
addFriend(person1, person2);
addFriend(person2, person1);
}
... | package com.packtpublishing.tddjava.friendships;
import java.util.*;
public class Friendships {
private final Map<String, List<String>> friendships = new HashMap<String, List<String>>();
public void makeFriends(String person1, String person2) {
addFriend(person1, person2);
addFriend(person2, ... | Use generic type instead of diamond operator for Java 6 compatibility | Use generic type instead of diamond operator for Java 6 compatibility | Java | mit | nickiovino/tdd-java-example-junit |
91a9b752fd34f91d3ec9495f9c5e064ef48b3561 | src/net/domesdaybook/automata/base/ByteMatcherTransitionFactory.java | src/net/domesdaybook/automata/base/ByteMatcherTransitionFactory.java | package net.domesdaybook.automata.base;
import net.domesdaybook.automata.State;
import net.domesdaybook.automata.Transition;
import net.domesdaybook.automata.TransitionFactory;
import net.domesdaybook.matcher.bytes.ByteMatcher;
/**
* @author Matt Palmer
*/
public class ByteMatcherTransitionFactory imple... | package net.domesdaybook.automata.base;
import net.domesdaybook.automata.State;
import net.domesdaybook.automata.Transition;
import net.domesdaybook.automata.TransitionFactory;
import net.domesdaybook.matcher.bytes.ByteMatcher;
/**
* @author Matt Palmer
*/
public class ByteMatcherTransitionFactory imple... | Fix use of raw type. | Fix use of raw type.
| Java | bsd-3-clause | uzen/byteseek |
9934663cf5e585d04bc08c0415fd256591ceefe4 | container/src/main/java/com/streamsets/datacollector/config/SparkClusterType.java | container/src/main/java/com/streamsets/datacollector/config/SparkClusterType.java | /*
* Copyright 2019 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | /*
* Copyright 2019 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | Update label for kubernetes selection in Spark configuration | SDC-15068: Update label for kubernetes selection in Spark configuration
Change-Id: I4bf80c324fbad953519f459bd033b997153410af
Reviewed-on: https://review.streamsets.net/c/datacollector/+/33167
Reviewed-by: Madhukar Devaraju <d22477479bbf55ba62bd822f4112c80f292c7805@streamsets.com>
Reviewed-by: Santhosh Kumar <dcc54d3f6... | Java | apache-2.0 | kunickiaj/datacollector,kunickiaj/datacollector,kunickiaj/datacollector,kunickiaj/datacollector,kunickiaj/datacollector,streamsets/datacollector,streamsets/datacollector,streamsets/datacollector,streamsets/datacollector,streamsets/datacollector |
419ad3e4aaeb2471c86eec1b6799675a70bc12cb | src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.java | src/test/java/org/apache/commons/io/testtools/FileBasedTestCase.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 ... | Use temporary dir that can be fully deleted | Use temporary dir that can be fully deleted | Java | apache-2.0 | apache/commons-io,apache/commons-io,apache/commons-io |
1eba3a333a01abd923a5c48216dd0d5867c60c8c | src/main/java/io/teknek/topship/SimpleTermExtractor.java | src/main/java/io/teknek/topship/SimpleTermExtractor.java | package io.teknek.topship;
import java.util.Map;
public class SimpleTermExtractor implements TermExtractor{
@Override
public Map<String, Long> extractScores(Shop shop) {
// TODO Auto-generated method stub
return null;
}
}
| package io.teknek.topship;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
/** This is the bare bones thing that works logically but basically
* produces nothing useful as it will count a the etc as terms */
public class SimpleTermExtractor implements TermExtractor{
@Override
... | Use basic tokenizer to extract words | Use basic tokenizer to extract words
| Java | apache-2.0 | edwardcapriolo/topshop |
f274896bdccb37ab747397715795621f4ed7863e | client/src/com/aerospike/client/async/AsyncScanExecutor.java | client/src/com/aerospike/client/async/AsyncScanExecutor.java | /*
* Aerospike Client - Java Library
*
* Copyright 2013 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
package com.aeros... | /*
* Aerospike Client - Java Library
*
* Copyright 2013 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
package com.aeros... | Throw exception when running scan/query and the cluster is empty. | Throw exception when running scan/query and the cluster is empty.
| Java | apache-2.0 | alexandrnikitin/aerospike-client-java,alexandrnikitin/aerospike-client-java,wgpshashank/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,Stratio/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,Stratio/aerospike-client-java,wgpshashank/aerospike-client-java |
b6e8d862bd987923ce4bd4ceff09888c81e5c39f | core/src/main/java/pro/jtaylor/timetracker/core/Tracker.java | core/src/main/java/pro/jtaylor/timetracker/core/Tracker.java | package pro.jtaylor.timetracker.core;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pro.jtaylor.timetracker.core.dao.TimeEntry;
import java.util.List;
@Component
public class Tracker {
@Autowired
private List<TimeEntry> entries;
... | package pro.jtaylor.timetracker.core;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pro.jtaylor.timetracker.core.dao.TimeEntry;
import java.util.List;
@Component
public class Tracker {
@Autowired
private List<TimeEntry> entries;
... | Update line end and EOF for build fail | Update line end and EOF for build fail | Java | apache-2.0 | Techie-42/myTimeTracker |
6817a7f70f446dd0caeffa5f688a33405bf0a72b | src/main/java/de/static_interface/sinkcity/CitySettings.java | src/main/java/de/static_interface/sinkcity/CitySettings.java | package de.static_interface.sinkcity;
import java.util.ArrayList;
import java.util.List;
public enum CitySettings {
FIRE(0b0000_0001),
MOBS(0b0000_0010),
TNT_BUILD(0b0000_0100),
TNT_EXPLODE(0b0000_1000),
EXPLOSION(0b0001_0000);
private int activatedPattern;
private CitySe... | package de.static_interface.sinkcity;
import java.util.ArrayList;
import java.util.List;
public enum CitySettings {
FIRE(0b0000_0001),
MOBS(0b0000_0010),
TNT_BUILD(0b0000_0100),
TNT_EXPLODE(0b0000_1000),
EXPLOSION(0b0001_0000),
OPEN_CITY(0b0010_0000);
private int activatedP... | Switch from YML configuration files to XML configuration files. | Switch from YML configuration files to XML configuration files. | Java | agpl-3.0 | Static-Interface/SinkCity,Static-Interface/SinkCity |
43a8d83f2130613c32aac349be6d92cc9834cb19 | throwing-interfaces/src/main/java/name/falgout/jeffrey/throwing/RethrowChain.java | throwing-interfaces/src/main/java/name/falgout/jeffrey/throwing/RethrowChain.java | package name.falgout.jeffrey.throwing;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;
@FunctionalInterface
public interface RethrowChain<X extends Throwable, Y extends Throwable>
extends Function<X, Optional<Y>> {
public static <Y extends Throwable> RethrowChain<Throwab... | package name.falgout.jeffrey.throwing;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;
@FunctionalInterface
public interface RethrowChain<X extends Throwable, Y extends Throwable>
extends Function<X, Optional<Y>> {
public static <Y extends Throwable> RethrowChain<Throwab... | Allow castTo to automatically widen the generic bound. | Allow castTo to automatically widen the generic bound.
| Java | bsd-3-clause | JeffreyFalgout/ThrowingStream |
e28abef09b38e043e516521b8da5d04014e8e6e8 | to.etc.domui.demo/test/to/etc/domui/test/binding/TestBindingOrder.java | to.etc.domui.demo/test/to/etc/domui/test/binding/TestBindingOrder.java | package to.etc.domui.test.binding;
import org.junit.Assert;
import org.junit.Test;
import to.etc.domui.test.binding.order1.TestBindingOrder1;
import to.etc.domui.webdriver.core.AbstractWebDriverTest;
/**
* @author <a href="mailto:jal@etc.to">Frits Jalvingh</a>
* Created on 15-3-17.
*/
public class TestBind... | package to.etc.domui.test.binding;
import org.junit.Assert;
import org.junit.Test;
import to.etc.domui.test.binding.order1.TestBindingOrder1;
import to.etc.domui.webdriver.core.AbstractWebDriverTest;
/**
* @author <a href="mailto:jal@etc.to">Frits Jalvingh</a>
* Created on 15-3-17.
*/
public class TestBind... | Add wiki note for test. | [webdriver] Add wiki note for test.
| Java | lgpl-2.1 | fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui |
5d9ebf8c6c672f004ea05d5c39847cb89174122d | java/com/google/gerrit/server/git/GitRepositoryManagerModule.java | java/com/google/gerrit/server/git/GitRepositoryManagerModule.java | // Copyright (C) 2015 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) 2015 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 ... | Add possibility to override MultiBaseLocalDiskRepositoryManager | Add possibility to override MultiBaseLocalDiskRepositoryManager
Add possibility to override MultiBaseLocalDiskRepositoryManager in lib
module by making GitRepositoryManagerModule as replaceable with module
that is annotated with 'git-manager' name.
Bug: Issue 15407
Change-Id: Ie470a035167225494d2b6f1977a0f7988f164aa4... | Java | apache-2.0 | GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit |
f483579d67ba9015c82d273804df6b5ba22dcd5d | src/test/java/org/apache/ibatis/parsing/XPathParserTest.java | src/test/java/org/apache/ibatis/parsing/XPathParserTest.java | package org.apache.ibatis.parsing;
import org.apache.ibatis.io.Resources;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.io.Reader;
public class XPathParserTest {
@Test
public void shouldTestXPathParserMethods() throws Exception {
String resource = "resources/nod... | package org.apache.ibatis.parsing;
import org.apache.ibatis.io.Resources;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.io.Reader;
public class XPathParserTest {
@Test
public void shouldTestXPathParserMethods() throws Exception {
String resource = "resources/nod... | Fix test so that it works with Junit 4.6 | Fix test so that it works with Junit 4.6
git-svn-id: 38b70485df25d5e096a1845b40b72a0bf0ca9ea6@2409 6a4a4fef-ff2a-56b0-fee9-946765563393
| Java | apache-2.0 | ekirkilevics/iBatis,binarytemple/mybatis-all-syncing-test |
ae30c91d5bfb55dc70fab6bf7251b6661934258d | modules/tomcat/src/java/org/apache/geronimo/tomcat/BaseGBean.java | modules/tomcat/src/java/org/apache/geronimo/tomcat/BaseGBean.java | /**
*
* Copyright 2003-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /**
*
* Copyright 2003-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | Use the Tomcat INtrospection utilities instead of commons modeler | Use the Tomcat INtrospection utilities instead of commons modeler
git-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@357261 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/geronimo,apache/geronimo,apache/geronimo,apache/geronimo |
77666e7ce307e8050a89cf08ddbe6c5429052cc6 | src/main/java/org/literacyapp/model/gson/StudentImageGson.java | src/main/java/org/literacyapp/model/gson/StudentImageGson.java | package org.literacyapp.model.gson;
import java.util.Calendar;
import org.literacyapp.model.gson.analytics.StudentImageCollectionEventGson;
public class StudentImageGson extends BaseEntityGson {
private DeviceGson device;
private Calendar timeCollected;
private String imageFileUrl;
... | package org.literacyapp.model.gson;
import java.util.Calendar;
import org.literacyapp.model.gson.analytics.StudentImageCollectionEventGson;
public class StudentImageGson extends BaseEntityGson {
private Calendar timeCollected;
private String imageFileUrl;
private StudentImageFeatureGson stu... | Remove device from student image | Remove device from student image
| Java | apache-2.0 | literacyapp-org/literacyapp-model |
09e7dc251503c1a6457010e78a5a83718bd97be1 | src/main/java/org/zalando/pazuzu/config/CorsConfiguration.java | src/main/java/org/zalando/pazuzu/config/CorsConfiguration.java | package org.zalando.pazuzu.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.co... | package org.zalando.pazuzu.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.co... | Set the allowed methods to all required ones. | Set the allowed methods to all required ones.
The Spring boot default ones do not allow for `PUT` and `DELETE`.
| Java | mit | zalando/pazuzu-registry |
39d1442a572e2e745a773bb62bb20152c396fd98 | backend/src/org/commcare/suite/model/ComputedDatum.java | backend/src/org/commcare/suite/model/ComputedDatum.java | package org.commcare.suite.model;
/**
* Piece of required session data that is acquired via an xpath computation
*
* @author Phillip Mates (pmates@dimagi.com)
*/
public class ComputedDatum extends SessionDatum {
public ComputedDatum() {
}
/**
* @param id Name used to access the computed data ... | package org.commcare.suite.model;
/**
* Piece of required session data that is acquired via an xpath computation
*
* @author Phillip Mates (pmates@dimagi.com)
*/
public class ComputedDatum extends SessionDatum {
@SuppressWarnings("unused")
public ComputedDatum() {
// used in serialization
}
... | Add suppress unused & comment | Add suppress unused & comment
| Java | apache-2.0 | dimagi/commcare-core,dimagi/javarosa,dimagi/commcare,dimagi/commcare,dimagi/commcare,dimagi/javarosa,dimagi/javarosa,dimagi/commcare-core,dimagi/commcare-core |
4e9314ef499ba5a2ecc74450b3772c6402ebc79d | core/src/main/java/woko/actions/WokoResourceBundle.java | core/src/main/java/woko/actions/WokoResourceBundle.java | package woko.actions;
import java.util.Enumeration;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class WokoResourceBundle extends ResourceBundle {
private Locale locale;
public WokoResourceBundle(Locale locale) {
this.locale = locale;
}
@Ov... | package woko.actions;
import java.util.Enumeration;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class WokoResourceBundle extends ResourceBundle {
private static final String WOKO_RESOURCES_BUNDLE = "WokoResources";
private static final String AP... | Add specific Resource bundle management | Add specific Resource bundle management
| Java | apache-2.0 | pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko |
5988b51bc56bd8a2ea947f21ed804a2183bfa8bd | app/src/main/java/com/kickstarter/services/gcm/UnregisterService.java | app/src/main/java/com/kickstarter/services/gcm/UnregisterService.java | package com.kickstarter.services.gcm;
import android.app.IntentService;
import android.content.Intent;
import android.support.annotation.NonNull;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.google.android.gms.iid.InstanceID;
import com.kickstarter.R;
import timber.log.Timber;
public class Unr... | package com.kickstarter.services.gcm;
import android.app.IntentService;
import android.content.Intent;
import android.support.annotation.NonNull;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.google.android.gms.iid.InstanceID;
import com.kickstarter.R;
import timber.log.Timber;
public class Unr... | Remove constant only used once | Remove constant only used once
| Java | apache-2.0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss |
2547c0b818c063447d47e0620ec8453f6b84e193 | org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java | org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java | package org.metaborg.util.arrays;
import java.util.Collection;
public final class Arrays2 {
public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) {
boolean modified = false;
for(T e : elementsToAdd) {
modified = modified || addTo.add(e);
}
return modi... | package org.metaborg.util.arrays;
import java.util.Collection;
public final class Arrays2 {
public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) {
boolean modified = false;
for(T e : elementsToAdd) {
modified = addTo.add(e) || modified;
}
return modi... | Fix only one element being added. | Fix only one element being added.
| Java | apache-2.0 | metaborg/mb-exec,metaborg/mb-exec,metaborg/mb-exec |
6a6cab3f786a7100e670bf94f1b3d379670061ae | lifecycle/runtime/src/androidTest/java/android/arch/lifecycle/MissingClassTest.java | lifecycle/runtime/src/androidTest/java/android/arch/lifecycle/MissingClassTest.java | /*
* Copyright (C) 2017 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 app... | /*
* Copyright (C) 2017 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 app... | Merge "Use api from 26" into oc-mr1-support-27.0-dev am: f5c970b5df am: 0e91a7eccb | [automerger] Merge "Use api from 26" into oc-mr1-support-27.0-dev am: f5c970b5df am: 0e91a7eccb
Change-Id: Ie2bf4613e238a264bcbcff78f4e28d0e33bb2b82
| Java | apache-2.0 | AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,an... |
0c2dab1f3e89418b83ffe5e2f4925c0e89516d32 | src/main/java/com/github/ferstl/jarscan/MaxMethodSizeMojo.java | src/main/java/com/github/ferstl/jarscan/MaxMethodSizeMojo.java | package com.github.ferstl.jarscan;
import org.adoptopenjdk.jitwatch.jarscan.IJarScanOperation;
import org.adoptopenjdk.jitwatch.jarscan.freqinlinesize.FreqInlineSizeOperation;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.a... | package com.github.ferstl.jarscan;
import org.adoptopenjdk.jitwatch.jarscan.IJarScanOperation;
import org.adoptopenjdk.jitwatch.jarscan.freqinlinesize.FreqInlineSizeOperation;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.a... | Add @since to class Javadoc | Add @since to class Javadoc | Java | bsd-3-clause | ferstl/jitwatch-jarscan-maven-plugin |
f7c3f707c8b8049a42c73063b0793c807d53b40d | src/main/java/com/quizdeck/model/inputs/CompleteQuizInput.java | src/main/java/com/quizdeck/model/inputs/CompleteQuizInput.java | package com.quizdeck.model.inputs;
import com.quizdeck.model.database.Quiz;
import com.quizdeck.model.database.submission;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* Created by Cade on 2/17/2016.
*/
@Getter
@Setter
public class CompleteQuiz... | package com.quizdeck.model.inputs;
import com.quizdeck.model.database.Quiz;
import com.quizdeck.model.database.submission;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* Created by Cade on 2/17/2016.
*/
@Getter
@Setter
public class CompleteQuiz... | Add default constructor for Jackson | Add default constructor for Jackson | Java | mit | bcroden/QuizDeck-Server |
8ef1095e271a046eba801b69a2f4386a661d42ea | src/jhv/src/org/helioviewer/jhv/timelines/data/BandType.java | src/jhv/src/org/helioviewer/jhv/timelines/data/BandType.java | package org.helioviewer.jhv.timelines.data;
import java.util.HashMap;
public class BandType {
private String baseURL;
private String label;
private String name;
private String unitLabel;
private final HashMap<String, Double> warnLevels = new HashMap<>();
private double min;
private double... | package org.helioviewer.jhv.timelines.data;
import java.util.HashMap;
public class BandType {
private String label;
private String name;
private String unitLabel;
private final HashMap<String, Double> warnLevels = new HashMap<>();
private double min;
private double max;
private boolean is... | Replace baseURL with data provider. | Replace baseURL with data provider.
git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@8663 b4e469a2-07ce-4b26-9273-4d7d95a670c7
| Java | mpl-2.0 | Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV |
1c0b4c874aeac90bb6755741b9425c8eea8bf03d | precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java | precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java | /*
* Copyright 2015 Timothy Brooks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* Copyright 2015 Timothy Brooks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Add comment about timeout service stability | Add comment about timeout service stability
| Java | apache-2.0 | tbrooks8/Precipice,tbrooks8/Precipice |
549f82e4211b0e6af7884b9f8d83c636906cd845 | src/java/blockmap/test/com/ibm/research/blockmap/CapiTestSupport.java | src/java/blockmap/test/com/ibm/research/blockmap/CapiTestSupport.java | /* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* $Source: src/java/test/blockmap/com/ibm/research/blockmap/CapiTestSupport.java $
*
* IBM Data Engine for NoSQL - Power Systems Edition User Library Project
*
* Contributors Listed Below - COPYRIGHT 2015,2016,2017
* [+] International Busine... | /* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* $Source: src/java/test/blockmap/com/ibm/research/blockmap/CapiTestSupport.java $
*
* IBM Data Engine for NoSQL - Power Systems Edition User Library Project
*
* Contributors Listed Below - COPYRIGHT 2015,2016,2017
* [+] International Busine... | Use the CAPI_DEVICE_PATH property in blockmap tests | Use the CAPI_DEVICE_PATH property in blockmap tests
| Java | apache-2.0 | rellermeyer/capiflash,odaira/capiflash,rellermeyer/capiflash,odaira/capiflash,odaira/capiflash,odaira/capiflash,odaira/capiflash,rellermeyer/capiflash,rellermeyer/capiflash,rellermeyer/capiflash |
96b96e1725f53c0156c018c41a346b84f3abc79e | src/main/java/org/jeecqrs/common/event/sourcing/EventSourcingBus.java | src/main/java/org/jeecqrs/common/event/sourcing/EventSourcingBus.java | package org.jeecqrs.common.event.sourcing;
/**
*
* @param <E> the base event type
*/
public interface EventSourcingBus<E> {
void persist(E event);
}
| /*
* Copyright (c) 2013 Red Rainbow IT Solutions GmbH, Germany
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, c... | Change signature of store method | Change signature of store method | Java | mit | JEEventStore/JCommonDomain |
5fcabdb13807e9b35a9dabff3b61f860ae5bf5a5 | DBrowser/src/org/reldb/dbrowser/ui/content/recent/RecentPanel.java | DBrowser/src/org/reldb/dbrowser/ui/content/recent/RecentPanel.java | package org.reldb.dbrowser.ui.content.recent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormAttachment;
import org.reldb.dbrowser.ui.DbTab;
... | package org.reldb.dbrowser.ui.content.recent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormAttachment;
import org.reldb.dbrowser.ui.DbTab;
... | Work on Recently-Used Database tab. | Work on Recently-Used Database tab. | Java | apache-2.0 | DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel |
683495bb65237aa83c5646b96997f80f4ddd98ec | src/com/atsebak/raspberrypi/protocol/ssh/SSH.java | src/com/atsebak/raspberrypi/protocol/ssh/SSH.java | package com.atsebak.raspberrypi.protocol.ssh;
import lombok.Builder;
import net.schmizz.sshj.SSHClient;
import net.schmizz.sshj.transport.verification.PromiscuousVerifier;
import java.io.IOException;
@Builder
public class SSH {
private int timeout;
private int connectionTimeout;
/**
* Build an SSHJ... | package com.atsebak.raspberrypi.protocol.ssh;
import lombok.Builder;
import net.schmizz.sshj.SSHClient;
import net.schmizz.sshj.transport.verification.PromiscuousVerifier;
import java.io.IOException;
@Builder
public class SSH {
private int timeout;
private int connectionTimeout;
/**
* Build an SSHJ... | Fix issue with test breaking when loading known hosts | Fix issue with test breaking when loading known hosts
| Java | apache-2.0 | asebak/embeddedlinux-jvmdebugger-intellij |
bc74c4f0488e38cddede335a3a060822acc01620 | core/src/main/java/org/javarosa/xpath/expr/XPathUnionExpr.java | core/src/main/java/org/javarosa/xpath/expr/XPathUnionExpr.java | package org.javarosa.xpath.expr;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.model.instance.DataInstance;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.PrototypeFactory;
import org.javarosa.xpath.XPathUnsuppo... | package org.javarosa.xpath.expr;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.model.instance.DataInstance;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.PrototypeFactory;
import org.javarosa.xpath.XPathUnsuppo... | Fix externalization oversite that would have required a migration | Fix externalization oversite that would have required a migration
| Java | apache-2.0 | dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare |
3ac381d6d06d1de10a5eb2dd2ff7b49c5f3062c4 | src/test/java/com/rarchives/ripme/tst/ripper/rippers/GfycatRipperTest.java | src/test/java/com/rarchives/ripme/tst/ripper/rippers/GfycatRipperTest.java | package com.rarchives.ripme.tst.ripper.rippers;
import com.rarchives.ripme.ripper.rippers.GfycatRipper;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.net.URL;
public class GfycatRipperTest extends RippersTest {
/**
* Rips correctly formatted URL directly from G... | package com.rarchives.ripme.tst.ripper.rippers;
import com.rarchives.ripme.ripper.rippers.GfycatRipper;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.net.URL;
public class GfycatRipperTest extends RippersTest {
/**
* Rips correctly formatted URL directly from G... | Add unit test for Gfycat Amp links | Add unit test for Gfycat Amp links | Java | mit | rephormat/ripme,sleaze/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme,sleaze/ripme |
0163a78b9debfdac4b0e8dc0ae18dbd83f3667e2 | src/test/java/jp/toastkid/article/search/SearchResultTest.java | src/test/java/jp/toastkid/article/search/SearchResultTest.java | package jp.toastkid.article.search;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import org.junit.Test;
/**
* Test of {@link SearchResult}.
* @author Toast kid
*
*/
public class SearchResultTest {
/**
* Test of {@link ... | package jp.toastkid.article.search;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Test of {@link SearchResult}.
* @author Toast kid
*
*/
public class SearchResultTest {
/**
* Test of {@link SearchResult... | Modify unit test of search result. | Modify unit test of search result.
| Java | epl-1.0 | toastkidjp/Yobidashi,toastkidjp/Yobidashi,toastkidjp/Yobidashi |
b0ffd67ae29d88641bb8d90b577eafe847aa5eff | OTCAnalyser/src/uk/ac/cam/cstibhotel/otcanalyser/gui/GUI.java | OTCAnalyser/src/uk/ac/cam/cstibhotel/otcanalyser/gui/GUI.java | package uk.ac.cam.cstibhotel.otcanalyser.gui;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import uk.ac.cam.cstibhotel.otcanalyser.communicationlayer.SearchListener;
import uk.ac.cam.cstibhotel.otcanalyser.communicationlayer.SearchResult;
public class GUI extends JFrame implements SearchListener {
pri... | package uk.ac.cam.cstibhotel.otcanalyser.gui;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import uk.ac.cam.cstibhotel.otcanalyser.communicationlayer.SearchListener;
import uk.ac.cam.cstibhotel.otcanalyser.communicationlayer.SearchResult;
public class GUI extends JFrame implements SearchListener {
pri... | Clear trades from old search from data viewer before adding new ones | Clear trades from old search from data viewer before adding new ones
| Java | mit | CSTIB-Hotel/OTCAnalyser |
4cc868a5d026d727e482d1801d7f4fdb0b8bb307 | app/src/main/java/com/breadwallet/tools/util/BRConnectivityStatus.java | app/src/main/java/com/breadwallet/tools/util/BRConnectivityStatus.java | package com.breadwallet.tools.util;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
/**
* Created by byfieldj on 2/15/18.
* <p>
* <p>
* Reusable class to quick check whether user is connect to Wifi or mobile data
*/
public class BRConnectivityStatus {
... | package com.breadwallet.tools.util;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
/**
* Created by byfieldj on 2/15/18.
* <p>
* <p>
* Reusable class to quick check whether user is connect to Wifi or mobile data
*/
public class BRConnectivityStatus {
... | Fix mobile and wifi check logic | Fix mobile and wifi check logic
| Java | mit | breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android |
e10e67277a1ee43b5eabca3923f5a6b47a1e533e | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySegmentDao.java | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySegmentDao.java | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.StudySegment;
/**
* @author Moses Hohman
* @author Rhett Sutphin
*/
public class StudySegmentDao extends StudyCalendarMutableDomainObjectDao<StudySegment> {
@Override
public Class<StudySeg... | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.StudySegment;
/**
* @author Moses Hohman
* @author Rhett Sutphin
*/
public class StudySegmentDao extends StudyCalendarMutableDomainObjectDao<StudySegment> {
@Override
public Class<StudySeg... | Add javadoc to study segment dao. | Add javadoc to study segment dao.
| Java | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc |
77a613fccd7164d6890c93beb1ca4cac81ef7dde | src/main/java/com/filestack/internal/responses/UploadResponse.java | src/main/java/com/filestack/internal/responses/UploadResponse.java | package com.filestack.internal.responses;
import com.google.gson.annotations.SerializedName;
import java.util.HashMap;
import java.util.Map;
/** Response object from multipart upload endpoint. */
public class UploadResponse {
private String url;
@SerializedName("location_url")
private String locationUrl;
@Se... | package com.filestack.internal.responses;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import java.util.HashMap;
import java.util.Map;
/** Response object from multipart upload endpoint. */
public class UploadResponse {
private String url;
@SerializedName("location_url")
... | Replace S3Headers class with JsonObject | Fix: Replace S3Headers class with JsonObject
Related to #47 and #52 but #47 is still necessary.
| Java | apache-2.0 | filestack/filestack-java,filestack/filestack-java |
2af423f68fbcd51366b90ba953ead51b16f0b85b | chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java | chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.nfc;
import android.app.Activity;
import android.nfc.NfcAdapter;
import android.util.Log;
/**
* Initializes Android... | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.nfc;
import android.app.Activity;
import android.nfc.NfcAdapter;
import android.util.Log;
/**
* Initializes Android... | Handle NFC permission being unavailable. | Handle NFC permission being unavailable.
With a rooted device, some apps can remove permissions. Prevents chrome
from crashing if NFC is revoked.
BUG=481979
Review URL: https://codereview.chromium.org/1104053003
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#327571}
| Java | bsd-3-clause | axinging/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,Just-D/chromium-1,Fireblend/chromium-crosswalk,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,Fireblend/chromium... |
db3747f674bdcf962f52db74e44fa533a84d51e5 | examples/protobuffer-service/src/test/java/org/restheart/examples/Test.java | examples/protobuffer-service/src/test/java/org/restheart/examples/Test.java | package org.restheart.examples;
import java.io.IOException;
import com.google.protobuf.InvalidProtocolBufferException;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
public class Test {
public static void main(String[] args) throws Exception {
testRe... | package org.restheart.examples;
import java.io.IOException;
import com.google.protobuf.InvalidProtocolBufferException;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
public class Test {
public static void main(String[] args) throws Exception {
testRe... | Fix NPE in protobuffer example test class | :bug: Fix NPE in protobuffer example test class [skip ci]
| Java | agpl-3.0 | SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart |
88a0881273a277148b2b30bed475c4709830d0e2 | core/common/src/test/java/alluxio/retry/TimeoutRetryTest.java | core/common/src/test/java/alluxio/retry/TimeoutRetryTest.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Use static imports for standard test utilities | [SMALLFIX] Use static imports for standard test utilities
[SMALLFIX] Use static imports for standard test utilities
pr-link: Alluxio/alluxio#8823
change-id: cid-8d5f96ba6dd7d80c6f8c61a6d4698083a91ee043 | Java | apache-2.0 | Alluxio/alluxio,maobaolong/alluxio,Alluxio/alluxio,wwjiang007/alluxio,maobaolong/alluxio,wwjiang007/alluxio,madanadit/alluxio,bf8086/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,Alluxio/alluxio,madanadit/alluxio,wwjiang007/alluxio,maobaolong/alluxio,maobaolong/alluxio,bf8086/alluxio,bf8086/alluxio,madanadit/al... |
a6a0ff97fb908e8c32387a9af89fe2a87fd00954 | src/main/java/net/elprespufferfish/rssreader/DatabaseSchema.java | src/main/java/net/elprespufferfish/rssreader/DatabaseSchema.java | package net.elprespufferfish.rssreader;
import android.provider.BaseColumns;
public class DatabaseSchema {
public static interface FeedTable extends BaseColumns {
public static final String TABLE_NAME = "feeds";
public static final String FEED_NAME = "feed_name";
public static final Strin... | package net.elprespufferfish.rssreader;
import android.provider.BaseColumns;
public class DatabaseSchema {
public interface FeedTable extends BaseColumns {
String TABLE_NAME = "feeds";
String FEED_NAME = "feed_name";
String FEED_URL = "feed_url";
}
public interface ArticleTable e... | Remove redundant modifiers for interface fields | Remove redundant modifiers for interface fields
| Java | mit | elprespufferfish/rss-reader |
95282c20666825f4ea6a0a4bef2d93ab7d5cf779 | src/main/java/se/tla/mavenversionbumper/vcs/AbstractVersionControl.java | src/main/java/se/tla/mavenversionbumper/vcs/AbstractVersionControl.java | package se.tla.mavenversionbumper.vcs;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteWatchdog;
import java.io.File;
import java.io.IOException;
/**
* Common functionality for implementations of the VersionControl interface.
*/
publ... | package se.tla.mavenversionbumper.vcs;
import java.io.File;
import java.io.IOException;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteWatchdog;
/**
* Common functionality for implementations of the VersionControl interface.
*/
publ... | Print out what will actually be executed. | Print out what will actually be executed.
| Java | isc | jimpa/Maven-version-bumper |
3a1db1e98d7072e15fa27d8917cd4e1a166dd08c | src/org/robockets/stronghold/robot/highgoalshooter/FreeFire.java | src/org/robockets/stronghold/robot/highgoalshooter/FreeFire.java | package org.robockets.stronghold.robot.highgoalshooter;
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
* Shoot the high goal shooter from anywhere on the field.
*/
public class FreeFire extends CommandGroup {
public FreeFire() {
addSequential(new VerticalAlign());
addSequential(new FireS... | package org.robockets.stronghold.robot.highgoalshooter;
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
* Shoot the high goal shooter from anywhere on the field.
*/
public class FreeFire extends CommandGroup {
public FreeFire() {
addSequential(new VerticalAlign());
addSequential(new Horiz... | Add horizontal align to free fire command group. | Add horizontal align to free fire command group.
| Java | mit | Team4761/2016-Robot-Code |
308b9b2e821c419465c256792b5afe6e6974e96a | Android/Shopr/src/main/java/com/uwetrottmann/shopr/utils/Statistics.java | Android/Shopr/src/main/java/com/uwetrottmann/shopr/utils/Statistics.java |
package com.uwetrottmann.shopr.utils;
/**
* Stores data about the current task.
*/
public class Statistics {
private static Statistics _instance;
private long mStartTime;
private int mCycleCount;
private String mUserName;
private boolean mIsDiversity;
private boolean mIsStarted;
priv... |
package com.uwetrottmann.shopr.utils;
import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;
import com.uwetrottmann.shopr.provider.ShoprContract.Stats;
/**
* Stores data about the current task.
*/
public class Statistics {
private static Statistics _instance;
priv... | Store stats when finishing task. | Store stats when finishing task.
| Java | apache-2.0 | adiguzel/Shopr,UweTrottmann/Shopr |
03729c3cca355aaab8a6ef9a0e4f3141158f9918 | processor/src/test/java/org/realityforge/arez/processor/AbstractArezProcessorTest.java | processor/src/test/java/org/realityforge/arez/processor/AbstractArezProcessorTest.java | package org.realityforge.arez.processor;
import com.google.testing.compile.JavaFileObjects;
import com.google.testing.compile.JavaSourceSubjectFactory;
import javax.annotation.Nonnull;
import javax.tools.JavaFileObject;
import static com.google.common.truth.Truth.assert_;
abstract class AbstractArezProcessorTest
{
... | package org.realityforge.arez.processor;
import com.google.testing.compile.JavaFileObjects;
import com.google.testing.compile.JavaSourceSubjectFactory;
import javax.annotation.Nonnull;
import javax.tools.JavaFileObject;
import static com.google.common.truth.Truth.assert_;
abstract class AbstractArezProcessorTest
{
... | Fix the generation of classnames | Fix the generation of classnames
| Java | apache-2.0 | realityforge/arez,realityforge/arez,realityforge/arez |
bd4fb496e49bd8089d519cfc51d21f21e015fcf1 | src/main/java/org/commcare/modern/parse/ParseUtilsHelper.java | src/main/java/org/commcare/modern/parse/ParseUtilsHelper.java | package org.commcare.modern.parse;
import org.commcare.core.interfaces.UserSandbox;
import org.commcare.core.parse.ParseUtils;
import org.javarosa.xml.util.InvalidStructureException;
import org.javarosa.xml.util.UnfullfilledRequirementsException;
import org.xmlpull.v1.XmlPullParserException;
import java.io.ByteArrayI... | package org.commcare.modern.parse;
import org.commcare.core.interfaces.UserSandbox;
import org.commcare.core.parse.ParseUtils;
import org.javarosa.xml.util.InvalidStructureException;
import org.javarosa.xml.util.UnfullfilledRequirementsException;
import org.xmlpull.v1.XmlPullParserException;
import java.io.ByteArrayI... | Add option to fail fast on parse | Add option to fail fast on parse
| Java | apache-2.0 | dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare |
49e5131b926968d665f4e505bf079ddc755e6fdb | src/main/java/io/gravitee/repository/api/ApplicationRepository.java | src/main/java/io/gravitee/repository/api/ApplicationRepository.java | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | Add service to retrieve list of Applications by team | Add service to retrieve list of Applications by team
| Java | apache-2.0 | gravitee-io/gravitee-repository |
3a3775a1e572935022c5de03c0dc35a2ee4f046c | example/src/main/java/org/honorato/diagnostics/example/MainActivity.java | example/src/main/java/org/honorato/diagnostics/example/MainActivity.java | package org.honorato.diagnostics.example;
import android.os.Bundle;
import org.honorato.diagnostics.DiagnosticsActivity;
public class MainActivity extends DiagnosticsActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
}
| package org.honorato.diagnostics.example;
import android.os.Bundle;
import org.honorato.diagnostics.DiagnosticsActivity;
public class MainActivity extends DiagnosticsActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
... | Add example for adding check to inherited activity | Add example for adding check to inherited activity
| Java | mit | jlhonora/android-diagnostics |
b84584178055da356c7af4bcfd02e2738310f785 | kotlin-eclipse-core/src/org/jetbrains/kotlin/core/log/KotlinLogger.java | kotlin-eclipse-core/src/org/jetbrains/kotlin/core/log/KotlinLogger.java | package org.jetbrains.kotlin.core.log;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.jetbrains.kotlin.core.Activator;
public class KotlinLogger {
public static void log(IStatus status) {
Activator.getDefault().getLog().log(status);
}
public stati... | package org.jetbrains.kotlin.core.log;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.jetbrains.kotlin.core.Activator;
public class KotlinLogger {
public static void log(IStatus status) {
Activator.getDefault().getLog().log(status);
}
public stati... | Add method to log and throw runtime exception | Add method to log and throw runtime exception
| Java | apache-2.0 | noemus/kotlin-eclipse,noemus/kotlin-eclipse |
5d97e39cbc3f79674248c207e4dadd061481a583 | src/org/bootstrapjsp/tags/core/breadcrumb/BreadcrumbItem.java | src/org/bootstrapjsp/tags/core/breadcrumb/BreadcrumbItem.java | /*
* Copyright (c) 2014 Darren Scott - All Rights Reserved
*
* This program is distributed under LGPL Version 2.1 in the hope that
* it will be useful, but WITHOUT ANY WARRANTY.
*/
package org.bootstrapjsp.tags.core.breadcrumb;
import org.bootstrapjsp.facet.ActiveFacet;
import org.bootstrapjsp.tags.html.ListItem... | /*
* Copyright (c) 2014 Darren Scott - All Rights Reserved
*
* This program is distributed under LGPL Version 2.1 in the hope that
* it will be useful, but WITHOUT ANY WARRANTY.
*/
package org.bootstrapjsp.tags.core.breadcrumb;
import org.bootstrapjsp.facet.ActiveFacet;
import org.bootstrapjsp.tags.html.ListItem... | Set valid parents on breadcrumbitem | Set valid parents on breadcrumbitem | Java | lgpl-2.1 | Mrdigs/Bootstrap.jsp,Mrdigs/Bootstrap.jsp,Mrdigs/Bootstrap.jsp |
bede1ee5c453d54811f9291c46ee871999044d69 | src/main/java/de/espend/idea/laravel/config/ConfigFileUtil.java | src/main/java/de/espend/idea/laravel/config/ConfigFileUtil.java | package de.espend.idea.laravel.config;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.NotNull;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConfigFileUtil
{
private static final Pattern configFilePattern =... | package de.espend.idea.laravel.config;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.NotNull;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConfigFileUtil
{
... | Replace 'substring' with 'trimStart' from the OpenAPI utils | Replace 'substring' with 'trimStart' from the OpenAPI utils
| Java | mit | Haehnchen/idea-php-laravel-plugin,Haehnchen/idea-php-laravel-plugin,Haehnchen/idea-php-laravel-plugin,Haehnchen/idea-php-laravel-plugin |
71cd3d39ccd40320eebd6317b794f0a78340a5ac | intermine/web/main/src/org/intermine/webservice/server/lists/AvailableListsServlet.java | intermine/web/main/src/org/intermine/webservice/server/lists/AvailableListsServlet.java | package org.intermine.webservice.server.lists;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.intermine.api.InterMineAPI;
import org.intermine.web.context... | package org.intermine.webservice.server.lists;
import org.intermine.webservice.server.WebService;
import org.intermine.webservice.server.core.NoServiceException;
import org.intermine.webservice.server.core.WebServiceServlet;
public class AvailableListsServlet extends WebServiceServlet
{
private static final long ... | Use the new WebServiceServlet framework | Use the new WebServiceServlet framework
Former-commit-id: 07bac49517b1151a281de191cd9e80c229196181 | Java | lgpl-2.1 | drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine |
66d4240d475ae0b54248b2a5cb73807a4c730e5b | src/main/java/com/strider/datadefender/database/metadata/IMetaData.java | src/main/java/com/strider/datadefender/database/metadata/IMetaData.java | package com.strider.datadefender.database.metadata;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Set;
/**
* Public interface to define the contract for all database-specific
* metadata classes.
*
* @author armenak
*/
public interface IMetaData {
List<Match... | /*
* Copyright 2014, Armenak Grigoryan, and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | Refactor getMetaData to use DbConfig.Vendor | Refactor getMetaData to use DbConfig.Vendor
| Java | apache-2.0 | armenak/DataDefender,armenak/DataDefender |
4637a66b47c4d5f638007a1d038f616d3209807d | src/matlab/syntax/MatlabAssignment.java | src/matlab/syntax/MatlabAssignment.java | package matlab.syntax;
import java.util.*;
import dl.syntax.*;
public class MatlabAssignment extends MatlabProgram {
private final RealVariable lhs;
private final Term rhs;
public MatlabAssignment( RealVariable lhs, Term rhs ) {
this.lhs = lhs;
this.rhs = rhs;
}
public RealVariable getLHS() {
return l... | package matlab.syntax;
import java.util.*;
import dl.syntax.*;
public class MatlabAssignment extends MatlabProgram {
private final RealVariable lhs;
private final Term rhs;
public MatlabAssignment( RealVariable lhs, Term rhs ) {
this.lhs = lhs;
this.rhs = rhs;
}
public RealVariable getLHS() {
return l... | Replace LHS with replacement values | Replace LHS with replacement values
| Java | apache-2.0 | narechiga/proteus,narechiga/proteus,narechiga/proteus |
273249d28f038c94e3890dd7679f067409970ac5 | xfire-core/src/main/org/codehaus/xfire/handler/EndpointHandler.java | xfire-core/src/main/org/codehaus/xfire/handler/EndpointHandler.java | package org.codehaus.xfire.handler;
import org.codehaus.xfire.MessageContext;
/**
* By virtue of XFire being stream based, a service can not write its
* response until the very end of processing. So a service which needs
* to write response headers but do so first before writing the
* SOAP Body. The writeRespon... | package org.codehaus.xfire.handler;
import org.codehaus.xfire.MessageContext;
import org.codehaus.xfire.fault.XFireFault;
/**
* By virtue of XFire being stream based, a service can not write its
* response until the very end of processing. So a service which needs
* to write response headers but do so first before... | Fix the JavaServiceHandler so the response is written when its supposed to be. | Fix the JavaServiceHandler so the response is written when its
supposed to be.
git-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@101 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba
| Java | mit | eduardodaluz/xfire,eduardodaluz/xfire |
bd342db9f4fc6fe2c8b75b75a7344e495607d255 | src/main/java/com/example/project/controller/MainController.java | src/main/java/com/example/project/controller/MainController.java | package com.example.project.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
impo... | package com.example.project.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
impo... | Test commit from IntelliJ IDEA | Test commit from IntelliJ IDEA
| Java | bsd-2-clause | jackhgood/CS252-Lab6,jackhgood/CS252-Lab6 |
b9c652a57d48f7618de8008e80968daa1327985e | src/gwt/src/org/rstudio/studio/client/pdfviewer/ui/images/Resources.java | src/gwt/src/org/rstudio/studio/client/pdfviewer/ui/images/Resources.java | /*
* Resources.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR... | /*
* Resources.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR... | Fix compile error on Linux | Fix compile error on Linux
| Java | agpl-3.0 | maligulzar/Rstudio-instrumented,JanMarvin/rstudio,edrogers/rstudio,jrnold/rstudio,edrogers/rstudio,maligulzar/Rstudio-instrumented,jar1karp/rstudio,jzhu8803/rstudio,sfloresm/rstudio,jar1karp/rstudio,thklaus/rstudio,brsimioni/rstudio,jrnold/rstudio,jzhu8803/rstudio,pssguy/rstudio,maligulzar/Rstudio-instrumented,thklaus/... |
7760d9fc37d474045bd28fd788bbee4add8bf13a | src/rest-test/java/edu/kit/ipd/crowdcontrol/objectservice/rest/resources/DummyRunner.java | src/rest-test/java/edu/kit/ipd/crowdcontrol/objectservice/rest/resources/DummyRunner.java | package edu.kit.ipd.crowdcontrol.objectservice.rest.resources;
import org.junit.runner.Description;
import org.junit.runner.Runner;
import org.junit.runner.notification.RunNotifier;
/**
* @author Niklas Keller
* @link http://stackoverflow.com/a/10931907/2373138
*/
public class DummyRunner extends Runner {
@Ove... | package edu.kit.ipd.crowdcontrol.objectservice.rest.resources;
import org.junit.runner.Description;
import org.junit.runner.Runner;
import org.junit.runner.notification.RunNotifier;
/**
* @author Niklas Keller
* @link http://stackoverflow.com/a/10931907/2373138
*/
public class DummyRunner extends Runner {
@Ove... | Return empty description instead of null | Return empty description instead of null
| Java | apache-2.0 | coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/object-service,coolcrowd/object-service,coolcrowd/ObjectService,coolcrowd/object-service,coolcrowd/object-service |
82a60ccfb5d78020a7d48d95fd9c534b07b42db7 | src/main/java/com/thegongoliers/output/motors/CircuitBreakerMotorModule.java | src/main/java/com/thegongoliers/output/motors/CircuitBreakerMotorModule.java | package com.thegongoliers.output.motors;
import com.thegongoliers.input.current.HighCurrentSensor;
import com.thegongoliers.input.time.Clock;
import com.thegongoliers.input.time.RobotClock;
public class CircuitBreakerMotorModule implements MotorModule {
private final HighCurrentSensor mCurrentSensor;
private... | package com.thegongoliers.output.motors;
import com.thegongoliers.input.switches.Switch;
import com.thegongoliers.input.time.Clock;
import com.thegongoliers.input.time.RobotClock;
import com.thegongoliers.utils.Resettable;
public class CircuitBreakerMotorModule implements MotorModule {
private final Switch mSwit... | Make circuit breaker module more generic | Make circuit breaker module more generic
| Java | mit | Gongoliers/Library-of-Gongolierium |
c6b161f047844ccd6da308b34a1c6e9ff19a952d | wherehows-dao/src/main/java/wherehows/models/view/DatasetValidation.java | wherehows-dao/src/main/java/wherehows/models/view/DatasetValidation.java | /**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add noargsconstructor to datasetvalidation class | Add noargsconstructor to datasetvalidation class
| Java | apache-2.0 | mars-lan/WhereHows,mars-lan/WhereHows,linkedin/WhereHows,camelliazhang/WhereHows,alyiwang/WhereHows,mars-lan/WhereHows,camelliazhang/WhereHows,mars-lan/WhereHows,theseyi/WhereHows,theseyi/WhereHows,theseyi/WhereHows,camelliazhang/WhereHows,linkedin/WhereHows,alyiwang/WhereHows,camelliazhang/WhereHows,theseyi/WhereHows,... |
8e3496c64f634b90334ca1b9d5beb39ac8a3418e | src/main/java/net/engin33r/luaspigot/lua/lib/PlayerLibrary.java | src/main/java/net/engin33r/luaspigot/lua/lib/PlayerLibrary.java | package net.engin33r.luaspigot.lua.lib;
import net.engin33r.luaspigot.lua.Library;
import net.engin33r.luaspigot.lua.annotation.LibFunctionDef;
import net.engin33r.luaspigot.lua.type.LuaPlayer;
import org.bukkit.Bukkit;
import org.luaj.vm2.Varargs;
/**
* Library for interacting with players on and off the server.
*... | package net.engin33r.luaspigot.lua.lib;
import net.engin33r.luaspigot.lua.Library;
import net.engin33r.luaspigot.lua.annotation.LibFunctionDef;
import net.engin33r.luaspigot.lua.type.LuaPlayer;
import net.engin33r.luaspigot.lua.type.LuaUUID;
import org.bukkit.Bukkit;
import org.luaj.vm2.Varargs;
/**
* Library for in... | Add getting players by UUIDs | Add getting players by UUIDs
| Java | mit | Eng1N33R/LuaSpigot |
45e79a5a968948d2f131a38060309d9acedb3af4 | src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java | src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java | package org.synyx.urlaubsverwaltung;
import no.api.freemarker.java8.Java8ObjectWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration;
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties;
imp... | package org.synyx.urlaubsverwaltung;
import no.api.freemarker.java8.Java8ObjectWrapper;
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration;
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties;
import org.springframework.context.ApplicationContext;
import org.... | Replace field injection by constructor injection | Replace field injection by constructor injection
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
b4657d5e40a60f4642186d1fbb0a6b4d50fc48b4 | src/main/java/uk/org/taverna/scufl2/wfdesc/ConvertToWfdesc.java | src/main/java/uk/org/taverna/scufl2/wfdesc/ConvertToWfdesc.java | package uk.org.taverna.scufl2.wfdesc;
import java.io.File;
import java.io.IOException;
import javax.xml.bind.JAXBException;
import uk.org.taverna.scufl2.api.container.WorkflowBundle;
import uk.org.taverna.scufl2.api.io.ReaderException;
import uk.org.taverna.scufl2.api.io.WorkflowBundleIO;
import uk.org.taverna.scufl... | package uk.org.taverna.scufl2.wfdesc;
import java.io.File;
import java.io.IOException;
import javax.xml.bind.JAXBException;
import uk.org.taverna.scufl2.api.container.WorkflowBundle;
import uk.org.taverna.scufl2.api.io.ReaderException;
import uk.org.taverna.scufl2.api.io.WorkflowBundleIO;
import uk.org.taverna.scufl... | Add system.out for each file converted | Add system.out for each file converted
| Java | apache-2.0 | taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,binfalse/incubator-taverna-langu... |
8ed06032cd375bf545f159aae4c50425dad5e48c | src/edu/syr/pcpratts/rootbeer/testcases/rootbeertest/serialization/AutoboxingRunOnGpu.java | src/edu/syr/pcpratts/rootbeer/testcases/rootbeertest/serialization/AutoboxingRunOnGpu.java | package edu.syr.pcpratts.rootbeer.testcases.rootbeertest.serialization;
import edu.syr.pcpratts.rootbeer.runtime.Kernel;
public class AutoboxingRunOnGpu implements Kernel {
private Double m_result;
public void gpuMethod() {
m_result = returnDouble();
}
private double returnDouble() {
return 10;
}
... | package edu.syr.pcpratts.rootbeer.testcases.rootbeertest.serialization;
import edu.syr.pcpratts.rootbeer.runtime.Kernel;
public class AutoboxingRunOnGpu implements Kernel {
private Double m_double_result;
private Integer m_integer_result;
public void gpuMethod() {
m_double_result = returnDouble();
m_in... | Update AutoboxingTest (Add Integer check) | Update AutoboxingTest (Add Integer check)
| Java | mit | Lexine/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1,Lexine/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1,Lexine/rootbeer1,Lexine/rootbeer1 |
a6ee720d1e0225a9978cf85bae9f492e887aa2bc | Plugins/TermCollector/src/com/aware/plugin/term_collector/StopWords.java | Plugins/TermCollector/src/com/aware/plugin/term_collector/StopWords.java | package com.aware.plugin.term_collector;
import android.content.Context;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
/**
* Created by wmb on 08.01.14.
*/
public class StopWords {
private List<String> stopwords;
... | package com.aware.plugin.term_collector;
import android.content.Context;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashSet;
/**
* Created by wmb on 08.01.14.
*/
public class StopWords {
private HashSet<String> stopwords;... | Use HashSet instead of List | Use HashSet instead of List
| Java | mit | EEXCESS/android-app,EEXCESS/android-app |
4bb6e177fd653bdee05cfb407b6d528800221284 | BlueMesh/src/blue/mesh/ReadWriteThread.java | BlueMesh/src/blue/mesh/ReadWriteThread.java | package blue.mesh;
import android.util.Log;
public class ReadWriteThread extends Thread {
private final RouterObject router;
private final Connection connection;
private static final String TAG = "ReadWriteThread";
protected ReadWriteThread(RouterObject a_router, Connection a_connection){
... | package blue.mesh;
import android.util.Log;
public class ReadWriteThread extends Thread {
private final RouterObject router;
private final Connection connection;
private static final String TAG = "ReadWriteThread";
protected ReadWriteThread(RouterObject a_router, Connection a_connection){
... | Cut the message buffer down before forwarding | Cut the message buffer down before forwarding
| Java | bsd-2-clause | schnej7/Blue-Mesh,schnej7/Blue-Mesh |
3ce3c0d9f3b5e8acd40afea9f5f535859fcd9ab7 | src/com/benberi/cadesim/server/model/player/vessel/impl/Junk.java | src/com/benberi/cadesim/server/model/player/vessel/impl/Junk.java | package com.benberi.cadesim.server.model.player.vessel.impl;
import com.benberi.cadesim.server.model.player.Player;
import com.benberi.cadesim.server.model.player.vessel.CannonType;
import com.benberi.cadesim.server.model.player.vessel.Vessel;
public class WarBrig extends Vessel {
public WarBrig(Player p) {
... | package com.benberi.cadesim.server.model.player.vessel.impl;
import com.benberi.cadesim.server.model.player.Player;
import com.benberi.cadesim.server.model.player.vessel.CannonType;
import com.benberi.cadesim.server.model.player.vessel.Vessel;
public class Junk extends Vessel {
public Junk(Player p) {
s... | Fix for something that should've changed automatically.. | Fix for something that should've changed automatically..
| Java | apache-2.0 | BenBeri/Obsidio-Server |
4e604a65538e35a4e6c05627b940504477e9fb1a | example/src/main/java/io/netty/example/http/helloworld/HttpHelloWorldServerInitializer.java | example/src/main/java/io/netty/example/http/helloworld/HttpHelloWorldServerInitializer.java | /*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | /*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Make clear how to use HTTPS in the helloworld example | Make clear how to use HTTPS in the helloworld example
| Java | apache-2.0 | chrisprobst/netty,Alwayswithme/netty,niuxinghua/netty,shelsonjava/netty,sja/netty,yonglehou/netty-1,jongyeol/netty,brennangaunce/netty,MediumOne/netty,dongjiaqiang/netty,bryce-anderson/netty,fenik17/netty,moyiguket/netty,joansmith/netty,x1957/netty,JungMinu/netty,Mounika-Chirukuri/netty,smayoorans/netty,hepin1989/netty... |
575e0f4e14e227f5ba24156a999167085d4216f7 | src/main/java/org/synyx/urlaubsverwaltung/api/RestApiSecurityConfig.java | src/main/java/org/synyx/urlaubsverwaltung/api/RestApiSecurityConfig.java | package org.synyx.urlaubsverwaltung.api;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityCon... | package org.synyx.urlaubsverwaltung.api;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityCon... | Add oidc for /api (swagger-ui) | Add oidc for /api (swagger-ui)
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
d4bafccaba505951a8b8b8d94b91dc93c9a825ed | src/main/java/se/jaitco/queueticketapi/config/RedisConfig.java | src/main/java/se/jaitco/queueticketapi/config/RedisConfig.java | package se.jaitco.queueticketapi.config;
import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.redisson.config.SingleServerConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.spri... | package se.jaitco.queueticketapi.config;
import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.redisson.config.SingleServerConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.spri... | Upgrade to spring boot 2 and java 9 | Upgrade to spring boot 2 and java 9
| Java | mit | johanaschan/queue-ticket-api,johanaschan/queue-ticket-api |
e63c81ebe85756f9e3ccf1cbf8e1ad10e17f9a1c | src/main/java/com/jakewharton/resourcefs/ResourceFileSystems.java | src/main/java/com/jakewharton/resourcefs/ResourceFileSystems.java | package com.jakewharton.resourcefs;
import java.io.IOException;
import java.net.URI;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.util.Collections;
import java.util.Map;
import static com.jakewharton.resourcefs.ResourceFileSystemProvider.SCHEME;
public final class ResourceFileSystem... | package com.jakewharton.resourcefs;
import java.io.IOException;
import java.net.URI;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.util.Collections;
import java.util.Map;
import static com.jakewharton.resourcefs.ResourceFileSystemProvider.SCHEME;
public final class ResourceFileSystem... | Use current classloader for service loading fallback. | Use current classloader for service loading fallback.
| Java | apache-2.0 | JakeWharton/resourcefs,JakeWharton/resourcefs |
9a89e0b71c52309ffa64fe064f8c28db7c12ee9c | src/main/java/com/leevilehtonen/cookagram/domain/ImageEntity.java | src/main/java/com/leevilehtonen/cookagram/domain/ImageEntity.java | package com.leevilehtonen.cookagram.domain;
import org.springframework.data.jpa.domain.AbstractPersistable;
import javax.persistence.Entity;
import javax.persistence.Lob;
@Entity
public class ImageEntity extends AbstractPersistable<Long> {
private String name;
private String mediaType;
private Long size... | package com.leevilehtonen.cookagram.domain;
import org.hibernate.annotations.Type;
import org.springframework.data.jpa.domain.AbstractPersistable;
import javax.persistence.Entity;
@Entity
public class ImageEntity extends AbstractPersistable<Long> {
private String name;
private String mediaType;
private ... | Update image content type for Postgres | Update image content type for Postgres
| Java | mit | leevilehtonen/cook-a-gram,leevilehtonen/cook-a-gram,leevilehtonen/cook-a-gram |
e09f3c10e404d39e314bd0ee0af0b548540f72b2 | src/main/java/ch/fadre/sandhills/Main.java | src/main/java/ch/fadre/sandhills/Main.java | package ch.fadre.sandhills;
import java.awt.image.BufferedImage;
import java.io.IOException;
public class Main {
public static final int width = 750;
public static final int height = 750;
public static final int ITERATIONS = 1000_000;
public static void main(String[] args) throws IOException, Interr... | package ch.fadre.sandhills;
import java.awt.image.BufferedImage;
import java.io.IOException;
public class Main {
public static int width = 100;
public static int height = 200;
public static long iterationCount = 100_000;
public static void main(String[] args) throws IOException, InterruptedException... | Allow to pass parameters as programm arguments | Allow to pass parameters as programm arguments
| Java | mit | fadre/sandhills |
8d055d7951928a4806211e778e641ec7a1bedec8 | litho-widget-material/src/main/java/com/facebook/litho/widget/MountableTextInputLayout.java | litho-widget-material/src/main/java/com/facebook/litho/widget/MountableTextInputLayout.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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) Facebook, Inc. and its affiliates.
*
* 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... | Fix click handler in MaterialTextInputSpec | Fix click handler in MaterialTextInputSpec
Summary: For litho component click event handler to work in this case, we need to pass the clickhandler to the underling EditTextWithEventHandlers from TextInputSpec.
Reviewed By: adityasharat
Differential Revision: D25946471
fbshipit-source-id: 07e5b5455ed2a736f030aedc8dc... | Java | apache-2.0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho |
e02711fc7a26a779960e42ea380503d7c1bd7aa8 | log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.java | log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.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 n... | /*
* 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 n... | Clarify split package in docs. | Clarify split package in docs.
git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1588800 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | xnslong/logging-log4j2,lburgazzoli/logging-log4j2,lburgazzoli/logging-log4j2,renchunxiao/logging-log4j2,neuro-sys/logging-log4j2,MagicWiz/log4j2,xnslong/logging-log4j2,lburgazzoli/apache-logging-log4j2,pisfly/logging-log4j2,lburgazzoli/apache-logging-log4j2,ChetnaChaudhari/logging-log4j2,lqbweb/logging-log4j2,apache/lo... |
154e3efd043cbdfdcc2f777d10b3fcbae2a81c4c | platform/vcs-log/impl/test/com/intellij/vcs/log/impl/HashEqualsTest.java | platform/vcs-log/impl/test/com/intellij/vcs/log/impl/HashEqualsTest.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Test Hash comparisons using assertThat | Test Hash comparisons using assertThat
which makes failure messages and assertion code more readable,
and avoids http://errorprone.info/bugpattern/SelfEquals.
| Java | apache-2.0 | asedunov/intellij-community,ibinti/intellij-community,allotria/intellij-community,signed/intellij-community,xfournet/intellij-community,youdonghai/intellij-community,asedunov/intellij-community,da1z/intellij-community,youdonghai/intellij-community,signed/intellij-community,apixandru/intellij-community,apixandru/intelli... |
32a47ca883f0ed0e5cf12bde16407e3a662109cd | data-model/src/main/java/org/pdxfinder/dao/TreatmentSummary.java | data-model/src/main/java/org/pdxfinder/dao/TreatmentSummary.java | package org.pdxfinder.dao;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;
import java.util.Set;
/**
* TreatmentSummary represents a summary of the application of a treatment protocol to a sample (either Human or Xenograft)
*/
@Nod... | package org.pdxfinder.dao;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;
import java.util.HashSet;
import java.util.Set;
/**
* TreatmentSummary represents a summary of the application of a treatment protocol to a sample (either Hum... | Implement add method for TreatmentProtocols | Implement add method for TreatmentProtocols
| Java | apache-2.0 | PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder |
60b882bbc6218de37eee011f0b16b975a8045056 | src/uk/org/cinquin/mutinack/misc_util/collections/TIntListCollector.java | src/uk/org/cinquin/mutinack/misc_util/collections/TIntListCollector.java | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | Fix warning and mark method as unused. | Fix warning and mark method as unused.
| Java | agpl-3.0 | cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack |
d16e319d7d69ce2d8c2459972455d6428d902877 | src/test/java/com/netflix/astyanax/serializers/SerializerPackageImplTest.java | src/test/java/com/netflix/astyanax/serializers/SerializerPackageImplTest.java | package com.netflix.astyanax.serializers;
import java.nio.ByteBuffer;
import junit.framework.Assert;
import org.junit.Test;
public class SerializerPackageImplTest {
@Test
public void test() {
SerializerPackageImpl serializers = new SerializerPackageImpl();
try {
serializers.setCo... | package com.netflix.astyanax.serializers;
import java.nio.ByteBuffer;
import junit.framework.Assert;
import org.junit.Test;
public class SerializerPackageImplTest {
@Test
public void test() {
SerializerPackageImpl serializers = new SerializerPackageImpl();
try {
serializers.setCo... | Add unit tests for set key type of SerializerPackageImpl | Add unit tests for set key type of SerializerPackageImpl
| Java | apache-2.0 | bazaarvoice/astyanax,Netflix/astyanax,bazaarvoice/astyanax,Netflix/astyanax,fengshao0907/astyanax,maxtomassi/ds-astyanax,DavidHerzogTU-Berlin/astyanax,apigee/astyanax,gorcz/astyanax,apigee/astyanax,maxtomassi/ds-astyanax,DavidHerzogTU-Berlin/astyanax,fengshao0907/astyanax,DavidHerzogTU-Berlin/astyanax,Netflix/astyanax,... |
e1996d55ba1606a3c2ad6bf07cc2dc3c42b1e876 | freeipa-client/src/main/java/com/sequenceiq/freeipa/client/auth/PasswordExpiredException.java | freeipa-client/src/main/java/com/sequenceiq/freeipa/client/auth/PasswordExpiredException.java | package com.sequenceiq.freeipa.client.auth;
import com.sequenceiq.freeipa.client.FreeIpaClientException;
public class PasswordExpiredException extends FreeIpaClientException {
public PasswordExpiredException() {
super("Invalid password");
}
@Override
public boolean isClientUnusable() {
... | package com.sequenceiq.freeipa.client.auth;
import com.sequenceiq.freeipa.client.FreeIpaClientException;
public class PasswordExpiredException extends FreeIpaClientException {
public PasswordExpiredException() {
super("Password expired");
}
@Override
public boolean isClientUnusable() {
... | Fix error message when the FreeIPA password has expired | CB-11063: Fix error message when the FreeIPA password has expired
Fix error message when the password has expired.
| Java | apache-2.0 | hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak |
1441ec9a17542ae6357d75245ecd635ee9666780 | gandalf-library/src/main/java/com/fernandocejas/android10/gandalf/annotation/GStrictMode.java | gandalf-library/src/main/java/com/fernandocejas/android10/gandalf/annotation/GStrictMode.java | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.gandalf.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static... | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.gandalf.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static... | Add documentation to Gandalf Strict Mode annotation. | Add documentation to Gandalf Strict Mode annotation.
| Java | apache-2.0 | android10/gandalf |
9355dc995f3ae4fbff431e48c9247c856496a31f | src/main/java/net/moltendorf/Bukkit/IntelliDoors/controller/TrapDoor.java | src/main/java/net/moltendorf/Bukkit/IntelliDoors/controller/TrapDoor.java | package net.moltendorf.Bukkit.IntelliDoors.controller;
import org.bukkit.block.Block;
/**
* Created by moltendorf on 15/05/23.
*/
public class TrapDoor {
public static Door getDoor(Block block) {
return null;
}
}
| package net.moltendorf.Bukkit.IntelliDoors.controller;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.block.Block;
/**
* Created by moltendorf on 15/05/23.
*/
public class TrapDoor implements Door {
public static Door getDoor(Block block) {
return null;
}
... | Implement trap door base functionality | Implement trap door base functionality
| Java | mit | moltendorf/IntelliDoors |
6e268f1bcb089c1e3a704ddf6d2f3b224636be85 | h2o-core/src/main/java/water/api/ModelMetricsRegressionV3.java | h2o-core/src/main/java/water/api/ModelMetricsRegressionV3.java | package water.api;
import hex.ModelMetricsRegression;
public class ModelMetricsRegressionV3 extends ModelMetricsBase<ModelMetricsRegression, ModelMetricsRegressionV3> {
@API(help="The Standard Deviation of the response for this scoring run.", direction=API.Direction.OUTPUT)
public double sigma;
@API(help="The ... | package water.api;
import hex.ModelMetricsRegression;
public class ModelMetricsRegressionV3 extends ModelMetricsBase<ModelMetricsRegression, ModelMetricsRegressionV3> {
@API(help="The Standard Deviation of the response for this scoring run.", direction=API.Direction.OUTPUT)
public double sigma;
@API(help="The ... | Add fillFromImpl for regression Model Metrics. | Add fillFromImpl for regression Model Metrics.
| Java | apache-2.0 | nilbody/h2o-3,tarasane/h2o-3,bikash/h2o-dev,h2oai/h2o-dev,brightchen/h2o-3,YzPaul3/h2o-3,brightchen/h2o-3,kyoren/https-github.com-h2oai-h2o-3,jangorecki/h2o-3,mathemage/h2o-3,bospetersen/h2o-3,h2oai/h2o-3,h2oai/h2o-3,brightchen/h2o-3,junwucs/h2o-3,nilbody/h2o-3,nilbody/h2o-3,h2oai/h2o-dev,bospetersen/h2o-3,h2oai/h2o-3,... |
f964289c3f243cb4eeb35f70b7281f2079cbf822 | src/main/java/poml/conv/basic/Property.java | src/main/java/poml/conv/basic/Property.java | package poml.conv.basic;
import java.util.Map;
import poml.conv.Converter;
import poml.in.Poml;
import poml.out.Xml;
public class Property implements Converter {
@Override public String name() { return "property"; }
@Override public void convert(Poml poml, Xml xml) {
Map<String, String> kv = poml.conf.ma... | package poml.conv.basic;
import java.util.Map;
import poml.conv.Converter;
import poml.in.Poml;
import poml.out.Xml;
public class Property implements Converter {
@Override public String name() { return "property"; }
@Override public void convert(Poml poml, Xml xml) {
Map<String, String> kv = poml.conf.ma... | Update property to fix print ourder. | Update property to fix print ourder.
| Java | mit | mamorum/poml |
eac2d0fae7dc9577e0c71b72fb21763f52e13b5b | src/net/sf/ij_plugins/filters/FluxAnisotropicDiffusionFilterBeanInfo.java | src/net/sf/ij_plugins/filters/FluxAnisotropicDiffusionFilterBeanInfo.java | /***
* Image/J Plugins
* Copyright (C) 2002-2004 Jarek Sacha
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | /***
* Image/J Plugins
* Copyright (C) 2002-2005 Jarek Sacha
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | Use new base class for BeanInfo. | Use new base class for BeanInfo.
| Java | lgpl-2.1 | ij-plugins/ijp-toolkit,ij-plugins/ijp-toolkit |
8864d1509c0ada0ac5f0ba887ae448652cc1956f | user-experience/src/main/java/scoutmgr/client/navbar/NavbarPresenter.java | user-experience/src/main/java/scoutmgr/client/navbar/NavbarPresenter.java | package scoutmgr.client.navbar;
import com.google.inject.Inject;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.HasUiHandlers;
import com.gwtplatform.mvp.client.PresenterWidget;
import com.gwtplatform.mvp.client.proxy.PlaceManager;
import com.gwtplatform.mvp.shared.proxy.PlaceRe... | package scoutmgr.client.navbar;
import com.google.inject.Inject;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.HasUiHandlers;
import com.gwtplatform.mvp.client.PresenterWidget;
import com.gwtplatform.mvp.client.proxy.PlaceManager;
import com.gwtplatform.mvp.shared.proxy.PlaceRe... | Move view to top of class | Move view to top of class
| Java | apache-2.0 | jcosmo/scoutmgr,jcosmo/scoutmgr,jcosmo/scoutmgr |
6bcb69ac540ea19d4c2e2c033e42fe5b5b24799e | izpack-api/src/main/java/com/izforge/izpack/api/data/binding/Listener.java | izpack-api/src/main/java/com/izforge/izpack/api/data/binding/Listener.java | package com.izforge.izpack.api.data.binding;
/**
* Listener entity
*
* @author Anthonin Bonnefoy
*/
public class Listener
{
private String classname;
private Stage stage;
private OsModel os;
private String jar;
public Listener(String classname, Stage stage, OsModel os, String jar)
{
... | package com.izforge.izpack.api.data.binding;
import java.util.List;
/**
* Listener entity
*
* @author Anthonin Bonnefoy
*/
public class Listener
{
private String classname;
private Stage stage;
private List<OsModel> osList;
private String jar;
public Listener(String classname, Stage stage,... | Change os constraint to list of os in listener model | Change os constraint to list of os in listener model
| Java | apache-2.0 | maichler/izpack,rkrell/izpack,optotronic/izpack,bradcfisher/izpack,Murdock01/izpack,mtjandra/izpack,codehaus/izpack,optotronic/izpack,Murdock01/izpack,akuhtz/izpack,rsharipov/izpack,codehaus/izpack,codehaus/izpack,tomas-forsman/izpack,rsharipov/izpack,maichler/izpack,stenix71/izpack,mtjandra/izpack,mtjandra/izpack,izpa... |
49906219bd10a7919b9e058e9cc26857788f5dc1 | server/src/net/mueller_martin/turirun/server/TurirunServer.java | server/src/net/mueller_martin/turirun/server/TurirunServer.java | package net.mueller_martin.turirun.server;
import com.esotericsoftware.kryonet.Server;
public class TurirunServer {
public static void main(String[] args) {
System.out.println("Hello, world");
}
}
| package net.mueller_martin.turirun.server;
import java.io.IOException;
import com.esotericsoftware.kryonet.Server;
public class TurirunServer {
public static void main(String[] args) {
try {
Server server = new Server();
server.start();
server.bind(1337, 7331);
}
catch (IOException e) {
// TO DO:... | Implement simple TCP/UDP server with kryonet | Implement simple TCP/UDP server with kryonet
| Java | mit | muellermartin/turirun,muellermartin/turirun,muellermartin/turirun |
711490538b78788d922674944af8811ac1ffb0af | cardshifter-core/src/main/java/com/cardshifter/core/username/UserName.java | cardshifter-core/src/main/java/com/cardshifter/core/username/UserName.java | package com.cardshifter.core.username;
import java.util.*;
/**
* Instances of this class are guaranteed to be valid user names
*/
public class UserName {
private static final int MIN_LENGTH = 1;
private static final int MAX_LENGTH = 20;
private static final Collection<String> reservedNames = Arrays.asL... | package com.cardshifter.core.username;
import java.util.*;
/**
* Instances of this class are guaranteed to be valid user names
*/
public class UserName {
private static final int MIN_LENGTH = 1;
private static final int MAX_LENGTH = 20;
private static final Collection<String> reservedNames = new HashSe... | Use HashSet for reserved user names lookup | Use HashSet for reserved user names lookup
| Java | apache-2.0 | Cardshifter/Cardshifter,Cardshifter/Cardshifter,Cardshifter/Cardshifter,June92/Cardshifter,June92/Cardshifter,SirPython/Cardshifter,June92/Cardshifter,SirPython/Cardshifter,SirPython/Cardshifter |
23b07ee7e556463518185595b3d7384db4949a3e | src/main/java/com/aemreunal/repository/scenario/ScenarioRepo.java | src/main/java/com/aemreunal/repository/scenario/ScenarioRepo.java | package com.aemreunal.repository.scenario;
/*
***************************
* Copyright (c) 2014 *
* *
* This code belongs to: *
* *
* @author Ahmet Emre Ünal *
* S001974 *
* *
* aemreunal@gmail.com *
* emre.unal... | package com.aemreunal.repository.scenario;
/*
***************************
* Copyright (c) 2014 *
* *
* This code belongs to: *
* *
* @author Ahmet Emre Ünal *
* S001974 *
* *
* aemreunal@gmail.com *
* emre.unal... | Add Scenario repo search method | Add Scenario repo search method
| Java | mit | aemreunal/iBeaconServer,aemreunal/iBeaconServer |
e18aea2fc373c2806bc5b8f2926368284dc4250d | src/test/java/com/fluentinterface/BuilderWithAnnotationsTest.java | src/test/java/com/fluentinterface/BuilderWithAnnotationsTest.java | package com.fluentinterface;
import com.fluentinterface.domain.Person;
import org.junit.Test;
import static com.fluentinterface.domain.PersonAnnotatedBuilder.aPerson;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
public class BuilderWithAnnotationsTest {
@Test
public voi... | package com.fluentinterface;
import com.fluentinterface.domain.Person;
import org.junit.Test;
import static com.fluentinterface.domain.PersonAnnotatedBuilder.aPerson;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
public class BuilderWithAnnotationsTest {
@Test
public voi... | Add test for multiple invocations of methods annotated with `@Constructs` | Add test for multiple invocations of methods annotated with `@Constructs`
| Java | mit | davidmarquis/fluent-interface-proxy |
71794482ff529719459afb7c7dd9119f702d9510 | common/src/main/java/io/github/aquerr/eaglefactions/common/util/ModSupport.java | common/src/main/java/io/github/aquerr/eaglefactions/common/util/ModSupport.java | package io.github.aquerr.eaglefactions.common.util;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource;
public class ModSupport
{
/**
* Checks if the given class comes from TechGuns
* @param clazz class to check
* @param <T> ... | package io.github.aquerr.eaglefactions.common.util;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource;
public class ModSupport
{
/**
* Checks if the given class comes from TechGuns
* @param clazz class to check
* @param <T> ... | Add method for checking if class comes from Ancient Warfare | Add method for checking if class comes from Ancient Warfare
| Java | mit | Aquerr/EagleFactions,Aquerr/EagleFactions |
9a9baa7004ecafd8a4fd42c229fd587a6aca42fe | src/main/java/SW9/model_canvas/arrow_heads/SimpleArrowHead.java | src/main/java/SW9/model_canvas/arrow_heads/SimpleArrowHead.java | package SW9.model_canvas.arrow_heads;
import javafx.scene.paint.Color;
import javafx.scene.shape.LineTo;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.Path;
public class SimpleArrowHead extends ArrowHead {
private static final double TRIANGLE_LENGTH = 20d;
private static final double TRIANGLE_W... | package SW9.model_canvas.arrow_heads;
import javafx.scene.paint.Color;
import javafx.scene.shape.*;
public class SimpleArrowHead extends ArrowHead {
private static final double TRIANGLE_LENGTH = 20d;
private static final double TRIANGLE_WIDTH = 15d;
public SimpleArrowHead() {
super();
a... | Refactor simple arrow head to use two lines instead of path | Refactor simple arrow head to use two lines instead of path
| Java | mit | ulriknyman/H-Uppaal |
3208311f61e3cd320914f5c6fbc91b68a8a3648e | sample/src/main/java/com/me/ui/sample/library/config/MePath.java | sample/src/main/java/com/me/ui/sample/library/config/MePath.java | package com.me.ui.sample.library.config;
import com.me.ui.sample.SampleApplicationLike;
import java.io.File;
/**
* @author kylingo on 18/10/11
*/
public class MePath {
public static final String PATH_LOG = getCachePath("log");
private static String getCachePath(String path) {
File cacheDir = Samp... | package com.me.ui.sample.library.config;
import com.me.ui.sample.SampleApplicationLike;
import java.io.File;
/**
* @author kylingo on 18/10/11
*/
public class MePath {
public static final String PATH_LOG = getCachePath("log");
private static String getCachePath(String path) {
File cacheDir = Samp... | Fix Mlog init cache path issue | Fix Mlog init cache path issue
| Java | apache-2.0 | meclub/MeUI |
dbc8555d72f8090efeb5b0562a1cb53ee4ce7db6 | uworkers/source/uworkers/core/endpoint/ParametrizedRequest.java | uworkers/source/uworkers/core/endpoint/ParametrizedRequest.java | package uworkers.core.endpoint;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.TextMessage;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
public class ParametrizedRequest {
final TextMessage message;
final MessageProducer producer;
public ParametrizedRequest... | package uworkers.core.endpoint;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.TextMessage;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@RequiredArgsConstructor
public class ParametrizedRequest {
@NonNu... | Allow developers to inspect sent JMS message | Allow developers to inspect sent JMS message
| Java | apache-2.0 | Skullabs/uWorkers,Skullabs/uWorkers |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.