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
cf64a96530375f804238c67a93ee35d10c46d390
src/main/java/at/fhtw/mcs/Main.java
src/main/java/at/fhtw/mcs/Main.java
package at.fhtw.mcs; import java.util.Scanner; import at.fhtw.mcs.model.Track; import at.fhtw.mcs.model.TrackFactory; class Main { public static void main(String[] args) throws InterruptedException { String filename = args[0]; System.out.println("Loading " + filename); Track track = TrackFactory.loadTrack(fi...
package at.fhtw.mcs; import java.util.Scanner; import at.fhtw.mcs.model.Track; import at.fhtw.mcs.model.TrackFactory; class Main { public static void main(String[] args) throws InterruptedException { if (args.length != 1) { System.err.println("Usage: ./mcs AUDIO_FILE"); } String filename = args[0]; Sys...
Print usage if argument count != 1
Print usage if argument count != 1
Java
mit
flpa/mcs
821b1712567bfcac4ddf23ebfa995ae9bf0a1e4c
org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java
org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java
package org.metaborg.spoofax.core.style; import org.metaborg.core.style.ICategory; public class SortConsCategory implements ICategory { private static final long serialVersionUID = 8423515260404604295L; public final String sort; public final String cons; public SortConsCategory(String sort, String...
package org.metaborg.spoofax.core.style; import java.util.Objects; import org.metaborg.core.style.ICategory; public class SortConsCategory implements ICategory { private static final long serialVersionUID = 8423515260404604295L; public final String sort; public final String cons; public SortConsCat...
Fix SortCons styling bug: add equals and hashCode
Fix SortCons styling bug: add equals and hashCode
Java
apache-2.0
metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax
e90e0e65ae2354d87e072935f2aca73cbf4eba04
src/main/java/io/gravitee/repository/api/ApiRepository.java
src/main/java/io/gravitee/repository/api/ApiRepository.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Add service to retrieve list of APIs by user
Add service to retrieve list of APIs by user
Java
apache-2.0
gravitee-io/gravitee-repository
9f1ddf95a49e46f7a6ed337ae76260d366926b3d
src/de.sormuras.bach/main/java/de/sormuras/bach/execution/Scribe.java
src/de.sormuras.bach/main/java/de/sormuras/bach/execution/Scribe.java
package de.sormuras.bach.execution; import java.nio.file.Path; /** Snippet producer and default Java source code helpers. */ interface Scribe { /** Convert the string representation of the given object into a {@code String} literal. */ default String $(Object object) { if (object == null) return "null"; ...
package de.sormuras.bach.execution; import java.nio.file.Path; import java.util.StringJoiner; /** Snippet producer and default Java source code helpers. */ interface Scribe { /** Convert the string representation of the given object into a {@code String} literal. */ default String $(Object object) { if (obje...
Fix generation of string literals
Fix generation of string literals
Java
mit
sormuras/bach,sormuras/bach
30e15dfd0ce82d6eaff02019b0e79c501f43ca68
SmartEats/src/main/java/com/levibostian/pantrypirate/model/LicensesModel.java
SmartEats/src/main/java/com/levibostian/pantrypirate/model/LicensesModel.java
package com.levibostian.pantrypirate.model; import com.levibostian.pantrypirate.vo.License; import java.util.ArrayList; public class LicensesModel { private ArrayList<License> mLicenses; public LicensesModel() { mLicenses = new ArrayList<License>(); setUpLicenses(); } private void ...
package com.levibostian.pantrypirate.model; import com.levibostian.pantrypirate.vo.License; import java.util.ArrayList; public class LicensesModel { private ArrayList<License> mLicenses; public LicensesModel() { mLicenses = new ArrayList<License>(); setUpLicenses(); } private void ...
Add EnhancedListView project to licenses list.
Add EnhancedListView project to licenses list.
Java
mit
levibostian/PantryPirate
338e141494a2fef7b8a322d0478d51e6cabd08aa
app/src/unitTests/java/io/github/plastix/forage/util/PermissionUtilsTest.java
app/src/unitTests/java/io/github/plastix/forage/util/PermissionUtilsTest.java
package io.github.plastix.forage.util; public class PermissionUtilsTest { }
package io.github.plastix.forage.util; import org.junit.Test; import static com.google.common.truth.Truth.assertThat; public class PermissionUtilsTest { @Test public void isPermissionRequestCancelled_shouldBeCancelled() { assertThat(PermissionUtils.isPermissionRequestCancelled(new int[]{})).isTrue()...
Add a few PermissionUtils unit tests
Add a few PermissionUtils unit tests
Java
mpl-2.0
Plastix/Forage,Plastix/Forage
0dd5966c9a89fe6e59be22771be128221dab8dd8
src/java/com/threerings/whirled/spot/data/Cluster.java
src/java/com/threerings/whirled/spot/data/Cluster.java
// // $Id: Cluster.java,v 1.2 2003/02/13 23:01:35 mdb Exp $ package com.threerings.whirled.spot.data; import com.threerings.presents.dobj.DSet; /** * Contains information on clusters. */ public class Cluster implements DSet.Entry { /** A unique identifier for this cluster (also the distributed object ...
// // $Id: Cluster.java,v 1.3 2003/03/25 03:16:11 mdb Exp $ package com.threerings.whirled.spot.data; import com.threerings.io.SimpleStreamableObject; import com.threerings.presents.dobj.DSet; /** * Contains information on clusters. */ public class Cluster extends SimpleStreamableObject implements DSet.Entry {...
Extend SimpleStreamableObject so that we get a useful default toString().
Extend SimpleStreamableObject so that we get a useful default toString(). git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2321 542714f4-19e9-0310-aa3c-eee0fc999fb1
Java
lgpl-2.1
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
5338e6a94f270dd7e2facb38c83d623f9236e8c4
src/test/java/io/castle/client/AutomaticTestSuite.java
src/test/java/io/castle/client/AutomaticTestSuite.java
package io.castle.client; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * This suite runs all tests that can be run without user interaction. {@link io.castle.client.PairingINTTest} contains MFA tests. */ @RunWith(Suite.class) @Suite.SuiteClasses({ EventINTTest.class, MonitorINTTest.class, Se...
package io.castle.client; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * This suite runs all tests that can be run without user interaction. {@link io.castle.client.PairingINTTest} contains MFA tests. */ @RunWith(Suite.class) @Suite.SuiteClasses({ SessionINTTest.class, MonitorINTTest.class, ...
Remove test cases requiring manual steps
Remove test cases requiring manual steps
Java
mit
castle/castle-java
f9ef665f7ef7b95dc7772e672c98c2e6afe44bf5
api/src/main/java/org/ihtsdo/buildcloud/controller/RootController.java
api/src/main/java/org/ihtsdo/buildcloud/controller/RootController.java
package org.ihtsdo.buildcloud.controller; import org.ihtsdo.buildcloud.controller.helper.HypermediaGenerator; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bi...
package org.ihtsdo.buildcloud.controller; import org.ihtsdo.buildcloud.controller.helper.HypermediaGenerator; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bi...
Add builds link to API root controller.
Add builds link to API root controller.
Java
apache-2.0
IHTSDO/snomed-release-service,IHTSDO/snomed-release-service
0b423824ba447b9c4cce16ceeaed8a53e2986c9e
core/testsuite/src/test/java/com/blazebit/persistence/GroupByTest.java
core/testsuite/src/test/java/com/blazebit/persistence/GroupByTest.java
/* * Copyright 2015 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2015 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Fix failing test because of new fields
Fix failing test because of new fields
Java
apache-2.0
Blazebit/blaze-persistence,Blazebit/blaze-persistence,Blazebit/blaze-persistence,Blazebit/blaze-persistence
e5a3b76914e1d85f301ff346ba8d217b12f9d2dd
src/test/java/org/skife/jdbi/v2/sqlobject/stringtemplate/Kombucha.java
src/test/java/org/skife/jdbi/v2/sqlobject/stringtemplate/Kombucha.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 * distributed u...
/* * 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 * distributed u...
Use the default error listener for this class
Use the default error listener for this class
Java
apache-2.0
HubSpot/jdbi,HubSpot/jdbi
d55a66a20e9ed480fb7be939e2988f7267ed3a7a
trianglify/src/main/java/com/sdsmdg/kd/trianglify/models/Triangle.java
trianglify/src/main/java/com/sdsmdg/kd/trianglify/models/Triangle.java
package com.sdsmdg.kd.trianglify.models; import android.graphics.Point; public class Triangle { public Point a; public Point b; public Point c; public Triangle (Point a, Point b, Point c) { this.a = a; this.b = b; this.c = c; } }
package com.sdsmdg.kd.trianglify.models; import android.graphics.Point; public class Triangle { public Point a; public Point b; public Point c; public Triangle (Point a, Point b, Point c) { this.a = a; this.b = b; this.c = c; } private float sign (Point p1, Point p2,...
Add 'contains()' to check if a point is in interior of triangle.
Add 'contains()' to check if a point is in interior of triangle.
Java
mit
sdsmdg/trianglify
92317d3b7d6f1f7640e0a71c039c5f79f75b8517
src/com/samovich/java/basics/concepts/classes/MyClass.java
src/com/samovich/java/basics/concepts/classes/MyClass.java
/** * @file MyClass.java * @author Valery Samovich * @version 1 * @date 2014/01/09 * * Example of Class Declaration */ package com.samovich.java.basics.concepts.classes; /* * Class declaration */ public class MyClass { // Field(s), Constructor, and Method declarations }
/** * @file MyClass.java * @author Valery Samovich * @version 1 * @date 2014/01/09 * * Example of Class Declaration * 1. Modifiers such as public, private, and a number of others that you will * encounter later. * 2. The class name, with the initial letter capitalized by convention. * 3. The name of the...
Add Javadoc for Class Declaration.
Add Javadoc for Class Declaration.
Java
unknown
vsamov/java-technologies,valerysamovich/java-technologies,vsamov/java-technologies
85f65087ef0fbf2407d964ef165e29b00535525a
src/main/java/edu/jhu/hlt/utilt/sys/SystemErrDisabler.java
src/main/java/edu/jhu/hlt/utilt/sys/SystemErrDisabler.java
/* * Copyright 2012-2015 Johns Hopkins University HLTCOE. All rights reserved. * See LICENSE in the project root directory. */ package edu.jhu.hlt.utilt.sys; import java.io.OutputStream; import java.io.PrintStream; /** * Disable/enable System.err calls. * <br><br> * Mainly used to quiet the large amount of outp...
/* * Copyright 2012-2015 Johns Hopkins University HLTCOE. All rights reserved. * See LICENSE in the project root directory. */ package edu.jhu.hlt.utilt.sys; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.nio.charset.Stan...
Refactor into a named static inner class. Depend upon UTF-8 encoding for proper handling of text.
Refactor into a named static inner class. Depend upon UTF-8 encoding for proper handling of text.
Java
apache-2.0
maxthomas/utilt
2023a741ba00a8e74235db9aaf0cd5aa3ee59859
console/src/test/java/de/marza/firstspirit/modules/logging/console/utilities/ClipboardAccessTest.java
console/src/test/java/de/marza/firstspirit/modules/logging/console/utilities/ClipboardAccessTest.java
package de.marza.firstspirit.modules.logging.console.utilities; import org.junit.Before; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; public class ClipboardAccessTest { private ClipboardAccess testling; @Before public void setUp() throws Exceptio...
package de.marza.firstspirit.modules.logging.console.utilities; import org.junit.Before; import org.junit.Test; import java.awt.GraphicsEnvironment; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assume.assumeFalse; public class ClipboardAccessTest { ...
Disable test in headless environments
Disable test in headless environments
Java
mit
zaplatynski/second-hand-log
6afeca88caaa3b18a400e19a6e4085ed4dc23baa
src/main/java/com/github/aureliano/verbum_domini/dao/IDao.java
src/main/java/com/github/aureliano/verbum_domini/dao/IDao.java
package com.github.aureliano.verbum_domini.dao; import java.io.Serializable; import java.util.List; public interface IDao<T> { public List<T> list(); public T load(Serializable id); }
package com.github.aureliano.verbum_domini.dao; import java.io.Serializable; import java.util.List; import com.github.aureliano.verbum_domini.web.ServiceParams; public interface IDao<T> { public abstract List<Pagination<T>> list(); public abstract List<Pagination<T>> list(T filter); public abstract List<Pagi...
Prepare data access object interface.
Prepare data access object interface.
Java
mit
aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini
56767c871ec5ed7c23956810b4a75f873deff03b
play-application/app/controllers/Application.java
play-application/app/controllers/Application.java
package controllers; import play.*; import play.mvc.*; import views.html.*; public class Application extends Controller { public static Result index() { return ok(index.render("Your new application is ready.")); } }
package controllers; import java.lang.management.ManagementFactory; import java.util.List; import play.*; import play.mvc.*; import views.html.*; public class Application extends Controller { public static Result index() { List<String> inputArguments = ManagementFactory.getRuntimeMXBean().getInputArgume...
Return JVM input parameters from Play application
Return JVM input parameters from Play application [#52708279]
Java
apache-2.0
cloudfoundry/java-test-applications,cloudfoundry/java-test-applications
6a8c3ce1b0ce3b5e8b9db9f588df76f5a229b4fa
src/test/java/working/TagsDisplayNamesAndDependencyInjectionTests.java
src/test/java/working/TagsDisplayNamesAndDependencyInjectionTests.java
package working; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import playground.FastTest; class TagsDisplayNamesAndDependencyInjectionTests { // --include-tag fast // --exclude-tag fast // @Test // @Tag("fast") @FastTest @DisplayName("Fas...
package working; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import playground.FastTest; class TagsDisplayNamesAndDependencyInjectionTests { // --include-tag fast // --exclude-tag fast // @Test // @Tag("f...
Update based on live coding
Update based on live coding
Java
apache-2.0
sbrannen/junit5-demo
7475172882df835830a696bf460fb29bc22973d8
app/src/main/java/com/nilhcem/droidcontn/core/dagger/module/DatabaseModule.java
app/src/main/java/com/nilhcem/droidcontn/core/dagger/module/DatabaseModule.java
package com.nilhcem.droidcontn.core.dagger.module; import android.app.Application; import android.database.sqlite.SQLiteOpenHelper; import com.nilhcem.droidcontn.data.database.DbOpenHelper; import com.squareup.sqlbrite.BriteDatabase; import com.squareup.sqlbrite.SqlBrite; import javax.inject.Singleton; import dagge...
package com.nilhcem.droidcontn.core.dagger.module; import android.app.Application; import android.database.sqlite.SQLiteOpenHelper; import com.nilhcem.droidcontn.data.database.DbOpenHelper; import com.squareup.sqlbrite.BriteDatabase; import com.squareup.sqlbrite.SqlBrite; import javax.inject.Singleton; import dagge...
Replace lambda with a method reference
Replace lambda with a method reference
Java
apache-2.0
Nilhcem/droidcontn-2016,Nilhcem/droidcontn-2016,Nilhcem/droidconae-2016,Nilhcem/droidcontn-2016,Nilhcem/droidconae-2016,Nilhcem/droidconae-2016,Nilhcem/droidcontn-2016,Nilhcem/droidconae-2016
bb96c5a1ecbb6bce0445744d07b8184d29a21501
gateway/src/test/java/com/continuuity/gateway/router/SuccessTokenValidator.java
gateway/src/test/java/com/continuuity/gateway/router/SuccessTokenValidator.java
package com.continuuity.gateway.router; import com.continuuity.security.auth.TokenState; import com.continuuity.security.auth.TokenValidator; import com.google.common.util.concurrent.AbstractService; /** * Simple {@link com.continuuity.security.auth.TokenValidator} implementation for test cases, which always * retu...
package com.continuuity.gateway.router; import com.continuuity.security.auth.TokenState; import com.continuuity.security.auth.TokenValidator; import com.google.common.util.concurrent.AbstractService; /** * Simple {@link com.continuuity.security.auth.TokenValidator} implementation for test cases, which always * retu...
Fix start & stop handling of test TokenValidator
Fix start & stop handling of test TokenValidator
Java
apache-2.0
chtyim/cdap,hsaputra/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,chtyim/cdap,caskdata/cdap,chtyim/cdap,chtyim/cdap,anthcp/cdap,caskdata/cdap,hsaputra/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,caskdata/cdap,hsaputra/cdap,mpouttuclarke/cdap,caskdata/cdap,anthcp/cdap,hsaputra/cdap,mpouttuclarke/cdap,anthcp/cdap,cht...
c74d3865401f354e850e368f65e6245d59b5637a
test/unit/edu/northwestern/bioinformatics/studycalendar/web/schedule/ScheduleReconsentCommandTest.java
test/unit/edu/northwestern/bioinformatics/studycalendar/web/schedule/ScheduleReconsentCommandTest.java
package edu.northwestern.bioinformatics.studycalendar.web.schedule; import edu.northwestern.bioinformatics.studycalendar.service.StudyService; import edu.northwestern.bioinformatics.studycalendar.testing.StudyCalendarTestCase; import gov.nih.nci.cabig.ctms.lang.DateTools; import gov.nih.nci.cabig.ctms.lang.NowFactory;...
package edu.northwestern.bioinformatics.studycalendar.web.schedule; import edu.northwestern.bioinformatics.studycalendar.service.StudyService; import edu.northwestern.bioinformatics.studycalendar.testing.StudyCalendarTestCase; import gov.nih.nci.cabig.ctms.lang.DateTools; import gov.nih.nci.cabig.ctms.lang.NowFactory;...
Fix broken test.. was testing the old way of validation of the reconsent command.
Fix broken test.. was testing the old way of validation of the reconsent command.
Java
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
d1771cd7f00b56b898e8eab54be039c484b16ddb
src/main/java/com/beust/jcommander/MissingCommandException.java
src/main/java/com/beust/jcommander/MissingCommandException.java
/** * Copyright (C) 2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
/** * Copyright (C) 2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
Use the `this` constructor as suggested by @cbeust
Use the `this` constructor as suggested by @cbeust This makes constructors more maintainable: one constructor does the processing.
Java
apache-2.0
cbeust/jcommander,selliera/jcommander,selliera/jcommander,cbeust/jcommander,cbeust/jcommander,selliera/jcommander
3c99ef3f99c3f3188e8afbd7fdbe984877363865
allure-report/allure-report-data/src/main/java/ru/yandex/qatools/allure/data/utils/AllureReportUtils.java
allure-report/allure-report-data/src/main/java/ru/yandex/qatools/allure/data/utils/AllureReportUtils.java
package ru.yandex.qatools.allure.data.utils; import com.fasterxml.jackson.databind.AnnotationIntrospector; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.TypeFactory; import com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector; import ru.yandex.qatools.allure.dat...
package ru.yandex.qatools.allure.data.utils; import com.fasterxml.jackson.databind.AnnotationIntrospector; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.TypeFactory; import com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector; import ru.yandex.qatools.allure.dat...
Use UTF-8 while write testcases json
Use UTF-8 while write testcases json
Java
apache-2.0
allure-framework/allure1,allure-framework/allure1,allure-framework/allure-core,allure-framework/allure-core,wuhuizuo/allure-core,wuhuizuo/allure-core,wuhuizuo/allure-core,allure-framework/allure-core,wuhuizuo/allure-core,allure-framework/allure-core,allure-framework/allure1,allure-framework/allure1
8e6634a9b89724d42f2d38c1070671ec2b3fa81b
nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/RootDefinitionsHelper.java
nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/RootDefinitionsHelper.java
package org.nuxeo.drive.service.impl; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.nuxeo.ecm.core.api.IdRef; public class RootDefinitionsHelper { private RootDefinitionsHelper() { // Utility c...
package org.nuxeo.drive.service.impl; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.nuxeo.ecm.core.api.IdRef; /** * Helper to handle synchronization root definitions. * * @author Antoine Taillefer */ pu...
Fix Sonar Major violation: Javadoc Type
NXP-11577: Fix Sonar Major violation: Javadoc Type
Java
lgpl-2.1
loopingz/nuxeo-drive,rsoumyassdi/nuxeo-drive,arameshkumar/nuxeo-drive,loopingz/nuxeo-drive,IsaacYangSLA/nuxeo-drive,arameshkumar/nuxeo-drive,loopingz/nuxeo-drive,arameshkumar/base-nuxeo-drive,arameshkumar/base-nuxeo-drive,arameshkumar/nuxeo-drive,arameshkumar/base-nuxeo-drive,rsoumyassdi/nuxeo-drive,loopingz/nuxeo-driv...
4dc8ac9b2e797086494ce3fa517bb23e3ee4881e
wss-agent-api/src/main/java/org/whitesource/agent/api/model/DependencyType.java
wss-agent-api/src/main/java/org/whitesource/agent/api/model/DependencyType.java
/** * Copyright (C) 2017 White Source Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * Copyright (C) 2017 White Source Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Add Alpine,Arch Linux, RPM & Debian to agents-api
Add Alpine,Arch Linux, RPM & Debian to agents-api
Java
apache-2.0
whitesource/agents,whitesource/agents
1c7e3be9fc5ee02f6043032e86a8fb0a5c15c376
src/org/cryptonit/IOBuffer.java
src/org/cryptonit/IOBuffer.java
package org.cryptonit; import javacard.framework.JCSystem; public class IOBuffer { private FileIndex index = null; private byte [] buffer = null; private short [] shorts = null; final private byte SIZE = 0x0; final private byte PATH = 0x1; final private byte OFFSET = 0x2; private boolean...
package org.cryptonit; import javacard.framework.JCSystem; public class IOBuffer { private FileIndex index = null; private byte [] buffer = null; private short [] shorts = null; final private byte SIZE = 0x0; final private byte PATH = 0x1; final private byte OFFSET = 0x2; private boolean...
Handle zero value Le in APDU
Handle zero value Le in APDU
Java
agpl-3.0
mbrossard/cryptonit-applet
ef0c591b21afc31901dbbbf2fcefaa06e413373d
src/main/java/info/u_team/u_team_core/screen/UBasicContainerScreen.java
src/main/java/info/u_team/u_team_core/screen/UBasicContainerScreen.java
package info.u_team.u_team_core.screen; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.container.Container; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.ITextComponent; public class UBasicContainerScreen<T...
package info.u_team.u_team_core.screen; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.container.Container; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.ITextComponent; public class UBasicContainerScreen<T...
Add args to ctor with size
Add args to ctor with size
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
9a58d11a971a7c51dc2f1d511662211e89f3c12b
processor/testuut/parent/src/main/java/com/instagram/common/json/annotation/processor/InterfaceParentUUT.java
processor/testuut/parent/src/main/java/com/instagram/common/json/annotation/processor/InterfaceParentUUT.java
package com.instagram.common.json.annotation.processor.parent; import com.instagram.common.json.annotation.JsonType; /** * Interface parent to test that polymorphic deserialization works. */ @JsonType( valueExtractFormatter = "com.instagram.common.json.annotation.processor.parent.InterfaceIm...
package com.instagram.common.json.annotation.processor.parent; import com.instagram.common.json.annotation.JsonType; /** * Interface parent to test that polymorphic deserialization works. */ @JsonType( valueExtractFormatter = "com.instagram.common.json.annotation.processor.parent.InterfaceIm...
Clean up formatting a bit
Clean up formatting a bit
Java
mit
Instagram/ig-json-parser,Instagram/ig-json-parser
3d818dc34b87cfff517ea2a7b14edfb077126c3d
components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java
components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.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...
Clean up use of deprecated method
[Minor] Clean up use of deprecated method Signed-off-by: Gregor Zurowski <5fdc67d2166bcdd1d3aa4ed45ea5a25e9b21bc20@zurowski.org>
Java
apache-2.0
snurmine/camel,christophd/camel,onders86/camel,anoordover/camel,akhettar/camel,Thopap/camel,apache/camel,jamesnetherton/camel,pkletsko/camel,kevinearls/camel,jonmcewen/camel,punkhorn/camel-upstream,tdiesler/camel,DariusX/camel,mcollovati/camel,curso007/camel,tdiesler/camel,jamesnetherton/camel,curso007/camel,drsquidop/...
8096da428bfe0a47c365be3c53cfa6ee821929d7
common/src/main/java/com/ptsmods/morecommands/commands/server/elevated/RenameCommand.java
common/src/main/java/com/ptsmods/morecommands/commands/server/elevated/RenameCommand.java
package com.ptsmods.morecommands.commands.server.elevated; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.arguments.StringArgumentType; import com.ptsmods.morecommands.MoreCommands; import com.ptsmods.morecommands.miscellaneous.Command; import net.minecraft.item.ItemStack; import net.minecr...
package com.ptsmods.morecommands.commands.server.elevated; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.arguments.StringArgumentType; import com.ptsmods.morecommands.MoreCommands; import com.ptsmods.morecommands.miscellaneous.Command; import com.ptsmods.morecommands.miscellaneous.MoreGame...
Check gamerule before translating formattings
Check gamerule before translating formattings
Java
cc0-1.0
PlanetTeamSpeakk/MoreCommands
a40a4ae2cc16b5fcdaee5f0ab5a8b6ad686b8956
src/pl/mn/ccsg/dialog/GenerateStructurePanel.java
src/pl/mn/ccsg/dialog/GenerateStructurePanel.java
package pl.mn.ccsg.dialog; import com.intellij.openapi.project.Project; import javax.swing.*; import java.awt.event.ActionEvent; import java.beans.PropertyChangeListener; /** * @author minidmnv */ public class GenerateStructurePanel extends JPanel { private JButton directoryChooserButton; private JTextFie...
package pl.mn.ccsg.dialog; import com.intellij.openapi.project.Project; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.beans.PropertyChangeListener; /** * @author minidmnv */ public class GenerateStructurePanel extends JPanel { private JButton direct...
Change PathButton action to action listener
Change PathButton action to action listener
Java
epl-1.0
minidmnv/StructureGenerator
19f3e5c0ffbb1235c1b3d2a1ba79b994e635543f
izpack-installer/src/main/java/com/izforge/izpack/installer/base/InstallerController.java
izpack-installer/src/main/java/com/izforge/izpack/installer/base/InstallerController.java
package com.izforge.izpack.installer.base; import com.izforge.izpack.api.data.AutomatedInstallData; import com.izforge.izpack.installer.manager.PanelManager; /** * Installer frame controller * * @author Anthonin Bonnefoy */ public class InstallerController { private InstallerFrame installerFrame; private...
package com.izforge.izpack.installer.base; import com.izforge.izpack.api.data.AutomatedInstallData; import com.izforge.izpack.installer.manager.PanelManager; import javax.swing.*; /** * Installer frame controller * * @author Anthonin Bonnefoy */ public class InstallerController { private InstallerFrame inst...
Use invokeLater for ui build
Use invokeLater for ui build
Java
apache-2.0
mtjandra/izpack,tomas-forsman/izpack,yukron/izpack,bradcfisher/izpack,codehaus/izpack,maichler/izpack,codehaus/izpack,rkrell/izpack,izpack/izpack,Helpstone/izpack,Helpstone/izpack,stenix71/izpack,optotronic/izpack,Murdock01/izpack,Helpstone/izpack,Murdock01/izpack,stenix71/izpack,bradcfisher/izpack,tomas-forsman/izpack...
f3e8e94267eefac6dead48d1b5d3259aca125d5c
src/main/java/io/katharsis/rs/parameterProvider/provider/QueryParamProvider.java
src/main/java/io/katharsis/rs/parameterProvider/provider/QueryParamProvider.java
package io.katharsis.rs.parameterProvider.provider; import java.io.IOException; import java.util.List; import javax.ws.rs.QueryParam; import javax.ws.rs.container.ContainerRequestContext; import com.fasterxml.jackson.databind.ObjectMapper; public class QueryParamProvider implements RequestContextParameterProvider {...
package io.katharsis.rs.parameterProvider.provider; import java.io.IOException; import java.util.List; import javax.ws.rs.QueryParam; import javax.ws.rs.container.ContainerRequestContext; import com.fasterxml.jackson.databind.ObjectMapper; public class QueryParamProvider implements RequestContextParameterProvider {...
Fix support for multiple values for a single parameter.
Fix support for multiple values for a single parameter.
Java
apache-2.0
apetrucci/katharsis-framework,katharsis-project/katharsis-framework,apetrucci/katharsis-framework,adnovum/katharsis-framework,katharsis-project/katharsis-framework,adnovum/katharsis-framework,dustinstanley/katharsis-framework,apetrucci/katharsis-framework,katharsis-project/katharsis-framework,dustinstanley/katharsis-fr...
a64c5b45be8395cae798a851d3428afdab3e08ec
modules/gui/src/com/haulmont/timesheets/gui/extuser/ExtUserEdit.java
modules/gui/src/com/haulmont/timesheets/gui/extuser/ExtUserEdit.java
/* * Copyright (c) 2015 com.haulmont.ts.gui.entities */ package com.haulmont.timesheets.gui.extuser; import com.haulmont.cuba.gui.app.security.user.edit.UserEditor; import com.haulmont.timesheets.entity.ExtUser; import com.haulmont.timesheets.global.WorkConfigBean; import javax.inject.Inject; /** * @author gorelo...
/* * Copyright (c) 2015 com.haulmont.ts.gui.entities */ package com.haulmont.timesheets.gui.extuser; import com.haulmont.cuba.gui.app.security.user.edit.UserEditor; import com.haulmont.cuba.security.entity.User; import com.haulmont.timesheets.entity.ExtUser; import com.haulmont.timesheets.global.WorkTimeConfigBean; ...
Move user defaults to initNewItem
Move user defaults to initNewItem
Java
apache-2.0
Haulmont/platform-sample-timesheets,cuba-platform/sample-timesheets,Haulmont/platform-sample-timesheets,cuba-platform/sample-timesheets
9aaa4d555cde96950cdf08394d4c1cd08124782e
predictor/src/com/github/atorr0/predictor/statistics/Statistics.java
predictor/src/com/github/atorr0/predictor/statistics/Statistics.java
package com.github.atorr0.predictor.statistics; import java.util.ArrayList; import java.util.List; /** * Simple stats. for hits & misses. * * @author https://github.com/atorr0 */ public class Statistics { protected final List<Long> missesList = new ArrayList<>(); protected long hits = 0, misses ...
package com.github.atorr0.predictor.statistics; import java.util.ArrayList; import java.util.List; /** * Simple stats. for hits & misses. * * @author https://github.com/atorr0 */ public class Statistics { protected final List<Long> missesList = new ArrayList<>(); protected long misses = 0; p...
UPDATE remove hit counts + FIX hit ratio was wrongly calculated
UPDATE remove hit counts + FIX hit ratio was wrongly calculated
Java
apache-2.0
atorr0/predictor
78fcadb41808b1ab9e3dae7c78d8ee5a8c2f36aa
presto-main/src/main/java/com/facebook/presto/cli/Help.java
presto-main/src/main/java/com/facebook/presto/cli/Help.java
package com.facebook.presto.cli; public final class Help { private Help() {} public static String getHelpText() { return "" + "Supported commands:\n" + "QUIT\n" + "DESCRIBE <table>\n" + "SHOW COLUMNS FROM <table>\n" + ...
package com.facebook.presto.cli; public final class Help { private Help() {} public static String getHelpText() { return "" + "Supported commands:\n" + "QUIT\n" + "DESCRIBE <table>\n" + "SHOW COLUMNS FROM <table>\n" + ...
Add full syntax for SHOW TABLES to help
Add full syntax for SHOW TABLES to help
Java
apache-2.0
bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto
bef37803384b1521419559c99f0606d0616d9d4f
1.11.2/src/main/java/org/yggard/brokkgui/wrapper/event/SlotEvent.java
1.11.2/src/main/java/org/yggard/brokkgui/wrapper/event/SlotEvent.java
package org.yggard.brokkgui.wrapper.event; import org.yggard.brokkgui.wrapper.container.BrokkGuiContainer; import org.yggard.hermod.EventType; import org.yggard.hermod.HermodEvent; import net.minecraft.inventory.Slot; /** * @author Ourten 31 oct. 2016 */ public class SlotEvent extends HermodEvent { public stat...
package org.yggard.brokkgui.wrapper.event; import org.yggard.brokkgui.wrapper.container.BrokkGuiContainer; import org.yggard.hermod.EventType; import org.yggard.hermod.HermodEvent; import net.minecraft.inventory.Slot; /** * @author Ourten 31 oct. 2016 */ public class SlotEvent extends HermodEvent { public stat...
Add a slot change event
Add a slot change event
Java
apache-2.0
Phenix246/BrokkGUI,Yggard/BrokkGUI
ef8627f14102a8a2b6f692e49d3d3e3d9cb29a01
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; 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...
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 note that Java 8 provides some kind of duck typing
Add note that Java 8 provides some kind of duck typing
Java
apache-2.0
schleichardt/java-8-training
4c4e9c2c624fdaf7671165fb5b6c73c118cfc7b0
jeve/src/main/java/de/skuzzle/jeve/builder/ConfiguratorImpl.java
jeve/src/main/java/de/skuzzle/jeve/builder/ConfiguratorImpl.java
package de.skuzzle.jeve.builder; import java.util.function.Supplier; import de.skuzzle.jeve.ListenerStore; import de.skuzzle.jeve.providers.SynchronousEventProvider; import de.skuzzle.jeve.stores.DefaultListenerStore; /** * Default implementation of jeve's fluent builder API. * * @author Simon Taddiken */ public...
package de.skuzzle.jeve.builder; import java.util.function.Supplier; import de.skuzzle.jeve.ListenerStore; import de.skuzzle.jeve.providers.SynchronousEventProvider; import de.skuzzle.jeve.stores.DefaultListenerStore; /** * Default implementation of jeve's fluent builder API. * * @author Simon Taddiken * @since ...
Add since tag to javadoc
Add since tag to javadoc
Java
mit
skuzzle/jeve
cc68ef697b1546a3b1da59df2598dfd060e5e288
src/de/cketti/holocolorpicker/demo/AboutDialogFragment.java
src/de/cketti/holocolorpicker/demo/AboutDialogFragment.java
package de.cketti.holocolorpicker.demo; import com.actionbarsherlock.app.SherlockDialogFragment; import android.app.Dialog; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
package de.cketti.holocolorpicker.demo; import com.actionbarsherlock.app.SherlockDialogFragment; import android.app.AlertDialog; import android.app.Dialog; import android.app.AlertDialog.Builder; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.Lay...
Add "Ok" button to about dialog
Add "Ok" button to about dialog
Java
apache-2.0
cketti/HoloColorPicker_demo
377671de4e2e5aa0660ddf890ecb973c5cbe6eb2
src/main/java/com/sunny/grokkingalgorithms/refresh/ctci/arraysandstrings/UniqueCharactersInString.java
src/main/java/com/sunny/grokkingalgorithms/refresh/ctci/arraysandstrings/UniqueCharactersInString.java
package com.sunny.grokkingalgorithms.refresh.ctci.arraysandstrings; import java.util.HashSet; import java.util.Set; public class UniqueCharactersInString { /* Determine if all characters in a string are unique. */ /** * * @param input * @return */ public static boolean areCh...
package com.sunny.grokkingalgorithms.refresh.ctci.arraysandstrings; import java.util.HashSet; import java.util.Set; public class UniqueCharactersInString { /* Determine if all characters in a string are unique. */ /** * * @param input * @return */ public static boolean areCh...
Check if string is composed of unique characters without using extra space. O(N.pow(2))
Check if string is composed of unique characters without using extra space. O(N.pow(2))
Java
mit
sunnydas/grokkingalgos,sunnydas/grokkingalgos
f61a1be8030cdad09c86dbcc391ad3cddc68a208
src/main/java/com/ezardlabs/dethsquare/AudioSource.java
src/main/java/com/ezardlabs/dethsquare/AudioSource.java
package com.ezardlabs.dethsquare; import com.ezardlabs.dethsquare.util.Utils; public final class AudioSource extends Component { private int current = -1; public void play(AudioClip audioClip) { if (current != -1) Utils.stopAudio(audioClip.id); Utils.playAudio(current = audioClip.id, audioClip.path); } publ...
package com.ezardlabs.dethsquare; import com.ezardlabs.dethsquare.util.Utils; import java.util.Timer; import java.util.TimerTask; public final class AudioSource extends Component { private final AudioClip initial; private int current = -1; private boolean loop; private int volume; public AudioSource() { this...
Add ability to change playback details (loop/volume) of audio
Add ability to change playback details (loop/volume) of audio
Java
mit
8-Bit-Warframe/Dethsquare-Engine-core
d6dae5a3d50df8bc3ef99be4793245771a28def2
core/src/main/java/net/jselby/escapists/data/chunks/LayerEffects.java
core/src/main/java/net/jselby/escapists/data/chunks/LayerEffects.java
package net.jselby.escapists.data.chunks; import net.jselby.escapists.data.Chunk; import net.jselby.escapists.util.ByteReader; /** * The LayerEffects chunk is a set of LayerEffects applied on a particular layer. */ public class LayerEffects extends Chunk { @Override public void init(ByteReader buffer, int l...
package net.jselby.escapists.data.chunks; import net.jselby.escapists.data.Chunk; import net.jselby.escapists.util.ByteReader; /** * The LayerEffects chunk is a set of LayerEffects applied on a particular layer. */ public class LayerEffects extends Chunk { @Override public void init(ByteReader buffer, int l...
Make inkEffect values public (used for later)
Make inkEffect values public (used for later)
Java
mit
j-selby/EscapistsRuntime,j-selby/EscapistsRuntime
bf0b85c1eb97be5b0e7033f9e3362fd0bd06130b
src/com/xrtb/tests/TestDeadmanSwitch.java
src/com/xrtb/tests/TestDeadmanSwitch.java
package com.xrtb.tests; import static org.junit.Assert.*; import org.junit.Test; import redis.clients.jedis.Jedis; import com.xrtb.bidder.DeadmanSwitch; import com.xrtb.common.Configuration; public class TestDeadmanSwitch { @Test public void testSwitch() throws Exception { Jedis redis = new Jedis("localhost...
package com.xrtb.tests; import static org.junit.Assert.*; import org.junit.Test; import redis.clients.jedis.Jedis; import com.xrtb.bidder.DeadmanSwitch; import com.xrtb.common.Configuration; public class TestDeadmanSwitch { @Test public void testSwitch() throws Exception { Jedis redis = new Jedis("localhost...
Add password auth when configured on RTB
Add password auth when configured on RTB
Java
apache-2.0
benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB
cdc4693d892f0b1138f71540293c9a463c45b21e
src/main/java/science/atlarge/graphalytics/neo4j/Neo4jConfiguration.java
src/main/java/science/atlarge/graphalytics/neo4j/Neo4jConfiguration.java
/* * Copyright 2015 Delft University of Technology * * 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 appli...
/* * Copyright 2015 Delft University of Technology * * 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 appli...
Replace deprecated usage of 'DynamicRelationshipType'
Replace deprecated usage of 'DynamicRelationshipType'
Java
apache-2.0
tudelft-atlarge/graphalytics-platforms-neo4j,tudelft-atlarge/graphalytics-platforms-neo4j
531d2370cde5f7a103c4d6897e596640fb9cc176
src/main/java/in/ac/amu/zhcet/data/model/base/user/UserAuth.java
src/main/java/in/ac/amu/zhcet/data/model/base/user/UserAuth.java
package in.ac.amu.zhcet.data.model.base.user; import in.ac.amu.zhcet.data.model.base.entity.BaseEntity; import lombok.*; import org.hibernate.annotations.DynamicUpdate; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; import ...
package in.ac.amu.zhcet.data.model.base.user; import in.ac.amu.zhcet.data.model.base.entity.BaseEntity; import lombok.*; import org.hibernate.annotations.DynamicUpdate; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; import ...
Use concatenated string for user roles
feat: Use concatenated string for user roles
Java
apache-2.0
zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web
d3abed4b7d06adef5955d22db896e9185519b7a4
src/main/java/com/cisco/trex/stl/gui/controllers/capture/PortFilterController.java
src/main/java/com/cisco/trex/stl/gui/controllers/capture/PortFilterController.java
package com.cisco.trex.stl.gui.controllers.capture; import com.exalttech.trex.ui.PortsManager; import com.exalttech.trex.util.Initialization; import javafx.fxml.FXML; import javafx.scene.layout.HBox; import org.controlsfx.control.CheckComboBox; import java.util.List; import static java.util.stream.Collectors.toList;...
package com.cisco.trex.stl.gui.controllers.capture; import com.exalttech.trex.ui.PortsManager; import com.exalttech.trex.ui.models.Port; import com.exalttech.trex.util.Initialization; import javafx.fxml.FXML; import javafx.scene.layout.HBox; import org.controlsfx.control.CheckComboBox; import java.util.List; import ...
Update port filter on each service mode change
Update port filter on each service mode change
Java
apache-2.0
cisco-system-traffic-generator/trex-stateless-gui,cisco-system-traffic-generator/trex-stateless-gui
fffc132f220e49456ed58759e4c13bc57f799b55
src/main/java/org/cyclops/cyclopscore/recipe/type/InventoryFluid.java
src/main/java/org/cyclops/cyclopscore/recipe/type/InventoryFluid.java
package org.cyclops.cyclopscore.recipe.type; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.CraftingContainer; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.item.ItemStack; import net.minecraft.core.NonNullList; import net.minecraftforge.f...
package org.cyclops.cyclopscore.recipe.type; import net.minecraft.core.NonNullList; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.inventory.CraftingContainer; import net.minecraft.world.item.ItemStack; import net.minecraftforge.f...
Fix crash when simulating drying basin craft in ID
Fix crash when simulating drying basin craft in ID Closes CyclopsMC/IntegratedDynamics#1134
Java
mit
CyclopsMC/CyclopsCore
05a867e71bdadc5c3163ddc8ad0810ae9cb43a7c
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/AbstractEntityModel.java
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/AbstractEntityModel.java
package devopsdistilled.operp.client.abstracts; import java.io.Serializable; import java.util.LinkedList; import java.util.List; import devopsdistilled.operp.server.data.entity.Entiti; import devopsdistilled.operp.server.data.service.EntityService; public abstract class AbstractEntityModel<E extends Entiti, ES exten...
package devopsdistilled.operp.client.abstracts; import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.LinkedList; import java.util.List; import devopsdistilled.operp.server.data.entity.Entiti; import devopsdistilled.operp.server.data.service...
Add abstract getObserverClass() and use it for dynamic updateMethods() invocation
Add abstract getObserverClass() and use it for dynamic updateMethods() invocation OPEN - task 33: Problem with EntityModelObserver architecture http://github.com/DevOpsDistilled/OpERP/issues/issue/33 updateMethods() are methods in EntityObservers like "updateItems(List)"
Java
mit
DevOpsDistilled/OpERP,njmube/OpERP
0612b1029ddbbcf60a426a48501b6ab7d9c08ce6
app/src/main/java/ca/antonious/habittracker/EditTextFragment.java
app/src/main/java/ca/antonious/habittracker/EditTextFragment.java
package ca.antonious.habittracker; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v7.app.AlertDialog; import android.widget.EditText; /** * Created by George on 2016-09-03. */ public class EditTextFrag...
package ca.antonious.habittracker; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.widget.EditText; /** * Created by George on 2016-09-03. */ public class EditTextFragment extend...
Change alert dialog import so it uses theme
Change alert dialog import so it uses theme
Java
mit
gantonious/as1
8cd317b1afa75e7ee40614544dc6ac665f737634
test/src/main/java/org/bouncycastle/test/est/examples/SuffixList.java
test/src/main/java/org/bouncycastle/test/est/examples/SuffixList.java
package org.bouncycastle.test.est.examples; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; class SuffixList { static Set<String> loadSuffixes(String file) ...
package org.bouncycastle.test.est.examples; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; class SuffixList { static Set<String> loadSuffixes(String file) ...
Remove any leading '*.' that may be present in the suffix list.
Remove any leading '*.' that may be present in the suffix list.
Java
mit
bcgit/bc-java,bcgit/bc-java,bcgit/bc-java
82e77d3ef2e12db9d056b057c4dace88fa8057d6
gui/src/main/java/org/jboss/as/console/client/widgets/tree/GroupItem.java
gui/src/main/java/org/jboss/as/console/client/widgets/tree/GroupItem.java
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.user.client.ui.TreeItem; public class GroupItem extends TreeItem { public GroupItem(String title) { super(); setText(title); getElement().setAttribute("style", "cursor:pointer;"); } @Override public void...
package org.jboss.as.console.client.widgets.tree; import com.google.gwt.user.client.ui.TreeItem; public class GroupItem extends TreeItem { private final static String ID_PREFIX = "nav_group_item_"; public GroupItem(String title) { super(); setText(title); getElement().setId(ID_PREFI...
Add IDs for group navigation items
HAL-301: Add IDs for group navigation items
Java
lgpl-2.1
hal/core,hal/core,hal/core,hal/core,hal/core
9030cad97647fc8924b430b6fba5e0a44e59133a
transpiler/java/com/google/j2cl/ast/processors/common/ProcessorError.java
transpiler/java/com/google/j2cl/ast/processors/common/ProcessorError.java
/* * Copyright 2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Make sure context is not printed twice in processor exceptions
Make sure context is not printed twice in processor exceptions PiperOrigin-RevId: 307466258
Java
apache-2.0
google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl
101861d838930b967a2500dcf943fb5c62334c6c
manage-server/src/test/java/manage/validations/XMLFormatValidatorTest.java
manage-server/src/test/java/manage/validations/XMLFormatValidatorTest.java
package manage.validations; import manage.TestUtils; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class XMLFormatValidatorTest implements TestUtils { private XMLFormatValidator subject = new XMLFormatValidator(); @Test public void ...
package manage.validations; import manage.TestUtils; import org.junit.Test; import static org.junit.Assert.*; public class XMLFormatValidatorTest implements TestUtils { private XMLFormatValidator subject = new XMLFormatValidator(); @Test public void validate() throws Exception { assertTrue(subj...
Resolve XXE vulnerability in XML validation - add test
Resolve XXE vulnerability in XML validation - add test
Java
apache-2.0
OpenConext/OpenConext-manage,OpenConext/OpenConext-manage,OpenConext/OpenConext-manage
859a02e90db0c92e70848d7558f6517f7b236308
presto-main/src/test/java/com/facebook/presto/operator/PageAssertions.java
presto-main/src/test/java/com/facebook/presto/operator/PageAssertions.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...
Check position count in Block and Page assertions
Check position count in Block and Page assertions
Java
apache-2.0
yuananf/presto,haozhun/presto,losipiuk/presto,hgschmie/presto,wyukawa/presto,Teradata/presto,ptkool/presto,prestodb/presto,wyukawa/presto,sopel39/presto,aramesh117/presto,electrum/presto,prestodb/presto,prestodb/presto,Praveen2112/presto,hgschmie/presto,miniway/presto,smartnews/presto,arhimondr/presto,dain/presto,elona...
b5e887b938263fc4094fe46043d4fd9a4e83a49e
src/main/java/edu/hm/hafner/shareit/util/AssertionFailedException.java
src/main/java/edu/hm/hafner/shareit/util/AssertionFailedException.java
package edu.hm.hafner.shareit.util; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.CheckForNull; /** * Thrown to indicate that a contract assertion check has been failed. * * @author Ulli Hafner */ public final class AssertionFailedException extends RuntimeEx...
package edu.hm.hafner.shareit.util; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.CheckForNull; /** * Thrown to indicate that a contract assertion check has been failed. * * @author Ulli Hafner */ public final class AssertionFailedException extends IllegalAr...
Make AFE sub type of IAE.
Make AFE sub type of IAE.
Java
mit
uhafner/shareit
6711d7c798bb2aa0cc6305c157d8f8931cfb9eb8
src/main/java/org/gbif/portal/struts/freemarker/GbifFreemarkerManager.java
src/main/java/org/gbif/portal/struts/freemarker/GbifFreemarkerManager.java
package org.gbif.portal.struts.freemarker; import javax.servlet.ServletContext; import freemarker.template.TemplateException; import freemarker.template.TemplateExceptionHandler; import org.apache.struts2.views.freemarker.FreemarkerManager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class GbifFr...
package org.gbif.portal.struts.freemarker; import java.util.Locale; import javax.servlet.ServletContext; import freemarker.template.TemplateException; import freemarker.template.TemplateExceptionHandler; import org.apache.struts2.views.freemarker.FreemarkerManager; import org.slf4j.Logger; import org.slf4j.LoggerFact...
Fix FreeMarker locale, so we don't get . as a thousands separator.
Fix FreeMarker locale, so we don't get . as a thousands separator.
Java
apache-2.0
gbif/portal-web,gbif/portal-web,gbif/portal-web
5911058ed7b2dffeee623df99eb4a9abf4de675f
axelor-base/src/main/java/com/axelor/apps/base/web/YearController.java
axelor-base/src/main/java/com/axelor/apps/base/web/YearController.java
package com.axelor.apps.base.web; import com.axelor.apps.base.db.Year; import com.axelor.apps.base.service.YearService; import com.axelor.exception.AxelorException; import com.axelor.exception.service.TraceBackService; import com.axelor.inject.Beans; import com.axelor.rpc.ActionRequest; import com.axelor.rpc.ActionRes...
package com.axelor.apps.base.web; import com.axelor.apps.base.db.Year; import com.axelor.apps.base.service.YearService; import com.axelor.exception.AxelorException; import com.axelor.exception.service.TraceBackService; import com.axelor.inject.Beans; import com.axelor.rpc.ActionRequest; import com.axelor.rpc.ActionRes...
Apply spotless java google code format
Apply spotless java google code format
Java
agpl-3.0
axelor/axelor-business-suite,axelor/axelor-business-suite,axelor/axelor-business-suite
e10f4676b8ebc84ad21fa73c805304672e683e0e
core/src/main/java/org/axonframework/config/ConfigurerModule.java
core/src/main/java/org/axonframework/config/ConfigurerModule.java
package org.axonframework.config; /** * Interface describing a configurer for a module in the Axon Configuration API. Allows the registration of modules on * the {@link org.axonframework.config.Configurer} like the {@link org.axonframework.monitoring.MessageMonitor}. * * @author Steven van Beelen * @since 3.2 * ...
/* * Copyright (c) 2010-2018. Axon Framework * * 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 o...
Replace the noOp constant for a noOp static function
Replace the noOp constant for a noOp static function Replace the noOp constant for a noOp static function #488
Java
apache-2.0
AxonFramework/AxonFramework,krosenvold/AxonFramework
b43a052ce311e37d30b09b3681f596c6acad9f94
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/launch/ICeylonLaunchConfigurationConstants.java
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/launch/ICeylonLaunchConfigurationConstants.java
package com.redhat.ceylon.eclipse.core.launch; import static com.redhat.ceylon.eclipse.ui.CeylonPlugin.PLUGIN_ID; import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; public interface ICeylonLaunchConfigurationConstants extends IJavaLaunchConfigurationConstants { /** * Identifier for ...
package com.redhat.ceylon.eclipse.core.launch; import static com.redhat.ceylon.eclipse.ui.CeylonPlugin.PLUGIN_ID; import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; public interface ICeylonLaunchConfigurationConstants extends IJavaLaunchConfigurationConstants { /** * Identifier for ...
Add some constants for the JS launcher
Add some constants for the JS launcher
Java
epl-1.0
rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse
87bf34f73db4a8481205b4cdfaaf72d9a393e60c
src/main/java/co/phoenixlab/discord/commands/CommandUtil.java
src/main/java/co/phoenixlab/discord/commands/CommandUtil.java
package co.phoenixlab.discord.commands; import co.phoenixlab.discord.MessageContext; import co.phoenixlab.discord.api.entities.Channel; import co.phoenixlab.discord.api.entities.Message; import co.phoenixlab.discord.api.entities.User; public class CommandUtil { static User findUser(MessageContext context, String...
package co.phoenixlab.discord.commands; import co.phoenixlab.discord.MessageContext; import co.phoenixlab.discord.api.entities.Channel; import co.phoenixlab.discord.api.entities.Message; import co.phoenixlab.discord.api.entities.User; public class CommandUtil { static User findUser(MessageContext context, String...
Add ability to reference users by ID
Add ability to reference users by ID
Java
mit
vincentzhang96/VahrhedralBot
81b0d783db5e2d6163164cc48750e53b7c05c185
src/main/java/com/vaguehope/onosendai/provider/TaskUtils.java
src/main/java/com/vaguehope/onosendai/provider/TaskUtils.java
package com.vaguehope.onosendai.provider; import twitter4j.TwitterException; public final class TaskUtils { private TaskUtils () { throw new AssertionError(); } public static String getEmsg(final Exception e) { if (e instanceof TwitterException) { final TwitterException te = (TwitterException) e; retur...
package com.vaguehope.onosendai.provider; import twitter4j.TwitterException; public final class TaskUtils { private TaskUtils () { throw new AssertionError(); } public static String getEmsg(final Exception e) { if (e instanceof TwitterException) { final TwitterException te = (TwitterException) e; if (t...
Fix displaying TwitterException when twitter unreachable.
Fix displaying TwitterException when twitter unreachable.
Java
apache-2.0
haku/Onosendai,haku/Onosendai
0347713bfa561f3fd2f25e39c4bcf74460966960
src/main/java/no/uio/ifi/trackfind/backend/services/VersioningService.java
src/main/java/no/uio/ifi/trackfind/backend/services/VersioningService.java
package no.uio.ifi.trackfind.backend.services; import org.apache.commons.collections4.CollectionUtils; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.lib.Ref; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
package no.uio.ifi.trackfind.backend.services; import org.apache.commons.collections4.CollectionUtils; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.lib.Ref; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
Implement versioned crawling and remapping.
Implement versioned crawling and remapping.
Java
mit
elixir-no-nels/trackfind,elixir-no-nels/trackfind,elixir-no-nels/trackfind
b1033a632d2500d75cc3f279a7f154b5b8808bc0
github-pullrequest-plugin/src/main/java/com/github/kostyasha/github/integration/multibranch/handler/GitHubHandlerDescriptor.java
github-pullrequest-plugin/src/main/java/com/github/kostyasha/github/integration/multibranch/handler/GitHubHandlerDescriptor.java
package com.github.kostyasha.github.integration.multibranch.handler; import hudson.DescriptorExtensionList; import hudson.model.Descriptor; import jenkins.model.Jenkins; /** * @author Kanstantsin Shautsou */ public abstract class GitHubHandlerDescriptor extends Descriptor<GitHubHandler> { public static Descript...
package com.github.kostyasha.github.integration.multibranch.handler; import hudson.DescriptorExtensionList; import hudson.ExtensionPoint; import hudson.model.Descriptor; import jenkins.model.Jenkins; /** * @author Kanstantsin Shautsou */ public abstract class GitHubHandlerDescriptor extends Descriptor<GitHubHandler...
Fix symbols, by creating extensionpoint domain?
Fix symbols, by creating extensionpoint domain?
Java
mit
KostyaSha/github-integration-plugin,KostyaSha/github-integration-plugin,jenkinsci/github-pullrequest-plugin,KostyaSha/github-integration-plugin,jenkinsci/github-pullrequest-plugin,jenkinsci/github-pullrequest-plugin,jenkinsci/github-integration-plugin,jenkinsci/github-integration-plugin,jenkinsci/github-integration-plu...
396e213347da1cda9fd3696a9da6027b41ff8b77
common/API/src/main/java/com/ptsmods/morecommands/api/miscellaneous/InvSeeScreenHandler.java
common/API/src/main/java/com/ptsmods/morecommands/api/miscellaneous/InvSeeScreenHandler.java
package com.ptsmods.morecommands.api.miscellaneous; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.Inventory; import net.minecraft.screen.GenericContainerScreenHandler; import net.minecraft.screen.ScreenHandlerType; // Cancelling slo...
package com.ptsmods.morecommands.api.miscellaneous; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.Inventory; import net.minecraft.screen.GenericContainerScreenHandler; import net.minecraft.screen.ScreenHandlerType; // Cancelling slo...
Fix invsee inventory closing when being too far away
Fix invsee inventory closing when being too far away
Java
cc0-1.0
PlanetTeamSpeakk/MoreCommands
5fd1622bf5cca13feeb9596e9d0451bb948f39dd
src/test/java/hudson/plugins/git/GitChangeLogParserTest.java
src/test/java/hudson/plugins/git/GitChangeLogParserTest.java
package hudson.plugins.git; import java.io.File; import java.io.FileWriter; import org.jvnet.hudson.test.HudsonTestCase; /** * Unit tests of {@link GitChangeLogParser} */ public class GitChangeLogParserTest extends HudsonTestCase { /** * Test duplicate changes filtered from parsed change set list. *...
package hudson.plugins.git; import java.io.File; import java.io.FileWriter; import org.jvnet.hudson.test.HudsonTestCase; /** * Unit tests of {@link GitChangeLogParser} */ public class GitChangeLogParserTest extends HudsonTestCase { /** * Test duplicate changes filtered from parsed change set list. *...
Delete sample changelog at end of test - check for open file leak
Delete sample changelog at end of test - check for open file leak JENKINS-20585 reports that changelog.xml cannot be deleted on Windows because it is held busy by a process. This test assumes that process is Jenkins itself, and that the GitChangeLogParser.parse() method is the most likely culprit.
Java
mit
ydubreuil/git-plugin,ydubreuil/git-plugin,mklein0/git-plugin,ivan-fedorov/git-plugin,nKey/git-plugin,ivan-fedorov/git-plugin,sgargan/git-plugin,recena/git-plugin,Nonymus/git-plugin,ldtkms/git-plugin,Jellyvision/git-plugin,ndeloof/git-plugin,nordstrand/git-plugin,ldtkms/git-plugin,mlgiroux/git-plugin,sgargan/git-plugin,...
e94eaefbc28978b1ed171407a70fdb1373a617cc
Jrainbuck/src/io/github/rlee287/jrainbuck/constants/Constants.java
Jrainbuck/src/io/github/rlee287/jrainbuck/constants/Constants.java
package io.github.rlee287.jrainbuck.constants; public class SwitchList { //public static final int CLASSIC_SIZE=30000; public static final String[] LIST_SWITCHES={"-file","-input","-output"}; /* 0|file MANDATORY * 1|stdin OPTIONAL * 2|stdout OPTIONAL */ }
package io.github.rlee287.jrainbuck.constants; import java.util.HashMap; public class Constants { //public static final int CLASSIC_SIZE=30000; public static final String[] LIST_SWITCHES={"-file","-input","-output"}; /* 0|file MANDATORY * 1|stdin OPTIONAL * 2|stdout OPTIONAL */ public static final Charac...
Add UVB mapping to constants
Add UVB mapping to constants
Java
apache-2.0
rlee287/jrainbuck
25653009e841c587abecb3a89f9c4d52c54a66e8
modules/citrus-core/src/main/java/com/consol/citrus/message/RawMessage.java
modules/citrus-core/src/main/java/com/consol/citrus/message/RawMessage.java
/* * Copyright 2006-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 app...
/* * Copyright 2006-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 app...
Allow empty message initialization for raw message
Allow empty message initialization for raw message
Java
apache-2.0
gucce/citrus,christophd/citrus,hmmlopez/citrus,christophd/citrus,gucce/citrus,hmmlopez/citrus,hmmlopez/citrus
0fda4066de35cb99b31e588862cff93a9f32a052
ms-engine/src/main/java/net/trajano/ms/engine/jaxrs/CommonObjectMapper.java
ms-engine/src/main/java/net/trajano/ms/engine/jaxrs/CommonObjectMapper.java
package net.trajano.ms.engine.jaxrs; import javax.ws.rs.ext.ContextResolver; import javax.ws.rs.ext.Provider; import org.springframework.stereotype.Component; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.databind.ObjectMapper; import io.vertx.core.json.Json; /** * This...
package net.trajano.ms.engine.jaxrs; import javax.annotation.Priority; import javax.ws.rs.Priorities; import javax.ws.rs.ext.ContextResolver; import javax.ws.rs.ext.Provider; import org.springframework.stereotype.Component; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.dat...
Set the priority to allow user changes
Set the priority to allow user changes
Java
epl-1.0
trajano/app-ms,trajano/app-ms,trajano/app-ms
85a527afac03efffb858b48b109ef5bebdfb22b6
src/main/java/com/google/sps/servlets/SearchServlet.java
src/main/java/com/google/sps/servlets/SearchServlet.java
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Return static response in doGet()
Return static response in doGet()
Java
apache-2.0
googleinterns/step132-2020,googleinterns/step132-2020,googleinterns/step132-2020
5f6e1645c80ba7f65aa1b010549f87efa61db14b
admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/service/persistence/module/provider/extension/MediaFieldPersistenceProviderExtensionHandler.java
admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/service/persistence/module/provider/extension/MediaFieldPersistenceProviderExtensionHandler.java
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2014 Broadleaf Commerce * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2014 Broadleaf Commerce * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
Fix promotion and approval for media fields
Fix promotion and approval for media fields
Java
apache-2.0
sitexa/BroadleafCommerce,trombka/blc-tmp,udayinfy/BroadleafCommerce,TouK/BroadleafCommerce,SerPenTeHoK/BroadleafCommerce,arshadalisoomro/BroadleafCommerce,liqianggao/BroadleafCommerce,sitexa/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,cogitoboy/BroadleafCommerce,lgscofield/BroadleafCommerce,arshadalisoomro/Broad...
f24c78b9a03798ce4fe6be89d94895765d4ed4f4
togglebuttongroup/src/main/java/com/nex3z/togglebuttongroup/MultiSelectToggleGroup.java
togglebuttongroup/src/main/java/com/nex3z/togglebuttongroup/MultiSelectToggleGroup.java
package com.nex3z.togglebuttongroup; import android.content.Context; import android.util.AttributeSet; public class MultiSelectToggleGroup extends ToggleButtonGroup { private static final String LOG_TAG = MultiSelectToggleGroup.class.getSimpleName(); public MultiSelectToggleGroup(Context context) { t...
package com.nex3z.togglebuttongroup; import android.content.Context; import android.util.AttributeSet; import java.util.Set; public class MultiSelectToggleGroup extends ToggleButtonGroup { private static final String LOG_TAG = MultiSelectToggleGroup.class.getSimpleName(); public MultiSelectToggleGroup(Conte...
Add setCheckedPositions() for multi-select case.
Add setCheckedPositions() for multi-select case.
Java
apache-2.0
nex3z/ToggleButtonGroup
7892a69ad7c0965ac66435d6470b3836a7e754d8
src/main/java/com/github/stokito/IdeaSingletonInspection/SingletonPatternInspection.java
src/main/java/com/github/stokito/IdeaSingletonInspection/SingletonPatternInspection.java
package com.github.stokito.IdeaSingletonInspection; import com.intellij.codeInspection.BaseJavaLocalInspectionTool; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.codeInspection.ui.MultipleCheckboxOptionsPanel; import com.intellij.psi.PsiElementVisitor; import org.jetbrains.annotations.NotNull;...
package com.github.stokito.IdeaSingletonInspection; import com.intellij.codeInspection.AbstractBaseJavaLocalInspectionTool; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.codeInspection.ui.MultipleCheckboxOptionsPanel; import com.intellij.psi.PsiElementVisitor; import org.jetbrains.annotations....
Use AbstractBaseJavaLocalInspectionTool instead of deprecated BaseJavaLocalInspectionTool
Use AbstractBaseJavaLocalInspectionTool instead of deprecated BaseJavaLocalInspectionTool
Java
apache-2.0
stokito/IdeaSingletonInspection,stokito/IdeaSingletonInspection,stokito/IdeaSingletonInspection
8cd6a5c580e934df2fb1e2d751b9e341534e0aa4
jenetics/src/test/java/org/jenetics/util/ContinuousRandom.java
jenetics/src/test/java/org/jenetics/util/ContinuousRandom.java
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * 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/...
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * 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/...
Remove usage of deprecated class.
Remove usage of deprecated class.
Java
apache-2.0
jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics
d2cbcacaebdbf1fe1183ad31ba39d3f92e0ce81e
puree/src/main/java/com/cookpad/puree/outputs/PureeOutput.java
puree/src/main/java/com/cookpad/puree/outputs/PureeOutput.java
package com.cookpad.puree.outputs; import com.cookpad.puree.PureeFilter; import com.cookpad.puree.storage.PureeStorage; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; public abstract class PureeOutput { protected OutputConfiguration conf; protec...
package com.cookpad.puree.outputs; import com.cookpad.puree.PureeFilter; import com.cookpad.puree.storage.PureeStorage; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; public abstract class PureeOutput { protected OutputConfiguration conf; protec...
Check OutputConfiguration for avoiding NPE
Check OutputConfiguration for avoiding NPE
Java
mit
tomoima525/puree-android,jfsso/puree-android,cookpad/puree-android,0359xiaodong/puree-android,MartinReidy/puree-android,KeithYokoma/Puree,bensonX/puree-android,cookpad/puree-android,cookpad/puree-android,hotchemi/puree-android,msdgwzhy6/puree-android
7f96d55084d8ad32a4a722287ca33c7f769c1b66
core/src/main/java/com/github/games647/fastlogin/core/SharedConfig.java
core/src/main/java/com/github/games647/fastlogin/core/SharedConfig.java
package com.github.games647.fastlogin.core; import java.util.Map; public class SharedConfig { private final Map<String, Object> configValues; public SharedConfig(Map<String, Object> configValues) { this.configValues = configValues; } @SuppressWarnings("unchecked") public <T> T get(Strin...
package com.github.games647.fastlogin.core; import java.util.Map; public class SharedConfig { private final Map<String, Object> configValues; public SharedConfig(Map<String, Object> configValues) { this.configValues = configValues; } @SuppressWarnings("unchecked") public <T> T get(Strin...
Convert config values to string if casting fails
Convert config values to string if casting fails
Java
mit
aloata/fl1,AuthMe/FastLogin,sgdc3/FastLogin,games647/FastLogin
778d3308d6a4ea84185a69e9af4f383d63a9e42a
src/test/java/org/apache/commons/imaging/common/itu_t4/T4_T6_TablesTest.java
src/test/java/org/apache/commons/imaging/common/itu_t4/T4_T6_TablesTest.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 ...
Access static variable through class, not instance
Access static variable through class, not instance
Java
apache-2.0
apache/commons-imaging,apache/commons-imaging
264d8cffc4c754da172af7c6eb5dd5aab6722197
hod/src/main/java/com/hp/autonomy/frontend/find/hod/authentication/HavenSearchUserMetadata.java
hod/src/main/java/com/hp/autonomy/frontend/find/hod/authentication/HavenSearchUserMetadata.java
/* * Copyright 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.hod.authentication; import com.google.common.collect.ImmutableMap; import lombok.AccessLevel; imp...
/* * Copyright 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.hod.authentication; import com.google.common.collect.ImmutableMap; import lombok.AccessLevel; imp...
Revert "[FIND-324] Update username attribute name"
Revert "[FIND-324] Update username attribute name" This reverts commit 745eb3437d844b7fa7071a60763a34f3de31269a.
Java
mit
hpe-idol/find,hpe-idol/java-powerpoint-report,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/java-powerpoint-report
20f17c6dc5a1270ad8fe3c932fbb9cf384558b97
src/main/java/pl/niekoniecznie/polar/filesystem/PolarFile.java
src/main/java/pl/niekoniecznie/polar/filesystem/PolarFile.java
package pl.niekoniecznie.polar.filesystem; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Created by ak on 07.04.15. */ public class PolarFile { private final PolarFileSystem fs = new PolarFileSystem(); private final String path; public PolarFile(String path) { ...
package pl.niekoniecznie.polar.filesystem; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Created by ak on 07.04.15. */ public class PolarFile { private final PolarFileSystem fs = new PolarFileSystem(); private final String path; public PolarFile(String path) { ...
Remove redundant method. Use your first lambda expression.
Remove redundant method. Use your first lambda expression.
Java
mit
dredzik/polar,dredzik/polarusbdump
dbef1360230c8172711be291d18febe9788de748
pitest/src/main/java/org/pitest/coverage/execute/ErrorListener.java
pitest/src/main/java/org/pitest/coverage/execute/ErrorListener.java
package org.pitest.coverage.execute; import org.pitest.testapi.Description; import org.pitest.testapi.TestListener; import org.pitest.testapi.TestResult; public class ErrorListener implements TestListener { @Override public void onRunStart() { } @Override public void onTestStart(final Description d) { }...
package org.pitest.coverage.execute; import org.pitest.testapi.Description; import org.pitest.testapi.TestListener; import org.pitest.testapi.TestResult; import org.pitest.util.Log; import java.util.logging.Level; import java.util.logging.Logger; public class ErrorListener implements TestListener { private static ...
Make the stack trace visible in the logs when a test fails without mutation
Make the stack trace visible in the logs when a test fails without mutation
Java
apache-2.0
hcoles/pitest,hcoles/pitest
d03bf8abd2634eb8d9439b1d2c6c187067f1d9e8
src/main/java/org/eclipse/microprofile/faulttolerance/spi/Scheduler.java
src/main/java/org/eclipse/microprofile/faulttolerance/spi/Scheduler.java
/* ******************************************************************************* * Copyright (c) 2016 IBM Corp. and others * * 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 * * ht...
/* ******************************************************************************* * Copyright (c) 2016 IBM Corp. and others * * 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 * * ht...
Remove doc reference to missing class.
Remove doc reference to missing class.
Java
apache-2.0
Emily-Jiang/microprofile-faultTolerance-incubation
dad3d55f3f055cb69fc76015282ef0e6fced7c4d
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNoteCategory.java
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNoteCategory.java
package org.synyx.urlaubsverwaltung.sicknote; /** * Describes the category of sick note. */ public enum SickNoteCategory { SICK_NOTE("application.data.sicknotetype.sicknote"), SICK_NOTE_CHILD("application.data.sicknotetype.sicknotechild"), OTHER("application.data.sicknotetype.other"); private final...
package org.synyx.urlaubsverwaltung.sicknote; /** * Describes the category of sick note. */ public enum SickNoteCategory { SICK_NOTE("application.data.sicknotetype.sicknote"), SICK_NOTE_CHILD("application.data.sicknotetype.sicknotechild"); private final String messageKey; SickNoteCategory(String m...
Remove other type of sicknote categories
Remove other type of sicknote categories
Java
apache-2.0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
d77f4a5c0ccca01d0d624d27aaa7b9e09bda3e16
src/nl/rubensten/texifyidea/structure/LatexOtherCommandPresentation.java
src/nl/rubensten/texifyidea/structure/LatexOtherCommandPresentation.java
package nl.rubensten.texifyidea.structure; import nl.rubensten.texifyidea.psi.LatexCommands; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import javax.swing.*; /** * @author Ruben Schellekens */ public class LatexOtherCommandPresentation implements EditableHintPresentation {...
package nl.rubensten.texifyidea.structure; import com.intellij.navigation.ItemPresentation; import nl.rubensten.texifyidea.psi.LatexCommands; import nl.rubensten.texifyidea.util.TexifyUtil; import org.jetbrains.annotations.Nullable; import javax.swing.*; /** * @author Ruben Schellekens */ public class LatexOtherCo...
Structure view contains value of \def or \let definition.
Structure view contains value of \def or \let definition.
Java
mit
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
2b48bf09a13de342e9aad08b6345dee4ddc410db
query-side/src/main/java/br/holandajunior/workaday/Application.java
query-side/src/main/java/br/holandajunior/workaday/Application.java
package br.holandajunior.workaday; import org.apache.activemq.broker.BrokerService; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.jms.annotation.EnableJms; /** * C...
package br.holandajunior.workaday; import org.apache.activemq.broker.BrokerService; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.jms.annotation.EnableJms; import org...
Add cors filter into query-side
Add cors filter into query-side
Java
mit
holandajunior/workaday,holandajunior/workaday
ac23a271ee1276c8ce421de5977ce3c514a369c2
Magic/src/main/java/com/elmakers/mine/bukkit/data/MySQLMageDataStore.java
Magic/src/main/java/com/elmakers/mine/bukkit/data/MySQLMageDataStore.java
package com.elmakers.mine.bukkit.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import org.bukkit.configuration.ConfigurationSection; import com.elmakers.mine.bukkit.api.magic.MageController; public class MySQLMageDataStore extends SQLMageDataStore { private Strin...
package com.elmakers.mine.bukkit.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import org.bukkit.configuration.ConfigurationSection; import com.elmakers.mine.bukkit.api.magic.MageController; public class MySQLMageDataStore extends SQLMageDataStore { private Strin...
Set useSSL=false on mysql connections
Set useSSL=false on mysql connections
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
83c2fbdcd3d58bb600872d4460a776936daabd70
callback/src/test/java/com/iluwatar/callback/AppTest.java
callback/src/test/java/com/iluwatar/callback/AppTest.java
package com.iluwatar.callback; import org.junit.Test; import com.iluwatar.callback.App; /** * * Application test * */ public class AppTest { @Test public void test() { String[] args = {}; App.main(args); } }
package com.iluwatar.callback; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Add a field as a counter. Every time the callback method is called increment this * field. Unit test checks that the field is being incremented. * * Could be done with mock objects as well where the call meth...
Add unit test to show that the callback method is called.
Add unit test to show that the callback method is called.
Java
mit
mookkiah/java-design-patterns,ouyangxiangshao/java-design-patterns,nake226/kouenji,zafarella/java-design-patterns,GeorgeMe/java-design-patterns,zik43/java-design-patterns,dlee0113/java-design-patterns,cnswan/java-design-patterns,dlee0113/java-design-patterns,mookkiah/java-design-patterns,xl0139/player,Crossy147/java-de...
34601fc3d7ff8fd6c4f9aeebf5494d1ff9d7a5b1
box-content-sdk/src/main/java/com/box/androidsdk/content/BoxApiShare.java
box-content-sdk/src/main/java/com/box/androidsdk/content/BoxApiShare.java
package com.box.androidsdk.content; import com.box.androidsdk.content.models.BoxSession; import com.box.androidsdk.content.models.BoxSharedLinkSession; import com.box.androidsdk.content.requests.BoxRequestsShare; /** * Represents the API of the share endpoint on Box. This class can be used to generate request object...
package com.box.androidsdk.content; import android.text.TextUtils; import com.box.androidsdk.content.models.BoxSession; import com.box.androidsdk.content.models.BoxSharedLinkSession; import com.box.androidsdk.content.requests.BoxRequestsShare; /** * Represents the API of the share endpoint on Box. This class can be...
Add method that takes a password.
Add method that takes a password.
Java
apache-2.0
seema-at-box/box-android-sdk,seema-at-box/box-android-sdk,box/box-android-sdk,seema-at-box/box-android-sdk,box/box-android-sdk,box/box-android-sdk
925d2279ed593eb23f2618082a107077e2328aba
src/main/java/seedu/tache/logic/parser/SaveCommandParser.java
src/main/java/seedu/tache/logic/parser/SaveCommandParser.java
//@@author A0139961U package seedu.tache.logic.parser; import static seedu.tache.commons.core.Messages.MESSAGE_INVALID_DIRECTORY; import java.io.File; import seedu.tache.logic.commands.Command; import seedu.tache.logic.commands.IncorrectCommand; import seedu.tache.logic.commands.SaveCommand; /** * Parses input arg...
//@@author A0139961U package seedu.tache.logic.parser; import static seedu.tache.commons.core.Messages.MESSAGE_INVALID_DIRECTORY; import java.io.File; import seedu.tache.logic.commands.Command; import seedu.tache.logic.commands.IncorrectCommand; import seedu.tache.logic.commands.SaveCommand; /** * Parses input arg...
Fix bug when user enter "/" or "\" as directory
Fix bug when user enter "/" or "\" as directory #221
Java
mit
CS2103JAN2017-T09-B4/main,CS2103JAN2017-T09-B4/main,CS2103JAN2017-T09-B4/main
b21850f5f7072c25ea8933915cd1ee6cc3ace507
src/casting/CastingObject.java
src/casting/CastingObject.java
package casting; /** * Casting Objects * - Casting object to superclass doesn't require explicit cast * - Casting object to subclass requires explicit cast * * Compiler can't allow casting between unrelated class, * It only allows related class, but not smart enough to identify actual instance */ class A { } ...
package casting; /** * Casting Objects * - Casting object to superclass doesn't require explicit cast * - Casting object to subclass requires explicit cast * * Compiler can't allow casting between unrelated class, * It only allows related class, but not smart enough to identify actual instance */ class A { } ...
Use instanceof to avoid ClassCastException before explicit casting
Use instanceof to avoid ClassCastException before explicit casting
Java
mit
ubbn/CoreJava,tugul/CoreJava
987bd0c2d7128a043e3c0a88be791d53e1aeae12
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/builder/PredefinedMetricSets.java
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/builder/PredefinedMetricSets.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring.builder; import com.yahoo.vespa.model.admin.monitoring.MetricSet; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; i...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring.builder; import com.yahoo.vespa.model.admin.monitoring.MetricSet; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; i...
Throw if there are two metric sets with the same id.
Throw if there are two metric sets with the same id.
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
bbb417d267f632de6924a9cc2046f61639d75376
src/main/java/se/arbetsformedlingen/venice/probe/ProbeCheckScheduler.java
src/main/java/se/arbetsformedlingen/venice/probe/ProbeCheckScheduler.java
package se.arbetsformedlingen.venice.probe; import se.arbetsformedlingen.venice.common.Application; import se.arbetsformedlingen.venice.common.Host; import se.arbetsformedlingen.venice.common.Hosts; import java.util.LinkedList; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent....
package se.arbetsformedlingen.venice.probe; import se.arbetsformedlingen.venice.common.Application; import se.arbetsformedlingen.venice.common.Applications; import se.arbetsformedlingen.venice.common.Host; import java.util.LinkedList; import java.util.List; import java.util.concurrent.Executors; import java.util.conc...
Use the hosts for each application
Use the hosts for each application
Java
apache-2.0
tsundberg/venice,tsundberg/venice,tsundberg/venice,tsundberg/venice
c4689d6015cd64bced7fbee712f439c2df04e1e4
ui-common/src/main/java/com/facebook/fresco/ui/common/DimensionsInfo.java
ui-common/src/main/java/com/facebook/fresco/ui/common/DimensionsInfo.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.ui.common; public class DimensionsInfo { private int mViewportWidth; private int mViewportHeight;...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.ui.common; public class DimensionsInfo { private final int mViewportWidth; private final int mVie...
Add encoded and decoded image dimensions
Add encoded and decoded image dimensions Reviewed By: oprisnik Differential Revision: D18244312 fbshipit-source-id: ee618aa0ef1a638e81922c33e0e0da27eea62f67
Java
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
551b7124ae30b8735c4e90b2cfdcf541f5dbcfc1
core/src/main/java/com/dtolabs/rundeck/core/dispatcher/MutableDataContext.java
core/src/main/java/com/dtolabs/rundeck/core/dispatcher/MutableDataContext.java
package com.dtolabs.rundeck.core.dispatcher; /** * Created by greg on 5/26/16. */ public interface MutableDataContext extends DataContext, Mergable<DataContext> { void merge(DataContext item); }
package com.dtolabs.rundeck.core.dispatcher; import java.util.HashMap; import java.util.Map; /** * Created by greg on 5/26/16. */ public interface MutableDataContext extends DataContext, Mergable<DataContext> { void merge(DataContext item); /** * Put value * * @param group * @param key ...
Add utility methods for interface
Add utility methods for interface
Java
apache-2.0
rophy/rundeck,rophy/rundeck,variacode/rundeck,rundeck/rundeck,rophy/rundeck,damageboy/rundeck,rundeck/rundeck,damageboy/rundeck,variacode/rundeck,variacode/rundeck,rophy/rundeck,variacode/rundeck,damageboy/rundeck,rundeck/rundeck,damageboy/rundeck,variacode/rundeck,rundeck/rundeck,rundeck/rundeck
b78d7440ab32c3c107803808e0603abc2e4a8bfa
src/test/java/CartesianCoordinateTest.java
src/test/java/CartesianCoordinateTest.java
/* * algorithms Copyright (C) 2015 Ratchet Robotics * This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. * This is free software, and you are welcome to redistribute it * under certain conditions; type `show c' for details. */ import org.junit.Test; import static org.junit.Ass...
/* * algorithms Copyright (C) 2015 Ratchet Robotics * This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. * This is free software, and you are welcome to redistribute it * under certain conditions; type `show c' for details. */ import org.junit.Test; import static org.junit.Ass...
Add second test for Y
Add second test for Y
Java
bsd-3-clause
ratchetrobotics/algorithms,FTC-6806/algorithms
647cf24bb6bde5696ee0424fceb0d35d396eb39a
services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java
services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/MissingRepositoryException.java
package uk.ac.ic.wlgitbridge.snapshot.base; import com.google.gson.JsonElement; import uk.ac.ic.wlgitbridge.git.exception.SnapshotAPIException; import java.util.Arrays; import java.util.List; public class MissingRepositoryException extends SnapshotAPIException { public static final String GENERIC_REASON = ...
package uk.ac.ic.wlgitbridge.snapshot.base; import com.google.gson.JsonElement; import uk.ac.ic.wlgitbridge.git.exception.SnapshotAPIException; import java.util.Arrays; import java.util.ArrayList; import java.util.List; public class MissingRepositoryException extends SnapshotAPIException { public static final L...
Use a List<String> rather than hard-coding newlines
Use a List<String> rather than hard-coding newlines
Java
agpl-3.0
sharelatex/sharelatex
a7fac320a0e2ebd786422094c1c75c0a8e36a788
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * 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 *...
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * 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 *...
Remove (nonexistant) method getname on mode objects
Remove (nonexistant) method getname on mode objects
Java
epl-1.0
codenvy/plugin-editor-codemirror,codenvy/plugin-editor-codemirror
8cddc77afe4680c9401f468f897e18cba5af747e
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/Space.java
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/Space.java
package com.github.sormuras.bach.project; import java.util.List; import java.util.Map; /** A nominal space for modules. */ public interface Space { /** * Returns the list of module names in this space. * * @return the list of module names */ List<String> modules(); /** * Returns the list of mod...
package com.github.sormuras.bach.project; import java.util.List; import java.util.Map; /** A nominal space for modules. */ public /*sealed*/ interface Space /*permits MainSpace, TestSpace, PreviewSpace*/ { /** * Returns the list of module names in this space. * * @return the list of module names */ L...
Add commented-out sealed and permits clause
Add commented-out sealed and permits clause
Java
mit
sormuras/bach,sormuras/bach
edf93e5e1e355cfd3212e455c383e2bfd1b632cc
src/main/java/com/github/danzx/zekke/message/impl/MessageSourceFactory.java
src/main/java/com/github/danzx/zekke/message/impl/MessageSourceFactory.java
/* * Copyright 2017 Daniel Pedraza-Arcega * * 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...
/* * Copyright 2017 Daniel Pedraza-Arcega * * 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...
Add missing javadoc and block constructors
Add missing javadoc and block constructors
Java
apache-2.0
dan-zx/zekke-api,dan-zx/zekke-api
4c76e89a896e0e5ebd182ed98154de44ce1282e3
src/main/java/org/stevewinfield/suja/idk/storage/HSQLDBStorageDriver.java
src/main/java/org/stevewinfield/suja/idk/storage/HSQLDBStorageDriver.java
package org.stevewinfield.suja.idk.storage; public class HSQLDBStorageDriver implements StorageDriver { @Override public String getDriverName() { return "hsqldb"; } @Override public String getDriverClass() { return "org.hsqldb.jdbc.JDBCDriver"; } @Override public Strin...
package org.stevewinfield.suja.idk.storage; import org.stevewinfield.suja.idk.Bootloader; public class HSQLDBStorageDriver implements StorageDriver { @Override public String getDriverName() { return "hsqldb"; } @Override public String getDriverClass() { return "org.hsqldb.jdbc.JDB...
Allow HSQLDB to specify file path
Allow HSQLDB to specify file path
Java
apache-2.0
SteveWinfield/IDK-Server-Java,SteveWinfield/IDK-Server-Java,SteveWinfield/IDK-Server-Java
c4ef00239239ea8461750dc5ddca7dfa4fd6f380
spring-context/src/test/java/org/springframework/core/task/NoOpRunnable.java
spring-context/src/test/java/org/springframework/core/task/NoOpRunnable.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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2002-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Stop to writing to STD_OUT in tests
Stop to writing to STD_OUT in tests
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