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
9f47026c24f95bd992e2c198cffc810c2249fa27
src/main/java/io/collap/bryg/compiler/ast/expression/VariableExpression.java
src/main/java/io/collap/bryg/compiler/ast/expression/VariableExpression.java
package io.collap.bryg.compiler.ast.expression; import io.collap.bryg.compiler.ast.AccessMode; import io.collap.bryg.compiler.parser.BrygMethodVisitor; import io.collap.bryg.compiler.parser.StandardVisitor; import io.collap.bryg.compiler.expression.Variable; import static org.objectweb.asm.Opcodes.*; public class Va...
package io.collap.bryg.compiler.ast.expression; import io.collap.bryg.compiler.ast.AccessMode; import io.collap.bryg.compiler.parser.BrygMethodVisitor; import io.collap.bryg.compiler.parser.StandardVisitor; import io.collap.bryg.compiler.expression.Variable; import static org.objectweb.asm.Opcodes.*; public class Va...
Clarify AccessMode alternative in else.
Clarify AccessMode alternative in else.
Java
mit
Collap/bryg
ce194759a53e2ebe59b11e7c022f5e2c67e77650
jar-class-loader/src/main/java/com/thoughtworks/gocd/AssertJava.java
jar-class-loader/src/main/java/com/thoughtworks/gocd/AssertJava.java
/* * Copyright 2020 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright 2020 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Allow GoCD to run on JDK 14
Allow GoCD to run on JDK 14
Java
apache-2.0
GaneshSPatil/gocd,ketan/gocd,Skarlso/gocd,marques-work/gocd,GaneshSPatil/gocd,GaneshSPatil/gocd,ketan/gocd,Skarlso/gocd,gocd/gocd,Skarlso/gocd,ketan/gocd,ketan/gocd,ketan/gocd,Skarlso/gocd,GaneshSPatil/gocd,marques-work/gocd,Skarlso/gocd,GaneshSPatil/gocd,gocd/gocd,ketan/gocd,gocd/gocd,marques-work/gocd,marques-work/go...
8438f83d59e5d55c17b092cd518e3187b4180167
src/main/java/com/youcruit/onfido/api/serialization/CountryCodeTypeAdapter.java
src/main/java/com/youcruit/onfido/api/serialization/CountryCodeTypeAdapter.java
package com.youcruit.onfido.api.serialization; import java.lang.reflect.Type; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonSerializationContext; import com.google.gs...
package com.youcruit.onfido.api.serialization; import java.lang.reflect.Type; import java.util.Locale; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonSerializationCont...
Use correct method for retrieving country code
Use correct method for retrieving country code also work around bug in CountryCode related to e.g. turkish locales
Java
apache-2.0
YouCruit/onfido-api
20707badf6d65739fa6ba6665ea4b9c9baf560c3
src/test/java/dk/statsbiblioteket/newspaper/md5checker/MockupIteratorSuper.java
src/test/java/dk/statsbiblioteket/newspaper/md5checker/MockupIteratorSuper.java
package dk.statsbiblioteket.newspaper.md5checker; import dk.statsbiblioteket.medieplatform.autonomous.Batch; import dk.statsbiblioteket.medieplatform.autonomous.iterator.common.TreeIterator; import dk.statsbiblioteket.medieplatform.autonomous.iterator.filesystem.transforming.TransformingIteratorForFileSystems; import...
package dk.statsbiblioteket.newspaper.md5checker; import dk.statsbiblioteket.medieplatform.autonomous.Batch; import dk.statsbiblioteket.medieplatform.autonomous.iterator.common.TreeIterator; import dk.statsbiblioteket.medieplatform.autonomous.iterator.filesystem.transforming.TransformingIteratorForFileSystems; import...
MAke list of ignored files by file iterator configurable
MAke list of ignored files by file iterator configurable
Java
apache-2.0
statsbiblioteket/newspaper-md5-checker,statsbiblioteket/newspaper-md5-checker
5e3bc6d18604574da2e1d8c5855008231034a7b0
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzIdentity.java
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzIdentity.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.api; /** * @author bjorncs */ public interface AthenzIdentity { AthenzDomain getDomain(); String getName(); default String getFullName() { return ...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.api; /** * @author bjorncs */ public interface AthenzIdentity { AthenzDomain getDomain(); String getName(); default String getFullName() { return ...
Add helper method to return domain name
Add helper method to return domain name
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
0f1827ddd8be33f1b35bed9aac381ce607580af1
src/main/java/net/rebworks/lunchy/domain/places/BynsBistro.java
src/main/java/net/rebworks/lunchy/domain/places/BynsBistro.java
package net.rebworks.lunchy.domain.places; import net.rebworks.lunchy.domain.Place; import net.rebworks.lunchy.resources.LunchResource; import javax.inject.Inject; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import java.net.URI; import java.util.Arrays; import java.util.SortedSet; import java.ut...
package net.rebworks.lunchy.domain.places; import net.rebworks.lunchy.domain.Place; import net.rebworks.lunchy.resources.LunchResource; import javax.inject.Inject; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import java.net.URI; import java.util.Arrays; import java.util.SortedSet; import java.ut...
Fix the lunch URL for Byns Bistro
Fix the lunch URL for Byns Bistro No change to the parser, the page format is completely changed so I will handle it separately.
Java
agpl-3.0
rebasar/lunchy,rebasar/lunchy
03391d2e9baf5a99a292a79645f27f29db27f8c5
src/main/java/sizebay/catalog/client/model/ModelingSizeMeasures.java
src/main/java/sizebay/catalog/client/model/ModelingSizeMeasures.java
package sizebay.catalog.client.model; import lombok.*; @Getter @Setter @EqualsAndHashCode @ToString public class ModelingSizeMeasures { String sizeName = null; ModelingMeasureRange chest = null; ModelingMeasureRange hip = null; ModelingMeasureRange waist = null; ModelingMeasureRange sleeve = null; Mode...
package sizebay.catalog.client.model; import lombok.*; @Getter @Setter @EqualsAndHashCode @ToString public class ModelingSizeMeasures { String sizeName = null; ModelingMeasureRange chest = null; ModelingMeasureRange hip = null; ModelingMeasureRange waist = null; ModelingMeasureRange sleeve = null; Mode...
Revert "Fix: Add new measure -> headCircumference"
Revert "Fix: Add new measure -> headCircumference" This reverts commit 152b8e73235be97cd989e9b39498fc351a71fc8c.
Java
apache-2.0
sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client
5ee7f1981c508eaaefca2a27803cf531d08f2120
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/RemoveNetworkCommand.java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/RemoveNetworkCommand.java
package org.ovirt.engine.core.bll.network.dc; import org.ovirt.engine.core.bll.validator.NetworkValidator; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.AddNetworkStoragePoolParameters; import org.ovirt.engine.core.common.errors.VdcBllMessages; public class RemoveNetwork...
package org.ovirt.engine.core.bll.network.dc; import org.ovirt.engine.core.bll.validator.NetworkValidator; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.AddNetworkStoragePoolParameters; import org.ovirt.engine.core.common.errors.VdcBllMessages; public class RemoveNetwork...
Delete vnic profiles when removing a network
engine: Delete vnic profiles when removing a network The patch removes vnic profiles when the network is being deleted from the system. Change-Id: I6472fb81262d7eb2cf6886a42ba17a637c804b22 Signed-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>
Java
apache-2.0
OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,halober/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engin...
83aed36c7fc100056ddda1eda7b70ae11ceb4ba5
app/src/main/java/com/akexorcist/mvpsimple/common/BasePresenter.java
app/src/main/java/com/akexorcist/mvpsimple/common/BasePresenter.java
/* * Copyright 2016, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Copyright 2016, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Add stop for unregister event bus
Add stop for unregister event bus
Java
apache-2.0
akexorcist/Simple-MVP
7004b8d1ca0d16f447afd4971d788b74a39ebb43
src/main/java/net/contargo/iris/config/SwaggerConfig.java
src/main/java/net/contargo/iris/config/SwaggerConfig.java
package net.contargo.iris.config; import com.mangofactory.swagger.configuration.SpringSwaggerConfig; import com.mangofactory.swagger.models.dto.ApiInfo; import com.mangofactory.swagger.plugin.EnableSwagger; import com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin; import org.springframework.beans.factory.annotat...
package net.contargo.iris.config; import com.mangofactory.swagger.configuration.SpringSwaggerConfig; import com.mangofactory.swagger.models.dto.ApiInfo; import com.mangofactory.swagger.plugin.EnableSwagger; import com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin; import org.springframework.beans.factory.annotat...
Use include patterns for swagger to avoid unintended includes
Use include patterns for swagger to avoid unintended includes References #14379
Java
agpl-3.0
Contargo/iris,Contargo/iris,Contargo/iris
bf145bbe1119646ac5bca575a9b449b026d66248
src/main/java/org/jusecase/properties/ui/KeyListMenu.java
src/main/java/org/jusecase/properties/ui/KeyListMenu.java
package org.jusecase.properties.ui; import javax.swing.*; public class KeyListMenu extends JPopupMenu { public KeyListMenu() { JMenuItem newKey = new JMenuItem("New"); add(newKey); JMenuItem duplicateKey = new JMenuItem("Duplicate"); add(duplicateKey); } }
package org.jusecase.properties.ui; import javax.swing.*; public class KeyListMenu extends JPopupMenu { public KeyListMenu() { JMenuItem newKey = new JMenuItem("New"); add(newKey); JMenuItem duplicateKey = new JMenuItem("Duplicate"); add(duplicateKey); JMenuItem renameKey...
Add rename key option so that its not forgotten later
Add rename key option so that its not forgotten later
Java
apache-2.0
casid/jusecase-properties-editor
5fd855f55777b2ecb0dc9521bee1ee87e27eae17
core/src/main/java/com/zyeeda/framework/cxf/JacksonJsonProvider.java
core/src/main/java/com/zyeeda/framework/cxf/JacksonJsonProvider.java
package com.zyeeda.framework.cxf; import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.map.SerializationConfig.Feature; public class JacksonJsonProvider extends JacksonJaxbJso...
package com.zyeeda.framework.cxf; import java.text.SimpleDateFormat; import org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson...
Make CXF serialize date type in pre-defined format.
Make CXF serialize date type in pre-defined format.
Java
apache-2.0
BGCX262/zyeeda-framework-hg-to-git,BGCX262/zyeeda-framework-hg-to-git
2d27c16aa09909fa13070a0cfc809fbd724ffa49
CarFactory/src/ru/nsu/ccfit/bogush/factory/thing/periodical/SimplePeriodical.java
CarFactory/src/ru/nsu/ccfit/bogush/factory/thing/periodical/SimplePeriodical.java
package ru.nsu.ccfit.bogush.factory.thing.periodical; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class SimplePeriodical implements Periodical { private long period; private static final String LOGGER_NAME = "SimplePeriodical"; private static final Logger logger = Lo...
package ru.nsu.ccfit.bogush.factory.thing.periodical; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class SimplePeriodical implements Periodical { private long period; private static final String LOGGER_NAME = "SimplePeriodical"; private static final Logger logger = Lo...
Use notifyAll() to update the period in blocked waitPeriod
Use notifyAll() to update the period in blocked waitPeriod
Java
mit
RoyPy/15201-bogush
55f96f7908be222f02326381bf86b46c2a845ada
SingularityBase/src/main/java/com/hubspot/mesos/protos/MesosTaskStatusReason.java
SingularityBase/src/main/java/com/hubspot/mesos/protos/MesosTaskStatusReason.java
package com.hubspot.mesos.protos; public enum MesosTaskStatusReason { REASON_COMMAND_EXECUTOR_FAILED, REASON_CONTAINER_LAUNCH_FAILED, REASON_CONTAINER_LIMITATION, REASON_CONTAINER_LIMITATION_DISK, REASON_CONTAINER_LIMITATION_MEMORY, REASON_CONTAINER_PREEMPTED, REASON_CONTAINER_UPDATE_FAILED, REASON_EXECUTOR_REGIS...
package com.hubspot.mesos.protos; public enum MesosTaskStatusReason { REASON_COMMAND_EXECUTOR_FAILED, REASON_CONTAINER_LAUNCH_FAILED, REASON_CONTAINER_LIMITATION, REASON_CONTAINER_LIMITATION_DISK, REASON_CONTAINER_LIMITATION_MEMORY, REASON_CONTAINER_PREEMPTED, REASON_CONTAINER_UPDATE_FAILED, REASON_EX...
Add REASON_AGENT status update reasons
Add REASON_AGENT status update reasons
Java
apache-2.0
hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity
a928ef4f72120388dc53036317cc1429623cff99
arctor-lib/src/main/java/com/alapshin/arctor/delegate/FragmentMvpDelegate.java
arctor-lib/src/main/java/com/alapshin/arctor/delegate/FragmentMvpDelegate.java
package com.alapshin.arctor.delegate; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import com.alapshin.arctor.presenter.Presenter; import com.alapshin.arctor.view.MvpView; import javax.annotation.Nonnull; public interface FragmentMvpDelegate<V extends MvpView, P ex...
package com.alapshin.arctor.delegate; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import com.alapshin.arctor.presenter.Presenter; import com.alapshin.arctor.view.MvpView; import javax.annotation.Nonnull; public interface FragmentMvpDelegate<V extends MvpView, P ex...
Remove unused parameters from FramgentMvpDelegate
Remove unused parameters from FramgentMvpDelegate
Java
apache-2.0
alapshin/arctor,alapshin/arctor,alapshin/arctor
8673da60a53da0013584f4903e5ccb8d615bc813
btrfs-structures/src/main/java/nl/gmta/btrfs/structure/stream/BtrfsValueType.java
btrfs-structures/src/main/java/nl/gmta/btrfs/structure/stream/BtrfsValueType.java
package nl.gmta.btrfs.structure.stream; enum BtrfsValueType { BTRFS_TLV_U8 (0x00), BTRFS_TLV_U16 (0x01), BTRFS_TLV_U32 (0x02), BTRFS_TLV_U64 (0x03), BTRFS_TLV_BINARY (0x04), BTRFS_TLV_STRING (0x05), BTRFS_TLV_UUID (0x06), BTRFS_TLV_TIMESPEC (0x07); priv...
package nl.gmta.btrfs.structure.stream; enum BtrfsValueType { U8 (0x00), U16 (0x01), U32 (0x02), U64 (0x03), BINARY (0x04), STRING (0x05), UUID (0x06), TIMESPEC (0x07); private int value; BtrfsValueType(int value) { this.value = value; ...
Remove common prefix from value type enum values
Remove common prefix from value type enum values
Java
mit
GMTA/btrfs-libs
5004eb2ebc9283fde22942c4f453c2b2f97c386b
opennms-dao/src/test/java/org/opennms/netmgt/dao/support/RrdTestUtils.java
opennms-dao/src/test/java/org/opennms/netmgt/dao/support/RrdTestUtils.java
package org.opennms.netmgt.dao.support; import java.io.ByteArrayInputStream; import java.io.IOException; import org.opennms.netmgt.rrd.RrdConfig; import org.opennms.netmgt.rrd.RrdException; import org.opennms.netmgt.rrd.RrdUtils; import org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy; public class RrdTestUtils { ...
package org.opennms.netmgt.dao.support; import java.io.ByteArrayInputStream; import java.io.IOException; import org.opennms.netmgt.rrd.RrdConfig; import org.opennms.netmgt.rrd.RrdException; import org.opennms.netmgt.rrd.RrdUtils; import org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy; public class RrdTestUtils { ...
Disable RRD queue feature when testing so files are actually written when we write to them. :-)
Disable RRD queue feature when testing so files are actually written when we write to them. :-)
Java
agpl-3.0
roskens/opennms-pre-github,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,aihua/opennms,rdkgit/opennms,aihua/opennms,aihua/opennms,aihua/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,aihua/opennms,tdefilip/opennms,tdefilip/opennms,roskens/openn...
6a68765feed4b042e7de5a43882c14fb27440f60
dropwizard-views/src/main/java/io/dropwizard/views/ViewRenderExceptionMapper.java
dropwizard-views/src/main/java/io/dropwizard/views/ViewRenderExceptionMapper.java
package io.dropwizard.views; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * An {@link ExceptionMapper} that return...
package io.dropwizard.views; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.Provider; import org.apache.commons.lang3.exception.ExceptionUtils; import org.glassfish.jersey.spi.ExtendedExceptionMapper; import org.slf4j.Logger; imp...
Move ViewExceptionMapper to an ExtendedExceptionMapper
Move ViewExceptionMapper to an ExtendedExceptionMapper
Java
apache-2.0
taltmann/dropwizard,micsta/dropwizard,phambryan/dropwizard,kjetilv/dropwizard,cvent/dropwizard,evnm/dropwizard,jplock/dropwizard,aaanders/dropwizard,tburch/dropwizard,tburch/dropwizard,dotCipher/dropwizard,tjcutajar/dropwizard,shawnsmith/dropwizard,cvent/dropwizard,pkwarren/dropwizard,jplock/dropwizard,phambryan/dropwi...
b8990734ddcfec13c990dd7bfa4b3921e6e5ea9b
PhotoGallery/app/src/main/java/com/bignerdranch/android/photogallery/ThumbnailDownloader.java
PhotoGallery/app/src/main/java/com/bignerdranch/android/photogallery/ThumbnailDownloader.java
package com.bignerdranch.android.photogallery; import android.os.HandlerThread; import android.util.Log; public class ThumbnailDownloader<T> extends HandlerThread { private static final String TAG = "ThumbnailDownloader"; public ThumbnailDownloader() { super(TAG); } public void queueThumbna...
package com.bignerdranch.android.photogallery; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Handler; import android.os.HandlerThread; import android.util.Log; import java.io.IOException; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMa...
Complete the implementation of the Downloader, what a horrible thing :facepalm:
Complete the implementation of the Downloader, what a horrible thing :facepalm:
Java
apache-2.0
dcordero/BigNerdRanch-Android
60dedae9eb331aee9b30e4415ada5cd206b0f6e7
src/test/java/org/synyx/urlaubsverwaltung/calendar/CalendarPropertiesTest.java
src/test/java/org/synyx/urlaubsverwaltung/calendar/CalendarPropertiesTest.java
package org.synyx.urlaubsverwaltung.calendar; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.NullSource; import org.junit.jupiter.params.provid...
package org.synyx.urlaubsverwaltung.calendar; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.NullSource; import org.junit.jupiter.params.provider.ValueSource; import javax.validation.ConstraintViol...
Improve parameterized test with sources
Improve parameterized test with sources
Java
apache-2.0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
8069cc43fee1b53baba069f403fc794f60295156
interlok-core/src/main/java/com/adaptris/util/text/NullConverter.java
interlok-core/src/main/java/com/adaptris/util/text/NullConverter.java
/* * Copyright 2015 Adaptris 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 agree...
/* * Copyright 2015 Adaptris 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 agree...
Make NC a functional interface.
Make NC a functional interface.
Java
apache-2.0
adaptris/interlok
4efaa253b8048ef987c1462cdaeee0c5a5970120
telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/objects/replykeyboard/buttons/KeyboardRow.java
telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/objects/replykeyboard/buttons/KeyboardRow.java
package org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons; import org.telegram.telegrambots.meta.api.interfaces.Validable; import org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException; import java.util.ArrayList; /** * @author Ruben Bermudez * @version 1.0 * @brief Row for ReplyK...
package org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons; import org.telegram.telegrambots.meta.api.interfaces.Validable; import org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException; import java.util.ArrayList; import java.util.List; /** * @author Ruben Bermudez * @version 1.0 ...
Add addAll method for keyboardrow
Add addAll method for keyboardrow
Java
mit
rubenlagus/TelegramBots
9257fc23c83c90d9285b2131f53241885ee95b9b
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DummyBitmapPool.java
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DummyBitmapPool.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.memory; import android.graphics.Bitmap; import com.facebook.common.memory.MemoryTrimType; import...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.memory; import android.graphics.Bitmap; import com.facebook.common.internal.Preconditions; impor...
Add Preconditions NPE check to pool release method
Add Preconditions NPE check to pool release method Reviewed By: oprisnik Differential Revision: D14706933 fbshipit-source-id: 5ef5a1dbee73ce1ec11533efeb61845fa15a61a5
Java
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
b473f46c04d47bcf25f0bd48201296e20984a4bb
azure-client-runtime/src/test/java/com/microsoft/azure/AzureTests.java
azure-client-runtime/src/test/java/com/microsoft/azure/AzureTests.java
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure; import com.microsoft.azure.annotations.AzureHost; import com.microsoft.rest.annotations.GET; import com.microsoft.rest.an...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure; import com.microsoft.azure.annotations.AzureHost; import com.microsoft.rest.annotations.GET; import com.microsoft.rest.an...
Fix build error in test
Fix build error in test
Java
mit
navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,navalev/azure-sdk-for-ja...
915efdf9365ea253be14eb236922a60e83bed6e7
philadelphia-hotspot/src/main/java/com/paritytrading/philadelphia/hotspot/HotspotEnumerations.java
philadelphia-hotspot/src/main/java/com/paritytrading/philadelphia/hotspot/HotspotEnumerations.java
package com.paritytrading.philadelphia.hotspot; /** * Enumerations for Bats Hotspot FIX Proxy 4.0. */ public class HotspotEnumerations { /** * Values for CxlRejReason(102). */ public static class HotspotCxlRejReasonValues { public static final int TooLateToCancel = 0; ...
package com.paritytrading.philadelphia.hotspot; /** * Enumerations for Bats Hotspot FIX Proxy 4.0. */ public class HotspotEnumerations { /** * Values for CxlRejReason(102). */ public static class HotspotCxlRejReasonValues { public static final int TooLateToCancel = 0; ...
Clean up enumerations in Bats Hotspot FIX Proxy 4.0
Clean up enumerations in Bats Hotspot FIX Proxy 4.0
Java
apache-2.0
paritytrading/philadelphia-extras
54c0b6c4306f1987d4501c09925884f329e59ee7
java/src/org/broadinstitute/sting/gatk/refdata/CleanedOutSNPROD.java
java/src/org/broadinstitute/sting/gatk/refdata/CleanedOutSNPROD.java
package org.broadinstitute.sting.gatk.refdata; import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.GenomeLocParser; public class CleanedOutSNPROD extends TabularROD { private static final String REAL_SNP_STRING = "SAME_SNP"; private static final String FALSE_SNP_S...
package org.broadinstitute.sting.gatk.refdata; import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.GenomeLocParser; public class CleanedOutSNPROD extends TabularROD { private static final String REAL_SNP_STRING = "SAME_SNP"; private static final String FALSE_SNP_S...
Allow this ROD to consist of just the positions
Allow this ROD to consist of just the positions git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@1497 348d0f76-0448-11de-a6fe-93d51630548a
Java
mit
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
e2ff5b875897a819df0fc1381c306e502c17989c
android/src/main/java/com/jamesisaac/rnbackgroundtask/BackgroundTaskPackage.java
android/src/main/java/com/jamesisaac/rnbackgroundtask/BackgroundTaskPackage.java
package com.jamesisaac.rnbackgroundtask; import android.app.Application; import com.evernote.android.job.JobManager; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import...
package com.jamesisaac.rnbackgroundtask; import android.app.Application; import com.evernote.android.job.JobManager; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import...
Fix breaking change in RN 0.47
Fix breaking change in RN 0.47
Java
mit
jamesisaac/react-native-background-task,jamesisaac/react-native-background-task
240ac954aad6a8cfb8fab8a33af14564cf62d93f
ui-tests/src/main/java/org/openmrs/reference/page/TestProperties.java
ui-tests/src/main/java/org/openmrs/reference/page/TestProperties.java
package org.openmrs.reference.page; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Properties; public class TestProperties { private Properties properties; public TestProperties() { properties = new Properties(); try { In...
package org.openmrs.reference.page; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Properties; public class TestProperties { private Properties properties; public TestProperties() { properties = new Properties(); try { In...
Clean local db and webapp references
Clean local db and webapp references
Java
mpl-2.0
openmrs-gci/openmrs-distro-referenceapplication,openmrs-gci/openmrs-distro-referenceapplication,openmrs-gci/openmrs-distro-referenceapplication
8dac81caa016cd42be966add5db525b47b658c87
src/main/java/org/irmacard/cardemu/preferences/ScreenshotPreferenceFragment.java
src/main/java/org/irmacard/cardemu/preferences/ScreenshotPreferenceFragment.java
package org.irmacard.cardemu.preferences; import android.preference.PreferenceFragment; import org.irmacard.cardemu.R; public class ScreenshotPreferenceFragment extends PreferenceFragment { @Override public void onResume() { super.onResume(); addPreferencesFromResource(R.xml.preferences_screenshots); } }
package org.irmacard.cardemu.preferences; import android.os.Bundle; import android.preference.PreferenceFragment; import org.irmacard.cardemu.R; public class ScreenshotPreferenceFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
Fix double screenshot preference when switching apps
Fix double screenshot preference when switching apps
Java
bsd-3-clause
credentials/irma_android_cardemu
57898051591667bbcaea5838fbccb73438435513
src/main/java/com/salesforce/storm/spout/sideline/SidelineSpout.java
src/main/java/com/salesforce/storm/spout/sideline/SidelineSpout.java
package com.salesforce.storm.spout.sideline; import com.salesforce.storm.spout.sideline.config.SidelineSpoutConfig; import com.salesforce.storm.spout.sideline.handler.SidelineSpoutHandler; import com.salesforce.storm.spout.sideline.handler.SidelineVirtualSpoutHandler; import org.slf4j.Logger; import org.slf4j.LoggerFa...
package com.salesforce.storm.spout.sideline; import com.salesforce.storm.spout.sideline.config.SidelineSpoutConfig; import com.salesforce.storm.spout.sideline.handler.SidelineSpoutHandler; import com.salesforce.storm.spout.sideline.handler.SidelineVirtualSpoutHandler; import org.slf4j.Logger; import org.slf4j.LoggerFa...
Rename config method and make an immutable copy
Rename config method and make an immutable copy
Java
bsd-3-clause
salesforce/storm-dynamic-spout,salesforce/storm-dynamic-spout
715d5f2f7222e72bb8542431b38f7d1604ce72ce
rest-servlet/src/main/java/org/rhq/metrics/restServlet/SimpleLink.java
rest-servlet/src/main/java/org/rhq/metrics/restServlet/SimpleLink.java
package org.rhq.metrics.restServlet; /** * Just a simple representation of a Link * @author Heiko W. Rupp */ public class SimpleLink { private final String rel; private final String href; private final String title; public SimpleLink(String rel, String href, String title) { this.rel = rel; ...
package org.rhq.metrics.restServlet; import javax.xml.bind.annotation.XmlRootElement; import com.wordnik.swagger.annotations.ApiClass; import com.wordnik.swagger.annotations.ApiProperty; /** * Just a simple representation of a Link * @author Heiko W. Rupp */ @SuppressWarnings("unused") @ApiClass("A simple represe...
Add stuff to make the xml body writer happy.
Add stuff to make the xml body writer happy.
Java
apache-2.0
140293816/Hawkular-fork,jsanda/hawkular-metrics,hawkular/hawkular-metrics,jshaughn/hawkular-metrics,spadgett/hawkular-metrics,spadgett/hawkular-metrics,hawkular/hawkular-metrics,tsegismont/hawkular-metrics,vrockai/hawkular-metrics,Jiri-Kremser/hawkular-metrics,140293816/Hawkular-fork,mwringe/hawkular-metrics,hawkular/h...
55960dde24a726614ebd87190e5a7275ea9e3224
bundles/es.core.redmine/src/info/elexis/server/core/redmine/internal/Constants.java
bundles/es.core.redmine/src/info/elexis/server/core/redmine/internal/Constants.java
package info.elexis.server.core.redmine.internal; public class Constants { /** * Expected environment variable containing the api key to use for the redmine connection */ public static final String ENV_VAR_REDMINE_API_KEY = "redmine.apikey"; /** * Optional environment variable containing the redmine base ...
package info.elexis.server.core.redmine.internal; public class Constants { /** * Expected environment variable containing the api key to use for the redmine connection */ public static final String ENV_VAR_REDMINE_API_KEY = "REDMINE_APIKEY"; /** * Optional environment variable containing the redmine base ...
Refactor Redmine env constant names
[18039] Refactor Redmine env constant names
Java
epl-1.0
elexis/elexis-server,elexis/elexis-server
a366e2f4274fda470c27f27ae388063b95ecfb28
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilities capabilities; public SauceBackedDriverSupplier(C...
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.LocalFileDetector; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilitie...
Use a file detector for Sauce tests
DanielWagnerHall: Use a file detector for Sauce tests git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@15219 07704840-8298-11de-bf8c-fd130f914ac9
Java
apache-2.0
yumingjuan/selenium,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium
ed76ee7341dfbe7d6da3db67a3fbb5d0be6a28ee
src/test/java/io/github/bonigarcia/wdm/test/MarionetteVersionTest.java
src/test/java/io/github/bonigarcia/wdm/test/MarionetteVersionTest.java
/* * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
/* * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
Add new versions of Marionette for specific version test
Add new versions of Marionette for specific version test
Java
apache-2.0
bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager
cacb032fc46d76632d0384fe235c37c47e899291
src/main/java/org/cryptonit/cloud/timestamping/Application.java
src/main/java/org/cryptonit/cloud/timestamping/Application.java
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.Response; import org.bouncycastle.tsp.TSPException; import ...
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.R...
Add content types to POST
Add content types to POST
Java
agpl-3.0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
1def3a2bbf8ea386dfc0f3f6bf2e6b4ac9e5a3cb
app/src/main/java/com/naijab/nextzytimeline/utility/StringUtility.java
app/src/main/java/com/naijab/nextzytimeline/utility/StringUtility.java
package com.naijab.nextzytimeline.utility; import android.content.Context; import android.support.annotation.NonNull; import com.naijab.nextzytimeline.R; public class StringUtility { @NonNull public static String getHomeString(Context context) { return context.getResources().getString(R.string.tab_h...
package com.naijab.nextzytimeline.utility; import android.content.Context; import android.support.annotation.NonNull; import com.naijab.nextzytimeline.R; public class StringUtility { @NonNull public static String getSaveSuccess(Context context) { return context.getResources().getString(R.string.save...
Add get String from resource
Add get String from resource
Java
mit
naijab/nextzytimeline,naijab/nextzytimeline
910474568881ed229c3fdfddbafb8bf2a2740546
src/main/java/de/craften/plugins/educraft/luaapi/functions/MoveForwardFunction.java
src/main/java/de/craften/plugins/educraft/luaapi/functions/MoveForwardFunction.java
package de.craften.plugins.educraft.luaapi.functions; import de.craften.plugins.educraft.luaapi.EduCraftApiFunction; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.entity.Entity; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; import java.uti...
package de.craften.plugins.educraft.luaapi.functions; import de.craften.plugins.educraft.luaapi.EduCraftApiFunction; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; /** * Lua API function to move one block forwar...
Make entity fall if there is no solid block below it.
Make entity fall if there is no solid block below it.
Java
mit
leMaik/EduCraft
a7c78455736609912c1feafb7f1f0526a2a76ccc
src/test/java/org/nibor/autolink/LinkExtractorIterableTest.java
src/test/java/org/nibor/autolink/LinkExtractorIterableTest.java
package org.nibor.autolink; import org.junit.Test; import java.util.Iterator; import java.util.NoSuchElementException; import static org.junit.Assert.*; public class LinkExtractorIterableTest { @Test public void iteratorIsNew() { Iterable<LinkSpan> iterable = getSingleElementIterable(); ass...
package org.nibor.autolink; import org.junit.Test; import java.util.Iterator; import java.util.NoSuchElementException; import static org.junit.Assert.*; public class LinkExtractorIterableTest { @Test public void iteratorIsNew() { Iterable<LinkSpan> iterable = getSingleElementIterable(); ass...
Add test for unsupported remove method
Add test for unsupported remove method
Java
mit
robinst/autolink-java
c8e5eaf81485376fa9ab4edc635f33f19457db82
org.csstudio.javafx/src/org/csstudio/javafx/Activator.java
org.csstudio.javafx/src/org/csstudio/javafx/Activator.java
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
Revert to using ResourceUtil to load icons
StringTable: Revert to using ResourceUtil to load icons
Java
epl-1.0
ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display....
c80ac47d6032490c67aac65eb273834140a3d061
gws-core/src/test/java/au/gov/ga/geodesy/support/spring/GeodesyServiceTestConfig.java
gws-core/src/test/java/au/gov/ga/geodesy/support/spring/GeodesyServiceTestConfig.java
package au.gov.ga.geodesy.support.spring; import java.io.FileNotFoundException; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.util.ResourceUtils; import au.gov.ga.geodesy.domain.model.SynchronousEventPublisher; import au.go...
package au.gov.ga.geodesy.support.spring; import java.io.FileNotFoundException; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.util.ResourceUtils; import au.gov.ga.geodesy.domain.model.SynchronousEventPublisher; import au.go...
Use file path to find catalog.xml file
Use file path to find catalog.xml file
Java
bsd-3-clause
GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/Geodesy-Web-Services
ad6738fbe0e235ad226071297f0cf7d9ca68ab75
src/main/java/joshie/progression/criteria/filters/entity/FilterEntityDisplayName.java
src/main/java/joshie/progression/criteria/filters/entity/FilterEntityDisplayName.java
package joshie.progression.criteria.filters.entity; import joshie.progression.api.criteria.ProgressionRule; import joshie.progression.api.special.IInit; import net.minecraft.entity.EntityLivingBase; @ProgressionRule(name="displayName", color=0xFFB25900) public class FilterEntityDisplayName extends FilterBaseEntity im...
package joshie.progression.criteria.filters.entity; import joshie.progression.api.criteria.ProgressionRule; import joshie.progression.api.special.IInit; import net.minecraft.entity.EntityLivingBase; @ProgressionRule(name="displayName", color=0xFFB25900) public class FilterEntityDisplayName extends FilterBaseEntity im...
Fix @GirafiStudios named sheep being able to be killed and triggering the entity display name filter
Fix @GirafiStudios named sheep being able to be killed and triggering the entity display name filter
Java
mit
joshiejack/Progression
dff9ddb4ca768237030c0da56832bfc16db1e544
components/schematic/src/main/java/com/censoredsoftware/library/schematic/Point.java
components/schematic/src/main/java/com/censoredsoftware/library/schematic/Point.java
package com.censoredsoftware.library.schematic; public class Point { private final int X, Y, Z; private final World world; public Point(int X, int Y, int Z, World world) { this.X = X; this.Y = Y; this.Z = Z; this.world = world; } public int getX() { return ...
package com.censoredsoftware.library.schematic; import java.util.Objects; public class Point { private final int X, Y, Z; private final World world; public Point(int X, int Y, int Z, World world) { this.X = X; this.Y = Y; this.Z = Z; this.world = world; } public i...
Update point to fix equality problems.
Update point to fix equality problems.
Java
apache-2.0
DemigodsRPG/CensoredLib
957031f4b2ce9969870c3cc63b64b63fb9402c33
server/src/test/java/io/spine/system/server/given/entity/PersonProcmanRepository.java
server/src/test/java/io/spine/system/server/given/entity/PersonProcmanRepository.java
/* * Copyright 2018, 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 2018, 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...
Allow EntityStateChanged for a procman in tests.
Allow EntityStateChanged for a procman in tests.
Java
apache-2.0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
2f9eab8aa03ab6b1d6787df2ebb3ad3dcdc243a0
src/test/java/edu/umass/cs/ciir/jfoley/chai/collections/ListBasedOrderedSetTest.java
src/test/java/edu/umass/cs/ciir/jfoley/chai/collections/ListBasedOrderedSetTest.java
package edu.umass.cs.ciir.jfoley.chai.collections; import org.junit.Test; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class ListBasedOrderedSetTest { @Test public void enforcesUni...
package edu.umass.cs.ciir.jfoley.chai.collections; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.Set; import java.util.TreeSet; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class ListBasedOrderedSetTest { @Test publi...
Move tests to java 7
Move tests to java 7
Java
bsd-3-clause
jjfiv/chai
4566c20fd2fab716b9638c9c14c795cff8a34a3d
src/main/java/org/jenkinsci/plugins/systemmessage/SystemMessagePanelPageDecorator.java
src/main/java/org/jenkinsci/plugins/systemmessage/SystemMessagePanelPageDecorator.java
package org.jenkinsci.plugins.systemmessage; import org.kohsuke.stapler.DataBoundConstructor; import hudson.Extension; import hudson.model.PageDecorator; @Extension public class SystemMessagePanelPageDecorator extends PageDecorator { /* persisted attributes */ private String headingText; /* tra...
package org.jenkinsci.plugins.systemmessage; import org.kohsuke.stapler.DataBoundConstructor; import org.kohsuke.stapler.StaplerRequest; import hudson.Extension; import hudson.model.PageDecorator; import hudson.model.Descriptor.FormException; import net.sf.json.JSONObject; @Extension public class SystemMe...
Fix save issue on configuration change
Fix save issue on configuration change
Java
mit
eaglerainbow/system-message-plugin,eaglerainbow/system-message-plugin,eaglerainbow/system-message-plugin
c890f036db0b44ab92250575d8e20aeca04a924c
geneproduct-rest/src/test/java/uk/ac/ebi/quickgo/geneproduct/GeneProductParameters.java
geneproduct-rest/src/test/java/uk/ac/ebi/quickgo/geneproduct/GeneProductParameters.java
package uk.ac.ebi.quickgo.geneproduct; /** * Enumeration of all the parameters accepted by the gene product search endpoint */ public enum GeneProductParameters { TYPE_PARAM("type"), TAXON_ID_PARAM("taxonId"), DB_SUBSET_PARAM("dbSubset"); private String name; GeneProductParameters(String name) ...
package uk.ac.ebi.quickgo.geneproduct; /** * Enumeration of all the parameters accepted by the gene product search endpoint */ public enum GeneProductParameters { TYPE_PARAM("type"), TAXON_ID_PARAM("taxonId"), DB_SUBSET_PARAM("dbSubset"), PROTEOME_MEMBERSHIP_PARAM("proteomeMembership"); private ...
Add ProteomeMembership as valid search by field.
Add ProteomeMembership as valid search by field.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
e8b74cb53887da0611f686c017eb27926ad35cbb
src/main/java/com/researchspace/api/clientmodel/DocumentPost.java
src/main/java/com/researchspace/api/clientmodel/DocumentPost.java
package com.researchspace.api.clientmodel; import java.util.ArrayList; import java.util.List; import lombok.Builder; import lombok.Data; import lombok.Singular; /** * Models the request body of a /documents POST request. All content is optional. * If a form ID is set then the field content must match the field type...
package com.researchspace.api.clientmodel; import java.util.ArrayList; import java.util.List; import lombok.Builder; import lombok.Data; import lombok.Singular; /** * Models the request body of a /documents POST request. All content is optional. * If a form ID is set then the field content must match the field type...
Add parentFolderId to document post
Add parentFolderId to document post
Java
apache-2.0
rspace-os/rspace-client-java-model
80312d21ebd1de0af5ab7b192d012d6803fd14a7
src/com/gh4a/loader/ReadmeLoader.java
src/com/gh4a/loader/ReadmeLoader.java
package com.gh4a.loader; import java.io.InputStream; import org.eclipse.egit.github.core.RepositoryId; import org.eclipse.egit.github.core.client.GitHubClient; import org.eclipse.egit.github.core.service.ContentService; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import android...
package com.gh4a.loader; import java.io.InputStream; import org.eclipse.egit.github.core.RepositoryId; import org.eclipse.egit.github.core.client.GitHubClient; import org.eclipse.egit.github.core.service.ContentService; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import android...
Fix README not showing in private repo
Fix README not showing in private repo
Java
apache-2.0
DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,Bloody-Badboy/gh4a,slapperwan/gh4a,shekibobo/gh4a,edyesed/gh4a,shineM/gh4a,AKiniyalocts/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,sauloaguiar/gh4a,Bloody-Badboy/gh4a,slapperwan/gh4a,shekibobo/gh4a,AKiniyalocts/gh4a,sauloaguiar/gh4a,edyesed/gh4a,shineM/g...
a2d8178f844c9048b17aac98d6145bb3d613f809
Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java
Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java
package net.darkhax.bookshelf.api.serialization; import com.google.gson.JsonElement; import net.minecraft.nbt.Tag; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.item.crafting.Ingredient; public class SerializerIngredient implements ISerializer<Ingredient> { public static final ISeriali...
package net.darkhax.bookshelf.api.serialization; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import net.minecraft.nbt.Tag; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.item.crafting.Ingredient; public class SerializerIngredient implements ISerializer<Ingredient> {...
Fix crash when serializing empty JSON ingredients.
Fix crash when serializing empty JSON ingredients.
Java
lgpl-2.1
Darkhax-Minecraft/Bookshelf
dde615e8365c3f1940341b6eedf95e854e905bae
src/main/java/mil/dds/anet/beans/search/AbstractSearchQuery.java
src/main/java/mil/dds/anet/beans/search/AbstractSearchQuery.java
package mil.dds.anet.beans.search; public abstract class AbstractSearchQuery implements ISearchQuery { private String text; private int pageNum; private int pageSize; public AbstractSearchQuery() { this.pageNum = 0; this.pageSize = 10; } @Override public String getText() { return text; } @Override ...
package mil.dds.anet.beans.search; public abstract class AbstractSearchQuery implements ISearchQuery { private String text; private int pageNum; private int pageSize; public AbstractSearchQuery() { this.pageNum = 0; this.pageSize = 10; } @Override public String getText() { return text; } @Override ...
Allow pageSize to be zero (0) on searches
Allow pageSize to be zero (0) on searches This is to be able to return all results, needed e.g. for reports or graphs.
Java
mit
NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet
dcfa043cc1cc8cb264f403d02810842383884a3a
src/main/java/com/hzh/corejava/concurrent/CountDownLatchExample2.java
src/main/java/com/hzh/corejava/concurrent/CountDownLatchExample2.java
package com.hzh.corejava.concurrent; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.Executors; /** * Created by huangzehai on 2017/2/20. */ class CountDownLatchExample2 { // ... private static final int N = 3; public static void main(String[] a...
package com.hzh.corejava.concurrent; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * Created by huangzehai on 2017/2/20. */ class CountDownLatchExample2 { // ... private static final int N...
Fix issue of count down latch example2 didn't shutdown
Fix issue of count down latch example2 didn't shutdown
Java
apache-2.0
huangzehai/core-java
3869f66fd10f6f4c70d6897f8b546bd1f60c861d
src/main/java/fr/insee/rmes/utils/CustomXmlEscapingWriterFactory.java
src/main/java/fr/insee/rmes/utils/CustomXmlEscapingWriterFactory.java
package fr.insee.rmes.utils; import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import org.codehaus.stax2.io.EscapingWriterFactory; public class CustomXmlEscapingWriterFactory implements EscapingWriterFactory { public Writer createEscapingWriterFor(final Writer out, String enc) { ...
package fr.insee.rmes.utils; import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import org.apache.commons.text.StringEscapeUtils; import org.codehaus.stax2.io.EscapingWriterFactory; public class CustomXmlEscapingWriterFactory implements EscapingWriterFactory { public Writer createEsc...
Fix issue with accent escaped in some xml response
Fix issue with accent escaped in some xml response
Java
mit
FranckCo/Metadata-API
af3a6268f163fb94263607a49363ee35e5df9332
quickgo-solr-indexing/src/main/java/uk/ac/ebi/quickgo/indexer/QuickGOIndexerProcess.java
quickgo-solr-indexing/src/main/java/uk/ac/ebi/quickgo/indexer/QuickGOIndexerProcess.java
package uk.ac.ebi.quickgo.indexer; import java.text.SimpleDateFormat; import java.util.Calendar; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Process to index all the information in Solr * * @author cbonill * */ public...
package uk.ac.ebi.quickgo.indexer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Process to index all the information in Solr * * @a...
Improve the formatting of the output to stdout.
Improve the formatting of the output to stdout.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
9674339436b8dd055dcbb6e9465ad77074ff84ab
json-path/src/test/java/com/jayway/jsonpath/TestSuppressExceptions.java
json-path/src/test/java/com/jayway/jsonpath/TestSuppressExceptions.java
package com.jayway.jsonpath; import com.jayway.jsonpath.spi.json.JacksonJsonProvider; import com.jayway.jsonpath.spi.mapper.JacksonMappingProvider; import org.junit.Test; import static org.junit.Assert.assertNull; public class TestSuppressExceptions { @Test public void testSuppressExceptionsIsRespected() { ...
package com.jayway.jsonpath; import com.jayway.jsonpath.spi.json.JacksonJsonProvider; import com.jayway.jsonpath.spi.mapper.JacksonMappingProvider; import org.assertj.core.api.Assertions; import org.junit.Test; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.A...
Fix test. AS_PATH_LIST should return empty list not null.
Fix test. AS_PATH_LIST should return empty list not null.
Java
apache-2.0
jayway/JsonPath,jayway/JsonPath,json-path/JsonPath,jayway/JsonPath,json-path/JsonPath,json-path/JsonPath
103a509f26c9e2736f2bdef9792ba1bbb43f2aab
config/src/main/java/net/md_5/bungee/config/YamlConfiguration.java
config/src/main/java/net/md_5/bungee/config/YamlConfiguration.java
package net.md_5.bungee.config; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.Map; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.Yaml; class YamlConfiguration extends ConfigurationProvider { private final ThreadLocal<Yaml>...
package net.md_5.bungee.config; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.Map; import lombok.AccessLevel; import lombok.NoArgsConstructor; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.Yaml; @NoArgsConstructor(access = Acce...
Fix access of yaml config
Fix access of yaml config
Java
bsd-3-clause
xxyy/BungeeCord,TCPR/BungeeCord,dentmaged/BungeeCord,LolnetModPack/BungeeCord,ewized/BungeeCord,TCPR/BungeeCord,LetsPlayOnline/BungeeJumper,GamesConMCGames/Bungeecord,ConnorLinfoot/BungeeCord,xxyy/BungeeCord,Xetius/BungeeCord,GamesConMCGames/Bungeecord,LolnetModPack/BungeeCord,Yive/BungeeCord,PrisonPvP/BungeeCord,Conno...
683f4320f13f89b698fb1ecbe730a9cf21c7c604
tests/src/test/java/com/orientechnologies/orient/test/database/base/DeleteDirectory.java
tests/src/test/java/com/orientechnologies/orient/test/database/base/DeleteDirectory.java
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Delete database of tests now stops if a file can't be deleted
Delete database of tests now stops if a file can't be deleted git-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@7085 3625ad7b-9c83-922f-a72b-73d79161f2ea
Java
apache-2.0
nengxu/OrientDB,nengxu/OrientDB,nengxu/OrientDB,nengxu/OrientDB
18283ab3946dcb899a37aa0c5f33962798e09f50
src/main/java/quadTree/Rectangle.java
src/main/java/quadTree/Rectangle.java
package quadTree; public class Rectangle { public float x1, x2, y1, y2; public Rectangle() { this(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY); }; public Rectangle(float _x1, float _y1, float _x2, float _y2) { this.x1 = _x1; this.y1 = _y1; this.x2 ...
package quadTree; public class Rectangle { public float x1, x2, y1, y2; public Rectangle() { this(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY); }; public Rectangle(float _x1, float _y1, float _x2, float _y2) { this.x1 = _x1; this.y1 = _y1; this.x2 = ...
Update rectangle to make it obvious the expected dimensions.
Update rectangle to make it obvious the expected dimensions.
Java
mit
smozely/QuadTree,smozely/QuadTree
4e0c34ec4807465e36aee075a8626a80ec0d9492
plugin/src/main/groovy/com/github/gfx/ribbonizer/plugin/Ribbonizer.java
plugin/src/main/groovy/com/github/gfx/ribbonizer/plugin/Ribbonizer.java
package com.github.gfx.ribbonizer.plugin; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.function.Consumer; import java.util.stream.Stream; import javax.imageio.ImageIO; public class Ribbonizer { final File inputFile; final File outputFile; final...
package com.github.gfx.ribbonizer.plugin; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.function.Consumer; import java.util.stream.Stream; import javax.imageio.ImageIO; public class Ribbonizer { final File inputFile; final File outputFile; final...
Allow a null filter to skip ribbonizing
Allow a null filter to skip ribbonizing
Java
mit
gfx/gradle-android-ribbonizer-plugin
fe2dc90fa2b769d905d71d388636e63436e4ddb7
src/test/java/guitests/ClearCommandTest.java
src/test/java/guitests/ClearCommandTest.java
package guitests; import org.junit.Test; import static org.junit.Assert.assertTrue; public class ClearCommandTest extends AddressBookGuiTest { @Test public void clear() { //verify a non-empty list can be cleared assertTrue(personListPanel.isListMatching(td.getTypicalTasks())); asser...
package guitests; import org.junit.Test; import static org.junit.Assert.assertTrue; public class ClearCommandTest extends AddressBookGuiTest { @Test public void clear() { //verify a non-empty list can be cleared assertTrue(personListPanel.isListMatching(td.getTypicalTasks())); asser...
Change addressbook to Emeraldo in clearCommandTest.java
Change addressbook to Emeraldo in clearCommandTest.java
Java
mit
CS2103AUG2016-T10-C3/main
a547f3c1a787704b4db2003d4995282e589856f8
client/src/main/java/org/realityforge/replicant/client/gwt/ReplicantRequestCallback.java
client/src/main/java/org/realityforge/replicant/client/gwt/ReplicantRequestCallback.java
package org.realityforge.replicant.client.gwt; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestCallback; import com.google.gwt.http.client.Response; import java.util.Objects; import javax.annotation.Nonnull; import org.realityforge.replicant.shared.SharedConstants; class ReplicantR...
package org.realityforge.replicant.client.gwt; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestCallback; import com.google.gwt.http.client.Response; import java.util.Objects; import javax.annotation.Nonnull; import org.realityforge.replicant.shared.SharedConstants; final class Repl...
Add Nullability annotations, simplify code by removing unnecessary null checks
Add Nullability annotations, simplify code by removing unnecessary null checks
Java
apache-2.0
realityforge/replicant,realityforge/replicant
9794c7a774dd01c2026a3be8106c76ae28d739a4
Java/ShoprAlgorithm/src/com/uwetrottmann/shopr/algorithm/model/Item.java
Java/ShoprAlgorithm/src/com/uwetrottmann/shopr/algorithm/model/Item.java
package com.uwetrottmann.shopr.algorithm.model; import java.math.BigDecimal; /** * Represents a item (e.g. clothing item), or one case in the case-base. */ public class Item { private int id; private String name; private BigDecimal price; private int shop_id; private Attributes attrs; ...
package com.uwetrottmann.shopr.algorithm.model; import java.math.BigDecimal; /** * Represents a item (e.g. clothing item), or one case in the case-base. */ public class Item { private int id; private String name; private BigDecimal price; private String image_url; private int shop_id; ...
Add image url to item model.
Add image url to item model.
Java
apache-2.0
UweTrottmann/Shopr,adiguzel/Shopr
67bc88cbcfae0725a0bfbb56657c16be99df1b84
app/src/main/java/com/williammora/openfeed/fragments/StatusFragment.java
app/src/main/java/com/williammora/openfeed/fragments/StatusFragment.java
package com.williammora.openfeed.fragments; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.williammora.openfeed.R; import com.williammora.openfeed.activities.StatusActivity; import com.williammora.openfeed....
package com.williammora.openfeed.fragments; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.williammora.openfeed.R; import com.williammora.openfeed.activities.StatusActivity; import com.williammora.openfeed....
Change of context for picture transformation
Change of context for picture transformation
Java
mit
wmora/openfeed
2bc1a9de8630e50a22498e89b32183c09bda93b4
middleware/src/main/java/com/facebook/fresco/middleware/MiddlewareUtils.java
middleware/src/main/java/com/facebook/fresco/middleware/MiddlewareUtils.java
package com.facebook.fresco.middleware; import android.graphics.PointF; import android.graphics.Rect; import android.net.Uri; import com.facebook.fresco.ui.common.ControllerListener2.Extras; import java.util.Map; import javax.annotation.Nullable; public class MiddlewareUtils { public static Extras obtainExtras( ...
package com.facebook.fresco.middleware; import android.graphics.PointF; import android.graphics.Rect; import android.net.Uri; import com.facebook.fresco.ui.common.ControllerListener2.Extras; import com.facebook.infer.annotation.Nullsafe; import java.util.Map; import javax.annotation.Nullable; @Nullsafe(Nullsafe.Mode....
Mark middleware class as nullsafe
Mark middleware class as nullsafe Reviewed By: defHLT Differential Revision: D24256184 fbshipit-source-id: cf0342d0ed800576ce0cad9a37bcd96d8483ae4a
Java
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
7444dda53e8f3e564cd0cb7d7db5dc9e5bc3f5ae
plugins/groovy/src/org/jetbrains/plugins/groovy/util/ClassInstanceCache.java
plugins/groovy/src/org/jetbrains/plugins/groovy/util/ClassInstanceCache.java
package org.jetbrains.plugins.groovy.util; import com.intellij.util.containers.ConcurrentHashMap; import org.jetbrains.annotations.NotNull; /** * @author Sergey Evdokimov */ public class ClassInstanceCache { private static final ConcurrentHashMap<String, Object> CACHE = new ConcurrentHashMap<String, Object>(); ...
package org.jetbrains.plugins.groovy.util; import com.intellij.ide.plugins.IdeaPluginDescriptor; import com.intellij.ide.plugins.PluginManager; import com.intellij.util.containers.ConcurrentHashMap; import org.jetbrains.annotations.NotNull; /** * @author Sergey Evdokimov */ public class ClassInstanceCache { priv...
Fix EA-30104: ClassNotFound exception: Don't forget that plugins loaded by different class loader.
Fix EA-30104: ClassNotFound exception: Don't forget that plugins loaded by different class loader.
Java
apache-2.0
tmpgit/intellij-community,ahb0327/intellij-community,TangHao1987/intellij-community,mglukhikh/intellij-community,asedunov/intellij-community,youdonghai/intellij-community,ivan-fedorov/intellij-community,signed/intellij-community,michaelgallacher/intellij-community,slisson/intellij-community,Lekanich/intellij-community,...
75b102e19065a5e740c7134edaf484919f2ebacb
library/src/main/java/me/proxer/library/api/HeaderInterceptor.java
library/src/main/java/me/proxer/library/api/HeaderInterceptor.java
package me.proxer.library.api; import me.proxer.library.util.ProxerUrls; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.IOException; /** * @author Ruben Gees */ final class HeaderInterc...
package me.proxer.library.api; import me.proxer.library.util.ProxerUrls; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.IOException; /** * @author Ruben Gees */ final class HeaderInterc...
Remove any previous set User-Agents when set
Remove any previous set User-Agents when set
Java
mit
proxer/ProxerLibJava
dd11add15f5bb65fa6edfbca54cb3de77e6f8896
app/src/main/java/nickrout/lenslauncher/util/ColorUtil.java
app/src/main/java/nickrout/lenslauncher/util/ColorUtil.java
package nickrout.lenslauncher.util; import android.graphics.Color; import android.support.annotation.ColorInt; import android.support.v7.graphics.Palette; import nickrout.lenslauncher.model.App; /** * Created by nicholasrout on 2016/05/28. */ public class ColorUtil { public static @ColorInt int getPaletteColo...
package nickrout.lenslauncher.util; import android.graphics.Color; import android.support.annotation.ColorInt; import android.support.v7.graphics.Palette; import nickrout.lenslauncher.model.App; /** * Created by nicholasrout on 2016/05/28. */ public class ColorUtil { public static @ColorInt int getPaletteColo...
Fix for occasional Palette crash
Fix for occasional Palette crash
Java
apache-2.0
nicholasrout/lens-launcher,nicholasrout/lens-launcher
e40e87a18952fcb9a63679d7d46ac3f299b68b95
splunk/com/splunk/Message.java
splunk/com/splunk/Message.java
/* * Copyright 2011 Splunk, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"): you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2011 Splunk, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"): you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add whitespace to be consistent with other modules
Add whitespace to be consistent with other modules
Java
apache-2.0
splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java,splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java
c728d18a23dcd7598b24ef80bacd13bc6ab9b955
src/main/java/au/gov/ga/geodesy/igssitelog/domain/model/EventRepository.java
src/main/java/au/gov/ga/geodesy/igssitelog/domain/model/EventRepository.java
package au.gov.ga.geodesy.igssitelog.domain.model; import org.springframework.data.jpa.repository.JpaRepository; import au.gov.ga.geodesy.domain.model.Event; public interface EventRepository extends JpaRepository<Event, Integer> { }
package au.gov.ga.geodesy.igssitelog.domain.model; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import au.gov.ga.geodesy.domain.model.Event; public interface EventRepository extends JpaRepository<Event, Integer> { @Qu...
Add method to fetch pending events.
Add method to fetch pending events.
Java
bsd-3-clause
GeoscienceAustralia/Geodesy-Web-Services,lbodor/geodesy-domain-model,lbodor/geodesy-domain-model,GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services
140bb358eb196e2b1cb54f88006c98753a2dd977
src/common/me/nallar/tickthreading/minecraft/commands/Command.java
src/common/me/nallar/tickthreading/minecraft/commands/Command.java
package me.nallar.tickthreading.minecraft.commands; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; public abstract class Command extends CommandBase { public static void sendChat(ICommandSen...
package me.nallar.tickthreading.minecraft.commands; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import me.nallar.tickthreading.Log; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; public abs...
Include console command output in logs.
Include console command output in logs. Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
Java
mit
nallar/TickThreading
74063a905b837e1aaf8b044dea53ef71cf48b0ed
src/main/java/be/bagofwords/minidepi/remote/RemoteExecService.java
src/main/java/be/bagofwords/minidepi/remote/RemoteExecService.java
/* * Created by Koen Deschacht (koendeschacht@gmail.com) 2017-4-28. For license * information see the LICENSE file in the root folder of this repository. */ package be.bagofwords.minidepi.remote; import be.bagofwords.exec.RemoteExecConfig; import be.bagofwords.util.SocketConnection; import java.io.IOException; p...
/* * Created by Koen Deschacht (koendeschacht@gmail.com) 2017-4-28. For license * information see the LICENSE file in the root folder of this repository. */ package be.bagofwords.minidepi.remote; import be.bagofwords.exec.RemoteExecConfig; import be.bagofwords.util.SocketConnection; import org.apache.commons.io.IO...
Return error messages if the compilation of remote methods fails
Return error messages if the compilation of remote methods fails
Java
mit
koendeschacht/mini-dep-i
f14c0620a15cd664adaa260a6c82f25ecdc2e2b3
src/main/java/net/afterlifelochie/fontbox/layout/ObjectBounds.java
src/main/java/net/afterlifelochie/fontbox/layout/ObjectBounds.java
package net.afterlifelochie.fontbox.layout; public class ObjectBounds { public int x, y; public int width, height; public boolean floating; public ObjectBounds(int x, int y, int width, int height, boolean floating) { this.x = x; this.y = y; this.width = width; this.height = height; this.fl...
package net.afterlifelochie.fontbox.layout; public class ObjectBounds { public int x, y; public int width, height; public boolean floating; public ObjectBounds(int x, int y, int width, int height, boolean floating) { this.x = x; this.y = y; this.width = width; this.height = height; this.fl...
Add intersects to objectbounds prototype
Add intersects to objectbounds prototype
Java
mit
AfterLifeLochie/fontbox,way2muchnoise/fontbox
311180d12ec1c7dac659ae1bdf43ee37ebfcf6a4
src/main/java/org/kohsuke/github/GHEvent.java
src/main/java/org/kohsuke/github/GHEvent.java
package org.kohsuke.github; /** * Hook event type. * * See http://developer.github.com/v3/events/types/ * * @author Kohsuke Kawaguchi * @see GHEventInfo */ public enum GHEvent { COMMIT_COMMENT, CREATE, DELETE, DOWNLOAD, FOLLOW, FORK, FORK_APPLY, GIST, GOLLUM, ISSUE_COMMEN...
package org.kohsuke.github; /** * Hook event type. * * See http://developer.github.com/v3/events/types/ * * @author Kohsuke Kawaguchi * @see GHEventInfo */ public enum GHEvent { COMMIT_COMMENT, CREATE, DELETE, DEPLOYMENT, DEPLOYMENT_STATUS, DOWNLOAD, FOLLOW, FORK, FORK_APPLY,...
Add missing DEPLOYMENT, DEPLOYMENT_STATUS, RELEASE and STATUS events.
Add missing DEPLOYMENT, DEPLOYMENT_STATUS, RELEASE and STATUS events.
Java
mit
lucamilanesio/github-api,Shredder121/github-api,dblevins/github-api,mmitche/github-api,jeffnelson/github-api,Sampson91/github-api,pomes/github-api,kohsuke/github-api,hanjianfei1/github-api,if6was9/github-api,gitminingOrg/github-api,gecko655/github-api,marc-guenther/github-api,christiansahlstrom93/github-api,torodev/git...
5a0fbefbbb452f035636eb68a31382b1d44e8f49
BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java
BoxJavaLibraryV2/src/com/box/boxjavalibv2/authorization/IAuthFlowUI.java
package com.box.boxjavalibv2.authorization; /** * Interface for UI to generate auth. */ public interface IAuthFlowUI { /** * Authenticate. * * @param listener * listener listening to events/messages fired during authentication process. */ void authenticate(IAuthFlowListe...
package com.box.boxjavalibv2.authorization; import com.box.boxjavalibv2.BoxClient; /** * Interface for UI to generate auth. */ public interface IAuthFlowUI { /** * Authenticate. * * @param listener * listener listening to events/messages fired during authentication process. ...
Allow passing in box client when intializing OauthWebView
Allow passing in box client when intializing OauthWebView
Java
apache-2.0
shelsonjava/box-java-sdk-v2,shelsonjava/box-java-sdk-v2
582f29e6bd22cbd9a49656dd4a677deeccf86735
android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java
android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java
package org.kobjects.nativehtml.android; import android.content.Context; import android.widget.FrameLayout; import java.io.Reader; import java.net.URI; import org.kobjects.nativehtml.dom.Element; import org.kobjects.nativehtml.io.DefaultRequestHandler; import org.kobjects.nativehtml.io.HtmlParser; import org.kobjects....
package org.kobjects.nativehtml.android; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; import org.kobjects.nativehtml.dom.Element; import org.kobjects.nativehtml.io.DefaultRequestHandler; import org.kobjects.nativehtml.io.HtmlParser; import org.kobjects.nativehtm...
Add the required constructors for direct usage in layout xml files.
Add the required constructors for direct usage in layout xml files. Usage: <org.kobjects.nativehtml.android.HtmlView>
Java
apache-2.0
stefanhaustein/nativehtml,stefanhaustein/nativehtml
27857aa4d117fe7a93031f3b05a4b094aa65f8c1
etomica-core/src/main/java/etomica/meta/ComponentIndex.java
etomica-core/src/main/java/etomica/meta/ComponentIndex.java
package etomica.meta; import org.reflections.Reflections; import java.util.Set; public class ComponentIndex<T> { private final Class<T> componentClass; private static final Reflections reflections = new Reflections("etomica"); public ComponentIndex(Class<T> componentClass) { this.componentClass...
package etomica.meta; import org.reflections.Reflections; import java.util.Set; import static etomica.meta.Common.REFLECTIONS; public class ComponentIndex<T> { private final Class<T> componentClass; public ComponentIndex(Class<T> componentClass) { this.componentClass = componentClass; } p...
Use common reflections instance to avoid scanning twice
Use common reflections instance to avoid scanning twice
Java
mpl-2.0
etomica/etomica,etomica/etomica,etomica/etomica
32794d49bb5764e33145f1b9ec737540c7a1e3f4
com.asakusafw.shafu.asakusafw/src/com/asakusafw/shafu/internal/asakusafw/preferences/ShafuAsakusaPreferenceConstants.java
com.asakusafw.shafu.asakusafw/src/com/asakusafw/shafu/internal/asakusafw/preferences/ShafuAsakusaPreferenceConstants.java
/** * Copyright 2013 Asakusa Framework Team. * * 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 ...
/** * Copyright 2013 Asakusa Framework Team. * * 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 ...
Change asakusafw project template catalog URL.
Change asakusafw project template catalog URL.
Java
apache-2.0
ashigeru/asakusafw-shafu,asakusafw/asakusafw-shafu
713315108c0073d6d0316746c84eadcce84eeb50
ch/uzh/ifi/dachs/pizza/Pizza.java
ch/uzh/ifi/dachs/pizza/Pizza.java
//Foobar package ch.uzh.ifi.dachs.pizza; public class Pizza { public static void main(String[] args) { // Parameter inpute filename System.out.println("Dachs Pizza"); } }
//Foobar package ch.uzh.ifi.dachs.pizza; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Pizza { static { StackTraceElement[] stack = Thread.currentThread().getStackTrace(); StackTraceElement main = stack[stack.length - 1]; PROGRAM_NAME = main.getClassName(); ...
Read input and print matrix (pizza) state
Read input and print matrix (pizza) state
Java
apache-2.0
citostyle/dachs-pizza
6c09e6b672490439da83caf92048b8873affb4ae
src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/diagnostics/rules/PackageNameDiagnosticRule.java
src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/diagnostics/rules/PackageNameDiagnosticRule.java
package com.azure.tools.apiview.processor.diagnostics.rules; import com.azure.tools.apiview.processor.diagnostics.DiagnosticRule; import com.azure.tools.apiview.processor.model.APIListing; import com.azure.tools.apiview.processor.model.Diagnostic; import com.github.javaparser.ast.CompilationUnit; import java.util.reg...
package com.azure.tools.apiview.processor.diagnostics.rules; import com.azure.tools.apiview.processor.diagnostics.DiagnosticRule; import com.azure.tools.apiview.processor.model.APIListing; import com.azure.tools.apiview.processor.model.Diagnostic; import com.github.javaparser.ast.CompilationUnit; import java.util.reg...
Fix regex for package naming diagnostic
Fix regex for package naming diagnostic
Java
mit
tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools
a100bc9c7d9d9b460172eeeda391e6a101e47510
src/main/java/bpsm/edn/model/Keyword.java
src/main/java/bpsm/edn/model/Keyword.java
// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License package bpsm.edn.model; import bpsm.edn.parser.util.Interner; public final class Keyword implements Named, Comparable<Keyword> { private final Symbol sym; public final String getPrefix() { return sym.getPrefix(); } ...
// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License package bpsm.edn.model; import bpsm.edn.parser.util.Interner; public final class Keyword implements Named, Comparable<Keyword> { private final Symbol sym; public final String getPrefix() { return sym.getPrefix(); } ...
Add fast path for comparing to an identical (interned) keyword
Add fast path for comparing to an identical (interned) keyword
Java
epl-1.0
bpsm/edn-java
a470c0e15aec349a5704b1292f08d47a179625db
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/INeutronRequest.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/INeutronRequest.java
/* * Copyright (C) 2014 Red Hat, Inc. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Dave Tucker */ package org.opendaylig...
/* * Copyright (C) 2014 Red Hat, Inc. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Dave Tucker */ package org.opendaylig...
Remove redundant modifiers from northbound interfaces
Remove redundant modifiers from northbound interfaces Change-Id: I83ed14c21255e8fc22bd688d00ea8b87d833b344 Signed-off-by: Ryan Moats <7ac70bcc48c94124ee1b01a4779bf5a8a6faebbd@us.ibm.com>
Java
epl-1.0
opendaylight/neutron
d2121c459cafe626993fe86f87de1ae5720aa2d7
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/EnumUtilsTest.java
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/EnumUtilsTest.java
package org.ovirt.engine.core.utils; import org.ovirt.engine.core.common.utils.EnumUtils; import junit.framework.TestCase; public class EnumUtilsTest extends TestCase { public void testConvertToStringWithSpaces() { assertEquals("Hello There", EnumUtils.ConvertToStringWithSpaces("HelloThere")); } }
package org.ovirt.engine.core.utils; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.ovirt.engine.core.common.utils.EnumUtils; public class EnumUtilsTest { @Test public void convertToStringWithSpaces() { assertEquals("Hello There", EnumUtils.ConvertToStringWithSpaces("...
Change to JUnit 4 test
backend: Change to JUnit 4 test Change the test to be junit 4 test for adding more tests later. Change-Id: I7a8d38bbbbce976f5bf12573bb6936e5d7ff7c1e
Java
apache-2.0
walteryang47/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,raksha-rao/gluster-ovirt,walteryang47/ovirt-engine,eayun/ovirt-engine,raksha-rao/gluster-ovirt,anjalshireesh/gluster-ovirt-poc,Dhandapani/gluster-ovirt,zerodengxinchao/ovirt-engine,anjalshireesh/gluster-ovirt-poc,OpenUniversity/ovirt-e...
be065a3a8ba6a867c8263d3b938147c9e5e0c70f
extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java
extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java
package io.quarkus.smallrye.reactivemessaging.runtime; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import javax.enterprise.context.Dependent; import javax.enterprise.event.Observes; import javax.inject.Inject; import io.quarkus.runtime.StartupEvent; import io.smallr...
package io.quarkus.smallrye.reactivemessaging.runtime; import javax.enterprise.context.Dependent; import javax.enterprise.event.Observes; import javax.inject.Inject; import io.quarkus.runtime.StartupEvent; import io.smallrye.reactive.messaging.extension.MediatorManager; @Dependent public class SmallRyeReactiveMessag...
Update how is started the Reactive Messaging provider
Update how is started the Reactive Messaging provider
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
7aed2d1357392b4bcc0850ac8ed3d6f5ef55ab94
src/test/java/ca/intelliware/ihtsdo/mlds/registration/UserRegistrationIntegrationTest.java
src/test/java/ca/intelliware/ihtsdo/mlds/registration/UserRegistrationIntegrationTest.java
package ca.intelliware.ihtsdo.mlds.registration; import java.util.List; import javax.annotation.Resource; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunn...
package ca.intelliware.ihtsdo.mlds.registration; import java.util.List; import javax.annotation.Resource; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunn...
Fix up test definition to account for pushing @Controller definitions out to servlet context
Fix up test definition to account for pushing @Controller definitions out to servlet context
Java
apache-2.0
IHTSDO/MLDS,IHTSDO/MLDS,IHTSDO/MLDS,IHTSDO/MLDS
d258bcec04a528c30271bd56d113884d38276ed6
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 "Revert "api key deleted from the list of required parameters""
Revert "Revert "api key deleted from the list of required parameters""
Java
apache-2.0
atlasapi/atlas-deer,atlasapi/atlas-deer
7e6cb9c13132e7b5f07276be58617bca6e0074fb
src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerializer.java
src/main/java/de/timroes/axmlrpc/serializer/DateTimeSerializer.java
package de.timroes.axmlrpc.serializer; import java.text.SimpleDateFormat; import org.w3c.dom.Element; import de.timroes.axmlrpc.XMLRPCException; import de.timroes.axmlrpc.XMLUtil; import de.timroes.axmlrpc.xmlcreator.XmlElement; import fr.turri.jiso8601.Iso8601Deserializer; /** * * @author timroes */ public clas...
package de.timroes.axmlrpc.serializer; import java.text.SimpleDateFormat; import org.w3c.dom.Element; import de.timroes.axmlrpc.XMLRPCException; import de.timroes.axmlrpc.XMLUtil; import de.timroes.axmlrpc.xmlcreator.XmlElement; import fr.turri.jiso8601.Iso8601Deserializer; /** * * @author timroes */ public clas...
Return empty datetime elements as NULL
Return empty datetime elements as NULL
Java
mit
gturri/aXMLRPC,gturri/aXMLRPC,timroes/aXMLRPC
f548b304c556ad93e229344247c1ca5773257a6d
orienteer-core/src/main/java/org/orienteer/core/behavior/OneTimeAjaxClientInfoBehavior.java
orienteer-core/src/main/java/org/orienteer/core/behavior/OneTimeAjaxClientInfoBehavior.java
package org.orienteer.core.behavior; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxClientInfoBehavior; import org.orienteer.core.OrienteerWebSession; /** * Behavior to gather ClientInfo only once */ public class OneTimeAjaxClientInfoBehavior extends AjaxClientInfoBehavior { @Override pub...
package org.orienteer.core.behavior; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxClientInfoBehavior; import org.orienteer.core.OrienteerWebSession; /** * Behavior to gather ClientInfo only once */ public class OneTimeAjaxClientInfoBehavior extends AjaxClientInfoBehavior { @Override pub...
Fix InvalidBehaviorIdException due to dynamic swith to temporal behavior
Fix InvalidBehaviorIdException due to dynamic swith to temporal behavior
Java
apache-2.0
OrienteerBAP/Orienteer,WeaxMe/Orienteer,WeaxMe/Orienteer,OrienteerBAP/Orienteer,OrienteerDW/Orienteer,OrienteerDW/Orienteer,OrienteerBAP/Orienteer,WeaxMe/Orienteer,OrienteerBAP/Orienteer,OrienteerDW/Orienteer
8b4c419aed70d9ee63397d54645647389b4e060f
achmed-server/src/main/java/com/github/aureliano/achmed/server/service/ReadFileService.java
achmed-server/src/main/java/com/github/aureliano/achmed/server/service/ReadFileService.java
package com.github.aureliano.achmed.server.service; import java.io.File; import java.io.UnsupportedEncodingException; import java.util.Map; import com.github.aureliano.achmed.common.exception.AchmedException; import com.github.aureliano.achmed.common.helper.FileHelper; import com.github.aureliano.achmed.common.helper...
package com.github.aureliano.achmed.server.service; import java.io.File; import java.util.Map; import java.util.logging.Logger; import com.github.aureliano.achmed.common.exception.AchmedException; import com.github.aureliano.achmed.common.helper.FileHelper; import com.github.aureliano.achmed.common.helper.StringHelpe...
Return empty array if requested file does not exist.
Return empty array if requested file does not exist.
Java
mit
aureliano/achmed
ead261421aa13ae9abe423e6e738eb8bdaba6402
admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/service/persistence/module/provider/extension/MediaFieldPersistenceProviderExtensionHandler.java
admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/service/persistence/module/provider/extension/MediaFieldPersistenceProviderExtensionHandler.java
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2014 Broadleaf Commerce * %% * 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/licens...
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2014 Broadleaf Commerce * %% * 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/licens...
Make sure dirty state is detected appropriately during a promote
Make sure dirty state is detected appropriately during a promote
Java
apache-2.0
zhaorui1/BroadleafCommerce,cloudbearings/BroadleafCommerce,macielbombonato/BroadleafCommerce,arshadalisoomro/BroadleafCommerce,wenmangbo/BroadleafCommerce,gengzhengtao/BroadleafCommerce,liqianggao/BroadleafCommerce,bijukunjummen/BroadleafCommerce,liqianggao/BroadleafCommerce,macielbombonato/BroadleafCommerce,cengizhano...
cd758e429567bc30b1ce62915da587faae01d033
BeamType.java
BeamType.java
enum BeamType { FAR(1.0f, 0.1f, 3.0f, 0.5f, 5.0f), MIDDLE(2.0f, 0.2f, 6.0f, 0.7f, 7.0f), NEAR(3.0f, 0.3f, 9.0f, 0.9f, 9.0f); final float velocity; final float acceleration; final float terminalVelocity; final float opacity; final float size; BeamType(float velocity, float accelera...
enum BeamType { FAR(1.0f, 0.1f, 3.0f, 0.5f, 5.0f), MIDDLE(2.0f, 0.2f, 6.0f, 0.7f, 7.0f), NEAR(3.0f, 0.3f, 9.0f, 0.9f, 9.0f); final float velocity; final float acceleration; final float terminalVelocity; final float opacity; final float size; BeamType(float velocity, float accelera...
Fix statement exceeding 100-character line limit
Nit: Fix statement exceeding 100-character line limit
Java
mit
adjl/Nexus
1b312fc22c393dd503caa113d0c0d1ae8386b6a9
commons-db/src/main/java/com/palantir/nexus/db/sql/AgnosticResultSet.java
commons-db/src/main/java/com/palantir/nexus/db/sql/AgnosticResultSet.java
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
Support extends of the interface
Support extends of the interface
Java
apache-2.0
EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb
e383c0a6895e34e6fab255f236abbc1401015d4f
application/confagrid-webapp/src/main/java/com/aleggeup/confagrid/config/SecurityConfig.java
application/confagrid-webapp/src/main/java/com/aleggeup/confagrid/config/SecurityConfig.java
/* * SecurityConfig.java * * Copyright (C) 2017 [ A Legge Up ] * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.aleggeup.confagrid.config; import java.security.SecureRandom; import org.springframework.boot.web.servlet.Fil...
/* * SecurityConfig.java * * Copyright (C) 2017 [ A Legge Up ] * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.aleggeup.confagrid.config; import java.security.SecureRandom; import org.springframework.boot.web.servlet.Fil...
Remove url pattern from filter so that it will filter all paths
Remove url pattern from filter so that it will filter all paths
Java
mit
ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid
9f85f3b20765f30a8613385178ee8f319724a040
src/main/java/li/cil/oc/example/architecture/ModExampleArchitecture.java
src/main/java/li/cil/oc/example/architecture/ModExampleArchitecture.java
package li.cil.oc.example.architecture; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; /** * This mod demonstrates how to create tile entities that are treated as * components by OpenComputers, i.e. tile entities that pro...
package li.cil.oc.example.architecture; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; /** * This mod demonstrates how to create tile entities that are treated as * components by OpenComputers, i.e. tile entities that pro...
Change Mod Class and name
Change Mod Class and name
Java
mit
gamax92/OC-Example-Architecture
0e724cd53f554a53a3566a3ecd8c09c5b4bedae9
activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Use pre compiled pattern when doing string replaceAll as its faster.
AMQ-4010: Use pre compiled pattern when doing string replaceAll as its faster. git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@1379761 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
837a067f28a3411113260a81caf17f6635c511a2
src/main/java/org/killbill/billing/plugin/notification/templates/MustacheTemplateEngine.java
src/main/java/org/killbill/billing/plugin/notification/templates/MustacheTemplateEngine.java
/* * Copyright 2015-2015 Groupon, Inc * Copyright 2015-2015 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http...
/* * Copyright 2015-2015 Groupon, Inc * Copyright 2015-2015 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http...
Fix Mustache compiler to default null values to empty strings, not throw exception.
Fix Mustache compiler to default null values to empty strings, not throw exception.
Java
apache-2.0
killbill/killbill-email-notifications-plugin,killbill/killbill-email-notifications-plugin
0dd6a55210fe1f8ab9daa3db524cac9becaa382e
lotte/src/main/java/com/airbnb/lotte/layers/RootLotteAnimatableLayer.java
lotte/src/main/java/com/airbnb/lotte/layers/RootLotteAnimatableLayer.java
package com.airbnb.lotte.layers; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; import com.airbnb.lotte.utils.LotteTransform3D; import com.airbnb.lotte.utils.Observable; public class RootLotteAnimatableLayer extends LotteAnimatableLayer { pub...
package com.airbnb.lotte.layers; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; public class RootLotteAnimatableLayer extends LotteAnimatableLayer { public RootLotteAnimatableLayer(Drawable.Callback callback) { super(0, callback); ...
Remove transform from root layer
Remove transform from root layer
Java
apache-2.0
airbnb/lottie-android,airbnb/lottie-android,airbnb/lottie-android,sudaoblinnnk/donghua,airbnb/lottie-android
c485af5ccb3a5a005eb07e27903569ff1e74e44a
src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/entities/nodes/classes/VowlThing.java
src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/entities/nodes/classes/VowlThing.java
/* * VowlThing.java * */ package de.uni_stuttgart.vis.vowl.owl2vowl.model.entities.nodes.classes; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.NodeType; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Standard_Iris; import de.uni_stuttgart.vis.vowl.owl2vowl.model.annotation.Annotation; import de.uni_st...
/* * VowlThing.java * */ package de.uni_stuttgart.vis.vowl.owl2vowl.model.entities.nodes.classes; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.NodeType; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Standard_Iris; import de.uni_stuttgart.vis.vowl.owl2vowl.model.annotation.Annotation; import de.uni_st...
Fix bug with missing iri
Fix bug with missing iri
Java
mit
VisualDataWeb/OWL2VOWL
72e83570c3ea4c5476ce2289ca88bd954aa2c526
src/main/java/com/nilhcem/mowitnow/App.java
src/main/java/com/nilhcem/mowitnow/App.java
package com.nilhcem.mowitnow; import java.io.File; import java.io.IOException; import java.util.List; import org.apache.commons.io.FileUtils; /** * Starting point of the application. * * <p> * Opens file passed in args and calls the Mower interpreter. * </p> */ public final class App { public static void mai...
package com.nilhcem.mowitnow; import java.io.File; import java.io.IOException; import java.util.List; import org.apache.commons.io.FileUtils; import com.nilhcem.mowitnow.core.Mower; import com.nilhcem.mowitnow.core.instruction.MowerInstruction; import com.nilhcem.mowitnow.core.instruction.parser.InstructionsParser; ...
Add main code (while calls core methods and displays result)
Add main code (while calls core methods and displays result)
Java
bsd-3-clause
Nilhcem/mowitnow,Nilhcem/mowitnow
334af9371193d6ef12a02145e897843bfd603679
src/plugins/jhv-eveplugin/src/org/helioviewer/plugins/eveplugin/view/TimelinePluginPanel.java
src/plugins/jhv-eveplugin/src/org/helioviewer/plugins/eveplugin/view/TimelinePluginPanel.java
package org.helioviewer.plugins.eveplugin.view; import javax.swing.BoxLayout; import javax.swing.JPanel; import javax.swing.JTabbedPane; import org.helioviewer.plugins.eveplugin.view.linedataselector.LineDateSelectorTablePanel; public class TimelinePluginPanel extends JPanel { private static final long serialVe...
package org.helioviewer.plugins.eveplugin.view; import javax.swing.BoxLayout; import javax.swing.JPanel; import javax.swing.JTabbedPane; import org.helioviewer.plugins.eveplugin.view.linedataselector.LineDateSelectorTablePanel; public class TimelinePluginPanel extends JPanel { private static final long serialVe...
Remove the old line selector panel
Remove the old line selector panel git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@4267 b4e469a2-07ce-4b26-9273-4d7d95a670c7
Java
mpl-2.0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
4aa74be4ca75a7a5d424ff79b85f2aafc445bd75
src/test/java/com/topsy/jmxproxy/jmx/tests/ConnectionCredentialsTest.java
src/test/java/com/topsy/jmxproxy/jmx/tests/ConnectionCredentialsTest.java
package com.topsy.jmxproxy.jmx.tests; import com.topsy.jmxproxy.jmx.ConnectionCredentials; import org.junit.Test; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; public class ConnectionCredentialsTest { @Test public void compareEquals() throws Exception { final ...
package com.topsy.jmxproxy.jmx.tests; import com.topsy.jmxproxy.jmx.ConnectionCredentials; import org.junit.Test; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; public class ConnectionCredentialsTest { @Test public void compareEquals() throws Exception { final ...
Make the test a bit less idiotic.
Make the test a bit less idiotic.
Java
mit
mk23/jmxproxy-test,mk23/jmxproxy-test,mk23/jmxproxy,mk23/jmxproxy-test,mk23/jmxproxy,mk23/jmxproxy,mk23/jmxproxy-test,mk23/jmxproxy,mk23/jmxproxy-test,mk23/jmxproxy,mk23/jmxproxy,mk23/jmxproxy-test
b66310c5b3fe4de8cb13c875c863591d58c6fd56
src/main/java/io/gravitee/repository/api/ApiRepository.java
src/main/java/io/gravitee/repository/api/ApiRepository.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Add service to retrieve list of APIs by user
Add service to retrieve list of APIs by user
Java
apache-2.0
gravitee-io/gravitee-repository