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
39a8878b9eb2785829e5ddb3c6201622561ef4c5
NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java
NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java
package com.navigation.reactnative; import android.content.Context; import android.view.ViewGroup; import androidx.coordinatorlayout.widget.CoordinatorLayout; import com.facebook.react.uimanager.PixelUtil; import com.google.android.material.bottomsheet.BottomSheetBehavior; public class BottomSheetView extends ViewG...
package com.navigation.reactnative; import android.content.Context; import android.view.ViewGroup; import androidx.coordinatorlayout.widget.CoordinatorLayout; import com.facebook.react.uimanager.PixelUtil; import com.google.android.material.bottomsheet.BottomSheetBehavior; public class BottomSheetView extends ViewG...
Set behavior prop before added to window
Set behavior prop before added to window Otherwise there's a noticeable flicker before bottom sheet appears
Java
apache-2.0
grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation
1f4857cb76ffcffd482da471abac1a3784e1ebdb
src/main/java/info/schleichardt/training/java8/lecture2/P2_FunctionalInterfacesFirstClassMembers.java
src/main/java/info/schleichardt/training/java8/lecture2/P2_FunctionalInterfacesFirstClassMembers.java
package info.schleichardt.training.java8.lecture2; public class P2_FunctionalInterfacesFirstClassMembers { //show also Automatic-Resource-Management }
package info.schleichardt.training.java8.lecture2; import java.security.MessageDigest; public class P2_FunctionalInterfacesFirstClassMembers { @FunctionalInterface public interface HashFunction { byte[] hash(final String input) throws Exception; //return type, works also in classes s...
Add description how closures can be first class members.
Add description how closures can be first class members.
Java
apache-2.0
schleichardt/java-8-training
8a482917e81c05f802af28a686351176187cb08e
mobile/src/main/java/com/github/ayltai/newspaper/data/DataModule.java
mobile/src/main/java/com/github/ayltai/newspaper/data/DataModule.java
package com.github.ayltai.newspaper.data; import android.content.Context; import android.support.annotation.NonNull; import dagger.Module; import dagger.Provides; import io.realm.Realm; import io.realm.RealmConfiguration; @Module public final class DataModule { private static final int SCHEMA_VERSION = 1; p...
package com.github.ayltai.newspaper.data; import android.content.Context; import android.support.annotation.NonNull; import dagger.Module; import dagger.Provides; import io.realm.Realm; import io.realm.RealmConfiguration; @Module public final class DataModule { private static final int SCHEMA_VERSION = 1; p...
Fix app crash due to Realm database migration
Fix app crash due to Realm database migration
Java
apache-2.0
ayltai/Newspaper
b140af3ee2917bff3aa427c4e686f465f230aa50
platform_test/src/test/java/org/jimmutable/platform_test/AppTest.java
platform_test/src/test/java/org/jimmutable/platform_test/AppTest.java
package org.jimmutable.platform_test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ pu...
package org.jimmutable.platform_test; import static org.junit.Assert.*; import org.junit.Test; public class AppTest extends App { // @Test public void testMain() { try{ App.main(null); assertTrue( true ); } catch (Exception e) { e.printStackTrace(); assert(false); } } }
Update to platform_test test class
Update to platform_test test class
Java
bsd-3-clause
jimmutable/core,jimmutable/core
288522e00fd9f6ba9a837a06fa91014465aac7dc
src/main/java/info/u_team/u_team_core/container/FluidSlot.java
src/main/java/info/u_team/u_team_core/container/FluidSlot.java
package info.u_team.u_team_core.container; import info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable; import net.minecraftforge.fluids.FluidStack; public class FluidSlot { private final IFluidHandlerModifiable fluidHandler; private final int index; private final int x; private final int y; public Flui...
package info.u_team.u_team_core.container; import info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable; import net.minecraftforge.fluids.FluidStack; public class FluidSlot { private final IFluidHandlerModifiable fluidHandler; private final int index; private final int x; private final int y; public Flui...
Add getSlotCapacity method in fluid slot
Add getSlotCapacity method in fluid slot
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
b62365dda154a5470c9d1197c4f851da2d786407
generators/entity-server/templates/src/main/java/package/service/mapper/_BaseEntityMapper.java
generators/entity-server/templates/src/main/java/package/service/mapper/_BaseEntityMapper.java
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
Revert "Rename generic names to single letter"
Revert "Rename generic names to single letter" This reverts commit d7d5eff52385fbe224d36666223948ada966db35.
Java
apache-2.0
gzsombor/generator-jhipster,gzsombor/generator-jhipster,gzsombor/generator-jhipster,gzsombor/generator-jhipster,gzsombor/generator-jhipster
9b62c1fd54422612c71789a27989cc63a541a649
xwiki-commons-core/xwiki-commons-logging/xwiki-commons-logging-api/src/main/java/org/xwiki/logging/LoggerConfiguration.java
xwiki-commons-core/xwiki-commons-logging/xwiki-commons-logging-api/src/main/java/org/xwiki/logging/LoggerConfiguration.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
Make easier to disable deprecated log
XCOMMONS-1824: Make easier to disable deprecated log
Java
lgpl-2.1
xwiki/xwiki-commons,xwiki/xwiki-commons
5efda54d2afd67db0e8a211b2d297bfa9811847e
src/com/nullprogram/maze/MazeApplet.java
src/com/nullprogram/maze/MazeApplet.java
package com.nullprogram.maze; import java.awt.Dimension; import javax.swing.JApplet; public class MazeApplet extends JApplet { private static final long serialVersionUID = 7742407602430714892L; private int cellSize = 15; private int speed = 10; private Maze maze; private MazeDisplay display;...
package com.nullprogram.maze; import java.awt.Dimension; import javax.swing.JApplet; public class MazeApplet extends JApplet { private static final long serialVersionUID = 7742407602430714892L; private int cellSize = 15; private int speed = 10; private Maze maze; private MazeDisplay display;...
Use start/stop in the applet.
Use start/stop in the applet.
Java
unlicense
skeeto/RunMaze
5af9a0c30256bef05c7545ca4c6fa25f003c43a4
process-application/src/main/java/de/blogspot/wrongtracks/example/ExampleProcessApplication.java
process-application/src/main/java/de/blogspot/wrongtracks/example/ExampleProcessApplication.java
package de.blogspot.wrongtracks.example; import org.camunda.bpm.application.ProcessApplication; import org.camunda.bpm.extension.osgi.application.OSGiProcessApplication; import org.osgi.framework.BundleContext; import org.osgi.service.blueprint.container.BlueprintContainer; @ProcessApplication(name="MyProcessApplicat...
package de.blogspot.wrongtracks.example; import org.camunda.bpm.application.PostDeploy; import org.camunda.bpm.application.ProcessApplication; import org.camunda.bpm.engine.ProcessEngine; import org.camunda.bpm.extension.osgi.application.OSGiProcessApplication; import org.osgi.framework.BundleContext; import org.osgi....
Add method for starting the process after deploying it
Add method for starting the process after deploying it
Java
apache-2.0
rbraeunlich/camunda-bpm-processapplication-example
4c15750714e80857ac6bde2a18cf66b3f85e42b3
src/main/java/com/grayben/riskExtractor/headingMarker/MarkedText.java
src/main/java/com/grayben/riskExtractor/headingMarker/MarkedText.java
package com.grayben.riskExtractor.headingMarker; import com.grayben.riskExtractor.headingMarker.elector.ElectedTextList; import java.util.List; public class MarkedText { ElectedTextList text; public MarkedText(ElectedTextList text) { this.text = text; } public List<String> subSelections() { ...
package com.grayben.riskExtractor.headingMarker; import com.grayben.riskExtractor.headingMarker.elector.ElectedTextList; import java.util.List; public class MarkedText { ElectedTextList text; public MarkedText(ElectedTextList text) { super(); if(text == null){ throw new IllegalArg...
Make test pass by throwing IllegalArgumentException
Make test pass by throwing IllegalArgumentException
Java
mit
grayben/10K-item-extractor,grayben/10K-item-extractor
1308cbcfe115da7d6bb6e0daf6ebaa4591abdd17
applications/ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataListener.java
applications/ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataListener.java
package com.paritytrading.parity.ticker; import com.paritytrading.parity.book.MarketListener; abstract class MarketDataListener implements MarketListener { static final double PRICE_FACTOR = 100.0; private long second; private long timestamp; public void timestamp(long timestamp) { this.ti...
package com.paritytrading.parity.ticker; import com.paritytrading.parity.book.MarketListener; abstract class MarketDataListener implements MarketListener { static final double PRICE_FACTOR = 100.0; private long timestamp; public void timestamp(long timestamp) { this.timestamp = timestamp; }...
Clean up code in stock ticker
Clean up code in stock ticker
Java
apache-2.0
paritytrading/parity,pmcs/parity,pmcs/parity,paritytrading/parity
ebda487012dd166b9789b685fb27c93b61ef1c02
japkit-examples-freebuilder/src/main/java/de/japkit/examples/freebuilder/FreeBuilder.java
japkit-examples-freebuilder/src/main/java/de/japkit/examples/freebuilder/FreeBuilder.java
package de.japkit.examples.freebuilder; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import javax.lang.model.element.Modifier; import de.japkit.metaannotations.Clazz; import de.japkit.metaannotations.TemplateCall; import de.japkit.metaannotations.Trigger; @Trigger(template=FreeBuild...
package de.japkit.examples.freebuilder; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import de.japkit.metaannotations.Trigger; @Trigger(template = FreeBuilderTemplate.class) @Target(ElementType.TYPE) public @interface FreeBuilder { boolean shadow() default false; }
Support for Clazz annotation at template class instead of trigger annotation
Support for Clazz annotation at template class instead of trigger annotation
Java
apache-2.0
stefanocke/japkit-examples
f661d147bfdc72df8f2b4d0d6347d37880d34300
src/jp/tomorrowkey/appengine/regularexpression/controller/IndexController.java
src/jp/tomorrowkey/appengine/regularexpression/controller/IndexController.java
package jp.tomorrowkey.appengine.regularexpression.controller; import org.slim3.controller.Controller; import org.slim3.controller.Navigation; public class IndexController extends Controller { @Override protected Navigation run() throws Exception { return forward("index.jsp"); } }
package jp.tomorrowkey.appengine.regularexpression.controller; import org.slim3.controller.Controller; import org.slim3.controller.Navigation; public class IndexController extends Controller { @Override protected Navigation run() throws Exception { requestScope("multiline", true); return forw...
Change default value of multiline
Change default value of multiline
Java
apache-2.0
tomorrowkey/RegularExpressionTester,tomorrowkey/RegularExpressionTester
93447e408d8a5a36a2a48a1d6ba0a585ac03d141
app/src/main/java/colector/co/com/collector/listeners/OnAddPhotoListener.java
app/src/main/java/colector/co/com/collector/listeners/OnAddPhotoListener.java
package colector.co.com.collector.listeners; import colector.co.com.collector.views.PhotoItemViewContainer; /** * @author Gabriel Rodriguez * @version 1.0 */ public interface OnAddPhotoListener { void onAddPhotoClicked(PhotoItemViewContainer container); }
package colector.co.com.collector.listeners; import android.widget.LinearLayout; import colector.co.com.collector.views.PhotoItemView; import colector.co.com.collector.views.PhotoItemViewContainer; /** * @author Gabriel Rodriguez * @version 1.0 */ public interface OnAddPhotoListener { void onAddPhotoClicked...
Add method to notify when a photo has been clicked
:star: Add method to notify when a photo has been clicked
Java
mit
jlpuma24/colector-android-telecomsoftsrs,jlpuma24/colector-android-telecomsoftsrs
4b23411a5ff61381e83d23bcf02eb3b5a81f3277
api/src/main/java/co/cask/cdap/api/service/AbstractService.java
api/src/main/java/co/cask/cdap/api/service/AbstractService.java
/* * Copyright 2014 Cask, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright 2014 Cask, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Add note about default constructor
Add note about default constructor
Java
apache-2.0
mpouttuclarke/cdap,caskdata/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,hsaputra/cdap,caskdata/cdap,chtyim/cdap,mpouttuclarke/cdap,anthcp/cdap,caskdata/cdap,hsaputra/cdap,anthcp/cdap,chtyim/cdap,caskdata/cdap,hsaputra/cdap,caskdata/cdap,caskdata/cdap,anthcp/cdap,anthcp/cdap,chtyim/cdap,anthcp/cdap,hsaputra/cdap,hsaputra...
003e92182dd3e8bef065876c9f9f71193d354b59
sitra-trace/src/main/java/uk/sacko/m2m/sitra/trace/engine/TraceableTransformer.java
sitra-trace/src/main/java/uk/sacko/m2m/sitra/trace/engine/TraceableTransformer.java
package uk.sacko.m2m.sitra.trace.engine; import java.util.List; import uk.sacko.m2m.sitra.engine.ContextAware; import uk.sacko.m2m.sitra.engine.Transformer; import uk.sacko.m2m.sitra.trace.Invocation; public interface TraceableTransformer extends Transformer, ContextAware { public List<Invocation<?, ?>> getTransfor...
package uk.sacko.m2m.sitra.trace.engine; import java.util.List; import uk.sacko.m2m.sitra.engine.ContextAware; import uk.sacko.m2m.sitra.engine.Transformer; import uk.sacko.m2m.sitra.trace.Invocation; public interface TraceableTransformer extends Transformer, ContextAware { public List<? extends Invocation<?, ?>> g...
Allow any Invocation type for all engines.
Allow any Invocation type for all engines.
Java
mit
sacko87/sitra
f9e0f70281c9d1f4747ba44b5e08d81b13d4c306
extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/LoggerProducer.java
extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/LoggerProducer.java
package io.quarkus.arc.runtime; import java.lang.annotation.Annotation; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.annotation.PreDestroy; import javax.enterprise.context.Dependent; import javax.enterprise.inject.Produces; import javax.enterprise.inject.spi.I...
package io.quarkus.arc.runtime; import java.lang.annotation.Annotation; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.annotation.PreDestroy; import javax.enterprise.context.Dependent; import javax.enterprise.inject.Produces; import javax.enterprise.inject.spi.I...
Set produced Logger as DefaultBean
Set produced Logger as DefaultBean
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
0f0b8dc745f16ffc14a53700d9d6e052f846cff4
spring-web/src/main/java/org/springframework/web/client/ResourceAccessException.java
spring-web/src/main/java/org/springframework/web/client/ResourceAccessException.java
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Fix class name in javadoc
Fix class name in javadoc Closes gh-1530
Java
apache-2.0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
9c2c3cc86d4a0282a77f2d65e429c51369c6ff33
src/main/java/com/pengrad/telegrambot/request/AnswerCallbackQuery.java
src/main/java/com/pengrad/telegrambot/request/AnswerCallbackQuery.java
package com.pengrad.telegrambot.request; import com.pengrad.telegrambot.response.BaseResponse; /** * Stas Parshin * 07 May 2016 */ public class AnswerCallbackQuery extends BaseRequest<AnswerCallbackQuery, BaseResponse> { public AnswerCallbackQuery(String callbackQueryId) { super(BaseResponse.class); ...
package com.pengrad.telegrambot.request; import com.pengrad.telegrambot.response.BaseResponse; /** * Stas Parshin * 07 May 2016 */ public class AnswerCallbackQuery extends BaseRequest<AnswerCallbackQuery, BaseResponse> { public AnswerCallbackQuery(String callbackQueryId) { super(BaseResponse.class); ...
Use the new url parameter in answerCallbackQuery to create buttons that open your bot with user-specific parameters
Use the new url parameter in answerCallbackQuery to create buttons that open your bot with user-specific parameters
Java
apache-2.0
pengrad/java-telegram-bot-api
1836cc7e1c2b02e75fc7d42f1c4673b6c90491c1
src/main/java/com/siirush/localwiki/search/LuceneSearchEngineImpl.java
src/main/java/com/siirush/localwiki/search/LuceneSearchEngineImpl.java
package com.siirush.localwiki.search; import java.util.List; import javax.inject.Inject; import javax.inject.Provider; import org.apache.lucene.store.Directory; public class LuceneSearchEngineImpl implements SearchEngine { private Directory index; private final Provider<LuceneFileCrawler> crawlerProvider; privat...
package com.siirush.localwiki.search; import java.util.List; import javax.inject.Inject; import javax.inject.Provider; import org.apache.lucene.store.Directory; public class LuceneSearchEngineImpl implements SearchEngine { private Directory index; private final Provider<LuceneFileCrawler> crawlerProvider; privat...
Change the scope of the injection for searchers.
Change the scope of the injection for searchers.
Java
mit
mrdanpsmith/localwiki-java
e5b11c7a133058e3a26124fc057fda07c5658471
swagger-springmvc/src/main/java/com/mangofactory/swagger/paths/RelativeSwaggerPathProvider.java
swagger-springmvc/src/main/java/com/mangofactory/swagger/paths/RelativeSwaggerPathProvider.java
package com.mangofactory.swagger.paths; import javax.servlet.ServletContext; public class RelativeSwaggerPathProvider extends SwaggerPathProvider { public static final String ROOT = "/"; private final ServletContext servletContext; public RelativeSwaggerPathProvider(ServletContext servletContext) { supe...
package com.mangofactory.swagger.paths; import javax.servlet.ServletContext; import static com.google.common.base.Strings.isNullOrEmpty; public class RelativeSwaggerPathProvider extends SwaggerPathProvider { public static final String ROOT = "/"; private final ServletContext servletContext; public Relative...
Fix for when the context path is at the root the 'try this' doesnt work
Fix for when the context path is at the root the 'try this' doesnt work
Java
apache-2.0
wjc133/springfox,vmarusic/springfox,yelhouti/springfox,acourtneybrown/springfox,thomsonreuters/springfox,maksimu/springfox,RobWin/springfox,zhiqinghuang/springfox,jlstrater/springfox,maksimu/springfox,arshadalisoomro/springfox,ammmze/swagger-springmvc,springfox/springfox,RobWin/springfox,jlstrater/springfox,choiapril6/...
e388896b0dadbce2bb84720b558765b8ed0094ea
app/src/main/java/com/veyndan/redditclient/ui/recyclerview/itemdecoration/MarginItemDecoration.java
app/src/main/java/com/veyndan/redditclient/ui/recyclerview/itemdecoration/MarginItemDecoration.java
package com.veyndan.redditclient.ui.recyclerview.itemdecoration; import android.graphics.Rect; import android.support.annotation.Px; import android.support.v7.widget.RecyclerView; import android.view.View; public class MarginItemDecoration extends RecyclerView.ItemDecoration { private final int margin; publ...
package com.veyndan.redditclient.ui.recyclerview.itemdecoration; import android.graphics.Rect; import android.support.annotation.Px; import android.support.v7.widget.RecyclerView; import android.view.View; public class MarginItemDecoration extends RecyclerView.ItemDecoration { private final int margin; publ...
Simplify and optimize getItemOffsets() logic
Simplify and optimize getItemOffsets() logic
Java
mit
veyndan/reddit-client,veyndan/paper-for-reddit,veyndan/paper-for-reddit
320fe256bbe34513bc18cc88166822d151379f79
sql-streaming-copier/src/main/java/com/google/cloud/pubsub/sql/providers/PubsubLiteProvider.java
sql-streaming-copier/src/main/java/com/google/cloud/pubsub/sql/providers/PubsubLiteProvider.java
package com.google.cloud.pubsub.sql.providers; import com.google.auto.service.AutoService; import com.google.cloud.pubsub.sql.Rows; import org.apache.beam.sdk.schemas.Schema; import org.apache.beam.sdk.schemas.Schema.FieldType; @AutoService({StandardSourceProvider.class, StandardSinkProvider.class}) public class Pubs...
package com.google.cloud.pubsub.sql.providers; import com.google.auto.service.AutoService; import com.google.cloud.pubsub.sql.Rows; import org.apache.beam.sdk.schemas.Schema; import org.apache.beam.sdk.schemas.Schema.FieldType; @AutoService({StandardSourceProvider.class, StandardSinkProvider.class}) public class Pubs...
Fix following testing, add instructions for uploading
Fix following testing, add instructions for uploading
Java
apache-2.0
GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,kamalaboulhosn/pubsub,GoogleCloudPlatform/pubsub,kamalaboulhosn/pubsub,kamalaboulhosn/pubsub,kamalaboulhosn/pubsub,GoogleCloudPlatform/pubsub,kamalaboulhosn/pubsub
5c811f4c9bdfb1f0b44214083ec8b7554729ede7
byte-buddy-agent/src/test/java/net/bytebuddy/test/utility/UnixRule.java
byte-buddy-agent/src/test/java/net/bytebuddy/test/utility/UnixRule.java
package net.bytebuddy.test.utility; import com.sun.jna.Platform; import org.junit.rules.MethodRule; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.Statement; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; imp...
package net.bytebuddy.test.utility; import com.sun.jna.Platform; import org.junit.rules.MethodRule; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.Statement; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; imp...
Exclude emulated attachment on OpenJ9.
Exclude emulated attachment on OpenJ9.
Java
apache-2.0
raphw/byte-buddy,raphw/byte-buddy,raphw/byte-buddy
a385b9317207f47be934e01fbeee4b88df3e7160
hamcrest-library/src/test/java/org/hamcrest/text/IsEmptyStringTest.java
hamcrest-library/src/test/java/org/hamcrest/text/IsEmptyStringTest.java
package org.hamcrest.text; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsNot.not; import static org.hamcrest.text.IsEmptyString.emptyOrNullString; import static org.hamcrest.text.IsEmptyString.emptyString; import org.hamcrest.AbstractMatcherTest; import org.hamcrest.Matcher; ...
package org.hamcrest.text; import static org.hamcrest.AbstractMatcherTest.assertDescription; import static org.hamcrest.AbstractMatcherTest.assertDoesNotMatch; import static org.hamcrest.AbstractMatcherTest.assertMatches; import static org.hamcrest.AbstractMatcherTest.assertMismatchDescription; import static org.hamcr...
Convert test to JUnit4 (and add mismatch description tests) in preparation for enhancement.
Convert test to JUnit4 (and add mismatch description tests) in preparation for enhancement.
Java
bsd-3-clause
alb-i986/JavaHamcrest,vizewang/JavaHamcrest,tomwhoiscontrary/JavaHamcrest,josephw/JavaHamcrest,wgpshashank/JavaHamcrest,jforge/JavaHamcrest,wgpshashank/JavaHamcrest,dkomanov/JavaHamcrest,mmichaelis/JavaHamcrest,plow/JavaHamcrest,akruijff/JavaHamcrest,jforge/JavaHamcrest,akruijff/JavaHamcrest,vizewang/JavaHamcrest,mmich...
4d76caf01c62dd1b862d20f5fc41b0971dafc860
dropwizard-logging/src/main/java/io/dropwizard/logging/PrefixedRootCauseFirstThrowableProxyConverter.java
dropwizard-logging/src/main/java/io/dropwizard/logging/PrefixedRootCauseFirstThrowableProxyConverter.java
package io.dropwizard.logging; import ch.qos.logback.classic.pattern.RootCauseFirstThrowableProxyConverter; import ch.qos.logback.classic.spi.IThrowableProxy; import java.util.regex.Pattern; import static io.dropwizard.logging.PrefixedThrowableProxyConverter.*; /** * A {@link RootCauseFirstThrowableProxyConverter}...
package io.dropwizard.logging; import ch.qos.logback.classic.pattern.RootCauseFirstThrowableProxyConverter; import ch.qos.logback.classic.spi.IThrowableProxy; import java.util.regex.Pattern; import static io.dropwizard.logging.PrefixedThrowableProxyConverter.*; /** * A {@link RootCauseFirstThrowableProxyConverter}...
Remove a needless static reference
Remove a needless static reference The static method has been imported, no need to explicitly name the class.
Java
apache-2.0
amillalen/dropwizard,wangcan2014/dropwizard,carlo-rtr/dropwizard,qinfchen/dropwizard,ryankennedy/dropwizard,vikasshinde22105/dropwizard,arunsingh/dropwizard,pkwarren/dropwizard,zhiqinghuang/dropwizard,ckingsbu/dropwizard,philandstuff/dropwizard,ptomli/dropwizard,Alexey1Gavrilov/dropwizard,shawnsmith/dropwizard,dotCiphe...
a063207bac8dcc6204039ecbb696fa260da7ed33
line-bot-model/src/main/java/com/linecorp/bot/model/manageaudience/AudienceGroupJobFailedType.java
line-bot-model/src/main/java/com/linecorp/bot/model/manageaudience/AudienceGroupJobFailedType.java
/* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Add Audience group job failed type: AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT
Add Audience group job failed type: AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT
Java
apache-2.0
line/line-bot-sdk-java,line/line-bot-sdk-java,line/line-bot-sdk-java,line/line-bot-sdk-java
fad07c73fe67833bfc291b71f74049543252d088
service/srn-mapper/src/main/java/com/osdu/model/dto/SrnToRecordDto.java
service/srn-mapper/src/main/java/com/osdu/model/dto/SrnToRecordDto.java
package com.osdu.model.dto; import com.google.cloud.firestore.annotation.ServerTimestamp; import java.util.Date; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class SrnToRecordDto { String r...
package com.osdu.model.dto; import com.google.cloud.firestore.annotation.ServerTimestamp; import java.util.Date; import lombok.Data; @Data public class SrnToRecordDto { String recordId; String srn; @ServerTimestamp Date created; }
Fix RuntimeException for Firestore entity.
Fix RuntimeException for Firestore entity.
Java
apache-2.0
google/framework-for-osdu,google/framework-for-osdu,google/framework-for-osdu
0574245fff2ba0395491af425e15d027b3c96896
src/main/java/com/danielflower/apprunner/runners/HomeProvider.java
src/main/java/com/danielflower/apprunner/runners/HomeProvider.java
package com.danielflower.apprunner.runners; import com.danielflower.apprunner.Config; import org.apache.commons.exec.CommandLine; import org.apache.maven.shared.invoker.InvocationRequest; import javax.annotation.Nullable; import java.util.Map; public interface HomeProvider extends CommandLineProvider { HomeProvi...
package com.danielflower.apprunner.runners; import com.danielflower.apprunner.Config; import org.apache.commons.exec.CommandLine; import org.apache.maven.shared.invoker.InvocationRequest; import javax.annotation.Nullable; import java.util.Map; public interface HomeProvider extends CommandLineProvider { HomeProvi...
Remove Nullable annotation to avoid build warning
Remove Nullable annotation to avoid build warning
Java
mit
danielflower/app-runner,danielflower/app-runner,danielflower/app-runner,danielflower/app-runner,danielflower/app-runner,danielflower/app-runner,danielflower/app-runner,danielflower/app-runner
301bacae7286df6da97403eeaadd90bf38fb0bfa
src/main/java/by/triumgroup/recourse/document/model/provider/impl/StudentProfileContentProvider.java
src/main/java/by/triumgroup/recourse/document/model/provider/impl/StudentProfileContentProvider.java
package by.triumgroup.recourse.document.model.provider.impl; import by.triumgroup.recourse.document.model.provider.ContentProvider; import by.triumgroup.recourse.entity.dto.Student; import by.triumgroup.recourse.entity.dto.StudentCourseAverageMark; import java.util.*; import java.util.stream.Collectors; public class...
package by.triumgroup.recourse.document.model.provider.impl; import by.triumgroup.recourse.document.model.provider.ContentProvider; import by.triumgroup.recourse.entity.dto.Student; import by.triumgroup.recourse.entity.dto.StudentCourseAverageMark; import java.util.*; import java.util.stream.Collectors; public class...
Replace name, surname concatenation with getFullName
Replace name, surname concatenation with getFullName
Java
mit
TriumGroup/ReCourse,TriumGroup/ReCourse,TriumGroup/ReCourse
7c57946599814443a5a356a19817181444840f2a
src/main/java/org/liveontologies/protege/justification/proof/service/JustificationCompleteProof.java
src/main/java/org/liveontologies/protege/justification/proof/service/JustificationCompleteProof.java
package org.liveontologies.protege.justification.proof.service; import java.util.Set; import org.liveontologies.puli.InferenceJustifier; import org.liveontologies.puli.Proof; import org.semanticweb.owlapi.model.OWLAxiom; public interface JustificationCompleteProof<C> extends Proof<C>, InferenceJustifier<C, S...
package org.liveontologies.protege.justification.proof.service; /*- * #%L * Protege Proof Justification * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2016 - 2017 Live Ontologies Project * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
Update file header with license information
Update file header with license information
Java
apache-2.0
liveontologies/protege-proof-justification
6481e352adef0fcae06fdaad2b040a4e7b558593
modules/stomp/src/main/java/org/torquebox/stomp/component/DirectStompletComponent.java
modules/stomp/src/main/java/org/torquebox/stomp/component/DirectStompletComponent.java
package org.torquebox.stomp.component; import org.projectodd.stilts.stomp.StompException; import org.projectodd.stilts.stomp.StompMessage; import org.projectodd.stilts.stomplet.Stomplet; import org.projectodd.stilts.stomplet.StompletConfig; import org.projectodd.stilts.stomplet.Subscriber; public class DirectStomplet...
package org.torquebox.stomp.component; import org.projectodd.stilts.stomp.StompException; import org.projectodd.stilts.stomp.StompMessage; import org.projectodd.stilts.stomplet.Stomplet; import org.projectodd.stilts.stomplet.StompletConfig; import org.projectodd.stilts.stomplet.Subscriber; public class DirectStomplet...
Call the methods only if they exist.
Call the methods only if they exist.
Java
apache-2.0
vaskoz/torquebox,samwgoldman/torquebox,samwgoldman/torquebox,vaskoz/torquebox,vaskoz/torquebox,torquebox/torquebox-release,torquebox/torquebox,samwgoldman/torquebox,mje113/torquebox,torquebox/torquebox-release,mje113/torquebox,mje113/torquebox,samwgoldman/torquebox,ksw2599/torquebox,ksw2599/torquebox,torquebox/torquebo...
2ad7108397c76ceb97fcf4bf93e6e97772041a82
base/src/test/java/given/reflect/root/branch1/foo/package-info.java
base/src/test/java/given/reflect/root/branch1/foo/package-info.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...
Improve documentation of the test env.
Improve documentation of the test env.
Java
apache-2.0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
004dcbe9244bbc65eefd5bbcbbaffb2d1228120b
app/utils/CacheStore.java
app/utils/CacheStore.java
package utils; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import models.Project; import models.User; import javax.annotation.Nonnull; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap...
package utils; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import models.Project; import models.User; import javax.annotation.Nonnull; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap...
Remove redundant codes from cache loader
fix: Remove redundant codes from cache loader
Java
apache-2.0
bloodybear/yona,yona-projects/yona,doortts/fork-yobi,yona-projects/yona,yona-projects/yona,bloodybear/yona,bloodybear/yona,doortts/fork-yobi,doortts/fork-yobi,bloodybear/yona,doortts/fork-yobi,yona-projects/yona
ae9229aa42c6ec8c7fd45e9e2f35b8e05d0c9a69
SeleniumGridExtras/src/test/java/com/groupon/seleniumgridextras/tasks/StopGridTest.java
SeleniumGridExtras/src/test/java/com/groupon/seleniumgridextras/tasks/StopGridTest.java
package com.groupon.seleniumgridextras.tasks; import com.groupon.seleniumgridextras.config.RuntimeConfig; import com.sun.net.httpserver.HttpServer; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.net.InetSocketAddress; import static org.junit.Assert.assertEquals; public class St...
package com.groupon.seleniumgridextras.tasks; import com.groupon.seleniumgridextras.config.RuntimeConfig; import com.sun.net.httpserver.HttpServer; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.net.InetSocketAddress; import static org.junit.Assert.assertEquals; import static or...
Improve the stop grid command test
Improve the stop grid command test
Java
bsd-3-clause
smccarthy/Selenium-Grid-Extras,alexkogon/Selenium-Grid-Extras,jivesoftware/Selenium-Grid-Extras,groupon/Selenium-Grid-Extras,smccarthy/Selenium-Grid-Extras,jivesoftware/Selenium-Grid-Extras,andrewmkrug/Selenium-Grid-Extras,groupon/Selenium-Grid-Extras,andrewmkrug/Selenium-Grid-Extras,smccarthy/Selenium-Grid-Extras,rgon...
f46b9a6ffa8a0800f23fd4ab35e003606362d684
src/main/java/eu/aleon/aleoncean/packet/radio/userdata/UserData4BS.java
src/main/java/eu/aleon/aleoncean/packet/radio/userdata/UserData4BS.java
/* * Copyright (c) 2014 aleon GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Markus Rath...
/* * Copyright (c) 2014 aleon GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Markus Rath...
Add function to modify teach-in bit
Add function to modify teach-in bit
Java
epl-1.0
Manuel1029112/aleoncean
6a9ccac516ea999711b45c256d0fd7f8b0d090c7
app/src/main/java/com/ecchilon/sadpanda/api/GalleryScroller.java
app/src/main/java/com/ecchilon/sadpanda/api/GalleryScroller.java
package com.ecchilon.sadpanda.api; import java.util.List; import com.ecchilon.sadpanda.overview.GalleryEntry; import com.google.inject.Inject; import lombok.Getter; import rx.Observable; public class GalleryScroller { private final GalleryClient galleryClient; @Getter private boolean isLoading = false; @Getter...
package com.ecchilon.sadpanda.api; import java.util.List; import com.ecchilon.sadpanda.overview.GalleryEntry; import com.google.inject.Inject; import lombok.Getter; import rx.Observable; public class GalleryScroller { private final GalleryClient galleryClient; @Getter private boolean isLoading = false; @Getter...
Fix early stop of gallery
Fix early stop of gallery Sometimes it returns an item less than expected (due to expunging for example). Assume it's only complete when you get a completely empty collection
Java
apache-2.0
Ecchilon/SadPanda
17b81fa393e00cdc7c288783d4d1a3775aa6ae05
src/main/java/info/u_team/u_team_core/util/registry/TileEntityTypeDeferredRegister.java
src/main/java/info/u_team/u_team_core/util/registry/TileEntityTypeDeferredRegister.java
package info.u_team.u_team_core.util.registry; import java.util.function.Supplier; import com.mojang.datafixers.DataFixUtils; import net.minecraft.tileentity.*; import net.minecraft.tileentity.TileEntityType.Builder; import net.minecraft.util.SharedConstants; import net.minecraft.util.datafix.*; import net.minecraft...
package info.u_team.u_team_core.util.registry; import java.util.function.Supplier; import net.minecraft.tileentity.*; import net.minecraft.tileentity.TileEntityType.Builder; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.ForgeRegist...
Fix the tile entity type (just push out null. We don't need this here)
Fix the tile entity type (just push out null. We don't need this here)
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
2dcc5fa3dc3a2e6d070406010db96f243bd634b4
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/TestFileUtil.java
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.documentapi.messagebus.protocol.test; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.Charset; public class TestFileU...
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.documentapi.messagebus.protocol.test; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Paths;...
Fix loading of file so it loads full file every time.
Fix loading of file so it loads full file every time.
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
48cf1bc5878a6d370c587d83baa09a3418498e82
subprojects/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java
subprojects/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix tests depending on native services
Fix tests depending on native services
Java
apache-2.0
gstevey/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/...
01658167ee891257737b787d58b815dbbf1292f0
src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java
src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java
package net.omniscimus.fireworks.commands; import java.io.UnsupportedEncodingException; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import net.omniscimus.fireworks.ShowHandler; import net.omniscimus.fireworks.commands.exceptions.WrongArgumentsNumberException; /** * This command stops all ...
package net.omniscimus.fireworks.commands; import java.io.UnsupportedEncodingException; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import net.omniscimus.fireworks.ShowHandler; import net.omniscimus.fireworks.commands.exceptions.WrongArgumentsNumberException; /** * This command stops all ...
Fix wrong number of stopped shows in stopall cmd
Fix wrong number of stopped shows in stopall cmd This occurred because the number of running shows was checked after stopping them all. Therefore it was always 0.
Java
mit
Omniscimus/Fireworks
5f37ba580dd81477ded027fc5a15bcb4a571505a
android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java
android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java
/** * Copyright Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/** * Copyright Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Configure Firebase Test Lab Espresso test for MainActivity
Configure Firebase Test Lab Espresso test for MainActivity
Java
apache-2.0
roberrera/FriendlyChat
96cced5b4ec463d8d951fdfdf4113f9d50a4ca50
src/tests/com/puppycrawl/tools/checkstyle/checks/coding/ReturnCountCheckTest.java
src/tests/com/puppycrawl/tools/checkstyle/checks/coding/ReturnCountCheckTest.java
package com.puppycrawl.tools.checkstyle.checks.coding; import com.puppycrawl.tools.checkstyle.BaseCheckTestCase; import com.puppycrawl.tools.checkstyle.DefaultConfiguration; import java.io.File; public class ReturnCountCheckTest extends BaseCheckTestCase { public void testDefault() throws Exception { ...
package com.puppycrawl.tools.checkstyle.checks.coding; import com.puppycrawl.tools.checkstyle.BaseCheckTestCase; import com.puppycrawl.tools.checkstyle.DefaultConfiguration; import java.io.File; public class ReturnCountCheckTest extends BaseCheckTestCase { public void testDefault() throws Exception { ...
Test for format property of ReturnCount check
Test for format property of ReturnCount check
Java
lgpl-2.1
romani/checkstyle,naver/checkstyle,jonmbake/checkstyle,checkstyle/checkstyle,sirdis/checkstyle,philwebb/checkstyle,Andrew0701/checkstyle,HubSpot/checkstyle,rnveach/checkstyle,liscju/checkstyle,bansalayush/checkstyle,llocc/checkstyle,attatrol/checkstyle,pietern/checkstyle,HubSpot/checkstyle,mkordas/checkstyle,AkshitaKuk...
b9d126b742ceda7f3cc9ef82eea82e04d8cf683d
graphwalker-core/src/test/java/org/graphwalker/core/machine/AccessModelTest.java
graphwalker-core/src/test/java/org/graphwalker/core/machine/AccessModelTest.java
package org.graphwalker.core.machine; import org.graphwalker.core.condition.VertexCoverage; import org.graphwalker.core.generator.ShortestAllPaths; import org.graphwalker.core.model.Action; import org.graphwalker.core.model.Edge; import org.graphwalker.core.model.Model; import org.graphwalker.core.model.Vertex; import...
package org.graphwalker.core.machine; import org.graphwalker.core.condition.VertexCoverage; import org.graphwalker.core.generator.ShortestAllPaths; import org.graphwalker.core.model.Action; import org.graphwalker.core.model.Edge; import org.graphwalker.core.model.Model; import org.graphwalker.core.model.Vertex; import...
Fix test issue with different jdk (javascript engines)
Fix test issue with different jdk (javascript engines)
Java
mit
GraphWalker/graphwalker-project,GraphWalker/graphwalker-project,KristianKarl/graphwalker-project,KristianKarl/graphwalker-project,KristianKarl/graphwalker-project,GraphWalker/graphwalker-project
5141826b24641572fddd06bfe376eddba2e3ff69
src/main/java/algorithms/MaxPairwiseProduct.java
src/main/java/algorithms/MaxPairwiseProduct.java
package algorithms; import java.util.Arrays; public class MaxPairwiseProduct { static long getMaxPairwiseProduct(Integer[] numbers) { if (numbers.length == 1) { return 0; } Arrays.sort(numbers, (x, y) -> x - y); int lastIndex = numbers.length - 1; long bigResult = (long) numbers[lastIndex] * numbers[las...
package algorithms; public class MaxPairwiseProduct { static long getMaxPairwiseProduct(Integer[] numbers) { if (numbers.length == 1) { return 0; } Integer maxIndex1 = null; Integer maxIndex2 = null; for (int i = 0; i < numbers.length; ++i) { if (maxIndex1 == null || numbers[i] > numbers[maxIndex1]) {...
Improve efficiency to constant O(n)
Improve efficiency to constant O(n)
Java
mit
bink81/java-experiments
278468b3af10284101b41b74cc353725fdcf18dd
library/src/main/java/com/strohwitwer/awesomevalidation/validator/Validator.java
library/src/main/java/com/strohwitwer/awesomevalidation/validator/Validator.java
package com.strohwitwer.awesomevalidation.validator; import android.app.Activity; import android.widget.EditText; import com.strohwitwer.awesomevalidation.ValidationHolder; import com.strohwitwer.awesomevalidation.utils.ValidationCallback; import java.util.ArrayList; import java.util.regex.Matcher; import java.util....
package com.strohwitwer.awesomevalidation.validator; import android.app.Activity; import android.widget.EditText; import com.strohwitwer.awesomevalidation.ValidationHolder; import com.strohwitwer.awesomevalidation.utils.ValidationCallback; import java.util.ArrayList; import java.util.regex.Matcher; import java.util....
Set focus to the first failed validation field.
Set focus to the first failed validation field.
Java
mit
java02014/AwesomeValidation,0359xiaodong/AwesomeValidation,duaiyun1314/AwesomeValidation,thyrlian/AwesomeValidation,andyiac/AwesomeValidation,thyrlian/AwesomeValidation
ce0c9c1f711f9ea5e17deef0bf08dcac0996c0b0
src/main/java/com/googlesource/gerrit/plugins/javamelody/HttpModule.java
src/main/java/com/googlesource/gerrit/plugins/javamelody/HttpModule.java
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Extend ServletModule instead of HttpPluginModule
Extend ServletModule instead of HttpPluginModule As described in I3b89150d1. Change-Id: Ic91ce95719c6bccc73cc29a2139a2274f20d1939
Java
apache-2.0
GerritCodeReview/plugins_javamelody,GerritCodeReview/plugins_javamelody,GerritCodeReview/plugins_javamelody
c3e901818e9575ea4c458f7c2d9338e9537f6df7
src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java
src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java
package fr.epicanard.globalmarketchest.listeners; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.event.player.PlayerMoveEvent; import fr.epica...
package fr.epicanard.globalmarketchest.listeners; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.event.player.PlayerMoveEvent; import fr.epica...
Fix onChatEvent to handle player null
Fix onChatEvent to handle player null
Java
mit
EpiCanard/GlobalMarketChest
290e28ad2b974336a10127b83d012ae34e0055fb
src/main/java/org/openlmis/stockmanagement/domain/reason/ReasonType.java
src/main/java/org/openlmis/stockmanagement/domain/reason/ReasonType.java
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2017 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU Affero General Public License as published by the Free Software Foundation, e...
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2017 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU Affero General Public License as published by the Free Software Foundation, e...
Revert "Revert "OLMIS-3533: Added javadoc for Reason type priority field""
Revert "Revert "OLMIS-3533: Added javadoc for Reason type priority field"" This reverts commit 68cd7a11b50c4f4a194f6d439e6b83b3b2f46243.
Java
agpl-3.0
OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement,OpenLMIS/openlmis-stockmanagement
5de98b8b381988b93baef1a82298ab700d91d7b3
app/src/main/java/de/philipphager/disclosure/feature/sync/api/usecases/SyncLibraries.java
app/src/main/java/de/philipphager/disclosure/feature/sync/api/usecases/SyncLibraries.java
package de.philipphager.disclosure.feature.sync.api.usecases; import de.philipphager.disclosure.api.DisclosureApi; import de.philipphager.disclosure.database.library.model.Library; import de.philipphager.disclosure.service.LibraryService; import java.util.List; import javax.inject.Inject; import rx.Observable; public...
package de.philipphager.disclosure.feature.sync.api.usecases; import de.philipphager.disclosure.api.DisclosureApi; import de.philipphager.disclosure.database.library.model.Library; import de.philipphager.disclosure.service.LibraryService; import java.util.List; import javax.inject.Inject; import rx.Observable; import ...
Add log message to library syncer
Add log message to library syncer
Java
apache-2.0
philipphager/disclosure-android-app
bde91cc914c4c584f0c6446566c10f6433df8894
oak-core/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/ThrowingCallbackHandler.java
oak-core/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/ThrowingCallbackHandler.java
package org.apache.jackrabbit.oak.spi.security.authentication; import java.io.IOException; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.UnsupportedCallbackException; /** * Created by angela on 28/02/17. */ class ThrowingCallba...
/* * 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 ...
Improve coverage for security code in oak-core
OAK-5793: Improve coverage for security code in oak-core Missing license header git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1784852 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,amit-jain/jackrabbit-oak,anchela/jac...
4540b468cae2753a3234b58cfe4cf6983b8bfd58
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
Drop references from popped classes.
Drop references from popped classes.
Java
bsd-3-clause
codehaus/xstream,codehaus/xstream
d3937a6ab2546c4c0adf025371f2f95b07f56b6c
registry-spring-boot-ws/src/main/java/org/gbif/registry/RegistryWsApplication.java
registry-spring-boot-ws/src/main/java/org/gbif/registry/RegistryWsApplication.java
package org.gbif.registry; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.actuate.autoconfigure.solr.SolrHealthContributorAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframewo...
package org.gbif.registry; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.actuate.autoconfigure.solr.SolrHealthContributorAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframewo...
Add package org.gbif.ws.server.advice to scan
Add package org.gbif.ws.server.advice to scan
Java
apache-2.0
gbif/registry,gbif/registry
8680f27450840ca2f9a2f65a7fd21cc499905f8a
EdXVideoViewer/src/com/github/krooken/edxvideoviewer/LoginScreen.java
EdXVideoViewer/src/com/github/krooken/edxvideoviewer/LoginScreen.java
package com.github.krooken.edxvideoviewer; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class LoginScreen extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login_scree...
package com.github.krooken.edxvideoviewer; import android.os.Bundle; import android.annotation.SuppressLint; import android.app.Activity; import android.view.Menu; import android.view.WindowManager; import android.webkit.WebView; public class LoginScreen extends Activity { @SuppressLint("SetJavaScriptEnabled") @Ov...
Load EdX login screen in WebView on create.
Load EdX login screen in WebView on create.
Java
mit
krooken/EdXVideoViewer
8901219fa736f652c14cff01e0298f00ecbb986a
core/com.b2international.snowowl.api.rest/src/com/b2international/snowowl/api/rest/AbstractRestService.java
core/com.b2international.snowowl.api.rest/src/com/b2international/snowowl/api/rest/AbstractRestService.java
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
/* * Copyright 2011-2019 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Add text/csv media type constant
SO-3379: Add text/csv media type constant
Java
apache-2.0
b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl
9bfde4878c40397646f5bc92d5c9de7137bd1a85
library/src/main/java/com/novoda/downloadmanager/DownloadBatchSizeCalculator.java
library/src/main/java/com/novoda/downloadmanager/DownloadBatchSizeCalculator.java
package com.novoda.downloadmanager; import android.support.annotation.WorkerThread; import java.util.List; import static com.novoda.downloadmanager.DownloadBatchStatus.Status.*; final class DownloadBatchSizeCalculator { private DownloadBatchSizeCalculator() { // non instantiable } @WorkerThrea...
package com.novoda.downloadmanager; import android.support.annotation.WorkerThread; import java.util.List; import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DELETING; import static com.novoda.downloadmanager.DownloadBatchStatus.Status.DELETED; import static com.novoda.downloadmanager.DownloadBatchS...
Replace star inport with explicit ones
Replace star inport with explicit ones
Java
apache-2.0
novoda/download-manager
b4a78609ed616ac3f13f73a9cb7513c31c931edb
blormlib/src/main/java/br/com/bloder/blormlib/validation/Validations.java
blormlib/src/main/java/br/com/bloder/blormlib/validation/Validations.java
package br.com.bloder.blormlib.validation; import br.com.bloder.blormlib.validation.validations.Checked; import br.com.bloder.blormlib.validation.validations.Email; import br.com.bloder.blormlib.validation.validations.Filled; /** * Created by bloder on 05/06/16. */ public class Validations { public static Valid...
package br.com.bloder.blormlib.validation; import br.com.bloder.blormlib.validation.validations.Checked; import br.com.bloder.blormlib.validation.validations.Email; import br.com.bloder.blormlib.validation.validations.Filled; import br.com.bloder.blormlib.validation.validations.Number; /** * Created by bloder on 05...
Add number validation in validations class
Add number validation in validations class
Java
mit
bloder/Blorm
ada846d38a491fe22bf6dd0bcfcd8aa11ea2d5d3
projects/connector-manager/source/javatests/com/google/enterprise/connector/traversal/NeverEndingQueryTraverser.java
projects/connector-manager/source/javatests/com/google/enterprise/connector/traversal/NeverEndingQueryTraverser.java
// Copyright 2006 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
// Copyright 2006 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
Make never ending traverser consume less CPU.
Make never ending traverser consume less CPU. Max, please review.
Java
apache-2.0
googlegsa/manager.v3,googlegsa/manager.v3,googlegsa/manager.v3
794b0a23d08e4a96b3eab5bc7aafd0d9b7bdab94
src/info/tregmine/database/db/DBItemDAO.java
src/info/tregmine/database/db/DBItemDAO.java
package info.tregmine.database.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import info.tregmine.database.IItemDAO; import info.tregmine.database.DAOException; public class DBItemDAO implements IItemDAO { private Connection conn; ...
package info.tregmine.database.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import info.tregmine.database.IItemDAO; import info.tregmine.database.DAOException; public class DBItemDAO implements IItemDAO { private Connection conn; ...
Add support for item data
Add support for item data
Java
bsd-3-clause
EmilHernvall/tregmine,EmilHernvall/tregmine,EmilHernvall/tregmine,Clunker5/tregmine-2.0,Clunker5/tregmine-2.0
8ec1a0e041948fe0fc4686a19b84ceee6f7fb9a1
src/java/org/apache/fop/area/NormalFlow.java
src/java/org/apache/fop/area/NormalFlow.java
/* * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Accumulate the BPD extent used by the normal flow's children.
Accumulate the BPD extent used by the normal flow's children. git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@202359 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
chunlinyao/fop,apache/fop,apache/fop,chunlinyao/fop,apache/fop,apache/fop,chunlinyao/fop,chunlinyao/fop,chunlinyao/fop,apache/fop
6fe4fa170784906c268ada725a23d775b0914a45
api/src/main/java/com/creatubbles/api/model/comment/MentionType.java
api/src/main/java/com/creatubbles/api/model/comment/MentionType.java
package com.creatubbles.api.model.comment; import android.support.annotation.NonNull; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.github.jasminb.jsonapi.annotations.Type; /** * Created by Janek on 20.12.2017. */ public enum MentionType { U...
package com.creatubbles.api.model.comment; import android.support.annotation.NonNull; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** * Created by Janek on 20.12.2017. */ public enum MentionType { USER("user"), GROUP("group"), CREATION("creat...
Add Hashtag mention type to comments
Add Hashtag mention type to comments
Java
mit
creatubbles/ctb-api-android
270b80498e558c2fde789a6a8ecd04a044b73d70
f-tep-api/src/main/java/com/cgi/eoss/ftep/api/projections/ShortGroup.java
f-tep-api/src/main/java/com/cgi/eoss/ftep/api/projections/ShortGroup.java
package com.cgi.eoss.ftep.api.projections; import com.cgi.eoss.ftep.model.Group; import org.springframework.data.rest.core.config.Projection; /** * <p>Abbreviated representation of a User entity, for embedding in REST responses.</p> */ @Projection(name = "shortGroup", types = {Group.class}) public interface ShortGr...
package com.cgi.eoss.ftep.api.projections; import com.cgi.eoss.ftep.model.Group; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.rest.core.config.Projection; /** * <p>Abbreviated representation of a User entity, for embedding in REST responses.</p> */ @Projection(name = "s...
Add Group description and size to excerpt projection
Add Group description and size to excerpt projection Change-Id: Ie5cebac22f4caff7324d01a0dd3fe5cd7b5a4bc7
Java
agpl-3.0
cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep
ce46f7827bf52b08d22c3f30a3e21876ed9e548f
src/org/adaptlab/chpir/android/survey/QuestionFragments/RatingQuestionFragment.java
src/org/adaptlab/chpir/android/survey/QuestionFragments/RatingQuestionFragment.java
package org.adaptlab.chpir.android.survey.QuestionFragments; import org.adaptlab.chpir.android.survey.QuestionFragment; import android.view.ViewGroup; import android.widget.RatingBar; public class RatingQuestionFragment extends QuestionFragment { private final static int NUM_STARS = 5; private float mRating...
package org.adaptlab.chpir.android.survey.QuestionFragments; import org.adaptlab.chpir.android.survey.QuestionFragment; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.RatingBar; public class RatingQuestionFragment extends QuestionFragment { private final static int NUM_...
Fix unpredictable number of stars in rating question type bug
Fix unpredictable number of stars in rating question type bug
Java
mit
mnipper/AndroidSurvey,mnipper/AndroidSurvey,DukeMobileTech/AndroidSurvey,mnipper/AndroidSurvey
24edf5d4bdca3e7b062d39f782c8a406dcccb220
runtime/src/test/java/com/speedment/runtime/internal/platform/component/impl/CreateSpeedmentInstanceTest.java
runtime/src/test/java/com/speedment/runtime/internal/platform/component/impl/CreateSpeedmentInstanceTest.java
package com.speedment.runtime.internal.platform.component.impl; import com.speedment.runtime.Speedment; import com.speedment.runtime.internal.runtime.DefaultApplicationBuilder; import static org.junit.Assert.assertNotNull; import org.junit.Test; /** * * @author Emil Forslund */ public class CreateSpeedmentInstance...
/** * * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Fix license header in file
Fix license header in file
Java
apache-2.0
speedment/speedment,speedment/speedment
16a0d796d063d34b3877c8f37687a3765d6acafc
microservices/clients/activities-client/src/main/java/org/xcolab/client/activities/enums/ActivityCategory.java
microservices/clients/activities-client/src/main/java/org/xcolab/client/activities/enums/ActivityCategory.java
package org.xcolab.client.activities.enums; public enum ActivityCategory { MEMBER, DISCUSSION, PROPOSAL, CONTEST; }
package org.xcolab.client.activities.enums; import java.util.Arrays; public enum ActivityCategory { MEMBER(ContestActivityType.values()), DISCUSSION(DiscussionActivityType.values()), PROPOSAL(ProposalActivityType.values()), CONTEST(ContestActivityType.values()); private final ActivityType[] acti...
Add method to get type from category
[COLAB-2469] Add method to get type from category
Java
mit
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
44aeb6bac647b4d6c0dfe6c7e3d7594e8c0ce1f0
src/model/FileModelTest.java
src/model/FileModelTest.java
package model; import org.junit.Test; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.Scanner; import static org.junit.Assert.*; /** * Created by Elliad on 2016-05-08. */ public class FileModelTest { @Test public void singl...
package model; import org.junit.Test; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.Scanner; import static org.junit.Assert.*; /** * Created by Elliad on 2016-05-08. */ public class FileModelTest { @Test public void fileR...
Remove Singletone Test of FileModel
Remove Singletone Test of FileModel
Java
mit
leesnhyun/SE2016,leesnhyun/SE2016
adc61dbdfc547a1b50efca11e0a4c1af56d77a9d
presto-parquet/src/main/java/io/prestosql/parquet/GroupField.java
presto-parquet/src/main/java/io/prestosql/parquet/GroupField.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Declare field as a List
Declare field as a List
Java
apache-2.0
smartnews/presto,losipiuk/presto,smartnews/presto,hgschmie/presto,smartnews/presto,dain/presto,electrum/presto,treasure-data/presto,electrum/presto,ebyhr/presto,dain/presto,treasure-data/presto,losipiuk/presto,erichwang/presto,losipiuk/presto,martint/presto,treasure-data/presto,11xor6/presto,electrum/presto,Praveen2112...
c46e238b26663691af6e17c46a2bb67b7065c8ed
src/main/java/com/github/blindpirate/gogradle/build/SubprocessReader.java
src/main/java/com/github/blindpirate/gogradle/build/SubprocessReader.java
package com.github.blindpirate.gogradle.build; import com.github.blindpirate.gogradle.util.ExceptionHandler; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.concurrent.CountDownLatch; import java.util.function.Consumer; import j...
package com.github.blindpirate.gogradle.build; import com.github.blindpirate.gogradle.util.ExceptionHandler; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.concurrent.CountDownLatch; import java.util.function.Consumer; import j...
Add line predicate to filter output lines
Add line predicate to filter output lines
Java
apache-2.0
blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle
04dea5751e6497319a01f9cff8c870b7a60fb370
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/contracts/RussianWikiPipelineTest.java
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/contracts/RussianWikiPipelineTest.java
package com.formulasearchengine.mathosphere.mlp.contracts; import com.formulasearchengine.mathosphere.mlp.cli.FlinkMlpCommandConfig; import com.formulasearchengine.mathosphere.mlp.pojos.ParsedWikiDocument; import com.formulasearchengine.mathosphere.mlp.pojos.RawWikiDocument; import org.junit.Test; import java.util.L...
package com.formulasearchengine.mathosphere.mlp.contracts; import com.formulasearchengine.mathosphere.mlp.cli.FlinkMlpCommandConfig; import com.formulasearchengine.mathosphere.mlp.pojos.ParsedWikiDocument; import com.formulasearchengine.mathosphere.mlp.pojos.RawWikiDocument; import org.junit.Test; import java.util.Li...
Repair more broken cli tests
Fix: Repair more broken cli tests
Java
apache-2.0
TU-Berlin/mathosphere,TU-Berlin/mathosphere
83f0d7b81f9f50f46f2498fe5de7307de3ae609b
log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/TypeConverter.java
log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/TypeConverter.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
Add documentation requiring non-null values.
Add documentation requiring non-null values. git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1597362 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
ChetnaChaudhari/logging-log4j2,MagicWiz/log4j2,xnslong/logging-log4j2,renchunxiao/logging-log4j2,lburgazzoli/apache-logging-log4j2,pisfly/logging-log4j2,xnslong/logging-log4j2,lburgazzoli/apache-logging-log4j2,lburgazzoli/apache-logging-log4j2,ChetnaChaudhari/logging-log4j2,lburgazzoli/logging-log4j2,pisfly/logging-log...
13c4d9ce89746c2d493b9d13480d0b889ea12bbe
publisher-provider/publisher-provider-app/src/main/java/nl/idgis/publisher/provider/database/messages/DatabaseColumnInfo.java
publisher-provider/publisher-provider-app/src/main/java/nl/idgis/publisher/provider/database/messages/DatabaseColumnInfo.java
package nl.idgis.publisher.provider.database.messages; import java.io.Serializable; import nl.idgis.publisher.domain.service.Type; public class DatabaseColumnInfo implements Serializable { private static final long serialVersionUID = 8052868017910750424L; private final String name; private final S...
package nl.idgis.publisher.provider.database.messages; import java.io.Serializable; import nl.idgis.publisher.domain.service.Type; public class DatabaseColumnInfo implements Serializable { private static final long serialVersionUID = 8052868017910750424L; private final String name; private final S...
Add support for NCLOB sql type
Add support for NCLOB sql type
Java
lgpl-2.1
IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher
f88bc4b1ef43907d2d62cd0017cef9fb7430c278
providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java
providers/jdbc/shedlock-test-support-jdbc/src/main/java/net/javacrumbs/shedlock/test/support/jdbc/OracleServerConfig.java
/** * Copyright 2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/** * Copyright 2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Use newer version of Oracle
Use newer version of Oracle
Java
apache-2.0
lukas-krecan/ShedLock,lukas-krecan/ShedLock
d2adee4993eaea201c1d22deef5bbf456fe70091
src/ie/lero/evoting/scenario/CountContinuingCandidatesEventK.java
src/ie/lero/evoting/scenario/CountContinuingCandidatesEventK.java
package ie.lero.evoting.scenario; import junit.framework.TestCase; import election.tally.BallotCounting; import election.tally.Constituency; public class CountContinuingCandidatesEventK extends TestCase { public void testEvent() { BallotCounting ballotCounting = new BallotCounting(); Constituency constituenc...
package ie.lero.evoting.scenario; import junit.framework.TestCase; import election.tally.BallotCounting; import election.tally.Constituency; public class CountContinuingCandidatesEventK extends TestCase { public void testEvent() { final BallotCounting ballotCounting = new BallotCounting(); final Constituency...
Use final variables for Ballot Counting and Constituency objects being tested.
Use final variables for Ballot Counting and Constituency objects being tested.
Java
mit
GaloisInc/Votail,GaloisInc/Votail,GaloisInc/Votail
6b8383aa9b44a74a73e416a07a3e1b9a3bd602dd
src/main/java/com/hamishrickerby/http_server/ResponseFactory.java
src/main/java/com/hamishrickerby/http_server/ResponseFactory.java
package com.hamishrickerby.http_server; /** * Created by rickerbh on 17/08/2016. */ public class ResponseFactory { String rootPath; public ResponseFactory(String rootPath) { this.rootPath = rootPath; } public Response makeResponse(Request request) { Response response = null; ...
package com.hamishrickerby.http_server; /** * Created by rickerbh on 17/08/2016. */ public class ResponseFactory { String rootPath; public ResponseFactory(String rootPath) { this.rootPath = rootPath; } public Response makeResponse(Request request) { Response response; if (is...
Drop some unnecessary code from Response
Drop some unnecessary code from Response
Java
mit
rickerbh/http_server_java,rickerbh/http_server_java
c677060cf32d1d3913b6703cd6f05e8af62e2d99
src/main/java/net/openhft/chronicle/bytes/ByteStringAppender.java
src/main/java/net/openhft/chronicle/bytes/ByteStringAppender.java
package net.openhft.chronicle.bytes; public interface ByteStringAppender<B extends ByteStringAppender<B>> extends StreamingDataOutput<B> { default B append(char ch) { BytesUtil.appendUTF(this, ch); return (B) this; } default B append(CharSequence cs) { return append(cs, 0, cs.lengt...
package net.openhft.chronicle.bytes; public interface ByteStringAppender<B extends ByteStringAppender<B>> extends StreamingDataOutput<B> { default B append(char ch) { BytesUtil.appendUTF(this, ch); return (B) this; } default B append(CharSequence cs) { return append(cs, 0, cs.lengt...
Add support for text based LongArrayTextReference
Add support for text based LongArrayTextReference
Java
apache-2.0
OpenHFT/Chronicle-Bytes
4c4f105f3f5a51d044ac466a2266b22677f29f8b
arondor-common-reflection-parser/src/test/java/com/arondor/common/reflection/parser/java/TestDirectoryAccessibleClassParser.java
arondor-common-reflection-parser/src/test/java/com/arondor/common/reflection/parser/java/TestDirectoryAccessibleClassParser.java
package com.arondor.common.reflection.parser.java; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.arondor.common.reflection.api.catalog.AccessibleClassCatalog; import com.arondor.common.reflection.catalog.SimpleAccessibleClassCatalog; public cla...
package com.arondor.common.reflection.parser.java; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.arondor.common.reflection.api.catalog.AccessibleClassCatalog; import com.arondor.common.reflection.catalog.SimpleAccessibleClassCatalog; public cla...
Fix unit test after exception removal
Fix unit test after exception removal
Java
apache-2.0
Doloops/arondor-common-reflection,Doloops/arondor-common-reflection
6eb990aede33978d588b5b077df22bc9503a0103
services/orbweaver-cc/src/test/java/org/example/activemq/orbweaver/cc/ControlCenterServer.java
services/orbweaver-cc/src/test/java/org/example/activemq/orbweaver/cc/ControlCenterServer.java
/** */ package org.example.activemq.orbweaver.cc; import javax.ws.rs.ext.RuntimeDelegate; import org.apache.cxf.endpoint.Server; import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; /** * JAX-RS ControlCenter root resource */ public class ControlCenterServer { private static Server server; protected Cont...
/** */ package org.example.activemq.orbweaver.cc; import java.util.HashMap; import java.util.Map; import javax.ws.rs.ext.RuntimeDelegate; import org.apache.cxf.endpoint.Server; import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; /** * JAX-RS ControlCenter root resource */ public class ControlCenterServer { ...
Add extension mappings to server.
Add extension mappings to server.
Java
apache-2.0
hzbarcea/activemq-samples,hzbarcea/activemq-samples
23d4b9e6bd6b60ffd76adc2deeefc7e2d47ad94c
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/CommitNetworkChangesCommand.java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/CommitNetworkChangesCommand.java
package org.ovirt.engine.core.bll.network.host; import org.ovirt.engine.core.bll.Backend; import org.ovirt.engine.core.bll.VdsCommand; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.VdsActionParameters; import org.ovirt.engine.core.common.vdscommands.VDSCommandType; import...
package org.ovirt.engine.core.bll.network.host; import org.ovirt.engine.core.bll.VdsCommand; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.VdsActionParameters; import org.ovirt.engine.core.common.vdscommands.VDSCommandType; import org.ovirt.engine.core.common.vdscommands....
Use proper method to mark net changes as saved
engine: Use proper method to mark net changes as saved The patch reduces the need for updating the entire VdsDynamic data by using a designated method for saving the dirty-network indicator of the host. Change-Id: Ib4c54214a275a1653c46bca7c95ff847975dd7d4 Signed-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc...
Java
apache-2.0
OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,halober/ovirt-engine,walteryang47/ovirt-engine,wal...
fbd48594182e3694e1e9f2de5654eb778649c828
components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/TestHasher.java
components/camel-file-watch/src/test/java/org/apache/camel/component/file/watch/TestHasher.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 FileHash because HashCode has been removed
Camel-file-watch: Use FileHash because HashCode has been removed
Java
apache-2.0
cunningt/camel,cunningt/camel,gnodet/camel,tdiesler/camel,pmoerenhout/camel,gnodet/camel,tadayosi/camel,pax95/camel,pmoerenhout/camel,christophd/camel,apache/camel,christophd/camel,tdiesler/camel,cunningt/camel,nikhilvibhav/camel,gnodet/camel,gnodet/camel,christophd/camel,adessaigne/camel,adessaigne/camel,pax95/camel,a...
d104d44315c6aa6dc5f2ae6c69d7e9745db1b8dc
src/main/java/io/github/lukehutch/fastclasspathscanner/classloaderhandler/WebsphereTraditionalClassLoaderHandler.java
src/main/java/io/github/lukehutch/fastclasspathscanner/classloaderhandler/WebsphereTraditionalClassLoaderHandler.java
package io.github.lukehutch.fastclasspathscanner.classloaderhandler; import io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler; import io.github.lukehutch.fastclasspathscanner.scanner.ClasspathFinder; import io.github.lukehutch.fastclasspathscanner.utils.LogNode; import io.github.lukehutch....
/* * This file is part of FastClasspathScanner. * * Author: Sergey Bespalov * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2017 Sergey Bespalov * * Permission is hereby granted, free of charge, to any person obtaining a copy of this...
Add copyright and license info
Add copyright and license info
Java
mit
RaimondKempees/fast-classpath-scanner
167408c4f7e7fd83462b2658cc38e4d29b1bbcb3
src/main/java/com/alexrnl/jbetaseries/request/episodes/EpisodeWatched.java
src/main/java/com/alexrnl/jbetaseries/request/episodes/EpisodeWatched.java
package com.alexrnl.jbetaseries.request.episodes; import com.alexrnl.jbetaseries.request.APIAddresses; import com.alexrnl.jbetaseries.request.Request; import com.alexrnl.jbetaseries.request.Verb; import com.alexrnl.jbetaseries.request.parameters.Bulk; import com.alexrnl.jbetaseries.request.parameters.Id; /** * Reque...
package com.alexrnl.jbetaseries.request.episodes; import com.alexrnl.jbetaseries.request.APIAddresses; import com.alexrnl.jbetaseries.request.Request; import com.alexrnl.jbetaseries.request.Verb; import com.alexrnl.jbetaseries.request.parameters.Bulk; import com.alexrnl.jbetaseries.request.parameters.Id; /** * Reque...
Add delegate constructor for the episodes/watched request
Add delegate constructor for the episodes/watched request
Java
bsd-3-clause
AlexRNL/jSeries
084ee0b244f4896328cae571dcb1703bbaf4e143
sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/statement/execute/PreparedStatementParameterHeader.java
sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/statement/execute/PreparedStatementParameterHeader.java
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Add Serializable interface for PrepareStatementParameterHeader.
Add Serializable interface for PrepareStatementParameterHeader.
Java
apache-2.0
apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere
fe3050141225e19769c09e4a8871bca169b55b06
xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-api/src/main/java/org/xwiki/mail/MailResultListener.java
xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-send/xwiki-platform-mail-send-api/src/main/java/org/xwiki/mail/MailResultListener.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
Implement a new Platform Mail Sender API * Add missing @Unstable annotation
XWIKI-10405: Implement a new Platform Mail Sender API * Add missing @Unstable annotation
Java
lgpl-2.1
pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform
83c9520393cc03bfeb934723db148770db785312
android/src/main/java/com/marcshilling/idletimer/IdleTimerPackage.java
android/src/main/java/com/marcshilling/idletimer/IdleTimerPackage.java
package com.marcshilling.idletimer; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import java....
package com.marcshilling.idletimer; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import java....
Remove deprecated override on createJSModules method
Remove deprecated override on createJSModules method
Java
mit
marcshilling/react-native-idle-timer,marcshilling/react-native-idle-timer,marcshilling/react-native-idle-timer
4686179f2a6b54bebdd38b06f23a6a55ea018bc7
xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api/src/test/java/org/xwiki/component/logging/LoggerTest.java
xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api/src/test/java/org/xwiki/component/logging/LoggerTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
Move from Commons Logging/Log4J to SLF4J/Logback
XCOMMONS-9: Move from Commons Logging/Log4J to SLF4J/Logback ** Fixed javadoc
Java
lgpl-2.1
xwiki/xwiki-commons,xwiki/xwiki-commons
10efd969a9653db0737df98d99b2df176ffc0c7f
code_samples/simple_language_plugin/src/com/simpleplugin/SimpleFileTypeFactory.java
code_samples/simple_language_plugin/src/com/simpleplugin/SimpleFileTypeFactory.java
package com.simpleplugin; import com.intellij.openapi.fileTypes.*; import org.jetbrains.annotations.NotNull; public class SimpleFileTypeFactory extends FileTypeFactory { @Override public void createFileTypes(@NotNull FileTypeConsumer fileTypeConsumer) { fileTypeConsumer.consume(SimpleFileType.INSTANCE, "simpl...
package com.simpleplugin; import com.intellij.openapi.fileTypes.*; import org.jetbrains.annotations.NotNull; public class SimpleFileTypeFactory extends FileTypeFactory { @Override public void createFileTypes(@NotNull FileTypeConsumer fileTypeConsumer) { fileTypeConsumer.consume(SimpleFileType.INSTANCE); } }...
Remove passing a file extension explicitly.
Remove passing a file extension explicitly. Hello! In this code, the `SimpleFileType` instance passed as the first argument and the `"simple"` file extension as the second parameter. As far as I can see in FileTypeManagerImpl:263: ```java @Override public void consume(@NotNull FileType fileType) { register...
Java
apache-2.0
artspb/intellij-sdk-docs,JetBrains/intellij-sdk-docs,artspb/intellij-sdk-docs,artspb/intellij-sdk-docs,JetBrains/intellij-sdk-docs,JetBrains/intellij-sdk-docs,artspb/intellij-sdk-docs
55b2c43b80bc2798a2a13fbdf4469475059f058e
Simperium/src/support/java/com/simperium/test/MockAuthResponseListener.java
Simperium/src/support/java/com/simperium/test/MockAuthResponseListener.java
package com.simperium.test; import com.simperium.client.AuthException; import com.simperium.client.AuthResponseListener; import com.simperium.client.User; public class MockAuthResponseListener implements AuthResponseListener { public boolean success = false, failure = false; public User user; public Aut...
package com.simperium.test; import com.simperium.client.AuthException; import com.simperium.client.AuthResponseListener; import com.simperium.client.User; public class MockAuthResponseListener implements AuthResponseListener { public AuthException exception; public User user; public boolean success = fals...
Add user id and token parameters to success method in mock auth response listener test
Add user id and token parameters to success method in mock auth response listener test
Java
mit
Simperium/simperium-android,Simperium/simperium-android
c6f1bf23738487ec18af0331fb57d7fed0edbd9e
src/main/java/com/hp/autonomy/frontend/find/configuration/AbstractPersistentStateCondition.java
src/main/java/com/hp/autonomy/frontend/find/configuration/AbstractPersistentStateCondition.java
/* * Copyright 2014-2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.configuration; import org.springframework.context.annotation.Condition; import org.springfra...
/* * Copyright 2014-2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.configuration; import org.springframework.context.annotation.Condition; import org.springfra...
Use the enum constant as the default value
Use the enum constant as the default value
Java
mit
hpautonomy/find,LinkPowerHK/find,hpautonomy/find,hpe-idol/java-powerpoint-report,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpe-idol/find,LinkPowerHK/find,hpe-idol/find,hpe-idol/java-powerpoint-report,LinkPowerHK/find,hpe-idol/find,LinkPowerHK/find,hpe-idol/find,hpautonomy/find,LinkPowerHK/find
c61bbf2b15623d560a01c6ed8b8b3b18e259a907
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsMonitoringLocationDefinition.java
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsMonitoringLocationDefinition.java
package org.opennms.netmgt.model; public class OnmsMonitoringLocationDefinition { private String m_area; private String m_name; private String m_pollingPackageName; public String getArea() { return m_area; } public void setArea(String area) { m_area = area; } publi...
package org.opennms.netmgt.model; public class OnmsMonitoringLocationDefinition { private String m_area; private String m_name; private String m_pollingPackageName; public OnmsMonitoringLocationDefinition() { } public OnmsMonitoringLocationDefinition(String name, String po...
Add constructors and toString method to make unit testing easier
Add constructors and toString method to make unit testing easier
Java
agpl-3.0
tdefilip/opennms,roskens/opennms-pre-github,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,tdefilip/opennms,aihua/opennms,rdkgit/opennms,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,rdkgit/...
81d5e5dab8573e280439d1ef1664a77ac5d496ef
bgp/openconfig-impl/src/main/java/org/opendaylight/protocol/bgp/openconfig/impl/comparator/OpenConfigComparatorFactory.java
bgp/openconfig-impl/src/main/java/org/opendaylight/protocol/bgp/openconfig/impl/comparator/OpenConfigComparatorFactory.java
/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Add a private constructor to hide the implicit public one
Add a private constructor to hide the implicit public one Add a private constructor to hide the implicit public one on OpenConfigComparatorFactory. Change-Id: Id24e1b3bb8c59e0eaed71093acd4443e75ac50db Signed-off-by: Claudio D. Gasparini <3480fb4575078d890be8aed0007cb1d8785aa579@cisco.com>
Java
epl-1.0
inocybe/odl-bgpcep,inocybe/odl-bgpcep,opendaylight/bgpcep
404a0e4d1accf2b32324256173d1643b5ce6fece
src/main/java/io/github/achtern/AchternEngine/core/rendering/generator/ImageGenerator.java
src/main/java/io/github/achtern/AchternEngine/core/rendering/generator/ImageGenerator.java
package io.github.achtern.AchternEngine.core.rendering.generator; import io.github.achtern.AchternEngine.core.math.Vector2f; import io.github.achtern.AchternEngine.core.rendering.Color; import java.awt.*; import java.awt.image.BufferedImage; public class ImageGenerator { public static BufferedImage fromColor(Co...
package io.github.achtern.AchternEngine.core.rendering.generator; import io.github.achtern.AchternEngine.core.math.Vector2f; import io.github.achtern.AchternEngine.core.rendering.Color; import io.github.achtern.AchternEngine.core.util.UBuffer; import java.awt.*; import java.awt.image.BufferedImage; import java.nio.By...
Create ByteBuffers for Textures from Color
Create ByteBuffers for Textures from Color
Java
mit
achtern/AchternEngine
75bce6e131b10ba5dcef7c0a36a65793cf6718a3
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_1_9_r1__1_9_r2/SpawnNamed.java
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_1_9_r1__1_9_r2/SpawnNamed.java
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r1__1_9_r2; import java.io.IOException; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.legacyremapper.LegacyDataWatcherSerializer; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.pro...
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r1__1_9_r2; import java.io.IOException; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.protocol.packet.middle.clientbound.play.MiddleSpawnNamed; import protocolsuppor...
Use proper metadata serializer for spawn player
Use proper metadata serializer for spawn player
Java
agpl-3.0
ProtocolSupport/ProtocolSupport,ridalarry/ProtocolSupport
e0c32f56785c764a578051a2f19ea64d9723c0a3
oxJsfUtil/src/main/java/org/gluu/jsf2/service/ConversationService.java
oxJsfUtil/src/main/java/org/gluu/jsf2/service/ConversationService.java
package org.gluu.jsf2.service; import java.io.Serializable; import javax.enterprise.context.Conversation; import javax.enterprise.context.ConversationScoped; import javax.faces.context.FacesContext; import javax.inject.Inject; import javax.inject.Named; @Named @ConversationScoped public class Conversatio...
package org.gluu.jsf2.service; import java.io.Serializable; import javax.enterprise.context.Conversation; import javax.enterprise.context.ConversationScoped; import javax.faces.context.FacesContext; import javax.inject.Inject; import javax.inject.Named; @Named @ConversationScoped public class Conversatio...
Set default conversation time to 30 minutes
Set default conversation time to 30 minutes
Java
mit
GluuFederation/oxCore,madumlao/oxCore
7d1048bf39b9c53f37332c1c0a2e4340ce23e700
src/net/java/sip/communicator/impl/neomedia/device/ImageStreamingAuto.java
src/net/java/sip/communicator/impl/neomedia/device/ImageStreamingAuto.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.neomedia.device; import javax.media.*; import net.java.sip.communicator.impl.neomedia.imgstreaming.*; import net.java.si...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.neomedia.device; import javax.media.*; import net.java.sip.communicator.impl.neomedia.imgstreaming.*; import net.java.si...
Change name displayed for desktop streaming device in the media configuration panel.
Change name displayed for desktop streaming device in the media configuration panel.
Java
apache-2.0
cobratbq/jitsi,mckayclarey/jitsi,martin7890/jitsi,459below/jitsi,iant-gmbh/jitsi,martin7890/jitsi,ringdna/jitsi,laborautonomo/jitsi,damencho/jitsi,damencho/jitsi,gpolitis/jitsi,ibauersachs/jitsi,ibauersachs/jitsi,HelioGuilherme66/jitsi,gpolitis/jitsi,jibaro/jitsi,tuijldert/jitsi,tuijldert/jitsi,procandi/jitsi,jitsi/jit...
6bc196bad8b66bd2946829f038ca3567d12f145c
config-provisioning/src/main/java/com/yahoo/config/provision/zone/RoutingMethod.java
config-provisioning/src/main/java/com/yahoo/config/provision/zone/RoutingMethod.java
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.provision.zone; /** * The routing methods supported by a zone. * * @author mpolden */ public enum RoutingMethod { /** Routing happens through shared routing layer */ sh...
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.provision.zone; /** * The routing methods supported by a zone. * * @author mpolden */ public enum RoutingMethod { /** Routing happens through shared routing layer */ sh...
Add shared layer 4 routing method
Add shared layer 4 routing method
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
d9e70e6e70c624ea17b26d140536c06093a5a081
goci-core/goci-repository/src/main/java/uk/ac/ebi/spot/goci/repository/EventRepository.java
goci-core/goci-repository/src/main/java/uk/ac/ebi/spot/goci/repository/EventRepository.java
package uk.ac.ebi.spot.goci.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import uk.ac.ebi.spot.goci.model.Event; /** * Created by emma on 06/05/16. * * @author emma * <p> * Repository accessi...
package uk.ac.ebi.spot.goci.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import uk.ac.ebi.spot.goci.model.Event; import java.util.List; /** * Created by emma on 06/05/16. * * @author emma * <p> * ...
Add method to find by user id
Add method to find by user id
Java
apache-2.0
EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci
abd45283b6981c029d83cd598071408f26afa2f8
src/main/java/com/hp/autonomy/frontend/configuration/LoginTypes.java
src/main/java/com/hp/autonomy/frontend/configuration/LoginTypes.java
/* * Copyright 2014 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.configuration; public class LoginTypes { public static final String DEFAULT = "default"; publ...
/* * Copyright 2014 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.configuration; /** * Constants representing different ways of logging into an application. Used by o...
Add documentation to Login types.
Add documentation to Login types.
Java
mit
hpautonomy/java-configuration-api,hpe-idol/java-configuration-api
6af4fb0deba0c4b769b483f79956fb99fc03f1b3
src/main/java/com/clementscode/mmi/swing/ActionForCategoryItemGui.java
src/main/java/com/clementscode/mmi/swing/ActionForCategoryItemGui.java
package com.clementscode.mmi.swing; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JPanel; public class ActionForCategoryItemGui extends AbstractAction { private static final long serialVersionUID = 1L; private String cmd; private GuiForCategoryItem guiForCategoryItem; ...
package com.clementscode.mmi.swing; import java.awt.Component; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JPanel; public class ActionForCategoryItemGui extends AbstractAction { private static final long serialVersionUID = 1L; private String cmd; private GuiForCategory...
Add another button in CrudFrame now adds below the current category item.
Add another button in CrudFrame now adds below the current category item.
Java
apache-2.0
bclement/MMI
407e84dc22bdb05e0dda1b8121582906ef4c1313
test/integration/org/chrisguitarguy/beanstalkc/ConnectionHelper.java
test/integration/org/chrisguitarguy/beanstalkc/ConnectionHelper.java
// Copyright: (c) 2014 Christopher Davis <http://christopherdavis.me> // License: MIT http://opensource.org/licenses/MIT package org.chrisguitarguy.beanstalkc; import java.util.Map; class ConnectionHelper { private static Map<String, String> env = System.getenv(); private static String host = null; priva...
// Copyright: (c) 2014 Christopher Davis <http://christopherdavis.me> // License: MIT http://opensource.org/licenses/MIT package org.chrisguitarguy.beanstalkc; import java.util.Properties; class ConnectionHelper { private static Properties env = System.getProperties(); private static String host = null; ...
Use system properties instead of environment variables
Use system properties instead of environment variables
Java
mit
chrisguitarguy/Beanstalkc,chrisguitarguy/Beanstalkc
d1e50e15cbdf6b4e92ccb1335f9072caa627f2e6
src/main/java/com/testfabrik/webmate/javasdk/testmgmt/CreateTestExecutionResponse.java
src/main/java/com/testfabrik/webmate/javasdk/testmgmt/CreateTestExecutionResponse.java
package com.testfabrik.webmate.javasdk.testmgmt; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Optional; import com.testfabrik.webmate.javasdk.JacksonMapper; /** * Contains TestExe...
package com.testfabrik.webmate.javasdk.testmgmt; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Optional; import com.testfabrik.webmate.javasdk.JacksonMapper; /** * Contains TestExe...
Fix for changed createTestExecution API WMKNBN-6045
Fix for changed createTestExecution API WMKNBN-6045
Java
apache-2.0
webmate-io/webmate-sdk-java