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
5d4fb959c75b08efa7a9d648c6c01709f440aa01
src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java
src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java
package com.crowdin.cli.commands.functionality; import com.crowdin.cli.properties.CliProperties; import com.crowdin.cli.properties.Params; import com.crowdin.cli.properties.PropertiesBean; import com.crowdin.cli.utils.file.FileReader; import java.io.File; import java.nio.file.Files; public class PropertiesBuilder { ...
package com.crowdin.cli.commands.functionality; import com.crowdin.cli.properties.CliProperties; import com.crowdin.cli.properties.Params; import com.crowdin.cli.properties.PropertiesBean; import com.crowdin.cli.utils.file.FileReader; import java.io.File; import java.nio.file.Files; public class PropertiesBuilder { ...
Fix for absolute paths when using params
Fix for absolute paths when using params
Java
mit
crowdin/crowdin-cli,crowdin/crowdin-cli
ab4b33f8800bce00127d1f4f8440b21b767f21b0
src/main/java/ru/tehkode/permissions/backends/caching/CachingGroupData.java
src/main/java/ru/tehkode/permissions/backends/caching/CachingGroupData.java
package ru.tehkode.permissions.backends.caching; import ru.tehkode.permissions.PermissionsGroupData; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executor; /** * Cached data for groups */ public class CachingGroupData extends CachingData implements PermissionsGro...
package ru.tehkode.permissions.backends.caching; import ru.tehkode.permissions.PermissionsGroupData; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Executor; /** * Cached data for groups */ public class CachingGroupData extends CachingData implements PermissionsGroupData { private fin...
Fix handling of default groups for null world
Fix handling of default groups for null world
Java
apache-2.0
PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx,Phoenix616/PermissionsEx,PEXPlugins/PermissionsEx,xaoseric/PermissionsEx,xaoseric/PermissionsEx,Phoenix616/PermissionsEx
1156f9f2cd4dbf2d4cdb1afa693eb82e7ad5968f
android/src/main/java/com/thebluealliance/androidclient/subscribers/MatchBreakdownSubscriber.java
android/src/main/java/com/thebluealliance/androidclient/subscribers/MatchBreakdownSubscriber.java
package com.thebluealliance.androidclient.subscribers; import com.google.gson.JsonObject; import com.thebluealliance.androidclient.models.BasicModel; import com.thebluealliance.androidclient.models.Match; public class MatchBreakdownSubscriber extends BaseAPISubscriber<Match, JsonObject> { @Override public v...
package com.thebluealliance.androidclient.subscribers; import com.google.gson.JsonObject; import com.thebluealliance.androidclient.models.BasicModel; import com.thebluealliance.androidclient.models.Match; public class MatchBreakdownSubscriber extends BaseAPISubscriber<Match, JsonObject> { @Override public v...
Fix breakdowns for unplayed matches
Fix breakdowns for unplayed matches
Java
mit
1fish2/the-blue-alliance-android,nwalters512/the-blue-alliance-android,phil-lopreiato/the-blue-alliance-android,1fish2/the-blue-alliance-android,nwalters512/the-blue-alliance-android,phil-lopreiato/the-blue-alliance-android,1fish2/the-blue-alliance-android,nwalters512/the-blue-alliance-android,the-blue-alliance/the-blu...
c4a72ff7935bcfd3eba2ad826003ebeb1eaa3681
android/src/main/java/victoralbertos/io/android/MainActivity.java
android/src/main/java/victoralbertos/io/android/MainActivity.java
package victoralbertos.io.android; import android.app.Activity; import android.os.Bundle; import io.reactivecache.ReactiveCache; import io.victoralbertos.jolyglot.GsonSpeaker; import java.util.ArrayList; import java.util.List; import rx.Observable; /** * Created by victor on 21/01/16. */ public class MainActivity e...
package victoralbertos.io.android; import android.app.Activity; /** * Created by victor on 21/01/16. */ public class MainActivity extends Activity { }
Remove reference from Android project
Remove reference from Android project
Java
apache-2.0
VictorAlbertos/RxCache
50758030cbba5e299038144d8ce57a77b58bb9ff
rest-common/src/test/java/uk/ac/ebi/quickgo/rest/search/query/TestUtil.java
rest-common/src/test/java/uk/ac/ebi/quickgo/rest/search/query/TestUtil.java
package uk.ac.ebi.quickgo.rest.search.query; import java.util.Arrays; import java.util.HashSet; import java.util.Set; /** * Created by rantunes on 29/11/15. */ public class TestUtil { public static <T> Set<T> asSet(T... elements) { return new HashSet<>(Arrays.asList(elements)); } }
package uk.ac.ebi.quickgo.rest.search.query; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; /** * Created by rantunes on 29/11/15. */ public class TestUtil { public static <T> Set<T> asSet(T... elements) { return new LinkedHashSet<>(Arrays.asList...
Change implementation of asSet to use LinkedHashSet instead of HashSet. This is to preserve the ordering for test purposes.
Change implementation of asSet to use LinkedHashSet instead of HashSet. This is to preserve the ordering for test purposes.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
d8c53d2060aa3029c41b9746f6c8b0a35fd6cbd4
src/com/jaquadro/minecraft/storagedrawers/integration/thermalfoundation/CoFHSecurityProvider.java
src/com/jaquadro/minecraft/storagedrawers/integration/thermalfoundation/CoFHSecurityProvider.java
package com.jaquadro.minecraft.storagedrawers.integration.thermalfoundation; import com.jaquadro.minecraft.storagedrawers.api.security.ISecurityProvider; import com.jaquadro.minecraft.storagedrawers.api.storage.attribute.IProtectable; import com.jaquadro.minecraft.storagedrawers.integration.ThermalFoundation; import c...
package com.jaquadro.minecraft.storagedrawers.integration.thermalfoundation; import com.jaquadro.minecraft.storagedrawers.api.security.ISecurityProvider; import com.jaquadro.minecraft.storagedrawers.api.storage.attribute.IProtectable; import com.jaquadro.minecraft.storagedrawers.integration.ThermalFoundation; import c...
Fix CoFH-locked drawers crashing clients
Fix CoFH-locked drawers crashing clients
Java
mit
bloodmc/StorageDrawers,jaquadro/StorageDrawers,jaquadro/StorageDrawers
8978da376e12d58afd680da1fec8249f3e233c89
home-server-backend/src/main/java/nl/homeserver/config/WebSocketConfig.java
home-server-backend/src/main/java/nl/homeserver/config/WebSocketConfig.java
package nl.homeserver.config; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer; import org.springframework.web.socket.config.annotation.En...
package nl.homeserver.config; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; import org.springframework.web.socket.config.annotation.StompEndpointR...
Fix usage of deprecated class
Fix usage of deprecated class
Java
apache-2.0
bassages/homecontrol,bassages/homecontrol,bassages/home-server,bassages/home-server
f89bdbf4771c852e8ad27fa1b1b130f677d0fc73
src/main/java/de/idrinth/waraddonclient/model/addon/Addon.java
src/main/java/de/idrinth/waraddonclient/model/addon/Addon.java
package de.idrinth.waraddonclient.model.addon; import java.io.IOException; import java.util.List; public interface Addon { public List<String> getTags(); public boolean hasTag(String tag); public String getVersion(); public String getInstalled(); public String getDescription(St...
package de.idrinth.waraddonclient.model.addon; import java.io.IOException; import java.util.List; public interface Addon { List<String> getTags(); boolean hasTag(String tag); String getVersion(); String getInstalled(); String getDescription(String language); String getNa...
Remove redundant interface access modifier
Remove redundant interface access modifier https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.4
Java
mit
Idrinth/WARAddonClient,Idrinth/WARAddonClient
a240b5d366af80de32626ac9cf9e4162934272fa
src/main/java/ee/tuleva/onboarding/capital/InitialCapital.java
src/main/java/ee/tuleva/onboarding/capital/InitialCapital.java
package ee.tuleva.onboarding.capital; import ee.tuleva.onboarding.user.User; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.validator.constraints.NotBlank; import javax.persistence.*; import javax.validation.constraints.NotNull; impor...
package ee.tuleva.onboarding.capital; import ee.tuleva.onboarding.user.User; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.validator.constraints.NotBlank; import javax.persistence.*; import javax.validation.constraints.NotNull; impor...
Fix initial capital domain table name
Fix initial capital domain table name
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
05ec5da334a1dbfff82dd3fd4e6e916a763149f7
src/test/java/co/arcs/groove/basking/test/SyncServiceTest.java
src/test/java/co/arcs/groove/basking/test/SyncServiceTest.java
package co.arcs.groove.basking.test; import static org.junit.Assert.assertEquals; import java.util.concurrent.ExecutionException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import co.arcs.groove.basking.Config; import co.arcs.groove.basking.SyncService; import co.arcs.groo...
package co.arcs.groove.basking.test; import static org.junit.Assert.assertEquals; import java.util.concurrent.ExecutionException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import co.arcs.groove.basking.Config; import co.arcs.groove.basking.SyncService; import co.arcs.groo...
Reorder assertions so more useful information generated on failure.
Reorder assertions so more useful information generated on failure.
Java
apache-2.0
danhawkes/basking,danhawkes/basking
1eb2712c9036a47a48772fd65d567265c2d99682
src/test/java/com/llnw/storage/client/MockEndpointFactory.java
src/test/java/com/llnw/storage/client/MockEndpointFactory.java
package com.llnw.storage.client; import com.llnw.storage.client.io.ActivityCallback; import javax.annotation.Nullable; import java.io.File; import java.io.IOException; import java.util.List; public class MockEndpointFactory extends EndpointFactory { public MockEndpointFactory() { super(null, null, null)...
package com.llnw.storage.client; import com.google.common.collect.Lists; import com.llnw.storage.client.io.ActivityCallback; import javax.annotation.Nullable; import java.io.File; import java.io.IOException; import java.util.List; public class MockEndpointFactory extends EndpointFactory { public MockEndpointFac...
Return empty list instead of null in mock
Return empty list instead of null in mock
Java
mit
Orchestrate-Cloud-Storage/StorageClient
b6cbabeb087934e1faa045ec78b22d1fbaf27d3d
src/main/java/com/nexmo/quickstart/voice/OutboundTextToSpeech.java
src/main/java/com/nexmo/quickstart/voice/OutboundTextToSpeech.java
package com.nexmo.quickstart.voice; import com.nexmo.client.NexmoClient; import com.nexmo.client.auth.AuthMethod; import com.nexmo.client.auth.JWTAuthMethod; import com.nexmo.client.voice.Call; import java.nio.file.FileSystems; import static com.nexmo.quickstart.Util.configureLogging; import static com.nexmo.quickst...
package com.nexmo.quickstart.voice; import com.nexmo.client.NexmoClient; import com.nexmo.client.auth.AuthMethod; import com.nexmo.client.auth.JWTAuthMethod; import com.nexmo.client.voice.Call; import java.nio.file.FileSystems; import static com.nexmo.quickstart.Util.configureLogging; import static com.nexmo.quickst...
Clean up for building blocks.
Clean up for building blocks.
Java
mit
nexmo-community/nexmo-java-quickstart
34f05c21b2b4de8096cabd088ab26b5c1c7be17a
src/data/trainnetwork/Seat.java
src/data/trainnetwork/Seat.java
package data.trainnetwork; import java.math.BigInteger; import java.security.SecureRandom; /** * A class representing a Seat within section * @author Balazs Pete * */ public class Seat { private String id; /** * Create a new Seat * @param id */ public Seat() { this.id = new BigInteger(130, new Secu...
package data.trainnetwork; import java.math.BigInteger; import java.security.SecureRandom; /** * A class representing a Seat within section * @author Balazs Pete * */ public class Seat { private String id, sectionId = null; /** * Create a new Seat * @param id */ public Seat() { this.id = new BigInt...
Add ability to associate a seat with a section
Add ability to associate a seat with a section
Java
mit
balazspete/multi-hop-train-journey-booking
908f421b89ce512ff040f3e2e57f1ff098e116fb
spatial-lucene/src/test/java/org/apache/lucene/spatial/base/context/SpatialContextProviderTest.java
spatial-lucene/src/test/java/org/apache/lucene/spatial/base/context/SpatialContextProviderTest.java
package org.apache.lucene.spatial.base.context; import static org.junit.Assert.assertEquals; import org.apache.lucene.spatial.base.context.simple.SimpleSpatialContext; import org.junit.After; import org.junit.Test; public class SpatialContextProviderTest { @Test public void testGetContext_simpleSpatialContext(...
package org.apache.lucene.spatial.base.context; import org.apache.lucene.spatial.base.context.simple.SimpleSpatialContext; import org.junit.After; import org.junit.Test; import static org.junit.Assert.assertEquals; public class SpatialContextProviderTest { @Test public void testGetContext_simpleSpatialContext(...
Use typed reference to MockSpatialContext to avoid changes in package names.
Use typed reference to MockSpatialContext to avoid changes in package names.
Java
apache-2.0
varsis/spatial4j,jdeolive/spatial4j,ryantxu/spatial-solr-sandbox,jdeolive/spatial4j
a79426c25cdcac36cd9ef0b3fcfa3c76a331fe4f
OpERP/src/main/java/devopsdistilled/operp/client/ClientApp.java
OpERP/src/main/java/devopsdistilled/operp/client/ClientApp.java
package devopsdistilled.operp.client; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import devopsdistilled.operp.client.context.AppContext; import devopsdistilled.operp.client.main.MainWindow; public class ClientApp { public...
package devopsdistilled.operp.client; import javax.swing.UIManager; import javax.swing.UIManager.LookAndFeelInfo; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import devopsdistilled.operp.client.context.AppContext; import dev...
Set Nimbus Look and Feel
Set Nimbus Look and Feel OPEN - task 79: Create Party Module http://github.com/DevOpsDistilled/OpERP/issues/issue/79
Java
mit
DevOpsDistilled/OpERP,njmube/OpERP
bda7ccbf53c7b3ce50d63b33ff1bbd25ee615338
src/main/java/se/arbetsformedlingen/venice/probe/Host.java
src/main/java/se/arbetsformedlingen/venice/probe/Host.java
package se.arbetsformedlingen.venice.probe; import java.util.Objects; public class Host { private String host; Host(String host) { this.host = host; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) retu...
package se.arbetsformedlingen.venice.probe; import java.util.Objects; public class Host { private String host; Host(String host) { this.host = host; } String getName() { return host; } @Override public boolean equals(Object o) { if (this == o) return true; ...
Allow user to read the name of the host
Allow user to read the name of the host
Java
apache-2.0
tsundberg/venice,tsundberg/venice,tsundberg/venice,tsundberg/venice
a4ba81ac20652bc684bd83c43393b9a5149bfa40
clients/android/NewsBlur/src/com/newsblur/network/SearchAsyncTaskLoader.java
clients/android/NewsBlur/src/com/newsblur/network/SearchAsyncTaskLoader.java
package com.newsblur.network; import java.util.ArrayList; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import com.newsblur.domain.FeedResult; public class SearchAsyncTaskLoader extends AsyncTaskLoader<SearchLoaderResponse> { public static final String SEARCH_TERM = "searchTer...
package com.newsblur.network; import java.util.ArrayList; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import com.newsblur.domain.FeedResult; public class SearchAsyncTaskLoader extends AsyncTaskLoader<SearchLoaderResponse> { public static final String SEARCH_TERM = "searchTer...
Fix crash on feed search.
Fix crash on feed search.
Java
mit
canwe/NewsBlur,epiphany27/NewsBlur,waltharius/NewsBlur,bruceyou/NewsBlur,slava-sh/NewsBlur,lucidbard/NewsBlur,youprofit/NewsBlur,petecummings/NewsBlur,youprofit/NewsBlur,samuelclay/NewsBlur,Suninus/NewsBlur,mihaip/NewsBlur,Suninus/NewsBlur,Suninus/NewsBlur,dosiecki/NewsBlur,AlphaCluster/NewsBlur,Suninus/NewsBlur,mihaip...
99ff9ab0b2d550fa1d0b092dd20215a01a798f3d
do_postgres/ext-java/src/main/java/do_postgres/PostgresDriverDefinition.java
do_postgres/ext-java/src/main/java/do_postgres/PostgresDriverDefinition.java
package do_postgres; import data_objects.drivers.AbstractDriverDefinition; import java.util.Properties; public class PostgresDriverDefinition extends AbstractDriverDefinition { public final static String URI_SCHEME = "postgresql"; public final static String JDBC_URI_SCHEME = "postgresql"; public final st...
package do_postgres; import data_objects.drivers.AbstractDriverDefinition; import java.util.Properties; public class PostgresDriverDefinition extends AbstractDriverDefinition { public final static String URI_SCHEME = "postgres"; public final static String JDBC_URI_SCHEME = "postgresql"; public final stat...
Fix omission in previous commit 490d652
[do_jdbc] Fix omission in previous commit 490d652 * PostgresDriverDefinition should have been updated to use overloaded constructor in AbstractDriverDefinition. Signed-off-by: Alex Coles <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcolesportfolio.com>
Java
mit
simonkro/do_mysql,simonkro/do_mysql,simonkro/do_mysql
5a62f6c0d12d40b0745d1c3dfbecebc79b992f8e
org/xbill/DNS/ResolveThread.java
org/xbill/DNS/ResolveThread.java
// Copyright (c) 1999 Brian Wellington (bwelling@xbill.org) // Portions Copyright (c) 1999 Network Associates, Inc. package org.xbill.DNS; import java.util.*; import java.io.*; import java.net.*; /** * A special-purpose thread used by Resolvers (both SimpleResolver and * ExtendedResolver) to perform asynchronous q...
// Copyright (c) 1999 Brian Wellington (bwelling@xbill.org) // Portions Copyright (c) 1999 Network Associates, Inc. package org.xbill.DNS; import java.util.*; import java.io.*; import java.net.*; /** * A special-purpose thread used by Resolvers (both SimpleResolver and * ExtendedResolver) to perform asynchronous q...
Make this a subclass of Thread.
Make this a subclass of Thread.
Java
bsd-2-clause
unchiujar/dnsjavap2p
e09ab506e68b7e7bced6f942c93e78858fb3ac65
demo/src/com/google/maps/android/utils/demo/BaseDemoActivity.java
demo/src/com/google/maps/android/utils/demo/BaseDemoActivity.java
package com.google.maps.android.utils.demo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; public abstract class BaseDemoActivity extends FragmentActivity { private GoogleMap mMap; ...
package com.google.maps.android.utils.demo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; public abstract class BaseDemoActivity extends FragmentActivity { private GoogleMap mMap; ...
Remove extraneous call in demo app
Remove extraneous call in demo app
Java
apache-2.0
chodanunsrinil/map,zamesilyasa/android-maps-utils,barbeau/android-maps-utils,vishal1011/android-maps-utils,skedgo/android-maps-utils,Munazza/android-maps-utils,finkcloud/android-maps-utils,googlemaps/android-maps-utils,SamoshkinR-Tem/android-maps-utils,commonsguy/android-maps-utils,hermance/android-maps-utils,yura0202/...
31b05212d90e27d04dee9665baa5d447e56e76c5
collect-core/src/main/java/org/openforis/collect/persistence/jooq/SurveyObjectMappingDSLContext.java
collect-core/src/main/java/org/openforis/collect/persistence/jooq/SurveyObjectMappingDSLContext.java
/** * */ package org.openforis.collect.persistence.jooq; import java.sql.Connection; import org.jooq.Record; import org.jooq.Sequence; import org.jooq.StoreQuery; import org.jooq.TableField; import org.openforis.collect.model.CollectSurvey; import org.openforis.idm.metamodel.PersistedSurveyObject; /...
/** * */ package org.openforis.collect.persistence.jooq; import java.sql.Connection; import org.jooq.Record; import org.jooq.Sequence; import org.jooq.StoreQuery; import org.jooq.TableField; import org.openforis.collect.model.CollectSurvey; import org.openforis.idm.metamodel.PersistedSurveyObject; /...
Set id in insert query during inserts or update
Set id in insert query during inserts or update
Java
mit
openforis/collect,openforis/collect,openforis/collect,openforis/collect
b611d314e39e0eef2884653b19463514195cb63e
mockui-iso/src/main/java/com/autonomy/abc/selenium/iso/IdolIsoTopNavBar.java
mockui-iso/src/main/java/com/autonomy/abc/selenium/iso/IdolIsoTopNavBar.java
package com.autonomy.abc.selenium.iso; import com.autonomy.abc.selenium.menu.TopNavBar; import com.hp.autonomy.frontend.selenium.util.Waits; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait...
package com.autonomy.abc.selenium.iso; import com.autonomy.abc.selenium.menu.TopNavBar; import com.hp.autonomy.frontend.selenium.util.Waits; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait...
Use the right cog icon
Use the right cog icon Was occasionally getting confused because the cog is also the symbol for the settings page and this loaded first (I think). This seems to make tests pass more.
Java
mit
hpautonomy/find,hpe-idol/find,hpe-idol/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/java-powerpoint-report
f2fbda74f4036b7ddf1cb31712d48f55f2652675
java/first_test/FstGenerator.java
java/first_test/FstGenerator.java
import java.util.List; class FstGenerator { private StringBuffer strBuff; private List<State> fstStates; public FstGenerator(List<State> fstStates) { this.fstStates = fstStates; this.strBuff = new StringBuffer(); } public StringBuffer compute() { append("class HelloWorld ...
import java.util.List; class FstGenerator { private StringBuffer strBuff; private List<State> fstStates; public FstGenerator(List<State> fstStates) { this.fstStates = fstStates; this.strBuff = new StringBuffer(); } public StringBuffer compute() { append("class FstCompute ...
Rename generated class and filled main method
MINOR: Rename generated class and filled main method
Java
apache-2.0
devictr/fst-jit,devictr/fst-jit,devictr/fst-jit
aa5a2b65ed71d53eb7991f3378817666b80aadb9
peppol-directory-client/src/test/java/com/helger/pd/client/PDClientTest.java
peppol-directory-client/src/test/java/com/helger/pd/client/PDClientTest.java
package com.helger.pd.client; import org.junit.Test; import com.helger.peppol.identifier.participant.SimpleParticipantIdentifier; /** * Test class for class {@link PDClient}. * * @author Philip Helger */ public final class PDClientTest { static { PDClientConfiguration.getConfigFile ().applyAllNetworkSyst...
package com.helger.pd.client; import org.junit.Test; import com.helger.commons.exception.InitializationException; import com.helger.peppol.identifier.participant.SimpleParticipantIdentifier; /** * Test class for class {@link PDClient}. * * @author Philip Helger */ public final class PDClientTest { static { ...
Test fix if no certificate is present
Test fix if no certificate is present
Java
apache-2.0
phax/peppol-yellow-pages,phax/peppol-yellow-pages,phax/peppol-yellow-pages,phax/peppol-directory,phax/peppol-directory,phax/peppol-yellow-pages,phax/peppol-directory
9b8706011de739ec44425c1fe04066fd25a6c8b4
src/main/java/org/pitest/cucumber/CucumberTestFrameworkPlugin.java
src/main/java/org/pitest/cucumber/CucumberTestFrameworkPlugin.java
package org.pitest.cucumber; import org.pitest.classinfo.ClassByteArraySource; import org.pitest.testapi.Configuration; import org.pitest.testapi.TestGroupConfig; import org.pitest.testapi.TestPluginFactory; import java.util.Collection; public class CucumberTestFrameworkPlugin implements TestPluginFactory { pub...
package org.pitest.cucumber; import org.pitest.classinfo.ClassByteArraySource; import org.pitest.testapi.Configuration; import org.pitest.testapi.TestGroupConfig; import org.pitest.testapi.TestPluginFactory; import org.pitest.util.Preconditions; import java.util.Collection; public class CucumberTestFrameworkPlugin i...
Update to support PIT 1.4.3
Update to support PIT 1.4.3
Java
apache-2.0
alexvictoor/pitest-cucumber-plugin
093b4bfcccadcf7bc8f78e789a4c2c290e192852
src/main/java/org/axonframework/sample/axonbank/myaxonbank/MyController.java
src/main/java/org/axonframework/sample/axonbank/myaxonbank/MyController.java
/* * Copyright (c) 2017 General Electric Company. All rights reserved. * * The copyright to the computer software herein is the property of General Electric Company. * The software may be used and/or copied only with the written permission of * General Electric Company or in accordance with the terms and condition...
/* * Copyright (c) 2017 General Electric Company. All rights reserved. * * The copyright to the computer software herein is the property of General Electric Company. * The software may be used and/or copied only with the written permission of * General Electric Company or in accordance with the terms and condition...
Use command gateway instead of command bus to generate commands
Use command gateway instead of command bus to generate commands
Java
mit
bharat-srinivasan/my-axonbank
e9d5ca26ce504bdad447eb00858d5de3d2bf3bdc
subprojects/tooling-api/src/main/java/org/gradle/tooling/TestDescriptor.java
subprojects/tooling-api/src/main/java/org/gradle/tooling/TestDescriptor.java
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Revert "Annotate getParent with @Nullable"
Revert "Annotate getParent with @Nullable" This reverts commit 1bdb91ce87ec473fa5ef78cd3b3565337b400e84.
Java
apache-2.0
robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,bl...
bceb8cde492beed042d258a3305a276d9e4bd992
rest/src/main/java/org/n52/javaps/rest/model/AllowedValues.java
rest/src/main/java/org/n52/javaps/rest/model/AllowedValues.java
/* * Copyright 2016-2020 52°North Initiative for Geospatial Open Source * Software GmbH * * 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...
/* * Copyright 2016-2020 52°North Initiative for Geospatial Open Source * Software GmbH * * 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...
Add generated serial version UUID
Add generated serial version UUID
Java
apache-2.0
52North/javaPS,52North/javaPS,52North/javaPS
3802ed2790a0618c8082a3959f8a5c9f9c132ba2
java/src/main/java/hwo/kurjatturskat/core/message/MessageType.java
java/src/main/java/hwo/kurjatturskat/core/message/MessageType.java
package hwo.kurjatturskat.core.message; public enum MessageType { // NOTE: Enums must be in small letter for json to be outputted correctly carPositions("carPositions"), yourCar("yourCar"), join("join"), gameInit( "gameInit"), gameStart("gameStart"), throttle("throttle"), switchLane( "...
package hwo.kurjatturskat.core.message; public enum MessageType { // NOTE: Enums must be in small letter and match to the msgType field value // in the messages. Otherwise gson cannot map them carPositions, yourCar, join, gameInit, gameStart, throttle, switchLane, unknown, lapFinished, spawn, crash, finis...
Remove the parameterized enum as it could not be used with gson
Remove the parameterized enum as it could not be used with gson
Java
apache-2.0
Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-129,Arch-vile/hwo2014-team-...
f3cd0826e5b3320af334c4f3aaa76211a1fd7179
server/src/main/java/io/spine/system/server/SystemRepository.java
server/src/main/java/io/spine/system/server/SystemRepository.java
/* * Copyright 2019, TeamDev. 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 EXPRESS OR...
/* * Copyright 2019, TeamDev. 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 EXPRESS OR...
Make system entities post any kind of events.
Make system entities post any kind of events.
Java
apache-2.0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
f4e3d097fe63c111dff58bd26b42b8fe40dc870d
android/src/com/levien/synthesizer/android/ui/SettingsActivity.java
android/src/com/levien/synthesizer/android/ui/SettingsActivity.java
package com.levien.synthesizer.android.ui; import android.os.Bundle; import android.preference.PreferenceActivity; import com.levien.synthesizer.R; public class SettingsActivity extends PreferenceActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ad...
package com.levien.synthesizer.android.ui; import android.os.Bundle; import android.preference.ListPreference; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.PreferenceActivity; import com.levien.synthesizer.R; public class SettingsAct...
Make keyboard type show up in preferences list
Make keyboard type show up in preferences list Show the actual current setting of the preference in the summary.
Java
apache-2.0
pashapm/music-synthesizer-for-android,8106yogi/music-synthesizer-for-android,MubasharJaved/music-synthesizer-for-android,google/music-synthesizer-for-android,Koonsai/music-synthesizer-for-android,bishopofflorida/music-synthesizer-for-android,mw2c/music-synthesizer-for-android,Koonsai/music-synthesizer-for-android,janic...
d8fa2a0db54ac242b34b9aa59850b75232d0d944
java/interviewquestions/ContinuousSum.java
java/interviewquestions/ContinuousSum.java
package interviewquestions; /** * Given an array of integers (positive and negative) find the * largest continuous sum */ public class ContinuousSum extends TestCase { public static int largestSum(int[] array) { assert(array.length > 0); int maxsum = array[0]; int current = array[0]; for (int i = ...
package interviewquestions; /** * Given an array of integers (positive and negative) find the * largest continuous sum */ public class ContinuousSum extends TestCase { public static int largestSum(int[] array) { assert(array.length > 0); int maxsum = array[0]; int current = array[0]; for (int i = ...
Test edge cases on largest sum
Test edge cases on largest sum
Java
mit
kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads
8de18b6d4db8d24fbda811f56b23ebbc51fbce0d
src/main/java/at/splendit/example/hibernate/domain/AbstractEntityObject.java
src/main/java/at/splendit/example/hibernate/domain/AbstractEntityObject.java
package at.splendit.example.hibernate.domain; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.Transient; import org.apache.commons.lang3.builder.EqualsBuilde...
package at.splendit.example.hibernate.domain; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.Transient; import org.apache.commons.lang3.builder.EqualsBuilde...
ADD id must be implement Serializable
ADD id must be implement Serializable
Java
unlicense
Splendit/hibernate-example
dd34d6e3f62682fc85ea5e7037165d4435578ca9
gosu-core/src/main/java/gw/internal/gosu/parser/expressions/DefaultArgLiteral.java
gosu-core/src/main/java/gw/internal/gosu/parser/expressions/DefaultArgLiteral.java
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser.expressions; import gw.internal.gosu.parser.Expression; import gw.lang.parser.IExpression; import gw.lang.parser.expressions.ILiteralExpression; import gw.lang.parser.expressions.ITypeAsExpression; import gw.lang.reflect.IType; import gw...
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser.expressions; import gw.internal.gosu.parser.Expression; import gw.lang.parser.IExpression; import gw.lang.parser.expressions.ILiteralExpression; import gw.lang.parser.expressions.ITypeAsExpression; import gw.lang.reflect.IType; import gw...
Fix NPE when we compile a null default BigDecimal or BigInteger literal
Fix NPE when we compile a null default BigDecimal or BigInteger literal
Java
apache-2.0
gosu-lang/gosu-lang,tcmoore32/sheer-madness,gosu-lang/gosu-lang,gosu-lang/gosu-lang,tcmoore32/sheer-madness,tcmoore32/sheer-madness,tcmoore32/sheer-madness,gosu-lang/gosu-lang,tcmoore32/sheer-madness
83995b05f47bb7b3620c24bf23bcd95069435e57
markwon-core/src/main/java/ru/noties/markwon/core/SimpleBlockNodeVisitor.java
markwon-core/src/main/java/ru/noties/markwon/core/SimpleBlockNodeVisitor.java
package ru.noties.markwon.core; import android.support.annotation.NonNull; import org.commonmark.node.Node; import ru.noties.markwon.MarkwonVisitor; /** * A {@link ru.noties.markwon.MarkwonVisitor.NodeVisitor} that ensures that a markdown * block starts with a new line, all children are visited and if further con...
package ru.noties.markwon.core; import android.support.annotation.NonNull; import org.commonmark.node.Node; import ru.noties.markwon.MarkwonVisitor; /** * A {@link ru.noties.markwon.MarkwonVisitor.NodeVisitor} that ensures that a markdown * block starts with a new line, all children are visited and if further con...
Add optional spans for list blocks
Add optional spans for list blocks
Java
apache-2.0
noties/Markwon
84db08e99c16d5bf3e5c035880adb440e02099fd
butterknife-lint/src/main/java/butterknife/lint/LintRegistry.java
butterknife-lint/src/main/java/butterknife/lint/LintRegistry.java
package butterknife.lint; import com.android.tools.lint.client.api.IssueRegistry; import com.android.tools.lint.detector.api.Issue; import com.google.common.collect.ImmutableList; import java.util.List; /** * Contains references to all custom lint checks for butterknife. */ public class LintRegistry extends IssueRe...
package butterknife.lint; import com.android.tools.lint.client.api.IssueRegistry; import com.android.tools.lint.detector.api.ApiKt; import com.android.tools.lint.detector.api.Issue; import com.google.common.collect.ImmutableList; import java.util.List; /** * Contains references to all custom lint checks for butterkn...
Update Lint checks to new APIs
Update Lint checks to new APIs
Java
apache-2.0
JakeWharton/butterknife,ze-pequeno/butterknife,JakeWharton/butterknife,hzsweers/butterknife,ze-pequeno/butterknife,ze-pequeno/butterknife,JakeWharton/butterknife,hzsweers/butterknife,JakeWharton/butterknife,hzsweers/butterknife,ze-pequeno/butterknife
76154fca26d1813528f379827bfb6d2e9c16f10c
domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java
domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java
package com.mindoo.domino.jna.test; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesDatabase.SignCallback; import com.mindoo.domino.jna.NotesViewEntryData; import com.mindoo.domino.jna.internal.NotesCAPI; import lotus.domino.Session; /** * Tests cases for database searches * * @auth...
package com.mindoo.domino.jna.test; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesDatabase.SignCallback; import com.mindoo.domino.jna.NotesViewEntryData; import com.mindoo.domino.jna.internal.NotesCAPI; import lotus.domino.Session; /** * Tests cases for database searches * * @auth...
Test case commented out; needs more work
Test case commented out; needs more work
Java
apache-2.0
klehmann/domino-jna
121929b8d719cac8e7d11cf825e588518e8b1a0c
src/main/java/com/github/cstroe/sqs/repository/RepositoryFactory.java
src/main/java/com/github/cstroe/sqs/repository/RepositoryFactory.java
package com.github.cstroe.sqs.repository; public class RepositoryFactory { public static NotebookRepository notebook() { return new NotebookRepository(); } public static NoteRepository note() { return new NoteRepository(); } }
package com.github.cstroe.sqs.repository; public class RepositoryFactory { }
Remove mentions to old repositories.
Remove mentions to old repositories.
Java
agpl-3.0
cstroe/SpendHawk,cstroe/SpendHawk,cstroe/SpendHawk
4f38f5f80679367f9e96463cb471c55d29c20b09
src/main/java/com/techern/minecraft/pathomania/proxy/ClientProxy.java
src/main/java/com/techern/minecraft/pathomania/proxy/ClientProxy.java
package com.techern.minecraft.pathomania.proxy; import com.techern.minecraft.pathomania.PathomaniaMod; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; /** * An implementation of {@link CommonPr...
package com.techern.minecraft.pathomania.proxy; import com.techern.minecraft.pathomania.PathomaniaMod; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; /** * An implementation of {@link CommonPr...
Fix subtypes of middle-clicked paths combining on drop
Fix subtypes of middle-clicked paths combining on drop Fixes #8
Java
mit
Techern/Pathomania
614775f12500ba1c4dfc9c34959ece06fdae0f5b
demo/src/com/google/maps/android/utils/demo/BaseDemoActivity.java
demo/src/com/google/maps/android/utils/demo/BaseDemoActivity.java
package com.google.maps.android.utils.demo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; public abstract class BaseDemoActivity extends FragmentActivity { private GoogleMap mMap; ...
package com.google.maps.android.utils.demo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; public abstract class BaseDemoActivity extends FragmentActivity { private GoogleMap mMap; ...
Check if mMap is null before running demo. Necessary to show the "Play services is out of date" button.
Check if mMap is null before running demo. Necessary to show the "Play services is out of date" button.
Java
apache-2.0
canlasd/Map-Plotting,niray/android-maps-utils,stephenmcd/android-maps-utils,rxl194/android-maps-utils,h2ri/android-maps-utils,noberasco/android-maps-utils,Akylas/android-maps-utils,mansigoel/android-maps-utils,chodanunsrinil/map,googlemaps/android-maps-utils,zamesilyasa/android-maps-utils,tomquist/android-maps-utils,go...
3c9d6ed0baaea6738e42f25f111bc8e38fdfbf65
solutions/java/ConvertArray.java
solutions/java/ConvertArray.java
import java.util.Arrays; public class ConvertArray { public int getOriginalIndex(int currentIndex, int length) { return (currentIndex % 3) * length + currentIndex/3; } public int[] convert(int[] input) { for (int i = 0; i < input.length; ++i) { int originalIndex = getOriginalIndex(i, input.length/3); ...
import java.util.Arrays; public class ConvertArray { public int getOriginalIndex(int currentIndex, int length) { return (currentIndex % 3) * length + currentIndex/3; } public int[] convert(int[] input) { // When array size is less than 3, returns an error. if (input.length % 3 != 0 ) { System.out.pr...
Update to handle an edge case
Update to handle an edge case Added an update to handle the case when array size is not a multiple of 3. Without this the program will run into an infinite loop!
Java
mit
cjjavellana/code-problems,dwatson3/code-problems,angelkar/code-problems,cjjavellana/code-problems,nickell-andrew/code-problems,akaragkiozidis/code-problems,patrickford/code-problems,ankur-anand/code-problems,lgulliver/code-problems,sethdame/code-problems,nickell-andrew/code-problems,patrickford/code-problems,cjjavellan...
a25749c206e65256849f75d569f77a81d84e40d3
poe4j-gui/src/main/java/com/swandiggy/poe4j/gui/log/ObservableLogAppender.java
poe4j-gui/src/main/java/com/swandiggy/poe4j/gui/log/ObservableLogAppender.java
package com.swandiggy.poe4j.gui.log; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.AppenderBase; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; /** * @author Jacob Swanson * @since 12/10/2015 */ public class Obser...
package com.swandiggy.poe4j.gui.log; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.AppenderBase; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; /** * @author Jacob Swanson * @since 12/10/2015 */ public class Obser...
Fix log not appending in gui
Fix log not appending in gui
Java
mit
Jacob-Swanson/poe4j,Jacob-Swanson/poe4j,Jacob-Swanson/poe4j
48fa9ba22fd721f0d1d90ea865c1071a17062b9f
opennms-webapp/src/main/java/org/opennms/web/svclayer/DistributedStatusService.java
opennms-webapp/src/main/java/org/opennms/web/svclayer/DistributedStatusService.java
package org.opennms.web.svclayer; import java.util.Date; public interface DistributedStatusService { public SimpleWebTable createStatusTable(String locationName, String applicationLabel); public SimpleWebTable createFacilityStatusTable(Date startDate, Date endDate); }
package org.opennms.web.svclayer; import java.util.Date; import org.springframework.transaction.annotation.Transactional; @Transactional(readOnly=true) public interface DistributedStatusService { public SimpleWebTable createStatusTable(String locationName, String applicationLabel); public SimpleWebTable...
Make the service layer transactional (and read-only)
Make the service layer transactional (and read-only)
Java
agpl-3.0
tdefilip/opennms,tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,rdkgit/opennms,roskens/opennms-pre-github,rdkgit/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,rosk...
387dcc4948b24b416c91a55af29affc51df75ee4
camel/camel-mail/src/main/java/org/wildfly/swarm/examples/camel/mail/Main.java
camel/camel-mail/src/main/java/org/wildfly/swarm/examples/camel/mail/Main.java
/* * #%L * Wildfly Swarm :: Examples :: Camel Mail * %% * Copyright (C) 2016 RedHat * %% * 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/LICENS...
/* * #%L * Wildfly Swarm :: Examples :: Camel Mail * %% * Copyright (C) 2016 RedHat * %% * 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/LICENS...
Change Camel-Mail example to - not create 2 SMTP servers. - use an integer instead of an integer-shaped string.
Change Camel-Mail example to - not create 2 SMTP servers. - use an integer instead of an integer-shaped string.
Java
apache-2.0
mstahv/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,mstahv/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,...
1634bcb3d15b7ad93423fe75d3ed5dfeb13dafef
src/test/java/com/xtremelabs/robolectric/shadows/ResourcesTest.java
src/test/java/com/xtremelabs/robolectric/shadows/ResourcesTest.java
package com.xtremelabs.robolectric.shadows; import android.app.Activity; import android.app.Application; import android.content.res.Resources; import com.xtremelabs.robolectric.R; import com.xtremelabs.robolectric.Robolectric; import com.xtremelabs.robolectric.WithTestDefaultsRunner; import com.xtremelabs.robolectric....
package com.xtremelabs.robolectric.shadows; import android.app.Activity; import android.app.Application; import android.content.res.Resources; import com.xtremelabs.robolectric.R; import com.xtremelabs.robolectric.Robolectric; import com.xtremelabs.robolectric.WithTestDefaultsRunner; import com.xtremelabs.robolectric....
Fix signature for ResourceLoader constructor
Fix signature for ResourceLoader constructor
Java
mit
holmari/robolectric,spotify/robolectric,fiower/robolectric,gb112211/robolectric,VikingDen/robolectric,thiz11/platform_external_robolectric,amarts/robolectric,diegotori/robolectric,macklinu/robolectric,diegotori/robolectric,tyronen/robolectric,gruszczy/robolectric,eric-kansas/robolectric,charlesmunger/robolectric,yinqua...
1298e872d2dd203155399fa8c9f4398d88086f12
server/src/test/java/keywhiz/service/resources/StatusResponseTest.java
server/src/test/java/keywhiz/service/resources/StatusResponseTest.java
package keywhiz.service.resources; import com.codahale.metrics.health.HealthCheck; import com.codahale.metrics.health.HealthCheckRegistry; import io.dropwizard.setup.Environment; import java.util.TreeMap; import javax.ws.rs.InternalServerErrorException; import org.junit.Before; import org.junit.Test; import static or...
package keywhiz.service.resources; import com.codahale.metrics.health.HealthCheck; import com.codahale.metrics.health.HealthCheckRegistry; import io.dropwizard.setup.Environment; import java.util.TreeMap; import javax.ws.rs.InternalServerErrorException; import javax.ws.rs.core.Response; import org.junit.Before; import...
Fix tests to check status code, and not expect exception
Fix tests to check status code, and not expect exception
Java
apache-2.0
square/keywhiz,mcpherrinm/keywhiz,madtrax/keywhiz,madtrax/keywhiz,madtrax/keywhiz,mcpherrinm/keywhiz,mcpherrinm/keywhiz,madtrax/keywhiz,mcpherrinm/keywhiz,square/keywhiz,square/keywhiz
e37bb65a0e275f913abd69e3dd7f28879075a38c
src/de/altimos/util/res/basic/BasicResourceKey.java
src/de/altimos/util/res/basic/BasicResourceKey.java
/* * Altimos JUtil * * Copyright (C) 2010-2011 Jan Graichen <jan.graichen@gmx.de> * * 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/LIC...
/* * Altimos JUtil * * Copyright (C) 2010-2011 Jan Graichen <jan.graichen@gmx.de> * * 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/LIC...
Add toString method to basic resource key.
Add toString method to basic resource key. git-svn-id: ddbd9cf08712f046fd96251fb76032477531c99f@83 2c5795a3-9673-4752-9eb2-864809377e00
Java
apache-2.0
jgraichen/ajutil
33ed57c00abcd6efd3b4d155f61b0a21fcc3c864
config-provisioning/src/main/java/com/yahoo/config/provision/package-info.java
config-provisioning/src/main/java/com/yahoo/config/provision/package-info.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. @ExportPackage @PublicApi package com.yahoo.config.provision; import com.yahoo.api.annotations.PublicApi; import com.yahoo.osgi.annotation.ExportPackage;
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. @ExportPackage package com.yahoo.config.provision; import com.yahoo.api.annotations.PublicApi; import com.yahoo.osgi.annotation.ExportPackage;
Remove this from public packages
Remove this from public packages By our contract this requires a major release, but we should make an exception because: - This is not useful outside the cloud environment - On the cloud environment there are just 2 usages, both of which are legacy and won't be impacted (as we're still exporting the packages). The ...
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
067afc6e8c3f6d779a2dfac54a31e573fa75d88a
app/templates/src/main/java/package/repository/_PersistenceAuditEventRepository.java
app/templates/src/main/java/package/repository/_PersistenceAuditEventRepository.java
package <%=packageName%>.repository; import <%=packageName%>.domain.PersistentAuditEvent; import org.joda.time.LocalDateTime; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * Spring Data JPA repository for the PersistentAuditEvent entity. */ public interface PersistenceAud...
package <%=packageName%>.repository; import <%=packageName%>.domain.PersistentAuditEvent; import org.joda.time.LocalDateTime; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * Spring Data JPA repository for the PersistentAuditEvent entity. */ public interface PersistenceAud...
Change the definition of the find by dates method
Change the definition of the find by dates method
Java
apache-2.0
dimeros/generator-jhipster,pascalgrimaud/generator-jhipster,siliconharborlabs/generator-jhipster,ctamisier/generator-jhipster,mosoft521/generator-jhipster,gmarziou/generator-jhipster,mosoft521/generator-jhipster,xetys/generator-jhipster,jkutner/generator-jhipster,gmarziou/generator-jhipster,dynamicguy/generator-jhipste...
f03bba0225caa9698375d840d86867eb66591eea
src/org/usfirst/frc/team2503/r2016/input/MadCatzV1JoystickMadCatzV1JoystickLogitechF310GamepadControlLayout.java
src/org/usfirst/frc/team2503/r2016/input/MadCatzV1JoystickMadCatzV1JoystickLogitechF310GamepadControlLayout.java
package org.usfirst.frc.team2503.r2016.input; import org.usfirst.frc.team2503.r2016.input.gamepad.Gamepad; import org.usfirst.frc.team2503.r2016.input.joystick.Joystick; public class MadCatzV1JoystickMadCatzV1JoystickLogitechF310GamepadControlLayout extends JoystickJoystickGamepadControlLayout { public Data getDat...
package org.usfirst.frc.team2503.r2016.input; import org.usfirst.frc.team2503.r2016.input.gamepad.Gamepad; import org.usfirst.frc.team2503.r2016.input.joystick.Joystick; public class MadCatzV1JoystickMadCatzV1JoystickLogitechF310GamepadControlLayout extends JoystickJoystickGamepadControlLayout { public Data getData...
Clean up a couple of whitespace errors, add a comment
Clean up a couple of whitespace errors, add a comment
Java
mit
frc2503/r2016
d9eb214e9b4531845582f4530fa84dbfdaac6be7
src/test/java/guitests/UndoCommandTest.java
src/test/java/guitests/UndoCommandTest.java
package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.logic.commands.UndoCommand; import seedu.address.testutil.TestTask; import seedu.address.testutil.TestUtil; public class UndoCommandTest extends TaskManagerGuiTest { private TestTask[] expectedList = td.get...
package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.logic.commands.UndoCommand; import seedu.address.testutil.TestTask; import seedu.address.logic.commands.DeleteCommand; public class UndoCommandTest extends TaskManagerGuiTest { private TestTask[] expectedLi...
Add test case for undo delete command
Add test case for undo delete command
Java
mit
CS2103JAN2017-W13-B2/main,CS2103JAN2017-W13-B2/main
a53cba6cbc598ac2ab8550372222dd9987d294dd
src/main/java/de/fernunihagen/dna/jkn/scalephant/storage/StorageInterface.java
src/main/java/de/fernunihagen/dna/jkn/scalephant/storage/StorageInterface.java
package de.fernunihagen.dna.jkn.scalephant.storage; import java.util.HashMap; import java.util.Map; public class StorageInterface { private static Map<String, StorageManager> instances; /** * Get the storage manager for a given table. If the storage manager does not * exist, it will be created * * @ret...
package de.fernunihagen.dna.jkn.scalephant.storage; import java.util.HashMap; import java.util.Map; public class StorageInterface { /** * A map with all created storage instances */ protected static Map<String, StorageManager> instances; /** * The used storage configuration */ protected static StorageC...
Allow to change the default storage configuration
Allow to change the default storage configuration
Java
apache-2.0
jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/scalephant
2b09a59eeb568e5af32a5c41a8fb3296e3aa22f5
CECProject/src/tests/AllTests.java
CECProject/src/tests/AllTests.java
package tests; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ CECConfiguratorTests.class, EmailBuilderTests.class, EmailSortingTests.class, EmailTests.class, FolderFactoryTests.class }) public cl...
package tests; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ CECConfiguratorTests.class, EmailBuilderTests.class, EmailSortingTests.class, EmailTests.class, FolderFactoryTests.class, FolderTests....
Include the folder tests in the test suite
Include the folder tests in the test suite
Java
mit
amishwins/project-cec-2013,amishwins/project-cec-2013
615c2c8de14a619034c08bd6d4c0c2132a2c195b
library/src/main/java/com/novoda/downloadmanager/DownloadBatchNotification.java
library/src/main/java/com/novoda/downloadmanager/DownloadBatchNotification.java
package com.novoda.downloadmanager; import android.app.Notification; import android.content.Context; import android.support.annotation.DrawableRes; import android.support.v4.app.NotificationCompat; class DownloadBatchNotification implements NotificationCreator { private static final int ID = 1; private stati...
package com.novoda.downloadmanager; import android.app.Notification; import android.content.Context; import android.support.annotation.DrawableRes; import android.support.v4.app.NotificationCompat; class DownloadBatchNotification implements NotificationCreator { private static final boolean NOT_INDETERMINATE = f...
Introduce a more reliable id and channel for Notifications.
Introduce a more reliable id and channel for Notifications.
Java
apache-2.0
novoda/download-manager
fb11a6a3b4e13b16c537217e7e698467054febcc
mobile/src/main/java/com/stefanhoth/ropasclisp/achievements/AchievementObserver.java
mobile/src/main/java/com/stefanhoth/ropasclisp/achievements/AchievementObserver.java
package com.stefanhoth.ropasclisp.achievements; import com.stefanhoth.ropasclisp.games_sdk.PlayGamesClient; public class AchievementObserver { private final PlayGamesClient playGamesClient; private final boolean firstSessionToday; public AchievementObserver(PlayGamesClient playGamesClient, boolean first...
package com.stefanhoth.ropasclisp.achievements; import android.content.Context; import com.stefanhoth.ropasclisp.games_sdk.PlayGamesClient; public class AchievementObserver { private final PlayGamesClient playGamesClient; private final Context context; public AchievementObserver(PlayGamesClient playGam...
Correct behavior for daily start awards
Correct behavior for daily start awards
Java
mit
stefanhoth/ropasclisp
b93346ec372ce06dd38e97aa34f5ffda0b33bc01
src/org/nwapw/abacus/Abacus.java
src/org/nwapw/abacus/Abacus.java
package org.nwapw.abacus; public class Abacus { public static void main(String[] args){ System.out.println("Hello world!"); } }
package org.nwapw.abacus; import org.nwapw.abacus.window.Window; import javax.swing.*; public class Abacus { private Window mainUi; public Abacus(){ init(); } private void init() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catc...
Make the program actually create the UI.
Make the program actually create the UI.
Java
mit
DanilaFe/abacus,DanilaFe/abacus
051e0d0b7e6c5cff85c2992a0a73955d89a2d392
statefulj-framework/statefulj-framework-core/src/main/java/org/statefulj/framework/core/model/impl/FactoryImpl.java
statefulj-framework/statefulj-framework-core/src/main/java/org/statefulj/framework/core/model/impl/FactoryImpl.java
/*** * * Copyright 2014 Andrew Hall * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/*** * * Copyright 2014 Andrew Hall * * 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 in ability to instantiate non public default constructors
Add in ability to instantiate non public default constructors
Java
apache-2.0
statefulj/statefulj
4c4ea5aa7d6bb201a0f4dde5922dfaea343942ce
src/test/java/com/sleekbyte/tailor/grammar/GrammarTest.java
src/test/java/com/sleekbyte/tailor/grammar/GrammarTest.java
package com.sleekbyte.tailor.grammar; import com.sleekbyte.tailor.Tailor; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.*; import static org.junit.Assert.assertEquals; public class GrammarTest { protected static final String TEST_INPUT_DIR = "src/test/java/com/sleekbyte...
package com.sleekbyte.tailor.grammar; import com.sleekbyte.tailor.Tailor; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintStream; import static org.junit.Assert.assertEquals; public class GrammarTest { protec...
Adjust code style, remove constant and exception
Adjust code style, remove constant and exception
Java
mit
sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor
27d1449532e0d46293c0b55921087afa76b4a8af
example/src/main/java/me/mattlogan/artiste/example/MainActivity.java
example/src/main/java/me/mattlogan/artiste/example/MainActivity.java
package me.mattlogan.artiste.example; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act...
package me.mattlogan.artiste.example; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act...
Use AppCompatActivity in example project
Use AppCompatActivity in example project
Java
mit
mattlogan/Artiste
c11f4384335288a1f95c919c153ca523907850d1
src/test/java/org/inferred/cjp39/j8stages/ExceptionClonerTest.java
src/test/java/org/inferred/cjp39/j8stages/ExceptionClonerTest.java
package org.inferred.cjp39.j8stages; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import org.junit.Test; public class ExceptionClonerTest { private static final class MyUnfriendlyException extends Exception { private MyUnfriendlyException(String message, Throwa...
package org.inferred.cjp39.j8stages; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import org.junit.Test; public class ExceptionClonerTest { private static final class MyUnfriendlyException extends Exception { private MyUnfriendlyException(String message, Throwa...
Add a test to ensure the list of suppressed exceptions in a Throwable is not accidentally aliased during the shallow copy.
Add a test to ensure the list of suppressed exceptions in a Throwable is not accidentally aliased during the shallow copy.
Java
mit
cjp39/j8stages
135653c885225b845addfa14f9a902e80c40b385
src/cs437/som/neighborhood/HyperbolicNeighborhoodWidthFunction.java
src/cs437/som/neighborhood/HyperbolicNeighborhoodWidthFunction.java
package cs437.som.neighborhood; import cs437.som.NeightborhoodWidthFunction; /** * Hyperbolic neighborhood width strategy for self-organizing map. */ public class HyperbolicNeighborhoodWidthFunction implements NeightborhoodWidthFunction { private double expectedIterations; public void setExpectedIterations...
package cs437.som.neighborhood; import cs437.som.NeightborhoodWidthFunction; /** * Hyperbolic neighborhood width strategy for self-organizing map. * * The exact behavior follows the formula: * w_i / (t + t_max) * where * w_i is the initial width of the neighborhood * t is the current iter...
Add formula comment to hyperbolic NW class.
Add formula comment to hyperbolic NW class.
Java
bsd-3-clause
gamma9mu/SOMa
8639bb90f95a5703a20e1ea9f228eb33ac459445
xstream/src/test/com/thoughtworks/acceptance/SwingTest.java
xstream/src/test/com/thoughtworks/acceptance/SwingTest.java
package com.thoughtworks.acceptance; import javax.swing.DefaultListModel; import javax.swing.JList; import javax.swing.JTable; import javax.swing.LookAndFeel; import javax.swing.plaf.synth.SynthLookAndFeel; public class SwingTest extends AbstractAcceptanceTest { // JTable is one of the nastiest components to ser...
package com.thoughtworks.acceptance; import javax.swing.DefaultListModel; import javax.swing.JList; import javax.swing.JTable; import javax.swing.LookAndFeel; import javax.swing.plaf.metal.MetalLookAndFeel; public class SwingTest extends AbstractAcceptanceTest { // JTable is one of the nastiest components to ser...
Use L&F that is available on JDK 1.3
Use L&F that is available on JDK 1.3
Java
bsd-3-clause
codehaus/xstream,codehaus/xstream
5fc7b8379507bbd1d66f2ff3ac3d6f36844db4b1
com.developi.wink.demo/src/com/developi/wink/demo/api/TestResource.java
com.developi.wink.demo/src/com/developi/wink/demo/api/TestResource.java
package com.developi.wink.demo.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import com.ibm.commons.util.io.json.JsonJavaObject; import com.ibm.domino.osgi.core.context.ContextInfo; import lotus.domino.NotesException; import lotus.domino.Se...
package com.developi.wink.demo.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import com.ibm.domino.osgi.core.context.ContextInfo; import lotus.domino.NotesException; import lotus.domino.Session; @Pa...
Add authentication and modify response type for /test
Add authentication and modify response type for /test
Java
apache-2.0
sbasegmez/RestAssuredDemo
92e7a84d0d6047c60353c98026d83677c9dde096
app/src/androidTest/java/org/wordpress/aztec/demo/SimpleTextFormattingTests.java
app/src/androidTest/java/org/wordpress/aztec/demo/SimpleTextFormattingTests.java
package org.wordpress.aztec.demo; import android.support.test.espresso.ViewInteraction; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.test.suitebuilder.annotation.LargeTest; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWi...
package org.wordpress.aztec.demo; import android.support.test.espresso.ViewInteraction; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.test.suitebuilder.annotation.LargeTest; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWi...
Add check for disabled format button at start of test
Add check for disabled format button at start of test
Java
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
fa16c7b3b09d4001d98ff31c9091c6f4922837d9
querydsl-maven-plugin/src/main/java/com/mysema/query/maven/JDOExporterMojo.java
querydsl-maven-plugin/src/main/java/com/mysema/query/maven/JDOExporterMojo.java
/* * Copyright 2012, Mysema 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 to in writin...
/* * Copyright 2012, Mysema 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 to in writin...
Fix NPE when exporting JDO using maven plugin
Fix NPE when exporting JDO using maven plugin
Java
apache-2.0
lpandzic/querydsl,kevinleturc/querydsl,querydsl/querydsl,izeye/querydsl,Log10Solutions/querydsl,izeye/querydsl,kevinleturc/querydsl,mdiazf/querydsl,dharaburda/querydsl,lpandzic/querydsl,mdiazf/querydsl,gordski/querydsl,querydsl/querydsl,lpandzic/querydsl,attila-kiss-it/querydsl,mdiazf/querydsl,pkcool/querydsl,balazs-zs...
c2eac56c0cf6ca307780a17a123208c704ea8cfe
atlas-api/src/main/java/org/atlasapi/application/auth/ApiKeySourcesFetcher.java
atlas-api/src/main/java/org/atlasapi/application/auth/ApiKeySourcesFetcher.java
package org.atlasapi.application.auth; import static com.google.common.base.Preconditions.checkNotNull; import javax.servlet.http.HttpServletRequest; import org.atlasapi.application.Application; import org.atlasapi.application.ApplicationSources; import org.atlasapi.application.ApplicationStore; import com.google.c...
package org.atlasapi.application.auth; import static com.google.common.base.Preconditions.checkNotNull; import javax.servlet.http.HttpServletRequest; import org.atlasapi.application.Application; import org.atlasapi.application.ApplicationSources; import org.atlasapi.application.ApplicationStore; import com.google.c...
Revert "api key deleted from the list of required parameters"
Revert "api key deleted from the list of required parameters"
Java
apache-2.0
atlasapi/atlas-deer,atlasapi/atlas-deer
2fce902230bb7fef03bc8af30a7674bc974d440f
metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java
metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java
package com.codahale.metrics.jvm; import com.codahale.metrics.Gauge; import org.junit.Test; import java.lang.management.ClassLoadingMXBean; import static org.fest.assertions.api.Assertions.assertThat; public class ClassLoadingGaugeSetTest { private final ClassLoadingMXBean cl = new ClassLoadingMXBean() { ...
package com.codahale.metrics.jvm; import com.codahale.metrics.Gauge; import org.junit.Before; import org.junit.Test; import java.lang.management.ClassLoadingMXBean; import static org.fest.assertions.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public cla...
Switch to a mocking way of testing.
Switch to a mocking way of testing.
Java
apache-2.0
bentatham/metrics,mspiegel/metrics,wfxiang08/metrics,slovdahl/metrics,gburton1/metrics,ChetnaChaudhari/metrics,valery1707/dropwizard-metrics,dropwizard/metrics,mveitas/metrics,tempredirect/metrics,randomstatistic/metrics,jplock/metrics,thelastpickle/metrics,cirrus-dev/metrics,mveitas/metrics,AltitudeDigital/metrics,ohr...
4d69c2764b5b9967004cada92ad81918fa5fe82c
src/main/java/com/github/chrisblutz/trinity/libraries/compiling/CompileException.java
src/main/java/com/github/chrisblutz/trinity/libraries/compiling/CompileException.java
package com.github.chrisblutz.trinity.libraries.compiling; /** * @author Christopher Lutz */ public class CompileException extends RuntimeException { public CompileException(String file, long line, String message) { super("Compilation error on line " + line + " in " + file + "."); s...
package com.github.chrisblutz.trinity.libraries.compiling; /** * @author Christopher Lutz */ public class CompileException extends RuntimeException { public CompileException(String file, long line, String message) { super("Compilation error on line " + line + " in " + file + ": " + message)...
Use message in library compilation errors
Use message in library compilation errors
Java
apache-2.0
chrisblutz/TrinityLang
61f58317f377d33ebfa437927539f627adb5356f
src/main/java/musician101/common/java/minecraft/sponge/command/SpongeHelpCommand.java
src/main/java/musician101/common/java/minecraft/sponge/command/SpongeHelpCommand.java
package musician101.common.java.minecraft.sponge.command; import org.spongepowered.api.text.Text.Literal; import org.spongepowered.api.text.Texts; import org.spongepowered.api.command.CommandException; import org.spongepowered.api.command.CommandResult; import org.spongepowered.api.command.CommandSource; import javax...
package musician101.common.java.minecraft.sponge.command; import org.spongepowered.api.text.Text.Literal; import org.spongepowered.api.text.Texts; import org.spongepowered.api.command.CommandException; import org.spongepowered.api.command.CommandResult; import org.spongepowered.api.command.CommandSource; import javax...
Add description to the help message.
Add description to the help message.
Java
mit
Musician101/Common
26305c3baef925467c1ebe7af996fc551a7c24b8
core/src/main/java/org/nwapw/abacus/function/TreeValueFunction.java
core/src/main/java/org/nwapw/abacus/function/TreeValueFunction.java
package org.nwapw.abacus.function; import org.nwapw.abacus.number.NumberInterface; import org.nwapw.abacus.tree.TreeNode; /** * A function that operates on parse tree nodes instead of on already simplified numbers. * Despite this, it returns a number, not a tree. */ public abstract class TreeValueFunction extends ...
package org.nwapw.abacus.function; import org.nwapw.abacus.number.NumberInterface; import org.nwapw.abacus.tree.Reducer; import org.nwapw.abacus.tree.TreeNode; /** * A function that operates on parse tree nodes instead of on already simplified numbers. * Despite this, it returns a number, not a tree. */ public abs...
Add the withReducer variants of the Applier functions.
Add the withReducer variants of the Applier functions.
Java
mit
DanilaFe/abacus,DanilaFe/abacus
80727184698a2dd59fb557c78829dcdc0ba4c07e
field-binder/src/main/java/org/tylproject/vaadin/addon/utils/DefaultBeanExtractor.java
field-binder/src/main/java/org/tylproject/vaadin/addon/utils/DefaultBeanExtractor.java
package org.tylproject.vaadin.addon.utils; import com.vaadin.addon.jpacontainer.EntityItem; import com.vaadin.data.Item; import com.vaadin.data.util.BeanItem; import org.vaadin.viritin.DynaBeanItem; import org.vaadin.viritin.ListContainer; /** * Extracts bean from an Item, depending on the Container implementation ...
package org.tylproject.vaadin.addon.utils; import com.vaadin.addon.jpacontainer.EntityItem; import com.vaadin.data.Item; import com.vaadin.data.util.BeanItem; import org.vaadin.viritin.DynaBeanItem; import org.vaadin.viritin.ListContainer; /** * Extracts bean from an Item, depending on the Container implementation ...
Fix bug in BeanExtractor (DynaBeanItem was not recognized)
Fix bug in BeanExtractor (DynaBeanItem was not recognized)
Java
apache-2.0
tyl/field-binder,tyl/field-binder
b03160a27f8e825fb35a5ae1d83abf567098a692
src/main/java/com/agricraft/agricore/templates/AgriMutationTrigger.java
src/main/java/com/agricraft/agricore/templates/AgriMutationTrigger.java
package com.agricraft.agricore.templates; import com.agricraft.agricore.core.AgriCore; import com.google.gson.JsonObject; public class AgriMutationTrigger { private final String id; private final boolean required; private final boolean guaranteed; private final JsonObject parameters; public AgriM...
package com.agricraft.agricore.templates; import com.agricraft.agricore.core.AgriCore; import com.google.gson.JsonObject; public class AgriMutationTrigger { private final String id; private final boolean required; private final double guaranteedChance; private final JsonObject parameters; public ...
Make mutation trigger guarantee a probability
Make mutation trigger guarantee a probability
Java
mit
AgriCraft/AgriCore
ee3bbc920686d036a41bf605ad8c62f8125ac4ba
app/src/main/java/com/kushkipagos/android/example/MainActivity.java
app/src/main/java/com/kushkipagos/android/example/MainActivity.java
package com.kushkipagos.android.example; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.kushkipagos.android.Card; public class MainActivity extends AppCompatA...
package com.kushkipagos.android.example; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.kushkipagos.android.Card; public class MainActivity extends AppCompatA...
Remove references to deleted field
[KFE-203] Remove references to deleted field
Java
mit
Kushki/kushki-android,Kushki/kushki-android,Kushki/kushki-android
f4411d9666319b4c6ba978a73bcb4af9c6ca8bed
blormlib/src/main/java/br/com/bloder/blormlib/validation/validations/Checked.java
blormlib/src/main/java/br/com/bloder/blormlib/validation/validations/Checked.java
package br.com.bloder.blormlib.validation.validations; import android.widget.CheckBox; import br.com.bloder.blormlib.validation.Validate; import br.com.bloder.blormlib.validation.Validation; public class Checked extends Validation { private CheckBox checkBox; @Override public Validate validate() { ...
package br.com.bloder.blormlib.validation.validations; import android.widget.CheckBox; import br.com.bloder.blormlib.validation.Validate; import br.com.bloder.blormlib.validation.Validation; public class Checked extends Validation { private CheckBox checkBox; @Override public Validate validate() { ...
Implement on success checked validation
Implement on success checked validation
Java
mit
bloder/Blorm
2925177af2980b8eb958a67d689304d29f9e48e2
src/pylos/view/BallGraphics.java
src/pylos/view/BallGraphics.java
package pylos.view; import pylos.Pylos; import pylos.model.Ball; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Sphere; public class BallGraphics { Ball model; public final static float DIAMETER = 1.38f; public float x, y, z; Geometr...
package pylos.view; import pylos.Pylos; import pylos.model.Ball; import pylos.model.Model; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Sphere; public class BallGraphics { Ball model; public final static float DIAMETER = 1.38f; publ...
Set new material for balls
Set new material for balls
Java
mit
eregon/pylos,eregon/pylos
7a06af0d3737d76fb5f1db431b2d74a3104f6e52
src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java
src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java
/* * Kurento Commons MSControl: Simplified Media Control API for the Java Platform based on jsr309 * Copyright (C) 2012 Tikal Technologies * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 * as published by the Free Software ...
/* * Kurento Commons MSControl: Simplified Media Control API for the Java Platform based on jsr309 * Copyright (C) 2012 Tikal Technologies * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 * as published by the Free Software ...
Add paratemers to mediaSession factory method
Add paratemers to mediaSession factory method
Java
lgpl-2.1
KurentoLegacy/kc-mscontrol
4b458b83459238f43d1d036f15b58f352dfb2e6a
src/main/java/com/faforever/api/data/listeners/GameEnricher.java
src/main/java/com/faforever/api/data/listeners/GameEnricher.java
package com.faforever.api.data.listeners; import com.faforever.api.config.FafApiProperties; import com.faforever.api.data.domain.Game; import org.apache.commons.lang3.StringEscapeUtils; import org.springframework.stereotype.Component; import javax.inject.Inject; import javax.persistence.PostLoad; @Component public c...
package com.faforever.api.data.listeners; import com.faforever.api.data.domain.Game; import com.faforever.api.game.GameService; import org.apache.commons.lang3.StringEscapeUtils; import org.springframework.stereotype.Component; import javax.inject.Inject; import javax.persistence.PostLoad; @Component public class Ga...
Fix broken replay url in game entity
Fix broken replay url in game entity
Java
mit
micheljung/faf-java-api,FAForever/faf-java-api,FAForever/faf-java-api,FAForever/faf-java-api,micheljung/faf-java-api
2c7f29712fbd1ea478b78431aceac5aef729f8db
src/main/java/com/github/pedrovgs/problem78/AutoBoxingTrick.java
src/main/java/com/github/pedrovgs/problem78/AutoBoxingTrick.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Add solution to problem 78
Add solution to problem 78
Java
apache-2.0
pedrovgs/Algorithms,inexistence/Algorithms,jibaro/Algorithms,zhdh2008/Algorithms,sridhar-newsdistill/Algorithms,mrgenco/Algorithms-1,ArlenLiu/Algorithms,zmywly8866/Algorithms,chengjinqian/Algorithms,VeskoI/Algorithms,007slm/Algorithms,Arkar-Aung/Algorithms,Ariloum/Algorithms,ajinkyakolhe112/Algorithms,AppScientist/Algo...
317721c7d212c3896c7c10d01e8c16a9ab328c6f
proj.android/src/com/growthpush/cocos2dx/Cocos2dxBridge.java
proj.android/src/com/growthpush/cocos2dx/Cocos2dxBridge.java
package com.growthpush.cocos2dx; import org.cocos2dx.lib.Cocos2dxGLSurfaceView; import com.growthpush.bridge.ExternalFrameworkBridge; public class Cocos2dxBridge extends ExternalFrameworkBridge { @Override protected void callbackExternalFramework(final String customFiled) { Cocos2dxGLSurfaceView.getInstance().q...
package com.growthpush.cocos2dx; import org.cocos2dx.lib.Cocos2dxGLSurfaceView; import android.os.Handler; import com.growthpush.GrowthPush; import com.growthpush.bridge.ExternalFrameworkBridge; public class Cocos2dxBridge extends ExternalFrameworkBridge { @Override protected void callbackExternalFramework(final...
Send callback custom field after Growth Push initialized instance
Send callback custom field after Growth Push initialized instance
Java
apache-2.0
SIROK-archive/growthpush-cocos2dx3,SIROK-archive/growthpush-cocos2dx3,SIROK/growthpush-cocos2dx3,SIROK/growthpush-cocos2dx3,SIROK/growthpush-cocos2dx3,SIROK-archive/growthpush-cocos2dx3,SIROK/growthpush-cocos2dx3,SIROK-archive/growthpush-cocos2dx3
06f37b8a2a5cb1185d7d1fa47391b914a833a572
core/com.b2international.snowowl.terminologyregistry.core/src/com/b2international/snowowl/terminologyregistry/core/request/CodeSystemRequests.java
core/com.b2international.snowowl.terminologyregistry.core/src/com/b2international/snowowl/terminologyregistry/core/request/CodeSystemRequests.java
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
Make all methods in CodeSytemRequests static
[core] Make all methods in CodeSytemRequests static
Java
apache-2.0
IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl
4bbf04dc78f773f81298ede48adb3efa7bc57e75
athi-fx-gui/src/main/java/com/github/athi/athifx/gui/menu/item/Item.java
athi-fx-gui/src/main/java/com/github/athi/athifx/gui/menu/item/Item.java
package com.github.athi.athifx.gui.menu.item; import com.github.athi.athifx.gui.font_awesome.FontAwesome; import com.github.athi.athifx.gui.menu.group.Group; /** * Created by Athi */ public interface Item<GROUP extends Enum<?> & Group> { long id(); String caption(); FontAwesome icon(); /** ...
package com.github.athi.athifx.gui.menu.item; import com.github.athi.athifx.gui.font_awesome.FontAwesome; import com.github.athi.athifx.gui.menu.group.Group; /** * Created by Athi */ public interface Item<GROUP extends Enum<?> & Group> { long id(); String caption(); FontAwesome icon(); /** ...
Support for itemId with spaces.
Support for itemId with spaces.
Java
apache-2.0
Athi/athifx
ae26a0e700ad745fc76126f3398fc7c5547a521f
src/language/Difficulty.java
src/language/Difficulty.java
package language; import java.util.EnumSet; /** * {@code Difficulty} is an enumeration of properties which define how objects * of {@link Word} are formatted and also provides for "difficulty" properties * for use in a word game. * * <p> The properties defined in this class are designed to be * implementati...
package language; import java.util.EnumSet; import java.util.Set; /** * {@code Difficulty} is an enumeration of properties which define how objects * of {@link Word} are formatted and also provides for "difficulty" properties * for use in a word game. * * <p> The properties defined in this class are designed ...
Change EnumSet to Set for better polymorphism.
Change EnumSet to Set for better polymorphism.
Java
mit
zorudeam/Hangman,OliverAbdulrahim/Hangman
81768d16ba2c0205d3c4374754d39d3584ced861
src/main/java/me/rkfg/xmpp/bot/plugins/game/event/SetSleepEvent.java
src/main/java/me/rkfg/xmpp/bot/plugins/game/event/SetSleepEvent.java
package me.rkfg.xmpp.bot.plugins.game.event; import me.rkfg.xmpp.bot.plugins.game.IGameObject; import me.rkfg.xmpp.bot.plugins.game.effect.IAttachDetachEffect; import me.rkfg.xmpp.bot.plugins.game.effect.SleepEffect; import me.rkfg.xmpp.bot.plugins.game.effect.SleepEffect.SleepType; import me.rkfg.xmpp.bot.plugins.gam...
package me.rkfg.xmpp.bot.plugins.game.event; import me.rkfg.xmpp.bot.plugins.game.IGameObject; import me.rkfg.xmpp.bot.plugins.game.effect.SleepEffect; import me.rkfg.xmpp.bot.plugins.game.effect.SleepEffect.SleepType; import me.rkfg.xmpp.bot.plugins.game.misc.TypedAttribute; public class SetSleepEvent extends Abstra...
Add sleep effect via event
Add sleep effect via event
Java
agpl-3.0
rkfg/jbot,rkfg/jbot
83ef5cc17804f083c6c704796fcf85ecf94d584f
android-prerelise/BlueCharm/src/ru/spbau/bluecharm/CallsNotifier.java
android-prerelise/BlueCharm/src/ru/spbau/bluecharm/CallsNotifier.java
package ru.spbau.bluecharm; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.telephony.TelephonyManager;...
package ru.spbau.bluecharm; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.telephony.TelephonyManager;...
Call prefix in a notification
Call prefix in a notification
Java
mit
krinkinmu/Blue-Charm,krinkinmu/Blue-Charm
3dee9189e03f7e275e42170c7b95a62f87dc3192
api/src/main/java/com/creatubbles/api/repository/OAuthRepository.java
api/src/main/java/com/creatubbles/api/repository/OAuthRepository.java
package com.creatubbles.api.repository; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.creatubbles.api.model.AuthToken; import com.creatubbles.api.response.ResponseCallback; /** * @author Matthew Platek on 11.02.2016. */ public interface OAuthRepository { voi...
package com.creatubbles.api.repository; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.creatubbles.api.model.AuthToken; import com.creatubbles.api.response.ResponseCallback; /** * @author Matthew Platek on 11.02.2016. */ public interface OAuthRepository { /**...
Add JavaDoc to authorization methods
Add JavaDoc to authorization methods
Java
mit
creatubbles/ctb-api-android
ffe9298c700805be3fa7fdbc3ad11ebf4fab5892
cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/query/FieldSort.java
cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/query/FieldSort.java
package com.cloudant.sync.query; /** * Created by tomblench on 28/09/2016. */ public class FieldSort { public final String field; public final Direction sort; public FieldSort(String field) { this.field = field; this.sort = Direction.ASCENDING; } public FieldSort(String field,...
/* * Copyright (C) 2016 IBM Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Implement feedback from rhys' comments
Implement feedback from rhys' comments
Java
apache-2.0
cloudant/sync-android,cloudant/sync-android
74dbe48d1dfd1c1621a82293823bc0d527d143a6
src/main/java/org/synyx/urlaubsverwaltung/person/basedata/PersonBasedataRepository.java
src/main/java/org/synyx/urlaubsverwaltung/person/basedata/PersonBasedataRepository.java
package org.synyx.urlaubsverwaltung.person.basedata; import org.springframework.data.jpa.repository.JpaRepository; interface PersonBasedataRepository extends JpaRepository<PersonBasedataEntity, Integer> { }
package org.synyx.urlaubsverwaltung.person.basedata; import org.springframework.data.repository.CrudRepository; interface PersonBasedataRepository extends CrudRepository<PersonBasedataEntity, Integer> { }
Replace with crud repository interface
Replace with crud repository interface
Java
apache-2.0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
be89eaf8fe5b7f3573379155e90ee67cf3992090
src/protocolsupport/protocol/utils/spoofedata/SpoofedDataParser.java
src/protocolsupport/protocol/utils/spoofedata/SpoofedDataParser.java
package protocolsupport.protocol.utils.spoofedata; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import com.destroystokyo.paper.event.player.PlayerHandshakeEvent; public class SpoofedDataParser { private static final List<Function<String, SpoofedData>> parsers = new ArrayLi...
package protocolsupport.protocol.utils.spoofedata; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import com.destroystokyo.paper.event.player.PlayerHandshakeEvent; public class SpoofedDataParser { private static final List<Function<String, SpoofedData>> parsers = new ArrayLi...
Fix spoofed data parser init
Fix spoofed data parser init
Java
agpl-3.0
ProtocolSupport/ProtocolSupport
93db81658353ffa9f90bdce871ecd6782904b3ef
src/fi/metacity/klmobi/MHApp.java
src/fi/metacity/klmobi/MHApp.java
package fi.metacity.klmobi; import com.googlecode.androidannotations.annotations.EApplication; import android.app.Application; @EApplication public class MHApp extends Application { private String mToken = ""; private Address mStartAddress; private Address mEndAddress; public String getToken() { return mTo...
package fi.metacity.klmobi; import java.util.ArrayList; import java.util.List; import android.app.Application; import com.googlecode.androidannotations.annotations.EApplication; @EApplication public class MHApp extends Application { private String mToken = ""; private Address mStartAddress; private Address mEn...
Add route list and xmlResponse
Add route list and xmlResponse
Java
apache-2.0
metacity/mh-paikalliset
da54523143fd6e54d76a0077d348089190546b1e
src/main/java/org/jboss/jdeparser/KeywordExprJStatement.java
src/main/java/org/jboss/jdeparser/KeywordExprJStatement.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
Include a space after a return if an expression is used.
Include a space after a return if an expression is used.
Java
apache-2.0
jdeparser/jdeparser2
c8900674c8178a03b198cd8ea8e365ce169c3bac
DependencyRandomNumber/src/DependencyRandomNumber/RandomNumberSource.java
DependencyRandomNumber/src/DependencyRandomNumber/RandomNumberSource.java
package DependencyRandomNumber; import java.util.Random; import com.continuuity.api.flow.flowlet.SourceFlowlet; import com.continuuity.api.flow.flowlet.OutputCollector; import com.continuuity.api.flow.flowlet.StreamsConfigurator; import com.continuuity.api.flow.flowlet.Tuple; import com.continuuity.api.flow.flowlet.T...
package DependencyRandomNumber; import java.util.Random; import com.continuuity.api.flow.flowlet.FlowletSpecifier; import com.continuuity.api.flow.flowlet.SourceFlowlet; import com.continuuity.api.flow.flowlet.OutputCollector; import com.continuuity.api.flow.flowlet.Tuple; import com.continuuity.api.flow.flowlet.Tupl...
Fix call to old flowlet API in example
Fix call to old flowlet API in example
Java
apache-2.0
anthcp/cdap,hsaputra/cdap,caskdata/cdap,caskdata/cdap,mpouttuclarke/cdap,chtyim/cdap,hsaputra/cdap,mpouttuclarke/cdap,caskdata/cdap,chtyim/cdap,hsaputra/cdap,anthcp/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,chtyim/cdap,anthcp/cdap,chtyim/cdap,anthcp/cdap,mpouttuclarke/cdap,hsaputra/cdap,cas...
883c70c3be8c96b43a11aeb50a9be62073ba7665
app/src/main/java/me/echeung/cdflabs/utils/DividerItemDecoration.java
app/src/main/java/me/echeung/cdflabs/utils/DividerItemDecoration.java
package me.echeung.cdflabs.utils; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.View; import me.echeung.cdflabs.R; public class DividerItemD...
package me.echeung.cdflabs.utils; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.View; import me.echeung.cdflabs.R; public class DividerItemD...
Add left padding to item decoration
Add left padding to item decoration
Java
mit
arkon/CDFLabs
382124e0eea9d49f9c387fe0a56b0877ab7ba272
Project3/COP3404Project3Code.java
Project3/COP3404Project3Code.java
/* * Title: COP3404Project3Code * Author: Matthew Boyette * Date: 3/27/2015 * * This program serves as the entry-point for Projects 3 & 4. * See SICXE_AssemblerProgram.java for the implementation. */ import api.util.sicxe.SICXE_AssemblerProgram; import api.util.stdlib.StdOut; public class COP3404Project3Code ...
/* * Title: COP3404Project3Code * Author: Matthew Boyette * Date: 3/27/2015 * * This program serves as the entry-point for Projects 3 & 4. * See SICXE_AssemblerProgram.java for the implementation. */ import api.util.sicxe.SICXE_AssemblerProgram; import api.util.stdlib.StdIn; import api.util.stdlib.StdOut; pub...
Allow Program To Prompt For File If Not Given One
Allow Program To Prompt For File If Not Given One
Java
mit
Dyndrilliac/cop-3404-assignments
7bd9c0cbd1b90660ce82ef57d862482c93bc78d4
gemma-web/src/main/java/ubic/gemma/web/services/rest/util/RestAuthEntryPoint.java
gemma-web/src/main/java/ubic/gemma/web/services/rest/util/RestAuthEntryPoint.java
package ubic.gemma.web.services.rest.util; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.H...
package ubic.gemma.web.services.rest.util; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.H...
Change authentication header of restapi service to prevent login popups
Change authentication header of restapi service to prevent login popups
Java
apache-2.0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
ac634e8842e82b94a99d5c73502afa36bae556b7
fund/src/test/java/cl/fatman/capital/fund/ControllerFailTest.java
fund/src/test/java/cl/fatman/capital/fund/ControllerFailTest.java
package cl.fatman.capital.fund; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.List; public class ControllerFailTest { private Controller control; private PersistenceData persistence; @Before public void setUp() { control = Control...
package cl.fatman.capital.fund; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.time.LocalDate; import java.util.List; public class ControllerFailTest { private Controller control; private PersistenceData persistence; @Before public void s...
Add junit test for foment unit retrieve fail.
Add junit test for foment unit retrieve fail.
Java
mit
mparra-mpz/Capital
d1f00354ddb2e6000c3eccfcd5db44d1c653b396
postguice/src/main/java/com/voodoodyne/postguice/PostguicePostgreSQL96Dialect.java
postguice/src/main/java/com/voodoodyne/postguice/PostguicePostgreSQL96Dialect.java
package com.voodoodyne.postguice; import org.hibernate.dialect.PostgreSQL95Dialect; import java.sql.Types; /** * Apparently hibernate's 9.5 dialect doesn't support jsonb. Weird. */ public class PostguicePostgreSQL96Dialect extends PostgreSQL95Dialect { public PostguicePostgreSQL96Dialect() { this.registerColumn...
package com.voodoodyne.postguice; import org.hibernate.dialect.PostgreSQL95Dialect; import java.sql.Types; /** * Apparently hibernate's 9.5 dialect doesn't support jsonb. Weird. */ public class PostguicePostgreSQL96Dialect extends PostgreSQL95Dialect { public PostguicePostgreSQL96Dialect() { this.registerColumn...
Remove the 'fts' function from registration in the dialect
Remove the 'fts' function from registration in the dialect
Java
mit
stickfigure/postguice
1c48eff853f917943d43b7f24b1e18daecc50c0a
src/main/java/com/grayben/riskExtractor/headingMarker/nominator/NominatedText.java
src/main/java/com/grayben/riskExtractor/headingMarker/nominator/NominatedText.java
package com.grayben.riskExtractor.headingMarker.nominator; import java.util.List; import com.grayben.riskExtractor.headingMarker.UnmodifiableText; public class NominatedText extends UnmodifiableText implements NomineesRetrievable { private List<Integer> nominees; public NominatedText(List<String> strin...
package com.grayben.riskExtractor.headingMarker.nominator; import java.util.Collections; import java.util.List; import com.grayben.riskExtractor.headingMarker.UnmodifiableText; public class NominatedText extends UnmodifiableText implements NomineesRetrievable { private List<Integer> nominees; public No...
Add argument checks to pass tests
Add argument checks to pass tests
Java
mit
grayben/10K-item-extractor,grayben/10K-item-extractor
748959483d936f0b19ec69bd0832c33998573c25
src/main/java/in/twizmwaz/cardinal/filter/type/ObjectiveFilter.java
src/main/java/in/twizmwaz/cardinal/filter/type/ObjectiveFilter.java
package in.twizmwaz.cardinal.filter.type; import in.twizmwaz.cardinal.filter.Filter; import in.twizmwaz.cardinal.filter.FilterState; import org.bukkit.Bukkit; import java.util.logging.Level; import static in.twizmwaz.cardinal.filter.FilterState.*; public class ObjectiveFilter extends Filter { @Override pub...
package in.twizmwaz.cardinal.filter.type; import in.twizmwaz.cardinal.filter.Filter; import in.twizmwaz.cardinal.filter.FilterState; import in.twizmwaz.cardinal.module.GameObjective; import org.bukkit.Bukkit; import java.util.logging.Level; import static in.twizmwaz.cardinal.filter.FilterState.*; public class Objec...
Add support for Objective filters
Add support for Objective filters
Java
mit
Alan736/NotCardinalPGM,twizmwazin/CardinalPGM,Alan736/NotCardinalPGM,angelitorb99/CardinalPGM,dentmaged/Cardinal-Dev,TheMolkaPL/CardinalPGM,CaptainElliott/CardinalPGM,iPGz/CardinalPGM,dentmaged/Cardinal-Dev,dentmaged/Cardinal-Plus,dentmaged/CardinalPGM,dentmaged/CardinalPGM,TheMolkaPL/CardinalPGM,Pablete1234/CardinalPG...
4e5758b5ff5a73c4f22c6b0f07ec47ae6a648868
common/src/main/java/net/buycraft/plugin/execution/strategy/ToRunQueuedCommand.java
common/src/main/java/net/buycraft/plugin/execution/strategy/ToRunQueuedCommand.java
package net.buycraft.plugin.execution.strategy; import lombok.Value; import net.buycraft.plugin.IBuycraftPlatform; import net.buycraft.plugin.data.QueuedCommand; import net.buycraft.plugin.data.QueuedPlayer; import java.util.concurrent.TimeUnit; @Value public class ToRunQueuedCommand { private final QueuedPlayer...
package net.buycraft.plugin.execution.strategy; import lombok.EqualsAndHashCode; import lombok.Value; import net.buycraft.plugin.IBuycraftPlatform; import net.buycraft.plugin.data.QueuedCommand; import net.buycraft.plugin.data.QueuedPlayer; import java.util.concurrent.TimeUnit; @Value @EqualsAndHashCode(exclude = {"...
Fix exclusions for command queuer
Fix exclusions for command queuer
Java
mit
BuycraftPlugin/BuycraftX,BuycraftPlugin/BuycraftX
6e31d210340f2240ff86221a2afc3903ce21ea9f
helix-core/src/main/java/com/linkedin/helix/monitoring/mbeans/ClusterAlertItem.java
helix-core/src/main/java/com/linkedin/helix/monitoring/mbeans/ClusterAlertItem.java
package com.linkedin.helix.monitoring.mbeans; import com.linkedin.helix.alerts.AlertValueAndStatus; public class ClusterAlertItem implements ClusterAlertItemMBean { String _alertItemName; double _alertValue; int _alertFired; AlertValueAndStatus _valueAndStatus; public ClusterAlertItem(String name, Aler...
package com.linkedin.helix.monitoring.mbeans; import com.linkedin.helix.alerts.AlertValueAndStatus; public class ClusterAlertItem implements ClusterAlertItemMBean { String _alertItemName; double _alertValue; int _alertFired; AlertValueAndStatus _valueAndStatus; public ClusterAlertItem(String name, Aler...
Fix a exception in the case that an Alert first get exposed, an exception is thrown due to the size of the Alert value elements is empty.
Fix a exception in the case that an Alert first get exposed, an exception is thrown due to the size of the Alert value elements is empty.
Java
apache-2.0
jzmq/helix,Teino1978-Corp/Teino1978-Corp-helix,AyolaJayamaha/helix,jzmq/helix,apache/helix,hdatas/helix,kongweihan/helix,Teino1978-Corp/Teino1978-Corp-helix,apache/helix,dasahcc/helix,OopsOutOfMemory/helix,kongweihan/helix,AyolaJayamaha/helix,apache/helix,brandtg/helix,apache/helix,fx19880617/helix,hdatas/helix,fx19880...