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 |
|---|---|---|---|---|---|---|---|---|---|
376c9c0ef16ef2ac7d08c05e95806781f5081b18 | src/org/mtransit/android/commons/TaskUtils.java | src/org/mtransit/android/commons/TaskUtils.java | package org.mtransit.android.commons;
import java.util.concurrent.Executor;
import org.mtransit.android.commons.MTLog;
import org.mtransit.android.commons.task.MTAsyncTask;
public final class TaskUtils implements MTLog.Loggable {
private static final String TAG = TaskUtils.class.getSimpleName();
@Override
publi... | package org.mtransit.android.commons;
import java.util.concurrent.Executor;
import org.mtransit.android.commons.MTLog;
import org.mtransit.android.commons.task.MTAsyncTask;
public final class TaskUtils implements MTLog.Loggable {
private static final String TAG = TaskUtils.class.getSimpleName();
@Override
publi... | Add utility method to cancel AsyncTasks quietly. | Add utility method to cancel AsyncTasks quietly.
| Java | apache-2.0 | mtransitapps/commons-android,mtransitapps/commons-android,mtransitapps/commons-android |
2494cfe6a329f028fa8fb2d095f7da5ec34b36b1 | src/cal/TrigoOperator.java | src/cal/TrigoOperator.java | package cal;
public abstract class TrigoOperator extends Operator{
public TrigoOperator(String sign) {
super(sign);
}
}
| package cal;
/**
*
* @author huiming
*
*/
public abstract class TrigoOperator extends Operator{
public TrigoOperator(String sign) {
super(sign);
}
}
| Create a new branch for Java Doc | [Add] Create a new branch for Java Doc
| Java | apache-2.0 | shinypichu88/CS3343-Cal |
8ec73e0fed7c8e31ffbb4d3139b9f0155d147969 | app/src/main/java/com/genymobile/gnirehtet/RelayTunnelProvider.java | app/src/main/java/com/genymobile/gnirehtet/RelayTunnelProvider.java | package com.genymobile.gnirehtet;
import android.net.VpnService;
import java.io.IOException;
/**
* Provide a valid {@link RelayTunnel}, creating a new one if necessary.
*/
public class RelayTunnelProvider {
private final VpnService vpnService;
private RelayTunnel tunnel;
private boolean first;
pu... | package com.genymobile.gnirehtet;
import android.net.VpnService;
import java.io.IOException;
/**
* Provide a valid {@link RelayTunnel}, creating a new one if necessary.
*/
public class RelayTunnelProvider {
private final VpnService vpnService;
private RelayTunnel tunnel;
private boolean first = true;
... | Fix tunnel provider connection temporization | Fix tunnel provider connection temporization
The mechanism to wait several seconds between connection attempts to
provide a tunnel to PersistentRelayTunnel was totally broken.
Fix it to wait 5 seconds only before creating a new tunnel, except the
very first time.
| Java | apache-2.0 | Genymobile/gnirehtet,JonnyShuali/gnirehtet,WPO-Foundation/gnirehtet,Genymobile/gnirehtet,Genymobile/gnirehtet,WPO-Foundation/gnirehtet,WPO-Foundation/gnirehtet,WPO-Foundation/gnirehtet,JonnyShuali/gnirehtet |
7ba5912d1ba7be0d895ce4afb2438dcf11e69929 | rsf-core/ponderutilcore/src/uk/org/ponder/htmlutil/HTMLConstants.java | rsf-core/ponderutilcore/src/uk/org/ponder/htmlutil/HTMLConstants.java | /*
* Created on 28-Jan-2006
*/
package uk.org.ponder.htmlutil;
public class HTMLConstants {
public static final String JS_BLOCK_START = "\n//<![CDATA[\n";
public static final String JS_BLOCK_END = "\n//]]>\n";
public static String[][] tagtoURL = {
{"href", "<a ", "<link "},
{"src", "<img ", "<frame... | /*
* Created on 28-Jan-2006
*/
package uk.org.ponder.htmlutil;
public class HTMLConstants {
public static final String JS_BLOCK_START = "\n//<![CDATA[\n";
public static final String JS_BLOCK_END = "\n//]]>\n";
public static String[][] tagtoURL = {
{"href", "<a ", "<link "},
{"src", "<img ", "<frame... | Support for rewriting of collateral URLs for components, support for <embed> | Support for rewriting of collateral URLs for components, support for <embed>
| Java | bsd-3-clause | ern/rsf,ern/rsf,ern/rsf |
0c154156f981b66f104973c9fc3d5d59d046d1ca | src/main/java/com/lyubenblagoev/postfixrest/FileUtils.java | src/main/java/com/lyubenblagoev/postfixrest/FileUtils.java | package com.lyubenblagoev.postfixrest;
import java.io.File;
import org.assertj.core.util.Files;
public final class FileUtils {
private FileUtils() {
// Prevent class instantiation
}
public static boolean renameFolder(File parentFolder, String oldName, String newName) {
File oldFolder = new File(parentFolde... | package com.lyubenblagoev.postfixrest;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class FileUtils {
private static final Logger log = LoggerFactory.getLogg... | Use java.nio.files.Files to rename and delete folders | Use java.nio.files.Files to rename and delete folders
| Java | apache-2.0 | lyubenblagoev/postfix-rest-server |
7ee2effe1e45b5aa6ac576a34089fcca23d60369 | src/main/java/me/ycdev/androidlib/utils/DateTimeUtils.java | src/main/java/me/ycdev/androidlib/utils/DateTimeUtils.java | package me.ycdev.androidlib.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class DateTimeUtils {
/**
* Generate file name from system time in the format "yyyyMMdd-HHmmss-SSS",
* @param sysTime System time in milliseconds
*/
public static String ... | package me.ycdev.androidlib.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class DateTimeUtils {
/**
* Generate file name from system time in the format "yyyyMMdd-HHmmss-SSS",
* @param sysTime System time in milliseconds
*/
public static String ... | Add time usage string utils | [master] change: Add time usage string utils
Change-Id: I6778b09355b4611a3ca61fe66108fa4ec0a455e4
| Java | apache-2.0 | yongce/AndroidLib,yongce/AndroidLib |
13d5ba1e887e0c9520c7f30b08a740fc7529427c | src/main/java/com/wyverngame/rmi/api/method/GetBattleRanksMethod.java | src/main/java/com/wyverngame/rmi/api/method/GetBattleRanksMethod.java | package com.wyverngame.rmi.api.method;
import java.rmi.RemoteException;
import java.util.Map;
import com.wyverngame.rmi.api.RMIClient;
import com.wyverngame.rmi.api.http.Request;
import com.wyverngame.rmi.api.response.BattleRanksResponse;
public final class GetBattleRanksMethod extends Method<BattleRanksResponse> {
... | package com.wyverngame.rmi.api.method;
import java.rmi.RemoteException;
import java.util.Map;
import com.wyverngame.rmi.api.RMIClient;
import com.wyverngame.rmi.api.http.Request;
import com.wyverngame.rmi.api.response.BattleRanksResponse;
public final class GetBattleRanksMethod extends Method<BattleRanksResponse> {
... | Update battle ranks cap to 10. | Update battle ranks cap to 10.
| Java | mit | jonathanedgecombe/wu-json-rmi-api |
91631701f44c9aeb995708fdbe37f1687dba1b1f | xstream/src/java/com/thoughtworks/xstream/core/util/FastStack.java | xstream/src/java/com/thoughtworks/xstream/core/util/FastStack.java | package com.thoughtworks.xstream.core.util;
public final class FastStack {
private Object[] stack;
private int pointer;
public FastStack(int initialCapacity) {
stack = new Object[initialCapacity];
}
public Object push(Object value) {
if (pointer + 1 >= stack.length) {
... | package com.thoughtworks.xstream.core.util;
public final class FastStack {
private Object[] stack;
private int pointer;
public FastStack(int initialCapacity) {
stack = new Object[initialCapacity];
}
public Object push(Object value) {
if (pointer + 1 >= stack.length) {
... | Drop unnecessary reference to popped elements to allow finalization through GC (XSTR-264). | Drop unnecessary reference to popped elements to allow finalization through GC (XSTR-264). | Java | bsd-3-clause | codehaus/xstream,codehaus/xstream |
d4385bf9dbb81418302a15a75eaeb928b4903419 | src/main/java/org/lesscss4j/model/expression/LiteralExpression.java | src/main/java/org/lesscss4j/model/expression/LiteralExpression.java | /**
* File: ConstantExpression.java
*
* Author: David Hay (dhay@localmatters.com)
* Creation Date: Apr 22, 2010
* Creation Time: 4:11:11 PM
*
* Copyright 2010 Local Matters, Inc.
* All Rights Reserved
*
* Last checkin:
* $Author$
* $Revision$
* $Date$
*/
package org.lesscss4j.model.expression;
import ... | /**
* File: ConstantExpression.java
*
* Author: David Hay (dhay@localmatters.com)
* Creation Date: Apr 22, 2010
* Creation Time: 4:11:11 PM
*
* Copyright 2010 Local Matters, Inc.
* All Rights Reserved
*
* Last checkin:
* $Author$
* $Revision$
* $Date$
*/
package org.lesscss4j.model.expression;
import ... | Copy the type in the copy constructor. | Copy the type in the copy constructor.
git-svn-id: 2eebe84b5b32eb059849d530d3c549d0da009da8@126243 cb919951-1609-0410-8833-993d306c94f7
| Java | apache-2.0 | localmatters/lesscss4j,localmatters/lesscss4j |
9af11b58ab08b04c1fb56f87072b5fb47d6d8ec4 | gs-reactor/src/main/java/org/genericsystem/reactor/gs/GSHeader.java | gs-reactor/src/main/java/org/genericsystem/reactor/gs/GSHeader.java | package org.genericsystem.reactor.gs;
import org.genericsystem.reactor.Tag;
import org.genericsystem.reactor.gs.GSSubcellDisplayer.TagConstructor;
public class GSHeader extends GSDiv {
public GSHeader(Tag parent, String string, TagConstructor tag1, String string1, TagConstructor tag2, String string2) {
super(pare... | package org.genericsystem.reactor.gs;
import org.genericsystem.reactor.Tag;
import org.genericsystem.reactor.gs.GSSubcellDisplayer.TagConstructor;
public class GSHeader extends GSDiv {
public GSHeader(Tag parent, String string, TagConstructor tag1, String string1, TagConstructor tag2, String string2) {
super(pare... | Add shadow to application title | Add shadow to application title | Java | apache-2.0 | genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015 |
642e488a3ed9705fc2fb3a53973a591fbfc24a97 | src/main/java/amu/zhcet/CoreApplication.java | src/main/java/amu/zhcet/CoreApplication.java | package amu.zhcet;
import amu.zhcet.email.EmailProperties;
import amu.zhcet.firebase.FirebaseProperties;
import amu.zhcet.security.SecureProperties;
import amu.zhcet.storage.StorageProperties;
import io.sentry.Sentry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.Spri... | package amu.zhcet;
import amu.zhcet.email.EmailProperties;
import amu.zhcet.firebase.FirebaseProperties;
import amu.zhcet.security.SecureProperties;
import amu.zhcet.storage.StorageProperties;
import io.sentry.Sentry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.Spri... | Enable deferred bootstrap mode for JPA | feat: Enable deferred bootstrap mode for JPA
Fixes #250
| Java | apache-2.0 | zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web |
5c377c135fd84c25363c9b086a4fce061551c4bb | src/main/java/seedu/address/ui/TaskCard.java | src/main/java/seedu/address/ui/TaskCard.java | package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import seedu.address.model.task.ReadOnlyTask;
public class TaskCard extends UiPart<Region> {
private static final String F... | package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import seedu.address.model.task.ReadOnlyTask;
public class TaskCard extends UiPart<Region> {
private static final String F... | Fix junit - By removing retarded stuffs from taskcard class | Fix junit - By removing retarded stuffs from taskcard class
| Java | mit | CS2103JAN2017-W09-B4/main,CS2103JAN2017-W09-B4/main |
596e291eb4d9512349c2441dd8de8f34ace44871 | mobile/src/main/java/com/alexstyl/specialdates/events/EventType.java | mobile/src/main/java/com/alexstyl/specialdates/events/EventType.java | package com.alexstyl.specialdates.events;
import android.support.annotation.ColorRes;
import android.support.annotation.StringRes;
import com.alexstyl.specialdates.R;
import java.util.HashMap;
import java.util.Map;
public enum EventType {
BIRTHDAY(EventColumns.TYPE_BIRTHDAY, R.string.birthday, R.color.birthday_... | package com.alexstyl.specialdates.events;
import android.support.annotation.ColorRes;
import android.support.annotation.StringRes;
import com.alexstyl.specialdates.R;
import java.util.HashMap;
import java.util.Map;
public enum EventType {
BIRTHDAY(EventColumns.TYPE_BIRTHDAY, R.string.birthday, R.color.birthday_... | Move fields to top and give explicit name to id | Move fields to top and give explicit name to id
| Java | mit | alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar |
f2a5b3dc9728656e398fe03dac8cd491ec914e87 | src/test/java/io/github/bonigarcia/seljup/test/forced/ForcedOperaJupiterTest.java | src/test/java/io/github/bonigarcia/seljup/test/forced/ForcedOperaJupiterTest.java | /*
* (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | /*
* (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Remove assertion in forced Opera test | Remove assertion in forced Opera test
| Java | apache-2.0 | bonigarcia/selenium-jupiter,bonigarcia/selenium-jupiter |
39d39343275ce44261509fc2c4710ee73f388fed | android_mobile/src/main/java/com/alexstyl/specialdates/search/BackKeyEditText.java | android_mobile/src/main/java/com/alexstyl/specialdates/search/BackKeyEditText.java | package com.alexstyl.specialdates.search;
import android.content.Context;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.widget.EditText;
public class BackKeyEditText extends android.support.v7.widget.AppCompatEditText {
public BackKeyEditText(Context context, AttributeSet attrs) {... | package com.alexstyl.specialdates.search;
import android.content.Context;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.widget.EditText;
public class BackKeyEditText extends EditText {
public BackKeyEditText(Context context, AttributeSet attrs) {
super(context, attrs);
... | Extend EditText instead of AppCompatEditText | Extend EditText instead of AppCompatEditText
| Java | mit | alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,auricgoldfinger/Memento-Namedays |
5590899048164dbd892265dfabb5b061845909e7 | src/com/activeandroid/widget/ModelAdapter.java | src/com/activeandroid/widget/ModelAdapter.java | package com.activeandroid.widget;
import java.util.List;
import android.content.Context;
import android.widget.ArrayAdapter;
import com.activeandroid.Model;
public class ModelAdapter<T extends Model> extends ArrayAdapter<T> {
public ModelAdapter(Context context, int textViewResourceId) {
super(context, textView... | package com.activeandroid.widget;
import java.util.Collection;
import java.util.List;
import android.content.Context;
import android.widget.ArrayAdapter;
import com.activeandroid.Model;
public class ModelAdapter<T extends Model> extends ArrayAdapter<T> {
public ModelAdapter(Context context, int textViewResourceId)... | Format police. getItemId() fails silently. setData conforms to Android standard. | Format police. getItemId() fails silently. setData conforms to Android standard.
| Java | mit | Alanyanbc/sharebook,Alanyanbc/sharebook |
375845feb58eb17fe05b02b3e3ce90c9c703f6f7 | src/test/org/apache/lucene/TestAssertions.java | src/test/org/apache/lucene/TestAssertions.java | package org.apache.lucene;
/**
* 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... | package org.apache.lucene;
/**
* 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... | Add also the opposite assert statement | LUCENE-1769: Add also the opposite assert statement
git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@891907 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr |
14afa9a17f694648516b88f759c715c215b5fed3 | ds3-autogen-c/src/test/java/com/spectralogic/ds3autogen/c/Type_Test.java | ds3-autogen-c/src/test/java/com/spectralogic/ds3autogen/c/Type_Test.java | /*
package com.spectralogic.ds3autogen.c;
import com.spectralogic.ds3autogen.c.models.Element;
import org.junit.Test;
import java.text.ParseException;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
public class Type_Test {
@Test
public void testElementTypeAr... | package com.spectralogic.ds3autogen.c;
import com.google.common.collect.ImmutableList;
import com.spectralogic.ds3autogen.api.models.Ds3Element;
import com.spectralogic.ds3autogen.c.models.Type;
import org.junit.Test;
import java.text.ParseException;
import static org.hamcrest.CoreMatchers.is;
import static org.hamc... | Add a few tests for ds3_autogen_c::Type | Add a few tests for ds3_autogen_c::Type
| Java | apache-2.0 | RachelTucker/ds3_autogen,DenverM80/ds3_autogen,RachelTucker/ds3_autogen,SpectraLogic/ds3_autogen,DenverM80/ds3_autogen,SpectraLogic/ds3_autogen,rpmoore/ds3_autogen |
1831a6ef4505263e62fdcdf9c834ab02c61a4548 | ode/app/controllers/Application.java | ode/app/controllers/Application.java | package controllers;
import play.*;
import play.data.*;
import play.mvc.*;
import views.html.*;
import static play.data.Form.*;
public class Application extends Controller {
public static Result home() {
return ok(home.render("Hi! This is Ode."));
}
public static Result login() {
retu... | package controllers;
import play.*;
import play.data.*;
import play.mvc.*;
import views.html.*;
import static play.data.Form.*;
public class Application extends Controller {
public static Result home() {
return ok(home.render("Hi! This is Ode."));
}
public static Result login() {
retu... | Establish new session upon login. | Establish new session upon login.
| Java | agpl-3.0 | itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE |
2f83046d27dd64aa53c4ca562bd8ba04a81afc3c | src/test/java/com/bishnet/cucumber/parallel/runtime/FakeCucumberRuntimeFactory.java | src/test/java/com/bishnet/cucumber/parallel/runtime/FakeCucumberRuntimeFactory.java | package com.bishnet.cucumber.parallel.runtime;
import java.util.ArrayList;
import java.util.List;
import cucumber.runtime.ClassFinder;
import cucumber.runtime.Runtime;
import cucumber.runtime.RuntimeOptions;
import cucumber.runtime.io.MultiLoader;
import cucumber.runtime.io.ResourceLoader;
import cucumber.runtime.io.... | package com.bishnet.cucumber.parallel.runtime;
import java.util.ArrayList;
import java.util.List;
import cucumber.runtime.ClassFinder;
import cucumber.runtime.Runtime;
import cucumber.runtime.RuntimeOptions;
import cucumber.runtime.io.MultiLoader;
import cucumber.runtime.io.ResourceLoader;
import cucumber.runtime.io.... | Fix race condition in test. | Fix race condition in test.
It must not be possible for two threads to get a runtime at the same
time as this breaks the invocation tracking and associated canned
responses. Synchronizing the get of the runtime prevents this happening. | Java | mit | djb61/parallel-cucumber-jvm,djb61/parallel-cucumber-jvm,djb61/parallel-cucumber-jvm |
f7fbdeb50272687557df0b9ab4b5618bb321d2a0 | src/main/java/com/vmware/connection/helpers/BaseHelper.java | src/main/java/com/vmware/connection/helpers/BaseHelper.java | /*
* *****************************************************
* Copyright VMware, Inc. 2010-2012. All Rights Reserved.
* *****************************************************
*
* DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT
* WARRANTIES OR CONDITIONS # OF ANY KIND, WHETHER ORAL OR WRITTEN,
* ... | /*
* *****************************************************
* Copyright VMware, Inc. 2010-2012. All Rights Reserved.
* *****************************************************
*
* DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT
* WARRANTIES OR CONDITIONS # OF ANY KIND, WHETHER ORAL OR WRITTEN,
* ... | Remove call to the method connect() on the connection | Remove call to the method connect() on the connection
| Java | apache-2.0 | boundary/boundary-vmware |
6a47ec2e42a794ac60d244d0952030d2b12c1a19 | client-common/src/main/java/org/realityforge/replicant/client/ChannelDescriptor.java | client-common/src/main/java/org/realityforge/replicant/client/ChannelDescriptor.java | package org.realityforge.replicant.client;
import java.util.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
public final class ChannelDescriptor
{
@Nonnull
private final Enum _graph;
@Nullable
private final Object _id;
public ChannelDescriptor( @Nonnull final Enum graph )
{
... | package org.realityforge.replicant.client;
import java.util.Objects;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
public final class ChannelDescriptor
{
@Nonnull
private final Enum _graph;
@Nullable
private final Object _id;
public ChannelDescriptor( @Nonnull final Enum graph )
{
... | Increase the level of debugging by outputting system as well | Increase the level of debugging by outputting system as well
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
b2ee30caba30bda76c347a2496da73e4c398888b | java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java | java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java | /*
Copyright 2010 WebDriver committers
Copyright 2010 Google Inc.
Portions copyright 2011 Software Freedom Conservatory
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.apac... | /*
Copyright 2010 WebDriver committers
Copyright 2010 Google Inc.
Portions copyright 2011 Software Freedom Conservatory
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.apac... | Allow running the Android tests on a real device by specifying the external IP of the in-process test server. | EranMes: Allow running the Android tests on a real device by specifying the external IP of the in-process test server.
git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@14991 07704840-8298-11de-bf8c-fd130f914ac9
| Java | apache-2.0 | winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1 |
e09fdd2b246685961f4cd9e8ead14486c01c6c5c | src/main/java/JniUtil.java | src/main/java/JniUtil.java | /*
* Copyright 2020 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | /*
* Copyright 2020 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | Allow to generate javadocs so the release will not fail | Allow to generate javadocs so the release will not fail
| Java | apache-2.0 | netty/netty-jni-util,netty/netty-jni-util,netty/netty-jni-util |
7141b74db3902db7e9a63e6dd942c39f39074292 | src/main/java/org/lantern/LanternXmppUtils.java | src/main/java/org/lantern/LanternXmppUtils.java | package org.lantern;
import org.apache.commons.lang3.StringUtils;
public class LanternXmppUtils {
/** This is misspelled -- use jidToResourceId */
@Deprecated
public static String jidToInstanceId(final String fullId) {
return fullId.split("/", 2)[1];
}
public static String jidToResource... | package org.lantern;
import org.apache.commons.lang3.StringUtils;
public class LanternXmppUtils {
public static String jidToResourceId(final String fullId) {
return fullId.split("/", 2)[1];
}
public static boolean isLanternJid(final String from) {
// Here's the format we're looking for:... | Normalize emails when extracting them from the jid. | Normalize emails when extracting them from the jid.
This seems to have been the intention before, since it was being
folded to lowercase.
| Java | apache-2.0 | getlantern/lantern-common |
3ad0c47400f66a4f223577ed5b574b45a7ae7721 | app/src/main/java/com/khmelenko/lab/travisclient/fragment/LicensesDialogFragment.java | app/src/main/java/com/khmelenko/lab/travisclient/fragment/LicensesDialogFragment.java | package com.khmelenko.lab.travisclient.fragment;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import android.webkit.WebView;
import com.khmele... | package com.khmelenko.lab.travisclient.fragment;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import android.webkit.WebView;
import com.khmele... | Update the style of the dialog with open source licenses | Update the style of the dialog with open source licenses
| Java | apache-2.0 | dkhmelenko/Varis-Android,brave-warrior/TravisClient-Android,dkhmelenko/Varis-Android,DreierF/TravisClient-Android,DreierF/TravisClient-Android,dkhmelenko/TravisClient-Android,dkhmelenko/TravisClient-Android,brave-warrior/TravisClient_Android,brave-warrior/TravisClient_Android,brave-warrior/TravisClient-Android,dkhmelen... |
2d87735f5d21db83d95bf2f7b045fb05170adc00 | src/test/java/AppTest.java | src/test/java/AppTest.java | import org.fluentlenium.adapter.FluentTest;
import org.junit.ClassRule;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.junit.Rule;
import static org.assertj.core.api.Assertions.assertThat;
import static org.fluentlenium.core.filter.FilterCons... | import org.fluentlenium.adapter.FluentTest;
import org.junit.ClassRule;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.junit.Rule;
import static org.assertj.core.api.Assertions.assertThat;
import static org.fluentlenium.core.filter.FilterCons... | Add Integration test to ensure new stylists are displaying. | Add Integration test to ensure new stylists are displaying.
| Java | mit | kcmdouglas/Hair-Salon |
8d2db7fce0b6eaa9c5ed7b1c64347fa9d99bb869 | cheddar/cheddar-rest/src/main/java/com/clicktravel/cheddar/rest/media/MediaTypes.java | cheddar/cheddar-rest/src/main/java/com/clicktravel/cheddar/rest/media/MediaTypes.java | /*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | /*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Revert "Add MediaType for CDM" | Revert "Add MediaType for CDM"
This reverts commit eaf85e1597ad78baba3a2a4a55ae0081f0acd582.
Signed-off-by: Steffan Westcott <f3c2708f096cd7bd1163d9748b17f6e154c59391@clicktravel.com>
| Java | apache-2.0 | ClickTravel-VincentCleaver/Cheddar,clicktravel-tajinder/Cheddar,clicktravel-chrishern/Cheddar,clicktravel-basharat/Cheddar,clicktravel-jag/Cheddar,clicktravel-andrew/Cheddar,ClickTravel/Cheddar,clicktravel-james/Cheddar,clicktravel-robin/Cheddar,travel-cloud/Cheddar,clicktravel-craig/Cheddar,click-alexvladut/Cheddar,cl... |
dc978c140f7905aa7604a346baea53a3be6ec0de | src/test/java/net/sf/jabref/logic/AuthorListTest.java | src/test/java/net/sf/jabref/logic/AuthorListTest.java | package net.sf.jabref.logic;
import net.sf.jabref.export.layout.format.CreateDocBookAuthors;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class AuthorListTest {
@Test
public void authorListTest() {
String authorString = "Olaf von Nilsen, Jr.";
AuthorList authorL... | package net.sf.jabref.logic;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class AuthorListTest {
@Ignore
@Test
public void authorListTest() {
String authorString = "Olaf von Nilsen, Jr.";
AuthorList authorList = AuthorList.getAuthorL... | Fix and disable AuthorList test case | Fix and disable AuthorList test case
The parsing logic in AuthorList.Author is broken and also terribly written (Even Intellij complains that it is too complex for its dataflow analyzer). Until somebody has the will to fix this, there is no point in executing this test.
| Java | mit | JabRef/jabref,jhshinn/jabref,mredaelli/jabref,Mr-DLib/jabref,jhshinn/jabref,ayanai1/jabref,mredaelli/jabref,Siedlerchr/jabref,zellerdev/jabref,Mr-DLib/jabref,grimes2/jabref,tschechlovdev/jabref,oscargus/jabref,Braunch/jabref,Braunch/jabref,bartsch-dev/jabref,tschechlovdev/jabref,mairdl/jabref,motokito/jabref,jhshinn/ja... |
13ed07b1db3a73c8eed010b0fe6675013166ed6a | javascript/src/com/google/idea/blaze/typescript/TypeScriptBlazeRules.java | javascript/src/com/google/idea/blaze/typescript/TypeScriptBlazeRules.java | /*
* Copyright 2018 The Bazel Authors. 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 a... | /*
* Copyright 2018 The Bazel Authors. 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 a... | Add `ts_declaration` to the target kinds for the Intellij TypeScript kind provider. | Add `ts_declaration` to the target kinds for the Intellij TypeScript kind provider.
PiperOrigin-RevId: 443097363
| Java | apache-2.0 | bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij |
6ce92964847c7668654a2caae70b8df936bac8c2 | src/core/src/main/java/org/geogit/api/plumbing/merge/ConflictsReadOp.java | src/core/src/main/java/org/geogit/api/plumbing/merge/ConflictsReadOp.java | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.api.plumbing.merge;
import java.net.URL;
import java.util.Collections;
import java.util.List;
import org.geogit.api.AbstractGeoGitOp;
import... | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.api.plumbing.merge;
import java.net.URL;
import java.util.List;
import org.geogit.api.AbstractGeoGitOp;
import org.geogit.api.plumbing.Resol... | Remove unneeded call to StagingDatabase.open() | Remove unneeded call to StagingDatabase.open()
| Java | bsd-3-clause | markles/GeoGit,annacarol/GeoGig,markles/GeoGit,annacarol/GeoGig,boundlessgeo/GeoGig,markles/GeoGit,markles/GeoGit,boundlessgeo/GeoGig,markles/GeoGit,boundlessgeo/GeoGig,annacarol/GeoGig |
756e072fbdafe71e54643bbdab3668cae0988d25 | dgcj/TemplateDgcjMain.java | dgcj/TemplateDgcjMain.java | package dgcj;
public class TemplateDgcjMain {
static final Object PROBLEM = new TemplateDgcjProblem(); // PROBLEM NAME goes here
public String run() {
// long n = ;
// long from = 1L * n * ID / NODES;
// long to = 1L * n * (ID + 1) / NODES;
return null;
}
final static boolean SINGLE = false;
final int NOD... | package dgcj;
public class TemplateDgcjMain {
static final Object PROBLEM = new TemplateDgcjProblem(); // PROBLEM NAME goes here
public String run() {
// long n = ;
// long from = 1L * n * ID / NODES;
// long to = 1L * n * (ID + 1) / NODES;
return null;
}
static int NODES;
static int ID;
/**
* Argumen... | Update infrastructure for single node run | Update infrastructure for single node run
| Java | unlicense | mikhail-dvorkin/competitions-distributed,mikhail-dvorkin/competitions-distributed |
846e0013adb5653428e34d1e875e0bd3cc8351f5 | src/test/java/ciir/jfoley/chai/collections/iters/GroupByIteratorTest.java | src/test/java/ciir/jfoley/chai/collections/iters/GroupByIteratorTest.java | package ciir.jfoley.chai.collections.iters;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
/**
* @author jfoley
*/
public class GroupByIteratorTest {
@Test
public void testLazyGroupBy() {
List<Integer> data = Arrays.asList(3,3,3,2,2,1,4... | package ciir.jfoley.chai.collections.iters;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
/**
* @author jfoley
*/
public class GroupByIteratorTest {
@Test
public void testLazyGroupBy() {
List<Integer> data = Arrays.asList(
3,3,... | Clarify input data for test | Clarify input data for test
| Java | bsd-3-clause | jjfiv/chai |
ba3ca3df48c70f09b356bd41372ff6cf3fc89d5c | AutoRest/Generators/Java/Java.Tests/src/test/java/fixtures/report/CoverageReporter.java | AutoRest/Generators/Java/Java.Tests/src/test/java/fixtures/report/CoverageReporter.java | package fixtures.report;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public final class CoverageReporter {
private static AutoRestReportService client = new AutoRestReportServiceImpl("http://localhost:3000");
private CoverageReporter() { }
public static void main(String[] ar... | package fixtures.report;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public final class CoverageReporter {
private static AutoRestReportService client = new AutoRestReportServiceImpl("http://localhost:3000");
private CoverageReporter() { }
public static void main(String[] ar... | Remove entry from coverage reporter | Remove entry from coverage reporter
| Java | mit | devigned/autorest,dsgouda/autorest,balajikris/autorest,yugangw-msft/autorest,yugangw-msft/autorest,jianghaolu/AutoRest,annatisch/autorest,veronicagg/autorest,veronicagg/autorest,sergey-shandar/autorest,AzCiS/autorest,devigned/autorest,tbombach/autorest,yaqiyang/autorest,amarzavery/AutoRest,brodyberg/autorest,yaqiyang/a... |
25f71e81f11161e409a2ab280677c2495d65c242 | PluginAPI/src/main/java/me/footlights/plugin/ModifiablePreferences.java | PluginAPI/src/main/java/me/footlights/plugin/ModifiablePreferences.java | package me.footlights.plugin;
public interface ModifiablePreferences extends Preferences
{
public Preferences set(String key, String value);
public Preferences set(String key, boolean value);
public Preferences set(String key, int value);
public Preferences set(String key, float value);
}
| /*
* Copyright 2011 Jonathan Anderson
*
* 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... | Add missing copyright notice and description. | Add missing copyright notice and description. | Java | apache-2.0 | nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,trombonehero/Footlights |
32cf00fc4c63d76927810111a4b4cac08e9cbef1 | app/src/main/java/io/github/hidroh/materialistic/TrackableActivity.java | app/src/main/java/io/github/hidroh/materialistic/TrackableActivity.java | package io.github.hidroh.materialistic;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import com.google.android.gms.analytics.GoogleAnalytics;
public abstract class TrackableActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... | package io.github.hidroh.materialistic;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.analytics.GoogleAnalytics;
public abstract class TrackableActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... | Switch from deprecated ActionBarActivity to AppCompatActivity | Switch from deprecated ActionBarActivity to AppCompatActivity
| Java | apache-2.0 | launk/materialistic,hidroh/materialistic,0359xiaodong/materialistic,rahobbs/materialistic,hidroh/materialistic,nicewarm/materialistic,huangxueqiang/materialistic,hidroh/materialistic,hidroh/materialistic,hidroh/materialistic |
e88c22d817b2688f22daf996e15e686be7d17f6c | com.trollworks.gcs/src/com/trollworks/gcs/expression/function/Roll.java | com.trollworks.gcs/src/com/trollworks/gcs/expression/function/Roll.java | /*
* Copyright ©1998-2021 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, version 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompat... | /*
* Copyright ©1998-2021 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, version 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompat... | Allow expressions like roll(dice(1, 4, 1)) to work | Allow expressions like roll(dice(1, 4, 1)) to work
| Java | mpl-2.0 | richardwilkes/gcs,richardwilkes/gcs |
5cd4f1e2df23137d7eb9bf42e94a981d17f82678 | napkin/src/main/java/com/github/aleksandermielczarek/napkin/Napkin.java | napkin/src/main/java/com/github/aleksandermielczarek/napkin/Napkin.java | package com.github.aleksandermielczarek.napkin;
import android.content.Context;
import android.support.v4.app.Fragment;
/**
* Created by Aleksander Mielczarek on 14.05.2016.
*/
public class Napkin {
private Napkin() {
}
public static <T> T provideComponent(Object object) {
ComponentProvider<T... | package com.github.aleksandermielczarek.napkin;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.view.View;
/**
* Created by Aleksander Mielczarek on 14.05.2016.
*/
public class Napkin {
private Napkin() {
}
@SuppressWarnings("unchecked")
public static <T> T ... | Allow to retrieve component from View | Allow to retrieve component from View
| Java | apache-2.0 | AleksanderMielczarek/Napkin |
0abfcd5c08d3e9a18ed476d5c006bf7506b9422f | core/src/main/java/org/javarosa/xpath/parser/ast/ASTNodeFilterExpr.java | core/src/main/java/org/javarosa/xpath/parser/ast/ASTNodeFilterExpr.java | /*
* Copyright (C) 2009 JavaRosa
*
* 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 ... | package org.javarosa.xpath.parser.ast;
import org.javarosa.xpath.expr.XPathExpression;
import org.javarosa.xpath.expr.XPathFilterExpr;
import org.javarosa.xpath.parser.XPathSyntaxException;
import java.util.Enumeration;
import java.util.Vector;
public class ASTNodeFilterExpr extends ASTNode {
public ASTNodeAbstr... | Add override and remove licensing comment | Add override and remove licensing comment
| Java | apache-2.0 | dimagi/javarosa,dimagi/javarosa,dimagi/javarosa |
c2d2b001192dff58a0d98d7a606cd9b8d5ae17a6 | granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java | granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java | package org.granite.classification.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.TreeSet;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TrainingText implements Comparable<TrainingText> {
private int id;
private TreeSet<String> classifications = new TreeSet<>... | package org.granite.classification.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.TreeSet;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TrainingText implements Comparable<TrainingText> {
private int id;
private TreeSet<String> classifications = new TreeSet<>... | Remove set requirement in training text class constructor | Remove set requirement in training text class constructor
| Java | apache-2.0 | CBrophy/granite-classification |
780be281d8bc76b60b86118cd53b0d2e6820d1f7 | dtdinst/src/com/thaiopensource/xml/dtd/app/Driver.java | dtdinst/src/com/thaiopensource/xml/dtd/app/Driver.java | package com.thaiopensource.xml.dtd.app;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import com.thaiopensource.xml.out.CharRepertoire;
import com.thaiopensource.xml.out.XmlWriter;
import com.thaiopensource.xml.util.EncodingMap;
import com.thaiopensource.xml.dtd.om.DtdP... | package com.thaiopensource.xml.dtd.app;
import java.io.IOException;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import com.thaiopensource.xml.out.CharRepertoire;
import com.thaiopensource.xml.out.XmlWriter;
import com.thaiopensource.xml.util.EncodingMap;
import com.thaiopensource.xml.dtd.om.DtdP... | Call RelaxNgWriter as a temporary hack. | Call RelaxNgWriter as a temporary hack.
| Java | bsd-3-clause | webhost/jing-trang,webhost/jing-trang,webhost/jing-trang |
91a03a93ca7575e79e17f52618f5705c66d5f144 | src/net/happygiraffe/jslint/Main.java | src/net/happygiraffe/jslint/Main.java | package net.happygiraffe.jslint;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
/**
* A command line interface to {@link JSLint}.
*
* @author dom
* @version $Id$
*/
public class Main {
/**
* The main e... | package net.happygiraffe.jslint;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
/**
* A command line interface to {@link JSLint}.
*
* @author dom
* @version $Id$
*/
public c... | Print out a file not found message instead of blowing up. | Print out a file not found message instead of blowing up.
| Java | bsd-2-clause | llwanghong/jslint4java,nikgoodley-ibboost/jslint4java,llwanghong/jslint4java,rsingla/jslint4java,mmayorivera/jslint4java,nikgoodley-ibboost/jslint4java,rsingla/jslint4java,rsingla/jslint4java,rsingla/jslint4java,mmayorivera/jslint4java,mmayorivera/jslint4java,llwanghong/jslint4java,llwanghong/jslint4java,nikgoodley-ibb... |
50a3156edce1243e6de7c4c2dc5d7a8cd1efa40a | junit5-parameterized/src/test/java/io/github/bonigarcia/CustomNamesParameterizedTest.java | junit5-parameterized/src/test/java/io/github/bonigarcia/CustomNamesParameterizedTest.java | /*
* (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | /*
* (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Update parameterized test with custom display name | Update parameterized test with custom display name
| Java | apache-2.0 | bonigarcia/mastering-junit5,bonigarcia/mastering-junit5 |
f9030469b473860293a2f008f7e254933e797520 | app/src/main/java/ca/etsmtl/applets/etsmobile/util/CourseComparator.java | app/src/main/java/ca/etsmtl/applets/etsmobile/util/CourseComparator.java | package ca.etsmtl.applets.etsmobile.util;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import java.util.Comparator;
import ca.etsmtl.applets.etsmobile.model.Moodle.MoodleCourse;
import ca.etsmtl.applets.etsmobile.model.Moodle.MoodleCourses;... | package ca.etsmtl.applets.etsmobile.util;
import java.util.Comparator;
import ca.etsmtl.applets.etsmobile.model.Moodle.MoodleCourse;
/**
* Created by Steven on 2016-01-14.
*/
public class CourseComparator implements Comparator<MoodleCourse> {
@Override
public int compare(MoodleCourse course1, MoodleCourse... | Return 0 if a shortname equals to "cu.l" | Return 0 if a shortname equals to "cu.l"
"cu.l" can't be converted to double
| Java | apache-2.0 | ApplETS/ETSMobile-Android2,ApplETS/ETSMobile-Android2 |
b0c8c151aaab98c76f5396b93f4b2d8ef2aba40b | PennMobile/src/main/java/com/pennapps/labs/pennmobile/api/DiningAPI.java | PennMobile/src/main/java/com/pennapps/labs/pennmobile/api/DiningAPI.java | package com.pennapps.labs.pennmobile.api;
public class DiningAPI extends API {
public DiningAPI() {
super();
BASE_URL = "https://37922702.ngrok.com/";
}
}
| package com.pennapps.labs.pennmobile.api;
import android.util.Log;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import java.io.IOException;
public class DiningAPI extends API {
public... | Update Dining API URL and add URL methods | Update Dining API URL and add URL methods
| Java | mit | pennlabs/penn-mobile-android,pennlabs/penn-mobile-android,pennlabs/penn-mobile-android |
6b3846f61836132e048cebba184535a694583053 | src/main/java/com/mudalov/safe/impl/SafeCommands.java | src/main/java/com/mudalov/safe/impl/SafeCommands.java | package com.mudalov.safe.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.locks.ReentrantLock;
/**
* API Entry point, links commands and execution contexts
*
* User: mudalov
* Date: 22/01/15
* Time: 23... | package com.mudalov.safe.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.locks.ReentrantLock;
/**
* API Entry point, links commands and execution contexts
*
* User: mudalov
* Date: 22/01/15
* Time: 23... | Remove unnecessary lock on context creation | Remove unnecessary lock on context creation
| Java | bsd-2-clause | mudalov/safe-service |
c42e362863a5c453692bfe2411135ed9ba9c0acf | raven-log4j2/src/test/java/net/kencochrane/raven/log4j2/SentryAppenderIT.java | raven-log4j2/src/test/java/net/kencochrane/raven/log4j2/SentryAppenderIT.java | package net.kencochrane.raven.log4j2;
import net.kencochrane.raven.stub.SentryStub;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcres... | package net.kencochrane.raven.log4j2;
import net.kencochrane.raven.stub.SentryStub;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import static org.hamcrest.... | Convert integration tests to testng | Convert integration tests to testng
| Java | bsd-3-clause | buckett/raven-java,buckett/raven-java,littleyang/raven-java,reki2000/raven-java6,galmeida/raven-java,littleyang/raven-java,reki2000/raven-java6,galmeida/raven-java |
c2abfa4a480160c26a3fc503525a832beedb3afa | src/main/java/org/monospark/actioncontrol/category/CategoryRegistry.java | src/main/java/org/monospark/actioncontrol/category/CategoryRegistry.java | package org.monospark.actioncontrol.category;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Collections;
import java.util.Set;
import java.util.stream.Collectors;
import org.monospark.actioncontrol.config.ConfigParseException;
import org.monospark.actioncontrol.config.Co... | package org.monospark.actioncontrol.category;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Collections;
import java.util.Set;
import java.util.stream.Collectors;
import org.monospark.actioncontrol.config.ConfigParseException;
import org.monospark.actioncontrol.config.Co... | Make the plugin work when loading the config fails | Make the plugin work when loading the config fails | Java | mit | Monospark/ActionControl |
004c972e13a184656a65af845c0a4765b73be834 | xstream/src/java/com/thoughtworks/xstream/io/xml/XStream11NameCoder.java | xstream/src/java/com/thoughtworks/xstream/io/xml/XStream11NameCoder.java | /*
* Copyright (C) 2009 XStream Committers.
* All rights reserved.
*
* Created on 15. August 2009 by Joerg Schaible
*/
package com.thoughtworks.xstream.io.xml;
/**
* A XmlFriendlyNameCoder to support backward compatibility with XStream 1.1.
*
* @author Jörg Schaible
* @since upcoming
*/
public class X... | /*
* Copyright (C) 2009 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 15. August 2009 by Joerg Schaible
*/
package com.thought... | Fix file headers for missing BSD license. | Fix file headers for missing BSD license.
git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@1713 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
| Java | bsd-3-clause | svn2github/xstream,svn2github/xstream |
8d18c0f22e1b7671266607cb26dc412ee6ea0da6 | src/main/java/tours/compiler/CompilerTools.java | src/main/java/tours/compiler/CompilerTools.java | package tours.compiler;
import java.io.*;
public class CompilerTools {
public static String toByteCode(String text) {
Compiler compiler = new Compiler("Tours");
return compiler.process(text).render();
}
public static void toByteCode(String text, String destination) throws IOException {
... | package tours.compiler;
import java.io.*;
public class CompilerTools {
public static String toByteCode(String text) {
Compiler compiler = new Compiler("Tours");
return compiler.process(text).render();
}
public static void toByteCode(String text, String destination) throws IOException {
... | Add ErrorStream to process' output | Add ErrorStream to process' output
| Java | mit | jipspel/tours,jipspel/tours |
32e1eb27495fc3e3887d8dd5f16204f20f319312 | api/src/main/java/org/ihtsdo/buildcloud/controller/VersionController.java | api/src/main/java/org/ihtsdo/buildcloud/controller/VersionController.java | package org.ihtsdo.buildcloud.controller;
import org.ihtsdo.buildcloud.controller.helper.HypermediaGenerator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... | package org.ihtsdo.buildcloud.controller;
import org.ihtsdo.buildcloud.controller.helper.HypermediaGenerator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bi... | Improve robustness if version.txt file should go missing. | Improve robustness if version.txt file should go missing. | Java | apache-2.0 | IHTSDO/snomed-release-service,IHTSDO/snomed-release-service |
a56e9c65214d78ec411a0a89cb1f83e3950790bb | src/main/java/TrieST.java | src/main/java/TrieST.java | public class TrieST<Value> {
/*
* Extendeed ASCII
*/
private static int R = 256;
/*
* The root of the trie
*/
private Node root;
/*
* The number of keys in this trie
*/
private int size;
/*
* R-way trie node
*/
private static class Node {
private Object value;
private... | public class TrieST<Value> {
/*
* Extendeed ASCII
*/
private static int R = 256;
/*
* The root of the trie
*/
private Node root;
/*
* The number of keys in this trie
*/
private int size;
/*
* R-way trie node
*/
private static class Node {
private Object value;
private... | Add method to compute trie' size | Add method to compute trie' size
| Java | mit | ruiafonsopereira/string-matching |
0a0725f0a1e3fa1c3c8f9f2abed7bf274ad1231c | app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java | app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java | package fr.free.nrw.commons.auth;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.webkit.WebView;
import fr.free.nrw.commons.R;
public class SignupActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... | package fr.free.nrw.commons.auth;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.webkit.WebView;
import fr.free.nrw.commons.R;
public class SignupActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... | Modify code according to dev tutorial | Modify code according to dev tutorial
| Java | apache-2.0 | psh/apps-android-commons,commons-app/apps-android-commons,misaochan/apps-android-commons,sandarumk/apps-android-commons,neslihanturan/apps-android-commons,nicolas-raoul/apps-android-commons,psh/apps-android-commons,misaochan/apps-android-commons,dbrant/apps-android-commons,psh/apps-android-commons,maskaravivek/apps-and... |
07f30165cc63401fc1fda9589b0f064ed4afcf63 | src/main/java/ganymedes01/etfuturum/core/handlers/ClientEventHandler.java | src/main/java/ganymedes01/etfuturum/core/handlers/ClientEventHandler.java | package ganymedes01.etfuturum.core.handlers;
import ganymedes01.etfuturum.EtFuturum;
import ganymedes01.etfuturum.client.OpenGLHelper;
import net.minecraftforge.client.event.RenderPlayerEvent;
import net.minecraftforge.client.event.RenderPlayerEvent.SetArmorModel;
import cpw.mods.fml.common.eventhandler.SubscribeEvent... | package ganymedes01.etfuturum.core.handlers;
import ganymedes01.etfuturum.EtFuturum;
import ganymedes01.etfuturum.client.OpenGLHelper;
import net.minecraftforge.client.event.RenderPlayerEvent;
import net.minecraftforge.client.event.RenderPlayerEvent.SetArmorModel;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.co... | Fix blending issue with armours above level 128 | Fix blending issue with armours above level 128
| Java | unlicense | ganymedes01/Et-Futurum |
6c06e4e72b175ace131e20259319b7230114e0bc | src/main/java/javafx/scene/chart/SankeyNode.java | src/main/java/javafx/scene/chart/SankeyNode.java | package javafx.scene.chart;
/**
* @author Adrian Healey <adrian.j.healey@gmail.com>
*/
public class SankeyNode {
private String name;
private double value = 0.0;
private int column = 0;
public SankeyNode(String name) {
this.name = name;
}
public String getName() {
return nam... | package javafx.scene.chart;
/**
* @author Adrian Healey <adrian.j.healey@gmail.com>
*/
public class SankeyNode {
private String name;
private double value = 0.0;
private int column = 0;
private int row = 0;
public SankeyNode(String name) {
this.name = name;
}
public String getNa... | Implement equals, hashcode and row field | Implement equals, hashcode and row field
| Java | apache-2.0 | AJHealey/sankey-javafx,AJHealey/sankey-javafx |
0a4b6be8cbb940d8860136ca299bb94b3fef527b | src/test/java/com/natpryce/worktorule/issues/github/GitHubPublicIssuesTest.java | src/test/java/com/natpryce/worktorule/issues/github/GitHubPublicIssuesTest.java | package com.natpryce.worktorule.issues.github;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class GitHubPublicIssuesTest {
GitHubIssues issues = new GitHubIssues("npryce", "worktorule-testing");
@Test
pu... | package com.natpryce.worktorule.issues.github;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.AssumptionViolatedException;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.net.URL;
import static org.junit.Ass... | Check GitHub API rate limits before test and skip test if rate limit exceeded | Check GitHub API rate limits before test and skip test if rate limit exceeded
| Java | apache-2.0 | npryce/worktorule,npryce/worktorule |
55304d5f3ab8d219b8faf373188bd984a1f1db3d | modules/framework-view/src/main/java/rogue/app/framework/view/faces/bean/LoginAction.java | modules/framework-view/src/main/java/rogue/app/framework/view/faces/bean/LoginAction.java | package rogue.app.framework.view.faces.bean;
import rogue.app.framework.view.faces.CommandInvocation;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
... | package rogue.app.framework.view.faces.bean;
import rogue.app.framework.view.faces.CommandInvocation;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import java.util.*;
/**
* Command invocation that can be associated with a login action.
*/
@Sess... | Use AbstractMap.SimpleEntry since HashMap.Entry is not serializable. | Use AbstractMap.SimpleEntry since HashMap.Entry is not serializable.
| Java | apache-2.0 | roguexz/rogue.io,roguexz/rogue.io |
2d7751181ee0e4a5f5e063e6317bd4fe8395729b | intermine/src/java/org/intermine/sql/precompute/BestQuery.java | intermine/src/java/org/intermine/sql/precompute/BestQuery.java | package org.flymine.sql.precompute;
/**
* This object is an abstract superclass for a Best Query tracker. Queries can be added to these
* objects, and they will keep track of them.
*
* @author Matthew Wakeling
*/
public abstract class BestQuery
{
/**
* Allows a Query to be added to this tracker.
*
... | package org.flymine.sql.precompute;
import org.flymine.sql.query.Query;
import java.sql.SQLException;
/**
* This object is an abstract superclass for a Best Query tracker. Queries can be added to these
* objects, and they will keep track of them.
*
* @author Matthew Wakeling
* @author Andrew Varley
*/
public ab... | Throw SQLException from add() if error occurs in underlying database | Throw SQLException from add() if error occurs in underlying database
| Java | lgpl-2.1 | kimrutherford/intermine,justincc/intermine,joshkh/intermine,justincc/intermine,elsiklab/intermine,drhee/toxoMine,tomck/intermine,drhee/toxoMine,JoeCarlson/intermine,joshkh/intermine,kimrutherford/intermine,JoeCarlson/intermine,justincc/intermine,elsiklab/intermine,joshkh/intermine,JoeCarlson/intermine,Arabidopsis-Infor... |
99a105f272ac95b932d28bd398f13ce625db559c | base/src/main/java/uk/ac/ebi/atlas/species/services/PopularSpeciesInfo.java | base/src/main/java/uk/ac/ebi/atlas/species/services/PopularSpeciesInfo.java | package uk.ac.ebi.atlas.species.services;
import com.google.auto.value.AutoValue;
@AutoValue
abstract class PopularSpeciesInfo {
static PopularSpeciesInfo create(String species, String kingdom, int baselineExperiments, int differentialExperiments) {
return new AutoValue_PopularSpeciesInfo(species, kingdom... | package uk.ac.ebi.atlas.species.services;
import com.google.auto.value.AutoValue;
import java.util.Comparator;
@AutoValue
abstract class PopularSpeciesInfo {
static PopularSpeciesInfo create(String species, String kingdom, int baselineExperiments, int differentialExperiments) {
return new AutoValue_Popul... | Add a Comparator instead of implementing Comparable We then can use this class with FluentIterable.toSortedList. | Add a Comparator instead of implementing Comparable
We then can use this class with FluentIterable.toSortedList.
| Java | apache-2.0 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas |
1e0d15f2ac7ecbf02596c616f7d343589cd6581a | src/main/java/uk/ac/ebi/pride/archive/dataprovider/assay/AssayProvider.java | src/main/java/uk/ac/ebi/pride/archive/dataprovider/assay/AssayProvider.java | package uk.ac.ebi.pride.archive.dataprovider.assay;
import uk.ac.ebi.pride.archive.dataprovider.common.ITuple;
import uk.ac.ebi.pride.archive.dataprovider.entity.EntityProvider;
import uk.ac.ebi.pride.archive.dataprovider.param.CvParamProvider;
import java.util.Collection;
/**
* This code is licensed under the Apac... | package uk.ac.ebi.pride.archive.dataprovider.assay;
import uk.ac.ebi.pride.archive.dataprovider.common.ITuple;
import uk.ac.ebi.pride.archive.dataprovider.entity.EntityProvider;
import uk.ac.ebi.pride.archive.dataprovider.param.CvParamProvider;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
... | Support for file size in MSRunSamples | Support for file size in MSRunSamples
| Java | apache-2.0 | PRIDE-Archive/data-provider-api |
2f5c14a8f0c532f5a3f1d2a86d393cb59bd54d9f | web/src/main/java/uk/ac/ebi/atlas/commons/writers/FileTsvWriterBuilder.java | web/src/main/java/uk/ac/ebi/atlas/commons/writers/FileTsvWriterBuilder.java | package uk.ac.ebi.atlas.commons.writers;
import org.springframework.context.annotation.Scope;
import uk.ac.ebi.atlas.commons.readers.TsvReader;
import uk.ac.ebi.atlas.commons.readers.impl.TsvReaderImpl;
import uk.ac.ebi.atlas.commons.writers.impl.TsvWriterImpl;
import javax.inject.Named;
import java.io.*;
import jav... | package uk.ac.ebi.atlas.commons.writers;
import org.springframework.context.annotation.Scope;
import uk.ac.ebi.atlas.commons.writers.impl.TsvWriterImpl;
import javax.inject.Named;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.text.Mes... | Clean imports and remove unnecessary toString() | Clean imports and remove unnecessary toString()
| Java | apache-2.0 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas |
aa5dc47ee6cc1a72ad7210dcbbabf6f8766c0c87 | src/java/net/jpountz/util/Utils.java | src/java/net/jpountz/util/Utils.java | package net.jpountz.util;
/*
* 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 wri... | package net.jpountz.util;
/*
* 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 wri... | Allow unsafeInstance() for ppc64le archiecture | Allow unsafeInstance() for ppc64le archiecture
| Java | apache-2.0 | lz4/lz4-java,lz4/lz4-java,jpountz/lz4-java,lz4/lz4-java,jpountz/lz4-java,jpountz/lz4-java |
03ed7e6ee905e182c04ef27a9d11ab85a4c118ae | src/main/java/info/u_team/u_team_core/integration/IntegrationManager.java | src/main/java/info/u_team/u_team_core/integration/IntegrationManager.java | package info.u_team.u_team_core.integration;
import org.apache.logging.log4j.*;
import org.objectweb.asm.Type;
import info.u_team.u_team_core.api.integration.*;
import info.u_team.u_team_core.util.AnnotationUtil;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.forgespi.language.ModFileScanData.Annota... | package info.u_team.u_team_core.integration;
import org.apache.logging.log4j.*;
import org.objectweb.asm.Type;
import info.u_team.u_team_core.api.integration.*;
import info.u_team.u_team_core.util.AnnotationUtil;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.forgespi.language.ModFileScanData.Annota... | Fix the wrong method because of a rename in the annotation | Fix the wrong method because of a rename in the annotation | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
d8326895206ded5fdcb5d31050debc3711ff5aca | src/main/java/org/galibier/messaging/benchmark/zookeeper/ZKOperation.java | src/main/java/org/galibier/messaging/benchmark/zookeeper/ZKOperation.java | package org.galibier.messaging.benchmark.zookeeper;
import com.netflix.curator.framework.CuratorFramework;
import com.netflix.curator.framework.CuratorFrameworkFactory;
import com.netflix.curator.retry.RetryOneTime;
import org.apache.zookeeper.KeeperException;
import org.galibier.messaging.benchmark.Message;
import or... | package org.galibier.messaging.benchmark.zookeeper;
import com.netflix.curator.framework.CuratorFramework;
import com.netflix.curator.framework.CuratorFrameworkFactory;
import com.netflix.curator.retry.RetryOneTime;
import org.apache.zookeeper.KeeperException;
import org.galibier.messaging.benchmark.Message;
import or... | Print stack trace when initialization fails | Print stack trace when initialization fails
| Java | mit | oshothebig/messaging-bench |
024c9e715eabf0441062304cf7870662f7b5b16a | src/main/java/org/realityforge/replicant/client/json/gwt/ReplicantGinModule.java | src/main/java/org/realityforge/replicant/client/json/gwt/ReplicantGinModule.java | package org.realityforge.replicant.client.json.gwt;
import com.google.gwt.inject.client.AbstractGinModule;
import org.realityforge.replicant.client.EntityChangeBroker;
import org.realityforge.replicant.client.EntityChangeBrokerImpl;
import org.realityforge.replicant.client.EntityRepository;
import org.realityforge.rep... | package org.realityforge.replicant.client.json.gwt;
import com.google.gwt.inject.client.AbstractGinModule;
import org.realityforge.replicant.client.EntityChangeBroker;
import org.realityforge.replicant.client.EntityChangeBrokerImpl;
import org.realityforge.replicant.client.EntityRepository;
import org.realityforge.rep... | Add SubscriptionManager to gin module | Add SubscriptionManager to gin module
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
e059fdcbf84f801609d29abba33203fe94d2366f | src/test/java/info/u_team/u_team_test/init/TestContainers.java | src/test/java/info/u_team/u_team_test/init/TestContainers.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.containertype.UContainerType;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.container.*;
import net.minecraft.inventory.container.ContainerType;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.... | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.containertype.UContainerType;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.container.*;
import net.minecraft.inventory.container.ContainerType;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.... | Change the energy creator container | Change the energy creator container | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
95f15b7edd587178eba0379268be847ec3eb48a1 | server/src/main/java/io/spine/server/integration/DeadExternalMessageTap.java | server/src/main/java/io/spine/server/integration/DeadExternalMessageTap.java | /*
* Copyright 2017, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | /*
* Copyright 2017, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | Add a missing `@author` tag. | Add a missing `@author` tag.
| Java | apache-2.0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java |
5e91f737b05294b8fb3be9399d2b37bf130b1314 | stagemonitor-alerting/src/main/java/org/stagemonitor/alerting/alerter/IncidentServlet.java | stagemonitor-alerting/src/main/java/org/stagemonitor/alerting/alerter/IncidentServlet.java | package org.stagemonitor.alerting.alerter;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.stagemonitor.alerting... | package org.stagemonitor.alerting.alerter;
import java.io.IOException;
import java.util.Collections;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... | Return empty JSON array if IncidentRepository is not yet initialized | Return empty JSON array if IncidentRepository is not yet initialized
| Java | apache-2.0 | hexdecteam/stagemonitor,marcust/stagemonitor,glamarre360/stagemonitor,elevennl/stagemonitor,hexdecteam/stagemonitor,marcust/stagemonitor,glamarre360/stagemonitor,stagemonitor/stagemonitor,trampi/stagemonitor,trampi/stagemonitor,marcust/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagem... |
c0e99ae16eeeca28db4cb9cbc0a40008d36f36fd | liquibase-core/src/main/java/liquibase/sqlgenerator/core/GetViewDefinitionGeneratorDB2.java | liquibase-core/src/main/java/liquibase/sqlgenerator/core/GetViewDefinitionGeneratorDB2.java | package liquibase.sqlgenerator.core;
import liquibase.CatalogAndSchema;
import liquibase.database.Database;
import liquibase.database.core.AbstractDb2Database;
import liquibase.database.core.Db2zDatabase;
import liquibase.sql.Sql;
import liquibase.sql.UnparsedSql;
import liquibase.sqlgenerator.SqlGenerator;
import liq... | package liquibase.sqlgenerator.core;
import liquibase.CatalogAndSchema;
import liquibase.database.Database;
import liquibase.database.core.AbstractDb2Database;
import liquibase.database.core.Db2zDatabase;
import liquibase.sql.Sql;
import liquibase.sql.UnparsedSql;
import liquibase.sqlgenerator.SqlGenerator;
import liq... | Remove redundant PATHSCHEMAS from where part of SQL statement looking for a view definition to make query return unique only results | [DAT-12296] Remove redundant PATHSCHEMAS from where part of SQL statement looking for a view definition to make query return unique only results
| Java | apache-2.0 | Datical/liquibase,Datical/liquibase,Datical/liquibase,Datical/liquibase |
6d51112fe0ff5ccab3f9ddebedcde1d34f866a5a | ORM/org.framed.orm.ui/src/org/framed/orm/ui/figure/shapes/ORMConnectionMultiplePolyline.java | ORM/org.framed.orm.ui/src/org/framed/orm/ui/figure/shapes/ORMConnectionMultiplePolyline.java | package org.framed.orm.ui.figure.shapes;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.PolylineConnection;
import org.eclipse.draw2d.geometry.PointList;
import org.eclipse.swt.SWT;
public class ORMConnectionMultiplePolyline extends PolylineConnection {
boolean hasConstraint = false;
@Ove... | package org.framed.orm.ui.figure.shapes;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.PolylineConnection;
import org.eclipse.draw2d.geometry.PointList;
import org.eclipse.gef.EditPart;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.framed.orm.model.Relation;
... | Fix bug that multiple polyline translated when shapes are dragged over the line. | Fix bug that multiple polyline translated when shapes are dragged over the line.
| Java | epl-1.0 | leondart/FRaMED,leondart/FRaMED,leondart/FRaMED |
3fb9c0e946e8e709b2f95c1abb8bc80d38c1a5cc | src/main/resources/archetype-resources/src/main/java/config/WebMvcConfig.java | src/main/resources/archetype-resources/src/main/java/config/WebMvcConfig.java | package ${package}.config;
import org.springframework.context.annotation.*;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.web.servlet.config.annotation.*;
import org.springframework.web.servlet.view.tiles2.TilesConfigurer;
import org.springframework.web.servlet.vi... | package ${package}.config;
import org.springframework.context.annotation.*;
import org.springframework.web.servlet.config.annotation.*;
import org.springframework.web.servlet.view.tiles2.TilesConfigurer;
import org.springframework.web.servlet.view.tiles2.TilesViewResolver;
@Configuration
@EnableWebMvc
@Compo... | Remove excludeFilter that is now enabled by default. | Remove excludeFilter that is now enabled by default.
| Java | apache-2.0 | jordanbaucke/spring-fabric |
db311aa3b4f3c0c88082784ba5e0e9a40b7a7113 | web/src/main/java/cz/pragueparking/web/ParkingApplication.java | web/src/main/java/cz/pragueparking/web/ParkingApplication.java | package cz.pragueparking.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.co... | package cz.pragueparking.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.se... | Fix not serving static content | Fix not serving static content
| Java | mit | bedla/parkovani-v-praze,bedla/parkovani-v-praze,bedla/parkovani-v-praze |
93bc72507efce464997f6253abb2787ff0e9b202 | src/main/java/com/github/lwhite1/tablesaw/io/csv/AddCellToColumnException.java | src/main/java/com/github/lwhite1/tablesaw/io/csv/AddCellToColumnException.java | package com.github.lwhite1.tablesaw.io.csv;
/**
* Created by Richard on 26/07/2016.
*/
public class AddCellToColumnException extends RuntimeException {
private final int columnIndex;
private final long rowNumber;
public AddCellToColumnException(Exception e, int columnIndex, long rowNumber) {
sup... | package com.github.lwhite1.tablesaw.io.csv;
/**
* Created by Richard on 26/07/2016.
*/
public class AddCellToColumnException extends RuntimeException {
private final int columnIndex;
private final long rowNumber;
public AddCellToColumnException(Exception e, int columnIndex, long rowNumber) {
sup... | Add a more useful message to the Exception | Add a more useful message to the Exception
| Java | apache-2.0 | jtablesaw/tablesaw,jtablesaw/tablesaw,jtablesaw/tablesaw |
3811b5b5296a98894b09e5e01be55d1a885a72ae | systemtests/src/test/java/io/enmasse/systemtest/marathon/MarathonTestBase.java | systemtests/src/test/java/io/enmasse/systemtest/marathon/MarathonTestBase.java | package io.enmasse.systemtest.marathon;
import io.enmasse.systemtest.Logging;
import io.enmasse.systemtest.TestBase;
import org.junit.Rule;
import org.junit.rules.ErrorCollector;
import java.util.Date;
import java.util.concurrent.TimeUnit;
public class MarathonTestBase extends TestBase {
@Rule
public ErrorC... | package io.enmasse.systemtest.marathon;
import io.enmasse.systemtest.Logging;
import io.enmasse.systemtest.TestBase;
import org.apache.http.util.ExceptionUtils;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.rules.ErrorCollector;
import java.util.Date;
import java.util.Iterator;
import java.uti... | Set default thread exception handler before starting tests | Set default thread exception handler before starting tests
| Java | apache-2.0 | EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse |
78949507c04002b65f7e48db99a8a65a7d340597 | project/app/src/main/java/org/owntracks/android/ui/welcome/intro/IntroFragmentViewModel.java | project/app/src/main/java/org/owntracks/android/ui/welcome/intro/IntroFragmentViewModel.java | package org.owntracks.android.ui.welcome.intro;
import android.databinding.Bindable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.owntracks.android.injection.scopes.PerFragment;
import org.owntracks.android.ui.base.viewmodel.BaseViewModel;... | package org.owntracks.android.ui.welcome.intro;
import android.databinding.Bindable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.owntracks.android.injection.scopes.PerFragment;
import org.owntracks.android.ui.base.viewmodel.BaseViewModel;... | Fix for no next button in setup wizzard | Fix for no next button in setup wizzard
| Java | epl-1.0 | owntracks/android,owntracks/android,owntracks/android |
34d3a2aa3474433e6d4c4c85b7c7c971688209a4 | Server/src/main/java/me/jesensky/dan/playertracker/util/DatabaseManager.java | Server/src/main/java/me/jesensky/dan/playertracker/util/DatabaseManager.java | package me.jesensky.dan.playertracker.util;
import com.mysql.jdbc.MySQLConnection;
import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DatabaseManager {
private Connection connecti... | package me.jesensky.dan.playertracker.util;
import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class DatabaseManager {
private Connection connection;
private String host;
private String username;
pr... | Rewrite part of how the database manager works (specifically defaults) | Rewrite part of how the database manager works (specifically defaults)
| Java | artistic-2.0 | 14jesenskyd/PlayerTracker-Java |
015f06477f25fbb19f29db1b2414915ef08b19d7 | src/test/resources/projects/project-36/my-ejb/src/main/java/example/HelloBean.java | src/test/resources/projects/project-36/my-ejb/src/main/java/example/HelloBean.java | package example;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import static javax.ejb.TransactionAttributeType.SUPPORTS;
/**
* Implementation of the Hello bean.
*/
@Stateless
public class HelloBean implements Hello {
private String _greeting = "Default Hello";
/**
* Returns a hello, ... | package example;
//import javax.ejb.Stateless;
//import javax.ejb.TransactionAttribute;
//import static javax.ejb.TransactionAttributeType.SUPPORTS;
/**
* Implementation of the Hello bean.
*/
//@Stateless
public class HelloBean implements Hello {
private String _greeting = "Default Hello";
/**
* Returns a... | Remove annotations to keep the compatibility with java 1.4 | Remove annotations to keep the compatibility with java 1.4
git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@597317 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | wcm-io-devops/maven-eclipse-plugin,wcm-io-devops/maven-eclipse-plugin,wcm-io-devops/maven-eclipse-plugin |
ef92ef5cbad7cfc2a55bec769fbe87d114af5982 | src/test/java/com/github/kohanyirobert/mongoroid/AbstractMongoConnectionSimpleSingleTest.java | src/test/java/com/github/kohanyirobert/mongoroid/AbstractMongoConnectionSimpleSingleTest.java | package com.github.kohanyirobert.mongoroid;
import org.junit.After;
import org.junit.Before;
public abstract class AbstractMongoConnectionSimpleSingleTest {
protected MongoConnection connection;
protected AbstractMongoConnectionSimpleSingleTest() {}
// @do-not-check DesignForExtension
@Before
public void... | package com.github.kohanyirobert.mongoroid;
import org.junit.After;
import org.junit.Before;
public abstract class AbstractMongoConnectionSimpleSingleTest {
protected MongoConnection connection;
protected AbstractMongoConnectionSimpleSingleTest() {}
// @do-not-check DesignForExtension
@Before
public void... | Update the setup method of the abstract base test. | Update the setup method of the abstract base test.
After updating the error checking routine a new exception surfaced (at least I
guess this was the reason) pertaining to authentications. (I thought logging
into the admin database grants rights to every database by default, but it seems
I was wrong.)
| Java | mit | kohanyirobert/mongoroid,kohanyirobert/mongoroid |
13d83578629d933cc33daf5c869be7e6bd74be86 | src/main/java/uk/org/sappho/jira/workflow/approvals/SetSummaryFromParentAction.java | src/main/java/uk/org/sappho/jira/workflow/approvals/SetSummaryFromParentAction.java | package uk.org.sappho.jira.workflow.approvals;
import java.util.Map;
import com.atlassian.jira.issue.MutableIssue;
import com.atlassian.jira.workflow.function.issue.AbstractJiraFunctionProvider;
import com.opensymphony.module.propertyset.PropertySet;
import com.opensymphony.workflow.WorkflowException;
public class S... | package uk.org.sappho.jira.workflow.approvals;
import java.util.Map;
import com.atlassian.jira.issue.MutableIssue;
import com.atlassian.jira.workflow.function.issue.AbstractJiraFunctionProvider;
import com.opensymphony.module.propertyset.PropertySet;
import com.opensymphony.workflow.WorkflowException;
public class S... | Add post-function to set summary on approvals subtasks. | SAPPHO-1: Add post-function to set summary on approvals subtasks.
| Java | agpl-3.0 | sappho/sappho-jira-workflow-approvals |
4db1400ddab75ff910cf29dc939389e5cd68520c | subprojects/core/src/main/groovy/org/gradle/process/internal/DefaultExecAction.java | subprojects/core/src/main/groovy/org/gradle/process/internal/DefaultExecAction.java | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Use a more general type for constructor parameter. | Use a more general type for constructor parameter.
| Java | apache-2.0 | lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira... |
4a81b3731d7da9fdf4ffec3c30aeefd4d04a565b | src/test/java/com/grayben/riskExtractor/helpers/ScoredTextReverseEngineerer.java | src/test/java/com/grayben/riskExtractor/helpers/ScoredTextReverseEngineerer.java | package com.grayben.riskExtractor.helpers;
import com.grayben.riskExtractor.htmlScorer.ScoredText;
import com.grayben.riskExtractor.htmlScorer.partScorers.Scorer;
import org.apache.commons.io.IOUtils;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import java.io.InputStream;
import java.util.Set;
/**
... | package com.grayben.riskExtractor.helpers;
import com.grayben.riskExtractor.htmlScorer.ScoredText;
import com.grayben.riskExtractor.htmlScorer.partScorers.Scorer;
import org.apache.commons.io.IOUtils;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import java.io.InputStream;
import java.util.List;
impor... | Remove a step in reversal; can go ScoredText -> html directly | Remove a step in reversal; can go ScoredText -> html directly
| Java | mit | grayben/10K-item-extractor,grayben/10K-item-extractor |
a5577e59d7009e74a6b2e8a8b5afeb54e3a9f896 | test/src/main/java/io/spacedog/test/ServiceErrorFilterTest.java | test/src/main/java/io/spacedog/test/ServiceErrorFilterTest.java | package io.spacedog.test;
import org.junit.Test;
import io.spacedog.client.SpaceDog;
import io.spacedog.client.http.SpaceRequest;
public class ServiceErrorFilterTest extends SpaceTest {
@Test
public void catchesFluentResourceErrors() {
prepareTest();
SpaceDog superadmin = clearServer();
// should fail to ... | package io.spacedog.test;
import org.junit.Test;
import io.spacedog.client.SpaceDog;
import io.spacedog.client.http.SpaceRequest;
public class ServiceErrorFilterTest extends SpaceTest {
@Test
public void catchesFluentResourceErrors() {
prepareTest();
SpaceDog superadmin = clearServer();
// should fail to ... | Fix service error filter tests due to error message refactoring | Fix service error filter tests due to error message refactoring
| Java | mit | spacedog-io/spacedog-server,spacedog-io/spacedog-server,spacedog-io/spacedog-server |
57048e236545a0bd88182532e8b51f475be801ac | shim-server/src/main/java/org/openmhealth/shim/googlefit/GoogleFitClientSettings.java | shim-server/src/main/java/org/openmhealth/shim/googlefit/GoogleFitClientSettings.java | /*
* Copyright 2017 Open mHealth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2017 Open mHealth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Add location scope to Google Fit | Add location scope to Google Fit
| Java | apache-2.0 | openmhealth/shimmer,openmhealth/shimmer,openmhealth/shimmer,openmhealth/shimmer |
a6571c801c8811082552aa5ef425c7d11eafa0c9 | doc/project/jigsaw.quick.start.with.tests/test.base/src/test/java/module-info.java | doc/project/jigsaw.quick.start.with.tests/test.base/src/test/java/module-info.java | module test.base {
requires com.greetings;
requires org.astro;
requires org.junit.jupiter;
}
| module test.base {
requires com.greetings;
requires org.astro;
}
| Remove 3rd-party module requires for the time being | Remove 3rd-party module requires for the time being
| Java | mit | sormuras/bach,sormuras/bach |
957bb5e3795c00750ae12dfdcc0f863160e69ba2 | storm-data-contracts/src/main/java/com/forter/contracts/validation/OneOfValidator.java | storm-data-contracts/src/main/java/com/forter/contracts/validation/OneOfValidator.java | package com.forter.contracts.validation;
import com.google.common.base.Preconditions;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.List;
/**
* Checks against one of the specified val... | package com.forter.contracts.validation;
import com.google.common.base.Preconditions;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.List;
/**
* Checks against one of the specified val... | Fix @OneOf to approve null values | Fix @OneOf to approve null values
| Java | apache-2.0 | talbor49/storm-data-contracts,forter/storm-data-contracts,conkeyn/storm-data-contracts |
59ccb0fd808029ac1220904e09c2ddffad8b1f8e | bc-backend/src/test/java/org/jboss/da/bc/backend/impl/RepositoryClonerImplTest.java | bc-backend/src/test/java/org/jboss/da/bc/backend/impl/RepositoryClonerImplTest.java | package org.jboss.da.bc.backend.impl;
import org.jboss.da.scm.SCMType;
import org.junit.Test;
public class RepositoryClonerImplTest {
private RepositoryClonerImpl clonner = new RepositoryClonerImpl();
@Test(expected = UnsupportedOperationException.class)
public void testCloneNonGitRepository() throws Ex... | package org.jboss.da.bc.backend.impl;
import org.jboss.da.scm.SCMType;
import org.junit.Test;
public class RepositoryClonerImplTest {
private RepositoryClonerImpl clonner = new RepositoryClonerImpl();
@Test(expected = UnsupportedOperationException.class)
public void testCloneNonGitRepository() throws Ex... | Remove temporary test. We cannot clone repository in every test run | Remove temporary test. We cannot clone repository in every test run
| Java | apache-2.0 | janinko/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis |
7134418c7360413accd03e2c879792ea6efffcf1 | src/main/com/intellij/react/css/modules/psi/CssModulesUnknownClassPsiReference.java | src/main/com/intellij/react/css/modules/psi/CssModulesUnknownClassPsiReference.java | /*
* Copyright (c) 2016-present, Jim Kynde Meyer
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.intellij.react.css.modules.psi;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.... | /*
* Copyright (c) 2016-present, Jim Kynde Meyer
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.intellij.react.css.modules.psi;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.... | Use self reference to prevent JS tooling from reporting unresolved symbol | Use self reference to prevent JS tooling from reporting unresolved symbol
| Java | mit | jimkyndemeyer/react-css-modules-intellij-plugin,jimkyndemeyer/react-css-modules-intellij-plugin,jimkyndemeyer/react-css-modules-intellij-plugin,jimkyndemeyer/react-css-modules-intellij-plugin |
36a1a9db0de4b21f03478f30e2c2447adb5e77e2 | src/main/java/io/github/vcuswimlab/stackintheflow/controller/component/PersistProfileComponent.java | src/main/java/io/github/vcuswimlab/stackintheflow/controller/component/PersistProfileComponent.java | package io.github.vcuswimlab.stackintheflow.controller.component;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.Nullable;
i... | package io.github.vcuswimlab.stackintheflow.controller.component;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.Nullable;
i... | Fix user profile not serializing. | Fix user profile not serializing.
| Java | mit | vcu-swim-lab/stack-intheflow,vcu-swim-lab/stack-intheflow,vcu-swim-lab/stack-intheflow |
3edf06ff8ae27a5ef9d9fde60defc155a704404c | shadows/framework/src/main/java/org/robolectric/shadows/ShadowQueuedWork.java | shadows/framework/src/main/java/org/robolectric/shadows/ShadowQueuedWork.java | package org.robolectric.shadows;
import android.app.QueuedWork;
import android.os.Build;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Resetter;
import org.robolectric.util.ReflectionHelpers;
@Implements(value = QueuedWork.class, isInAndroid... | package org.robolectric.shadows;
import android.app.QueuedWork;
import android.os.Build;
import android.os.Handler;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Resetter;
import org.robolectric.util.ReflectionHelpers;
import java.util.List;... | Update QueuedWork Resetter for API 26 | Update QueuedWork Resetter for API 26
This is part of an effort to resolve deadlocks that may occur with
SharedPreferences on SDK 26.
In API 26, the implementation of QueuedWork changed from a
ThreadPoolExecutor to a Handler combined with two lists of Runnables. In
this API level, setting the `sHandler` static variab... | Java | mit | jongerrish/robolectric,spotify/robolectric,spotify/robolectric,jongerrish/robolectric,spotify/robolectric,jongerrish/robolectric,jongerrish/robolectric |
6aaef6b3d45c9c32222245c7209f601c9e36894c | src/main/java/fr/insee/pogues/transforms/StromaeServiceImpl.java | src/main/java/fr/insee/pogues/transforms/StromaeServiceImpl.java | package fr.insee.pogues.transforms;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import org.springframew... | package fr.insee.pogues.transforms;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import org.springframew... | Rename client to httpClient for more clarity | Rename client to httpClient for more clarity
| Java | mit | InseeFr/Pogues-Back-Office,InseeFr/Pogues-Back-Office |
2d63860c90c2d461cd9a876fcab8fe6b12fe81c9 | trunk/MutabilityDetector/test/org/mutabilitydetector/cli/ClassListReaderFactoryTest.java | trunk/MutabilityDetector/test/org/mutabilitydetector/cli/ClassListReaderFactoryTest.java | /*
* Mutability Detector
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Further licensing information for this project can be found in
* license/LICENSE.txt
*/
package org.mutabilitydetector.cli;
import static org.j... | /*
* Mutability Detector
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Further licensing information for this project can be found in
* license/LICENSE.txt
*/
package org.mutabilitydetector.cli;
import static org.j... | Change how the test asserts a file has been deleted. | Change how the test asserts a file has been deleted.
git-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@63 c7a0535c-eda6-11de-83d8-6d5adf01d787
| Java | apache-2.0 | MutabilityDetector/MutabilityDetector,MutabilityDetector/MutabilityDetector |
9dd6dfac24fc2b5c6b509ed7bcf365654711e7e1 | app/src/test/java/com/kickstarter/libs/utils/StringUtilsTest.java | app/src/test/java/com/kickstarter/libs/utils/StringUtilsTest.java | package com.kickstarter.libs.utils;
import junit.framework.TestCase;
public class StringUtilsTest extends TestCase {
public void testIsEmail() {
assertTrue(StringUtils.isEmail("hello@kickstarter.com"));
}
public void testIsEmpty() {
assertTrue(StringUtils.isEmpty(""));
assertTrue(StringUtils.isEmp... | package com.kickstarter.libs.utils;
import com.kickstarter.KSRobolectricTestCase;
import org.junit.Test;
public class StringUtilsTest extends KSRobolectricTestCase {
@Test
public void testIsEmail() {
assertTrue(StringUtils.isEmail("hello@kickstarter.com"));
assertFalse(StringUtils.isEmail("hello@kicksta... | Make into roboelectric test so pattern is available. | Make into roboelectric test so pattern is available.
| Java | apache-2.0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss |
4c43abf9a243ef1ff682af6bcb6a670984a61219 | src/org/duckdns/raven/ttscallresponder/tts/StartAnsweringServiceReceiver.java | src/org/duckdns/raven/ttscallresponder/tts/StartAnsweringServiceReceiver.java | package org.duckdns.raven.ttscallresponder.tts;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.TelephonyManager;
import android.util.Log;
public class StartAnsweringServiceReceiver extends BroadcastReceiver {
private static final Stri... | package org.duckdns.raven.ttscallresponder.tts;
import org.duckdns.raven.ttscallresponder.domain.call.Call;
import org.duckdns.raven.ttscallresponder.domain.call.PersistentCallList;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.Teleph... | Add calls to list of answered calls. | [CallResponder] Add calls to list of answered calls.
Signed-off-by: Juri Berlanda <5bfdca9e82c53adb0603ce7083f4ba4f2da5cacf@hotmail.com>
| Java | mit | j-be/TtsCallResponder |
6f8f2cbf56b945b0fe2013336effaf550990c67d | src/main/java/org/utplsql/cli/CliVersionInfo.java | src/main/java/org/utplsql/cli/CliVersionInfo.java | package org.utplsql.cli;
import org.utplsql.api.JavaApiVersionInfo;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
/** This class is getting updated automatically by the build process.
* Please do not update it... | package org.utplsql.cli;
import org.utplsql.api.JavaApiVersionInfo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URISyntaxException;
/** This class is getting updated automatically by the build process.
* Please do not updat... | Read the info from stream instead of NIO | Read the info from stream instead of NIO
| Java | apache-2.0 | utPLSQL/utPLSQL-cli,utPLSQL/utPLSQL-cli |
33e049e2f7badae21276f4e78d3d26e93c573122 | src/main/java/com/uwetrottmann/trakt5/enums/Extended.java | src/main/java/com/uwetrottmann/trakt5/enums/Extended.java | package com.uwetrottmann.trakt5.enums;
/**
* By default, all methods will return minimal info for movies, shows, episodes, and users. Minimal info is typically
* all you need to match locally cached items and includes the title, year, and ids. However, you can request different
* extended levels of information.
*/... | package com.uwetrottmann.trakt5.enums;
/**
* By default, all methods will return minimal info for movies, shows, episodes, and users. Minimal info is typically
* all you need to match locally cached items and includes the title, year, and ids. However, you can request different
* extended levels of information.
*/... | Add support for noseasons extended flag. | Add support for noseasons extended flag.
- Only works with sync watchedShows.
| Java | apache-2.0 | UweTrottmann/trakt-java |
dd5a0226d2dfd5f272e45a364febd07584bef84a | srctest/org/jaudiotagger/issues/Issue290Test.java | srctest/org/jaudiotagger/issues/Issue290Test.java | package org.jaudiotagger.issues;
import org.jaudiotagger.AbstractTestCase;
import org.jaudiotagger.audio.AudioFile;
import org.jaudiotagger.audio.AudioFileIO;
import org.jaudiotagger.tag.FieldKey;
import java.io.File;
/**
*File corrupt after write
*/
public class Issue290Test extends AbstractTestCase
{
public ... | package org.jaudiotagger.issues;
import org.jaudiotagger.AbstractTestCase;
import org.jaudiotagger.audio.AudioFile;
import org.jaudiotagger.audio.AudioFileIO;
import org.jaudiotagger.tag.FieldKey;
import java.io.File;
/**
*File corrupt after write
*/
public class Issue290Test extends AbstractTestCase
{
public ... | Comment out test that fails locally because issue not resolved yet because preventing mvn deploy | Comment out test that fails locally because issue not resolved yet because preventing mvn deploy
git-svn-id: 545e707062091c2f19509f4812c0e7d129870002@853 922cec90-98bc-ecba-b0a9-867c771b4a74
| Java | lgpl-2.1 | nhminus/jaudiotagger-androidpatch,ConatyConsulting/jaudiotagger,nhminus/jaudiotagger-androidpatch,ConatyConsulting/jaudiotagger |
f7aab7937dd533846b9534f63a46978809fcf65b | ethereumj-core/src/main/java/org/ethereum/datasource/AbstractChainedSource.java | ethereumj-core/src/main/java/org/ethereum/datasource/AbstractChainedSource.java | package org.ethereum.datasource;
/**
* Created by Anton Nashatyrev on 06.12.2016.
*/
public abstract class AbstractChainedSource<Key, Value, SourceKey, SourceValue> implements Source<Key, Value> {
protected Source<SourceKey, SourceValue> source;
protected boolean flushSource;
protected AbstractChainedS... | package org.ethereum.datasource;
/**
* Abstract Source implementation with underlying backing Source
* The class has control whether the backing Source should be flushed
* in 'cascade' manner
*
* Created by Anton Nashatyrev on 06.12.2016.
*/
public abstract class AbstractChainedSource<Key, Value, SourceKey, Sour... | Fix flush implementation: first own flush() should be performed. Add docs | Fix flush implementation: first own flush() should be performed. Add docs
| Java | mit | loxal/FreeEthereum,loxal/FreeEthereum,loxal/FreeEthereum,loxal/ethereumj |
64a4778cd6b5e81886d83bc00394132b9c5e9b49 | app/src/main/java/com/example/android/groupschedulecoordinator/ActivityCreateGroup.java | app/src/main/java/com/example/android/groupschedulecoordinator/ActivityCreateGroup.java | package com.example.android.groupschedulecoordinator;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import java.util.ArrayList;
public class... | package com.example.android.groupschedulecoordinator;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import java.util.ArrayList;
public class... | Fix crash when adding new group names | Fix crash when adding new group names
| Java | mit | ThisChessPlayer/GroupScheduleCoordinator |
a13f95b9a5534ff27ebb5192773fab3bd8d65c45 | blormlib/src/main/java/br/com/bloder/blormlib/Blorm.java | blormlib/src/main/java/br/com/bloder/blormlib/Blorm.java | package br.com.bloder.blormlib;
import android.content.Context;
import android.view.View;
import android.widget.Toast;
import java.util.ArrayList;
import java.util.List;
import br.com.bloder.blormlib.validation.Validate;
import br.com.bloder.blormlib.validation.Validation;
/**
* Created by bloder on 05/06/16.
*/
... | package br.com.bloder.blormlib;
import android.view.View;
import java.util.ArrayList;
import java.util.List;
import br.com.bloder.blormlib.validation.Validate;
import br.com.bloder.blormlib.validation.Validation;
/**
* Created by bloder on 05/06/16.
*/
public class Blorm {
public static class Builder {
pr... | Add is function with error message in blorm class | Add is function with error message in blorm class
| Java | mit | bloder/Blorm |
395a09a57b1bf98b554126be3119ea52228624ae | jslack-api-client/src/main/java/com/github/seratch/jslack/api/methods/response/oauth/OAuthAccessResponse.java | jslack-api-client/src/main/java/com/github/seratch/jslack/api/methods/response/oauth/OAuthAccessResponse.java | package com.github.seratch.jslack.api.methods.response.oauth;
import com.github.seratch.jslack.api.methods.SlackApiResponse;
import lombok.Data;
import java.util.List;
@Data
public class OAuthAccessResponse implements SlackApiResponse {
private boolean ok;
private String warning;
private String error;
... | package com.github.seratch.jslack.api.methods.response.oauth;
import com.github.seratch.jslack.api.methods.SlackApiResponse;
import lombok.Data;
import java.util.List;
@Data
public class OAuthAccessResponse implements SlackApiResponse {
private boolean ok;
private String warning;
private String error;
... | Mark workspace app related properties as deprecated | Mark workspace app related properties as deprecated
| Java | mit | seratch/jslack,seratch/jslack,seratch/jslack,seratch/jslack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.