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
67fd7451acef5e727ebda2e1c77eeaf66a3648be
spoon-runner/src/main/java/com/squareup/spoon/SpoonCoverageMerger.java
spoon-runner/src/main/java/com/squareup/spoon/SpoonCoverageMerger.java
package com.squareup.spoon; import com.google.common.base.Function; import org.jacoco.core.tools.ExecFileLoader; import java.io.File; import java.io.IOException; import java.util.Collection; import java.util.Set; import static com.google.common.collect.Collections2.transform; import static com.squareup.spoon.SpoonDe...
package com.squareup.spoon; import java.io.File; import java.io.IOException; import java.util.Collection; import java.util.Set; import org.jacoco.core.tools.ExecFileLoader; import static com.google.common.collect.Collections2.transform; import static com.squareup.spoon.SpoonDeviceRunner.COVERAGE_DIR; import static co...
Add some Java 8-isms to coverage merger.
Add some Java 8-isms to coverage merger.
Java
apache-2.0
square/spoon,square/spoon,square/spoon,square/spoon
ab04b1dcea5d8fb18b72a9ee7ebf5213f109a226
findbugs/test/OpenStream.java
findbugs/test/OpenStream.java
import java.io.*; public class OpenStream { public static void main(String[] argv) throws Exception { FileInputStream in = null; try { in = new FileInputStream(argv[0]); } finally { // Not guaranteed to be closed here! if (Boolean.getBoolean("inscrutable")) in.close(); } FileInputStream in2 =...
import java.io.*; public class OpenStream { public OutputStream os; public static void main(String[] argv) throws Exception { FileInputStream in = null; try { in = new FileInputStream(argv[0]); } finally { // Not guaranteed to be closed here! if (Boolean.getBoolean("inscrutable")) in.close(); ...
Test case for loading stream from instance field
Test case for loading stream from instance field git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@2608 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
Java
lgpl-2.1
johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs
1e6af3ab8d8cf7b759af6933332dd7fa302b191b
src/main/java/com/codeski/nbt/tags/NBTLong.java
src/main/java/com/codeski/nbt/tags/NBTLong.java
package com.codeski.nbt.tags; import java.nio.ByteBuffer; import java.nio.charset.Charset; public class NBTLong extends NBT { public static final byte LENGTH = 8; public static final byte TYPE = 4; private Long payload; public NBTLong(String name, long payload) { super(name); this.payload = payload; } @Ov...
package com.codeski.nbt.tags; import java.nio.ByteBuffer; import java.nio.charset.Charset; public class NBTLong extends NBT { public static final byte LENGTH = 8; public static final byte TYPE = 4; private Long payload; public NBTLong(String name, long payload) { super(name); this.payload = payload; } @Ov...
Remove comment with debugging stuff
Remove comment with debugging stuff
Java
mit
Codeski/NBT
a6f8acaa21f2338ea46ff617897c01abeb4ad22f
src/problems/FractionToRecurringDecimal.java
src/problems/FractionToRecurringDecimal.java
package problems; public class FractionToRecurringDecimal { public String fractionToDecimal(int numerator, int denominator) { if (denominator == 0) return "NULL"; boolean sign = false; if (numerator < 0) { numerator = -numerator; sign = !sign; ...
package problems; import java.util.HashMap; import java.util.Map; public class FractionToRecurringDecimal { public String fractionToDecimal(int numerator, int denominator) { if (denominator == 0) return "NULL"; long num = numerator > 0 ? numerator : -(long)numerator; l...
Update Fraction to Recurring Decimal
Update Fraction to Recurring Decimal
Java
apache-2.0
alyiwang/LeetCode
11f6a5e9bd55af789771fd2d61e0c2c97f439f28
src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java
src/common/me/nallar/tickthreading/minecraft/commands/TicksCommand.java
package me.nallar.tickthreading.minecraft.commands; import java.util.List; import me.nallar.tickthreading.minecraft.TickThreading; import me.nallar.tickthreading.util.TableFormatter; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; import net.minecraft.world.World; import net....
package me.nallar.tickthreading.minecraft.commands; import java.util.List; import me.nallar.tickthreading.minecraft.TickThreading; import me.nallar.tickthreading.util.TableFormatter; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; import net.minecraft.world.World; import net....
Set default world for /ticks
Set default world for /ticks Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
Java
mit
nallar/TickThreading
5bcfbe6a7c72842a4e4951d67e3928bf8b27ff52
src/main/java/refinedstorage/apiimpl/network/NetworkMasterRegistry.java
src/main/java/refinedstorage/apiimpl/network/NetworkMasterRegistry.java
package refinedstorage.apiimpl.network; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import refinedstorage.api.network.INetworkMaster; import java.util.HashMap; import java.util.Map; public class NetworkMasterRegistry { public static final Map<Integer, Map<BlockPos, INetworkMaster>>...
package refinedstorage.apiimpl.network; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import refinedstorage.api.network.INetworkMaster; import java.util.HashMap; import java.util.Map; public class NetworkMasterRegistry { public static final Map<Integer, Map<BlockPos, INetworkMaster>>...
Mark dirty on placement too
Mark dirty on placement too
Java
mit
raoulvdberge/refinedstorage,way2muchnoise/refinedstorage,way2muchnoise/refinedstorage,raoulvdberge/refinedstorage
85cdf63793aad9c0f9eacd3efade0c1b5c7df3e7
SimpleRestApp/src/main/java/ttu/tteh/user/User.java
SimpleRestApp/src/main/java/ttu/tteh/user/User.java
package ttu.tteh.user; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToOne; import lombok.Getter; import lombok.Setter; @Entity @Getter @Setter public class User { @Id @GeneratedValue long id; String firstName; String lastName;...
package ttu.tteh.user; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToOne; import lombok.Getter; import lombok.Setter; @Entity @Getter @Setter public class User { @Id @GeneratedValue long id...
Save related objects automatically using CascadeType
Save related objects automatically using CascadeType
Java
apache-2.0
tutinformatics/tarkvaratehnika2017K,KairitSiht/Johnny2,KairitSiht/Johnny2,tutinformatics/tarkvaratehnika2017K,KairitSiht/Johnny2,tutinformatics/tarkvaratehnika2017K
7f4adbca51cf41455de715b16f76c7a91a930f08
mirrorgate-core/src/main/java/com/bbva/arq/devops/ae/mirrorgate/core/utils/BuildStatus.java
mirrorgate-core/src/main/java/com/bbva/arq/devops/ae/mirrorgate/core/utils/BuildStatus.java
/* * Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
/* * Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A.. * * 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 ...
Revert "feat(builds): add mapping for Bamboo build status"
Revert "feat(builds): add mapping for Bamboo build status" This reverts commit 96188b7dc0d3ed3acc20ec2e744fcf3850863405. This is a problem of the bamboo collector
Java
apache-2.0
BBVA/mirrorgate,BBVA/mirrorgate,BBVA/mirrorgate,BBVA/mirrorgate,BBVA/mirrorgate
768443366736838eab1d6bfc4c3594e82abbe1ea
app/src/main/java/com/kickstarter/libs/RxUtils.java
app/src/main/java/com/kickstarter/libs/RxUtils.java
package com.kickstarter.libs; import android.util.Pair; import rx.Observable; public class RxUtils { private RxUtils() { throw new AssertionError(); } public static <F, S> Observable<Pair<F, S>> combineLatestPair(final Observable<F> ob1, final Observable<S> ob2) { return Observable.combineLatest(ob1, ...
package com.kickstarter.libs; import android.util.Pair; import rx.Observable; public class RxUtils { private RxUtils() { throw new AssertionError(); } public static <F, S> Observable<Pair<F, S>> combineLatestPair(final Observable<F> ob1, final Observable<S> ob2) { return Observable.combineLatest(ob1, ...
Fix takeWhen - now behaves as comment describes
Fix takeWhen - now behaves as comment describes
Java
apache-2.0
kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss
5104e5b652e61fd51894a266cff864fae20faca9
r01/src/main/java/edu/virginia/psyc/r01/persistence/ReturnIntention.java
r01/src/main/java/edu/virginia/psyc/r01/persistence/ReturnIntention.java
package edu.virginia.psyc.r01.persistence; import lombok.Data; import lombok.EqualsAndHashCode; import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData; import javax.persistence.Entity; import javax.persistence.Lob; import javax.persistence.Table; /** * Created by Diheng on 7/27/17. */ @Entity @Table(n...
package edu.virginia.psyc.r01.persistence; import lombok.Data; import lombok.EqualsAndHashCode; import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData; import javax.persistence.Entity; import javax.persistence.Lob; import javax.persistence.Table; import javax.validation.constraints.NotNull; /** * Create...
Add @NotNull validation to the Return Intention Java file. Keep all the form hydration logic in the HTML, because that form depends on Javascript to conditionally display a text box.
Add @NotNull validation to the Return Intention Java file. Keep all the form hydration logic in the HTML, because that form depends on Javascript to conditionally display a text box.
Java
mit
danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails
c460f2203e5b22a0786c473072e4b59073bca8b9
opennms-config/src/test/java/org/opennms/netmgt/config/JMXDataCollectionConfigFactoryTest.java
opennms-config/src/test/java/org/opennms/netmgt/config/JMXDataCollectionConfigFactoryTest.java
package org.opennms.netmgt.config; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import org.junit.Assert; import org.junit.Before; import org.junit.Test; /* @RunWith(OpenNMSJUnit4ClassRunner.class) @ContextConfiguration(locations={ "classpath:/emptyContext.xml" })...
package org.opennms.netmgt.config; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; public class JMXDataCollectionConfigFactoryTest { @Test // Tests that the JmxDataCollectionConfigFactory also supports/implements the ...
Revert "set opennms home for JMXDataCollectionConfigFactory"
Revert "set opennms home for JMXDataCollectionConfigFactory" This reverts commit 201fab95419f57ce48ed00c7b77522d89034359f.
Java
agpl-3.0
aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms
1365ea0a1412ae345c56e19fe8f581e82ce93b88
stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AbstractClassPathScanner.java
stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AbstractClassPathScanner.java
package org.stagemonitor.core.instrument; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; /** * This transformer does not modify classes but only searches for matching {@link TypeDescription} and {@link...
package org.stagemonitor.core.instrument; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.dynamic.DynamicType; /** * This transformer does not modify classes but only searches for m...
Fix Sla class path scanner
Fix Sla class path scanner
Java
apache-2.0
elevennl/stagemonitor,hexdecteam/stagemonitor,elevennl/stagemonitor,glamarre360/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagemonitor,trampi/stagemonitor,glamarre360/stagemonitor,hexdecteam/stagemonitor,hexdecteam/stagemonitor,glamarre360/stagemonitor,elevennl/stagemonitor,trampi/st...
9f2e548adbe7d162fd34790a24c744b573ce1f14
pvn-template-app/src/main/java/com/incoming/example/incomingpvntemplate/PVNTemplateActivity.java
pvn-template-app/src/main/java/com/incoming/example/incomingpvntemplate/PVNTemplateActivity.java
/******************************************************************************* * Copyright (c) Incoming Pty. Ltd. 2015 ******************************************************************************/ package com.incoming.example.incomingpvntemplate; import android.app.Activity; import android.os.Bundle; import andr...
/******************************************************************************* * Copyright (c) Incoming Pty. Ltd. 2015 ******************************************************************************/ package com.incoming.example.incomingpvntemplate; import android.app.Activity; import android.os.Bundle; import andr...
Remove setting of content targeting keys in launcher activity because the application class is used
Remove setting of content targeting keys in launcher activity because the application class is used
Java
apache-2.0
incoming-inc/android-template-app
5600a05dffc86f3d988cdda7c820113aa2cd9274
src/main/java/com/InfinityRaider/AgriCraft/compatibility/computercraft/method/MethodParameter.java
src/main/java/com/InfinityRaider/AgriCraft/compatibility/computercraft/method/MethodParameter.java
package com.InfinityRaider.AgriCraft.compatibility.computercraft.method; import net.minecraft.util.StatCollector; public class MethodParameter { public static final MethodParameter DIRECTION = new MethodParameter("direction"); private String name; private MethodParameter(String name) { this.name...
package com.InfinityRaider.AgriCraft.compatibility.computercraft.method; import net.minecraft.util.StatCollector; public class MethodParameter { public static final MethodParameter DIRECTION = new MethodParameter("direction"); private String name; private MethodParameter(String name) { this.name...
Fix some localization and spelling
Fix some localization and spelling
Java
mit
HenryLoenwind/AgriCraft,CodesCubesAndCrashes/AgriCraft,InfinityRaider/AgriCraft,HenryLoenwind/AgriCraft,AgriCraft/AgriCraft
c12180b94ab369e82e9b471ff0fd4e50bda24369
app/src/androidTest/java/com/shaneutt/calculator/ShanesCalculatorTest.java
app/src/androidTest/java/com/shaneutt/calculator/ShanesCalculatorTest.java
package com.shaneutt.calculator; import org.junit.Test; import static org.junit.Assert.*; public class ShanesCalculatorTest { @Test public void testOnCreate() throws Exception { } @Test public void testOnCreateOptionsMenu() throws Exception { } @Test public void testOnOptionsItem...
package com.shaneutt.calculator; import junit.framework.TestCase; public class ShanesCalculatorTest extends TestCase { public void testOnCreate() throws Exception { } public void testOnCreateOptionsMenu() throws Exception { } public void testOnOptionsItemSelected() throws Exception { } }
Use JUnit3 because it comes with Android SDK
Use JUnit3 because it comes with Android SDK
Java
mit
shaneutt/android-calculator
a4fb2572a0ee5cd9e51744daad0a926930441fbe
src/main/java/io/burt/jmespath/jp/Main.java
src/main/java/io/burt/jmespath/jp/Main.java
package io.burt.jmespath.jp; import io.burt.jmespath.Query; import io.burt.jmespath.JmesPathException; public class Main { public static void main(String[] args) { if (args.length == 0 || args[0].length() == 0) { System.exit(1); } try { Query query = Query.fromString(args[0]); System.e...
package io.burt.jmespath.jp; import java.io.IOException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.core.JsonParseException; import io.burt.jmespath.Query; import io.burt.jmespath.Adapter; import io.burt.jmespath.JmesPathException;...
Make the jp tool process the input too
Make the jp tool process the input too
Java
bsd-3-clause
burtcorp/jmespath-java
2af15d2a6ec832a8b0325545c0c3766428cf7dd2
src/main/java/de/qabel/ackack/MessageInfo.java
src/main/java/de/qabel/ackack/MessageInfo.java
package de.qabel.ackack; /** * Created by tox on 11/25/14. */ public class MessageInfo implements Cloneable { private Actor sender; private long time; private String type; public Actor getSender() { return sender; } public long getTime() { return time; } public String...
package de.qabel.ackack; /** * Created by tox on 11/25/14. */ public class MessageInfo implements Cloneable { private Actor sender; private long time; private String type; public Actor getSender() { return sender; } public long getTime() { return time; } public String...
Check whether sender is set
Check whether sender is set
Java
mit
Qabel/ackack
5ee495f71bdcdbb817a674dd77ae234ffd806d9b
nuxeo-platform-cache-api/src/main/java/org/nuxeo/ecm/platform/cache/server/bd/GhostDocumentsList.java
nuxeo-platform-cache-api/src/main/java/org/nuxeo/ecm/platform/cache/server/bd/GhostDocumentsList.java
/* * (C) Copyright 2006-2007 Nuxeo SAS (http://nuxeo.com/) and contributors. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www...
/* * (C) Copyright 2006-2007 Nuxeo SAS (http://nuxeo.com/) and contributors. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www...
Allow batching in core queries
NXP-3067: Allow batching in core queries
Java
lgpl-2.1
deadcyclo/nuxeo-features,nuxeo-archives/nuxeo-features,bjalon/nuxeo-features,bjalon/nuxeo-features,deadcyclo/nuxeo-features,bjalon/nuxeo-features,bjalon/nuxeo-features,deadcyclo/nuxeo-features,deadcyclo/nuxeo-features,deadcyclo/nuxeo-features,bjalon/nuxeo-features,nuxeo-archives/nuxeo-features,nuxeo-archives/nuxeo-feat...
a5a8b92b53e7895435a795b923b8ed58c07793de
src/fc/lang/Scope.java
src/fc/lang/Scope.java
package fc.lang; import java.util.HashMap; import java.util.Map; /** * Implementation of flat static scope */ public class Scope { private final Map<String, Expression> bindings = new HashMap<String, Expression>(); /** * Bind a variable with the given name to an expression. If the variable * alre...
package fc.lang; import java.util.HashMap; import java.util.Map; /** * Implementation of flat static scope */ public class Scope { private final Map<String, Expression> bindings = new HashMap<String, Expression>(); /** * Bind a variable with the given name to an expression. If the variable * alre...
Change visibility of scope methods from default to public
Change visibility of scope methods from default to public
Java
mit
znerol/fc
4a7b06c31173df05963ff281fd0a104f737f207b
projects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/expeditedfields/ExpeditedReportSection.java
projects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/expeditedfields/ExpeditedReportSection.java
package gov.nih.nci.cabig.caaers.domain.expeditedfields; import gov.nih.nci.cabig.ctms.domain.CodedEnum; public enum ExpeditedReportSection implements CodedEnum<Integer>{ BASICS_SECTION("Basic AE information"), ADVERSE_EVENT_SECTION("Adverse events"), REPORTER_INFO_SECTION("Reporter Information"), ...
package gov.nih.nci.cabig.caaers.domain.expeditedfields; import gov.nih.nci.cabig.ctms.domain.CodedEnum; public enum ExpeditedReportSection implements CodedEnum<Integer>{ BASICS_SECTION("Basic AE information"), ADVERSE_EVENT_SECTION("Adverse events"), REPORTER_INFO_SECTION("Reporter Information"), ...
Remove now-unused sections from submission flow
Remove now-unused sections from submission flow SVN-Revision: 3230
Java
bsd-3-clause
CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers
a267087c8fae1056e1780f5063161d2a1e262ab1
src/main/java/com/github/dtrunk90/recaptcha/spring/web/servlet/handler/RecaptchaHandlerInterceptor.java
src/main/java/com/github/dtrunk90/recaptcha/spring/web/servlet/handler/RecaptchaHandlerInterceptor.java
package com.github.dtrunk90.recaptcha.spring.web.servlet.handler; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler....
package com.github.dtrunk90.recaptcha.spring.web.servlet.handler; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler....
Add recaptchaSiteKey model attribute not if its a redirect
Add recaptchaSiteKey model attribute not if its a redirect
Java
apache-2.0
dtrunk90/recaptcha-spring-integration
371a07635c861741d85e52bf365a4f3d0d3fa49c
org.jrebirth.af/showcase/fxml/src/main/java/org/jrebirth/af/showcase/fxml/ui/main/FXMLShowCaseModel.java
org.jrebirth.af/showcase/fxml/src/main/java/org/jrebirth/af/showcase/fxml/ui/main/FXMLShowCaseModel.java
package org.jrebirth.af.showcase.fxml.ui.main; import org.jrebirth.af.api.module.Register; import org.jrebirth.af.api.ui.ModuleModel; import org.jrebirth.af.component.ui.stack.StackModel; import org.jrebirth.af.core.ui.DefaultModel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * The class <strong>Sa...
package org.jrebirth.af.showcase.fxml.ui.main; import org.jrebirth.af.api.component.basic.InnerComponent; import org.jrebirth.af.api.module.Register; import org.jrebirth.af.api.ui.ModuleModel; import org.jrebirth.af.component.ui.stack.StackModel; import org.jrebirth.af.core.component.basic.CBuilder; import org.jrebirt...
Fix trouble when using local UI components without releasing them
Fix trouble when using local UI components without releasing them
Java
apache-2.0
Rizen59/JRebirth,JRebirth/JRebirth,Rizen59/JRebirth,JRebirth/JRebirth
5f101aff863659406ad2d1c49b71b6c3a659f95f
src/main/java/ee/tuleva/onboarding/epis/mandate/MandateDto.java
src/main/java/ee/tuleva/onboarding/epis/mandate/MandateDto.java
package ee.tuleva.onboarding.epis.mandate; import ee.tuleva.onboarding.user.address.Address; import java.math.BigDecimal; import java.time.Instant; import java.util.List; import javax.validation.constraints.NotNull; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.Getter; impo...
package ee.tuleva.onboarding.epis.mandate; import ee.tuleva.onboarding.user.address.Address; import java.math.BigDecimal; import java.time.Instant; import java.util.List; import javax.validation.constraints.NotNull; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.Getter; impo...
Add empty constructor to MandateFundsTransferExchangeDTO
Add empty constructor to MandateFundsTransferExchangeDTO In localhost, without NoArgsConstructor, jaxb cannot instantiate this class without it. Works in production.
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
9d6a108cf7e28ec0a4feafaa8608e6cbc6354f08
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryReturnValue.java
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryReturnValue.java
package org.ovirt.engine.core.common.queries; import java.io.Serializable; /** * Query return value class, If inheriting from this class add logic to QueriesCommandBase class. */ public class VdcQueryReturnValue implements Serializable { private static final long serialVersionUID = -7737597005584540780L; p...
package org.ovirt.engine.core.common.queries; import java.io.Serializable; /** * Query return value class, If inheriting from this class add logic to QueriesCommandBase class. */ public class VdcQueryReturnValue implements Serializable { private static final long serialVersionUID = -7737597005584540780L; p...
Remove unused method from VdcQueryRetunValue
core: Remove unused method from VdcQueryRetunValue Removed the unused method VdcQueryReturnValue.getSerializaedReturnValue(). Change-Id: If5ccfd595f002c96f9971c5ca607f40f1ee8498d Signed-off-by: Allon Mureinik <abc9ddaceaf0c059a5d9bc2aed71f25cb5370dba@redhat.com>
Java
apache-2.0
yingyun001/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,halober/ovirt-engine,halober/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,walter...
7b02dd3197d43c1db90e3134bc39d4aa417f4b53
src/main/java/leetcode/Problem303.java
src/main/java/leetcode/Problem303.java
package leetcode; import java.util.HashMap; import java.util.Map; /** * https://leetcode.com/problems/range-sum-query-immutable/ */ public class Problem303 { public static class NumArray { private final Map<Integer, Integer> map = new HashMap<>(); private final int[] nums; public NumArr...
package leetcode; /** * https://leetcode.com/problems/range-sum-query-immutable/ */ public class Problem303 { public static class NumArray { private final int[] nums; public NumArray(int[] nums) { this.nums = nums; if (nums.length > 0) { for (int i = 1; i ...
Optimize solution to problem 303
Optimize solution to problem 303
Java
mit
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
a9094588c176059e719361b25433fd17e2113c48
test/com/twu/biblioteca/BibliotecaAppTest.java
test/com/twu/biblioteca/BibliotecaAppTest.java
package com.twu.biblioteca; import com.twu.biblioteca.views.BibliotecaAppView; import com.twu.biblioteca.views.BooksView; import com.twu.biblioteca.views.MenuView; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUnitRunner;...
package com.twu.biblioteca; import com.twu.biblioteca.views.BibliotecaAppView; import com.twu.biblioteca.views.BooksView; import com.twu.biblioteca.views.MenuView; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUnitRunner;...
Fix - added two missing parameters to the constructor
Fix - added two missing parameters to the constructor
Java
apache-2.0
arunvelsriram/twu-biblioteca-arunvelsriram
7b0e4e6fef469a46a590b4d01a0d8c3a7995875a
src/main/java/waveview/search/SearchHint.java
src/main/java/waveview/search/SearchHint.java
package waveview.search; // // This object is filled in during node evaluation to help optimize searching. // The members represent the nearest timestamp where the return value of eval // could change (using the same unit for timestamps as TransitionVector). // Note that this doesn't guarantee the value will change (t...
package waveview.search; // // This object is filled in during node evaluation to help optimize searching. // The members represent the nearest timestamp (smallest absolute value of delta) // to the evaluated timestamp where the return value of eval // could change. // Note that this doesn't guarantee the value will c...
Add a few clarifying comments
Add a few clarifying comments
Java
apache-2.0
jbush001/WaveView
71b65d3f573646512f1fe411dc1278a493a82cae
src/nl/nelen_schuurmans/aquo/Aquo.java
src/nl/nelen_schuurmans/aquo/Aquo.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nl.nelen_schuurmans.aquo; import java.lang.Class; import org.apache.log4j.Logger; /** * * @author carsten.byrman@nelen-schuurmans.nl */ public class Aquo { private static final Logger logger = Logger.ge...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nl.nelen_schuurmans.aquo; import org.apache.log4j.Logger; /** * * @author carsten.byrman@nelen-schuurmans.nl */ public class Aquo { private static final Logger logger = Logger.getLogger(Aquo.class); ...
Remove import from java.lang package
Remove import from java.lang package
Java
mit
ddsc/ddsc-aquo
1e8df81e938647bec7e3d7509e29a6ec8b3fe9b5
src/test/java/edu/pdx/spi/test/ServerTest.java
src/test/java/edu/pdx/spi/test/ServerTest.java
package edu.pdx.spi.test; import io.vertx.core.Vertx; import io.vertx.core.http.HttpClient; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @R...
package edu.pdx.spi.test; import io.vertx.core.Vertx; import io.vertx.core.http.HttpClient; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @R...
Edit the test so it won't fail. Need to actually write tests.
Edit the test so it won't fail. Need to actually write tests.
Java
mit
Team-B-Capstone/S-Pi-Backend
49689eaaff8d0d602264caf90f4ecacb416135ee
plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHookBeforeCheckout.java
plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/hook/PluginCompatTesterHookBeforeCheckout.java
package org.jenkins.tools.test.model.hook; import hudson.model.UpdateSite.Plugin; //import org.jenkins.tools.test.model.TestExecutionResult; import java.util.Map; /** * An abstract class that marks a hook that runs before the checkout stage of the * Plugins Compat Tester. * * This exists simply for the ability t...
package org.jenkins.tools.test.model.hook; import org.apache.commons.lang.ClassUtils; import java.util.Map; /** * An abstract class that marks a hook that runs before the checkout stage of the * Plugins Compat Tester. * * This exists simply for the ability to check when a subclass should be implemented. */ publ...
Remove impossible check & check primitive
Remove impossible check & check primitive
Java
mit
jenkinsci/plugin-compat-tester,jenkinsci/plugin-compat-tester
42f3cc3356258289f9272608bdf599ccb7462d32
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
package org.ovirt.engine.api.resource; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import org.jboss.resteasy.annotations.providers.jaxb.For...
package org.ovirt.engine.api.resource; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import org.jboss.resteasy.annotations.providers.jaxb.For...
Fix return type of vms/{vm:id}/numanodes
restapi: Fix return type of vms/{vm:id}/numanodes Currently the type returned by the "list" operation of this resources is "NumaNodes", but it should be "VirtualNumaNodes", otherwise the generator of the Java SDK will not work correctly. Change-Id: I57af48c044012fe9009e51b48c8813114319980b Bug-Url: https://bugzilla.r...
Java
apache-2.0
zerodengxinchao/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-...
84c5c6462199b7126ca310609a64dfa1dbcb3c62
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Use unique temp dir for each performance test execution
Use unique temp dir for each performance test execution - Create directory under java.io.tmpdir (assumed to be tmpfs on CI) - Cleanup directory in execution session cleanup
Java
apache-2.0
robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gra...
b7d1cca095ce28eb2112eeb3f8e4a796ddafe662
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNoteProperties.java
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNoteProperties.java
package org.synyx.urlaubsverwaltung.sicknote; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties("uv.sick-note") public class SickNoteProperties { /** * Send notification about the end of sick pay b...
package org.synyx.urlaubsverwaltung.sicknote; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import org.springframework.validation.annotation.Validated; import javax.validation.constraints.NotEmpty; @Component @ConfigurationProperties("uv....
Add bean validation for uv.sick-note.endOfPayNotificationCron
Add bean validation for uv.sick-note.endOfPayNotificationCron
Java
apache-2.0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
133889c632db26636690c7b464af8cb567465563
android/src/main/java/com/bottomsheetbehavior/CoordinatorLayoutManager.java
android/src/main/java/com/bottomsheetbehavior/CoordinatorLayoutManager.java
package com.bottomsheetbehavior; import android.support.design.widget.CoordinatorLayout; import android.view.View; import com.facebook.react.uimanager.ViewGroupManager; import com.facebook.react.uimanager.annotations.ReactProp; import com.facebook.react.uimanager.ThemedReactContext; public class CoordinatorLayoutMan...
package com.bottomsheetbehavior; import android.support.design.widget.CoordinatorLayout; import android.view.View; import com.facebook.react.uimanager.ViewGroupManager; import com.facebook.react.uimanager.annotations.ReactProp; import com.facebook.react.uimanager.ThemedReactContext; public class CoordinatorLayoutMan...
Check autoAnchor before child iteration
Check autoAnchor before child iteration
Java
mit
cesardeazevedo/react-native-bottom-sheet-behavior,cesardeazevedo/react-native-bottom-sheet-behavior,cesardeazevedo/react-native-bottom-sheet-behavior
4ef9aeee68051cdc10f063caede5aa2d9ad0176c
gerrit-docker/src/main/java/io/fabric8/app/gerrit/GerritModelProcessor.java
gerrit-docker/src/main/java/io/fabric8/app/gerrit/GerritModelProcessor.java
package io.fabric8.app.gerrit; import io.fabric8.kubernetes.generator.annotation.KubernetesModelProcessor; import io.fabric8.openshift.api.model.template.TemplateBuilder; @KubernetesModelProcessor public class GerritModelProcessor { public void onList(TemplateBuilder builder) { builder.addNewServiceObjec...
package io.fabric8.app.gerrit; import io.fabric8.kubernetes.generator.annotation.KubernetesModelProcessor; import io.fabric8.openshift.api.model.template.TemplateBuilder; @KubernetesModelProcessor public class GerritModelProcessor { public void onList(TemplateBuilder builder) { builder.addNewServiceObjec...
Fix issue with error spec[0].protocol. The protocol to be used is TCP
Fix issue with error spec[0].protocol. The protocol to be used is TCP
Java
apache-2.0
finiteloopme/cd-jboss-fuse,finiteloopme/cd-jboss-fuse,finiteloopme/cd-jboss-fuse
bb0ef9bafb394d35e56aad7d3cac3041250121e7
src/main/java/org/trancecode/io/Paths.java
src/main/java/org/trancecode/io/Paths.java
/* * Copyright (C) 2008 TranceCode Software * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This...
/* * Copyright (C) 2008 TranceCode Software * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This...
Make DELIMITER a method rather than a constant
Make DELIMITER a method rather than a constant
Java
lgpl-2.1
herve-quiroz/tc-common
5e4e424a1fdf967b71c138cf8a0fc5140f37629e
src/main/java/RArray.java
src/main/java/RArray.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class RArray extends RObject { public final ArrayList<RObject> impl; public RArray() { impl = new ArrayList<RObject>(); } ...
import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class RArray extends RObject { public final ArrayList<RObject> impl; public RArray() { impl = new ArrayList<RObject>(); } ...
Fix existing Array methods and support negative and >= size sets.
Fix existing Array methods and support negative and >= size sets.
Java
apache-2.0
headius/rubyflux,amorphid/rubyflux,headius/rubyflux,amorphid/rubyflux
837cafad92db7549e46e12ea42f5b63a13281a89
java_tests/org/gem/log/AMQPAppenderTest.java
java_tests/org/gem/log/AMQPAppenderTest.java
package org.gem.log; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.junit.Test; import static org.junit.Assert.assertThat; import static org.junit.matchers.JUnitMatchers.*; import static org.hamcrest.CoreMatchers.*; public class AMQPApp...
package org.gem.log; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.junit.Test; import static org.junit.Assert.assertThat; import static org.junit.matchers.JUnitMatchers.*; import static org.hamcrest.CoreMatchers.*; public class AMQPApp...
Test that .info() and .warn() set the correct event type.
Test that .info() and .warn() set the correct event type. Former-commit-id: 14a833f5c8c252e2e09d8c7ea3e154c3978c403f [formerly 17449ebde702c82594b0d592047ae7c684f14fc9] Former-commit-id: 3b45559df0c8bdc6d5fec59793a9981c71e62e33
Java
agpl-3.0
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine
8a07b2e530a3048e0c9b3d130792dfa5ec89d1b9
src/main/java/interpres/language/values/Symbol.java
src/main/java/interpres/language/values/Symbol.java
package interpres.language.values; import java.util.List; import java.util.Arrays; import interpres.ast.AST; public class Symbol extends Value { private java.lang.String intern; private AST symbolAST; public Symbol(java.lang.String intern) { this(intern, null); } public Symbol(java.lang.String inte...
package interpres.language.values; import java.util.List; import java.util.Arrays; import interpres.ast.AST; public class Symbol extends Value { private java.lang.String intern; private AST symbolAST; public Symbol(java.lang.String intern) { this(intern, new interpres.ast.Symbol(intern)); } public Sy...
Allow unquoting for symbols that were created by a core function
Allow unquoting for symbols that were created by a core function
Java
mit
thomasbrus/interpres
b051719c4fa58d8eb840ca393350e96e5657c655
src/test/com/jedrzejewski/slisp/lexer/LexerTest.java
src/test/com/jedrzejewski/slisp/lexer/LexerTest.java
package com.jedrzejewski.slisp.lexer; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class LexerTest { @Test public void testNextToken() { Lexer lexer =...
package com.jedrzejewski.slisp.lexer; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class LexerTest { @Test public void testNextToken() { Lexer lexer =...
Change order of assert arguments
Change order of assert arguments
Java
mit
jedrz/slisp,jedrz/slisp
21cb2badd2729b4c677fa41b564a4634af0fcd0d
src/main/java/com/gr8pefish/portablecrafting/items/craftingItems/ItemSubCrafting.java
src/main/java/com/gr8pefish/portablecrafting/items/craftingItems/ItemSubCrafting.java
package com.gr8pefish.portablecrafting.items.craftingItems; import com.gr8pefish.portablecrafting.items.ItemBase; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.S...
package com.gr8pefish.portablecrafting.items.craftingItems; import com.gr8pefish.portablecrafting.items.ItemBase; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.S...
Fix registry for no-longer-present subItem
Fix registry for no-longer-present subItem
Java
mit
gr8pefish/PortableCrafting
bf971abdac6222bdd1ee5ace740d95e8c7c5464b
src/main/java/uk/ac/edukapp/util/ServletUtils.java
src/main/java/uk/ac/edukapp/util/ServletUtils.java
package uk.ac.edukapp.util; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; public class ServletUtils { public static String getCookieValue(Cookie[] cookies, String cookieName, String defaultValue) { for (int i = 0; i < cookies.length; i++) { Cookie cookie = cookies...
package uk.ac.edukapp.util; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import org.apache.commons.validator.routines.UrlValidator; public class ServletUtils { public static String getCookieValue(Cookie[] cookies, String cookieName, String defaultValue) { for (int...
Support for web url widget creator
Support for web url widget creator
Java
apache-2.0
palaniyappanBala/edukapp,pradeeshmp/edukapp,metaboy/edukapp,metaboy/edukapp,palaniyappanBala/edukapp,pradeeshmp/edukapp,palaniyappanBala/edukapp,metaboy/edukapp,pradeeshmp/edukapp
a07fa497b4f123de04cc346297c2681c67f4f933
langton/LangtonsAnt.java
langton/LangtonsAnt.java
package langton; import java.awt.Point; import java.util.HashMap; public class LangtonsAnt { private final Point[] directions = { new Point(1, 0), new Point(0, 1), new Point(-1, 0), new Point(0, -1) }; private Point ant; // The ant's position private int direction = 0; ...
package langton; import java.awt.Point; import java.util.HashMap; public class LangtonsAnt { private final Point[] directions = { new Point(1, 0), new Point(0, 1), new Point(-1, 0), new Point(0, -1) }; private Point ant; // The ant's position private int direction = 0; ...
Add getPlane-method. Returns the plane which the ant moves on
Add getPlane-method. Returns the plane which the ant moves on Add getAnt-method. Returns the position of the ant Remove main-method
Java
mit
joelabr/Laborationer-Programmering-1
8974536983361b8b81ebbfacb7400e29a384f02e
src/com/startingblocktech/tcases/DefUtils.java
src/com/startingblocktech/tcases/DefUtils.java
////////////////////////////////////////////////////////////////////////////// // // Copyright 2010, Starting Block Technologies // www.startingblocktech.com // ////////////////////////////////////////////////////////////////////////////// package com.startingblocktech.tcases; im...
////////////////////////////////////////////////////////////////////////////// // // Copyright 2010, Starting Block Technologies // www.startingblocktech.com // ////////////////////////////////////////////////////////////////////////////// package com.startingblocktech.tcases; im...
Clean up exception message for null identifier
assertIdentifier: Clean up exception message for null identifier
Java
mit
Cornutum/tcases,Cornutum/tcases,Cornutum/tcases
2a48ea482cfce7bf2e5e1f3d6dd1bfba1b4af016
src/openmods/asm/OpenModsClassTransformer.java
src/openmods/asm/OpenModsClassTransformer.java
package openmods.asm; import net.minecraft.launchwrapper.IClassTransformer; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassWriter; public class OpenModsClassTransformer implements IClassTransformer { public static interface TransformProvider { public Cl...
package openmods.asm; import net.minecraft.launchwrapper.IClassTransformer; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassWriter; import com.google.common.base.Preconditions; public class OpenModsClassTransformer implements IClassTransformer { public st...
Fix crash on missing classes (it will crash later, but nobody will blame us
Fix crash on missing classes (it will crash later, but nobody will blame us
Java
mit
OpenMods/OpenModsLib,OpenMods/OpenModsLib,nevercast/OpenModsLib
7a5be241b440e69ead071a063843a4466366ebde
src/main/java/org/jboss/modules/Metrics.java
src/main/java/org/jboss/modules/Metrics.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
Fix early initialization of log manager on JDK 9+
[MODULES-222] Fix early initialization of log manager on JDK 9+
Java
apache-2.0
ropalka/jboss-modules,ctomc/jboss-modules,Kast0rTr0y/jboss-modules,jboss-modules/jboss-modules,jasinner/jboss-modules,Sanne/jboss-modules
4b41555727178109cba3c44ee1d82214a79c2ee2
examples/notifications-style/src/main/java/com/deltadna/android/sdk/notifications/example/StyledNotificationFactory.java
examples/notifications-style/src/main/java/com/deltadna/android/sdk/notifications/example/StyledNotificationFactory.java
/* * Copyright (c) 2017 deltaDNA Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* * Copyright (c) 2017 deltaDNA Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Update the example notifications app
DDSDK: Update the example notifications app
Java
apache-2.0
deltaDNA/android-sdk,deltaDNA/android-sdk,deltaDNA/android-sdk
151b93755077f9f39878ab7105aa9054b1963193
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java
package com.codenvy.ide.ext.datasource.client.sqllauncher; import com.google.gwt.i18n.client.Constants; public interface SqlRequestLauncherConstants extends Constants { @DefaultStringValue("Open SQL editor") String menuEntryOpenSqlEditor(); @DefaultStringValue("SQL editor") String sqlEditorWindowTit...
package com.codenvy.ide.ext.datasource.client.sqllauncher; import com.google.gwt.i18n.client.Messages; public interface SqlRequestLauncherConstants extends Messages { @DefaultMessage("Open SQL editor") String menuEntryOpenSqlEditor(); @DefaultMessage("SQL editor") String sqlEditorWindowTitle(); ...
Change constants class to messages
Change constants class to messages
Java
epl-1.0
codenvy/plugin-datasource,codenvy/plugin-datasource
0c0cc661c513c00c5248b59ac1f97257699f8c7e
src/main/java/net/darkmorford/btweagles/eventhandler/EventHandlerBlockDrops.java
src/main/java/net/darkmorford/btweagles/eventhandler/EventHandlerBlockDrops.java
package net.darkmorford.btweagles.eventhandler; import net.darkmorford.btweagles.item.ModItems; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.eventhandler.SubscribeE...
package net.darkmorford.btweagles.eventhandler; import net.darkmorford.btweagles.item.ModItems; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.eventhandler.SubscribeE...
Reduce drop rate of shiny_stone.
Reduce drop rate of shiny_stone.
Java
apache-2.0
DarkMorford/BetterThanWeagles
c1ee635c9ae2e3e8724171fc29a3bf73a1c6c8e9
app/src/main/java/com/twilio/notify/quickstart/notifyapi/TwilioSDKStarterAPI.java
app/src/main/java/com/twilio/notify/quickstart/notifyapi/TwilioSDKStarterAPI.java
package com.twilio.notify.quickstart.notifyapi; import com.twilio.notify.quickstart.notifyapi.model.Binding; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.converter.jackson.JacksonConverterFactory; import retrofit2.http.Body; import retrofit2.http.POST; public class TwilioSDKStarterAPI { pri...
package com.twilio.notify.quickstart.notifyapi; import com.twilio.notify.quickstart.notifyapi.model.Binding; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.converter.jackson.JacksonConverterFactory; import retrofit2.http.Body; import retrofit2.http.POST; public class TwilioSDKStarterAPI { pri...
Replace ngrok url with stub
Replace ngrok url with stub
Java
mit
viktormuller/notifications-quickstart-android
09a78065375e764ea80da4c618997c5edf869cdb
chapter_005/src/main/java/ru/job4j/even/numbers/iterator/EvenNumbersIterator.java
chapter_005/src/main/java/ru/job4j/even/numbers/iterator/EvenNumbersIterator.java
package ru.job4j.even.numbers.iterator; import java.util.Iterator; import java.util.NoSuchElementException; public class EvenNumbersIterator implements Iterator { private int[] numbers; private int index = 0; private int size; public EvenNumbersIterator(final int[] numbers) { this.numbers = n...
package ru.job4j.even.numbers.iterator; import java.util.Iterator; import java.util.NoSuchElementException; public class EvenNumbersIterator implements Iterator { private int[] numbers; private int index = 0; private int size; public EvenNumbersIterator(final int[] numbers) { this.numbers = n...
Add a change to method.
Add a change to method.
Java
apache-2.0
konstantinchurilov/kchurilov
89132dce0f4341c0dd2c6bdbdd02a89681162acd
src/com/redhat/ceylon/common/tool/ToolMessages.java
src/com/redhat/ceylon/common/tool/ToolMessages.java
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
Extend the common Messages class
Extend the common Messages class
Java
apache-2.0
ceylon/ceylon-common,jvasileff/ceylon-common,ceylon/ceylon-common,ceylon/ceylon-common,jvasileff/ceylon-common,jvasileff/ceylon-common
938ec5e5be1e3128a236dfe862854b7230cc0b4e
src/debug/java/gigaherz/graph/api/GraphApiTest.java
src/debug/java/gigaherz/graph/api/GraphApiTest.java
package gigaherz.graph.api; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLInterModComms; import net.minecr...
package gigaherz.graph.api; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLInterModComms; import net.minecr...
Make the test mod take the version from the API.
Make the test mod take the version from the API.
Java
mit
gigaherz/GraphLib
a302a8bb55920e4db99aaa1c6369707b0d90a9d5
jkind-api/src/jkind/api/results/MapRenaming.java
jkind-api/src/jkind/api/results/MapRenaming.java
package jkind.api.results; import java.util.Map; /** * A renaming backed by a map from strings to strings */ public class MapRenaming extends Renaming { private Map<String, String> map; public MapRenaming(Map<String, String> map) { this.map = map; } @Override public String rename(String original) { ret...
package jkind.api.results; import java.util.Map; /** * A renaming backed by a map from strings to strings */ public class MapRenaming extends Renaming { private final Map<String, String> map; private final Mode mode; public static enum Mode { NULL, IDENTITY } public MapRenaming(Map<String, String> map, Mod...
Add two options for map renamings
Add two options for map renamings
Java
bsd-3-clause
backesj/jkind,andrewkatis/jkind-1,lgwagner/jkind,agacek/jkind,lgwagner/jkind,backesj/jkind,agacek/jkind,andrewkatis/jkind-1
53abb0c2334f262c8bc38c9fac22664535358d8b
rdbms/src/test/java/io/spine/server/storage/jdbc/aggregate/given/package-info.java
rdbms/src/test/java/io/spine/server/storage/jdbc/aggregate/given/package-info.java
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Add `@CheckReturnValue` to package info
Add `@CheckReturnValue` to package info
Java
apache-2.0
SpineEventEngine/jdbc-storage,SpineEventEngine/jdbc-storage
f446fbd2eddbe606305d4b871f964d0f20ee97ef
c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/infrastructure/dto/ConsentDto.java
c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/infrastructure/dto/ConsentDto.java
package gov.samhsa.c2s.c2suiapi.infrastructure.dto; import gov.samhsa.c2s.common.validator.constraint.PresentOrFuture; import lombok.Data; import org.hibernate.validator.constraints.ScriptAssert; import javax.validation.Valid; import javax.validation.constraints.Future; import javax.validation.constraints.NotNull; im...
package gov.samhsa.c2s.c2suiapi.infrastructure.dto; import gov.samhsa.c2s.common.validator.constraint.PresentOrFuture; import lombok.Data; import org.hibernate.validator.constraints.ScriptAssert; import javax.validation.Valid; import javax.validation.constraints.Future; import javax.validation.constraints.NotNull; im...
Update Consent Dto to have shareSensitivityCategoriesEnabled attribute
Update Consent Dto to have shareSensitivityCategoriesEnabled attribute #14280 - As a developer I will make consent share/not share type configurable at Deployment Time to support patient UI - Backend
Java
apache-2.0
bhits-dev/c2s-ui-api-test,bhits-dev/c2s-ui-api-test
b836788da6f786bc43694b1ac904b8189ea6c6e3
app/src/main/java/com/github/mobile/DefaultClient.java
app/src/main/java/com/github/mobile/DefaultClient.java
/* * Copyright 2012 GitHub 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 ...
/* * Copyright 2012 GitHub 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 ...
Update user agent for all requests
Update user agent for all requests
Java
apache-2.0
DeLaSalleUniversity-Manila/forkhub-JJCpro10,xfumihiro/ForkHub,mishin/ForkHub,arcivanov/ForkHub,mishin/ForkHub,ywk248248/Forkhub_cloned,jonan/ForkHub,DeLaSalleUniversity-Manila/forkhub-JJCpro10,samuelralak/ForkHub,xfumihiro/ForkHub,mishin/ForkHub,DeLaSalleUniversity-Manila/forkhub-JJCpro10,jonan/ForkHub,ywk248248/Forkhu...
45b135eaa3afd3fb9a65911b57b94a845e40490f
client/src/main/java/replicant/messages/EtagsData.java
client/src/main/java/replicant/messages/EtagsData.java
package replicant.messages; import elemental2.core.JsObject; import javax.annotation.Nonnull; import jsinterop.annotations.JsOverlay; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsType; import jsinterop.base.Any; import jsinterop.base.Js; /** * A simple abstraction for key-value etag pairs. ...
package replicant.messages; import elemental2.core.JsArray; import elemental2.core.JsObject; import javax.annotation.Nonnull; import jsinterop.annotations.JsOverlay; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsType; import jsinterop.base.Any; import jsinterop.base.Js; /** * A simple abstra...
Upgrade to the latest Elemental2 API
Upgrade to the latest Elemental2 API
Java
apache-2.0
realityforge/replicant,realityforge/replicant
6ff69b16f53e772a9d697fa06123ec0c95814f76
src/main/java/nl/thehyve/ocdu/validators/fileValidators/DataPreMappingValidator.java
src/main/java/nl/thehyve/ocdu/validators/fileValidators/DataPreMappingValidator.java
package nl.thehyve.ocdu.validators.fileValidators; import nl.thehyve.ocdu.models.OCEntities.ClinicalData; import nl.thehyve.ocdu.models.OcDefinitions.MetaData; import nl.thehyve.ocdu.validators.ClinicalDataChecksRunner; import nl.thehyve.ocdu.validators.clinicalDataChecks.ClinicalDataCrossCheck; import nl.thehyve.ocdu...
package nl.thehyve.ocdu.validators.fileValidators; import nl.thehyve.ocdu.models.OCEntities.ClinicalData; import nl.thehyve.ocdu.models.OcDefinitions.MetaData; import nl.thehyve.ocdu.validators.ClinicalDataChecksRunner; import nl.thehyve.ocdu.validators.clinicalDataChecks.*; import org.openclinica.ws.beans.StudySubjec...
Add event existence to the mapping pre checks
Add event existence to the mapping pre checks
Java
agpl-3.0
thehyve/Open-Clinica-Data-Uploader,thehyve/Open-Clinica-Data-Uploader,thehyve/Open-Clinica-Data-Uploader
bdb08e4ebca8b7e6cc3c00d98fbb9b1702c8a378
main/src/cgeo/geocaching/sorting/NameComparator.java
main/src/cgeo/geocaching/sorting/NameComparator.java
package cgeo.geocaching.sorting; import cgeo.geocaching.Geocache; import cgeo.geocaching.utils.TextUtils; import org.apache.commons.lang3.StringUtils; import java.text.Collator; /** * sorts caches by name * */ class NameComparator extends AbstractCacheComparator { private final Collator collator; publi...
package cgeo.geocaching.sorting; import cgeo.geocaching.Geocache; import cgeo.geocaching.utils.TextUtils; import org.apache.commons.lang3.StringUtils; import java.text.Collator; /** * sorts caches by name * */ class NameComparator extends AbstractCacheComparator { private final Collator collator = TextUtils...
Initialize final field in field declaration
Initialize final field in field declaration
Java
apache-2.0
Huertix/cgeo,ThibaultR/cgeo,Bananeweizen/cgeo,Huertix/cgeo,ThibaultR/cgeo,madankb/cgeo,superspindel/cgeo,lewurm/cgeo,matej116/cgeo,yummy222/cgeo,pstorch/cgeo,vishwakulkarni/cgeo,auricgoldfinger/cgeo,lewurm/cgeo,brok85/cgeo,SammysHP/cgeo,xiaoyanit/cgeo,cgeo/cgeo,samueltardieu/cgeo,yummy222/cgeo,vishwakulkarni/cgeo,rsude...
debf82416f3eaeeb520724aa2100392342c74e51
core/src/main/java/com/hp/autonomy/searchcomponents/core/search/DocumentsService.java
core/src/main/java/com/hp/autonomy/searchcomponents/core/search/DocumentsService.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.searchcomponents.core.search; import com.hp.autonomy.types.requests.Documents; import java.io.Serializable; im...
/* * 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.searchcomponents.core.search; import com.hp.autonomy.types.requests.Documents; import java.io.Serializable; im...
Change custom tag name [rev. matthew.gordon]
Change custom tag name [rev. matthew.gordon]
Java
mit
hpe-idol/haven-search-components,hpautonomy/haven-search-components,hpautonomy/haven-search-components,hpe-idol/haven-search-components
c8f746dce8d0cd997b86ced0152ae0a7ccbfd7e0
src/a4_p01_JS_MJ_test/a4Test.java
src/a4_p01_JS_MJ_test/a4Test.java
package a4_p01_JS_MJ_test; public class a4Test { }
package a4_p01_JS_MJ_test; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.jgrapht.Graph; import org.jgrapht.WeightedGraph; import org.jgrapht.graph.DefaultEdge; import org.jgrapht.graph.DefaultWeightedEdge; import org.jgra...
Test with K5 graph for fleury and hierholzer added.
Test with K5 graph for fleury and hierholzer added.
Java
lgpl-2.1
redvox/gka
42ffe540e2948b3f7e2f2f52aa9cc34847223c7f
test/regression/forNameTest.java
test/regression/forNameTest.java
class forNameTest { public static void main(String argv[]) { try { Class.forName("loadThis"); Class c = Class.forName("loadThis", false, new ClassLoader() { public Class loadClass(String n, boolean resolve) throws ClassNotFoundException { Class cl = findSystemCl...
class forNameTest { public static void main(String argv[]) { try { Class.forName("loadThis"); Class c = Class.forName("loadThis", false, new ClassLoader() { public Class loadClass(String n) throws ClassNotFoundException { return findSystemClass(n); } })...
Revert to previous version.. it should still work.
Revert to previous version.. it should still work.
Java
lgpl-2.1
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
9df4daaf1a2688ca434cffd4a92e81bc415fbac9
src/main/java/com/google/sps/servlets/SessionInit.java
src/main/java/com/google/sps/servlets/SessionInit.java
package com.google.sps.servlets; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseAuthException; import com.google.firebase.auth.SessionCookieOptions; import com.google.sps.firebase.FirebaseAppManager; import java.io.IOException; import java.util.concurrent.TimeUnit; import javax.s...
package com.google.sps.servlets; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseAuthException; import com.google.firebase.auth.SessionCookieOptions; import com.google.sps.firebase.FirebaseAppManager; import java.io.IOException; import java.util.concurrent.TimeUnit; import javax.s...
Create session cookie that expires in 5 days.
Create session cookie that expires in 5 days.
Java
apache-2.0
googleinterns/step87-2020,googleinterns/step87-2020,googleinterns/step87-2020,googleinterns/step87-2020
deb4e150378266fee5e2766a34d7cdbdcda3e55d
src/test/java/see/integration/TreeEquivalenceTest.java
src/test/java/see/integration/TreeEquivalenceTest.java
package see.integration; import org.junit.experimental.theories.DataPoints; import org.junit.experimental.theories.Theories; import org.junit.experimental.theories.Theory; import org.junit.runner.RunWith; import see.See; import see.tree.Node; import static org.junit.Assert.assertEquals; @RunWith(Theories.class) publ...
package see.integration; import org.junit.experimental.theories.DataPoints; import org.junit.experimental.theories.Theories; import org.junit.experimental.theories.Theory; import org.junit.runner.RunWith; import see.See; import see.tree.Node; import static org.junit.Assert.assertEquals; @RunWith(Theories.class) publ...
Test for tree equivalence now checks hashCode
Test for tree equivalence now checks hashCode
Java
apache-2.0
xicmiah/see
694d824d60e7ca7f00aa9dc5d902b3dd5b002701
src/main/java/com/axellience/vuegwt/client/definitions/VueComponentDefinitionCache.java
src/main/java/com/axellience/vuegwt/client/definitions/VueComponentDefinitionCache.java
package com.axellience.vuegwt.client.definitions; import com.axellience.vuegwt.client.VueComponent; import java.util.HashMap; import java.util.Map; /** * A Cache for generated VueComponentDefinitions. * Using static initializer block, VueComponentDefinitions register an instance of themselves in * this Cache. * ...
package com.axellience.vuegwt.client.definitions; import com.axellience.vuegwt.client.VueComponent; import java.util.HashMap; import java.util.Map; /** * A Cache for generated VueComponentDefinitions. * Using static initializer block, VueComponentDefinitions register an instance of themselves in * this Cache. * ...
Improve error message when Component is not found in Cache
Improve error message when Component is not found in Cache
Java
mit
Axellience/vue-gwt,Axellience/vue-gwt,Axellience/vue-gwt,Axellience/vue-gwt
db7ad07081343df040b7d41b8881155257a02db5
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.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 ...
/* * 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 ...
Revert "Switch the default registry to ZK based"
Revert "Switch the default registry to ZK based" This reverts commit 558ee079fd04dfab8e61eca10ee98ab5bac89dfa because it wasn't tagged with a jira ID. Will be re-applied.
Java
apache-2.0
HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase
2e267050997a95c35061fa68b522b0e9c225de2c
src/main/java/com/example/client/Dragula.java
src/main/java/com/example/client/Dragula.java
package com.example.client; import jsinterop.annotations.JsMethod; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsType; @JsType(isNative = true) public class Dragula { @JsMethod(namespace = JsPackage.GLOBAL) public native static Dragula dragula(Element... elements); }
package com.example.client; import jsinterop.annotations.JsMethod; import jsinterop.annotations.JsOverlay; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsProperty; import jsinterop.annotations.JsType; @JsType(isNative = true) public class Dragula { @JsMethod(namespace = JsPackage.GLOBAL) pu...
Add more methods to dragula
Add more methods to dragula
Java
mit
ArloL/gwt-dragula-test,ArloL/gwt-dragula-test
49fd1383a7e23d93526588691d30454eb31d845c
CRSemantics/CRSemantics/src/interfaces/Semantics.java
CRSemantics/CRSemantics/src/interfaces/Semantics.java
package interfaces; import java.util.List; public interface Semantics { public List<Integer> getPossibleActions(Graph graph) throws Exception; public Graph executeAction(Graph graph, List<Integer> ids) throws Exception; public boolean isFinished(Graph graph) throws Exception; ...
package interfaces; import java.util.List; public interface Semantics { public List<Integer> getPossibleActions(Graph graph) throws Exception; public Graph executeAction(Graph graph, List<Integer> ids) throws Exception; public boolean isFinished(Graph graph) throws Exception; }
Remove some weird unnecessary whitespace
Remove some weird unnecessary whitespace
Java
mit
tslaats/SE2017-Team1
eda18f9410c120e132555bf318a086d7b62e83cf
code-sample-java/code-sample-java-10/src/main/java/codesample/java10/NewStuffJavaTen.java
code-sample-java/code-sample-java-10/src/main/java/codesample/java10/NewStuffJavaTen.java
package codesample.java10; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class NewStuffJavaTen { public static void main(String[] args) { /* Type-inference (Note: does not work for non-local variables, array initializers, lambdas (when you create la...
package codesample.java10; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; public class NewStuffJavaTen { public static void main(String[] args) { /* Type-inference (Note: does not work for non-local vari...
Add new java 10 code
Add new java 10 code
Java
mit
aquatir/remember_java_api,aquatir/remember_java_api,aquatir/remember_java_api,aquatir/remember_java_api
6d1dded4e0c97641bb9d115f5ac71e5ebd400316
src/main/java/com/dnmaze/dncli/util/JsUtil.java
src/main/java/com/dnmaze/dncli/util/JsUtil.java
package com.dnmaze.dncli.util; import jdk.nashorn.api.scripting.NashornScriptEngineFactory; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import javax.script.Compilable; import javax.script.Compile...
package com.dnmaze.dncli.util; import jdk.nashorn.api.scripting.NashornScriptEngineFactory; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import javax.script.Compilable; import javax.script.Compile...
Use es6 language for the newer features.
Use es6 language for the newer features.
Java
mit
ben-lei/dncli,ben-lei/dncli
18f909f0e8cd328231a5b708de5a12dfea35a447
Scanner/src/main/java/benchmarking/Monitoring.java
Scanner/src/main/java/benchmarking/Monitoring.java
package benchmarking; import converters.JsonConverter; import datamodel.PerformanceSelfMonitoring; import mongo.MongoManager; public class Monitoring { PerformanceMonitoring performanceMonitoring = new PerformanceMonitoring(); long startTime = -1, endTime = -1, totalTime = -1; public void startMonitorin...
package benchmarking; import converters.JsonConverter; import datamodel.monitoring.PerformanceMonitoringResults; import mongo.MongoManager; public class Monitoring { PerformanceMonitoring performanceMonitoring = new PerformanceMonitoring(); long startTime = -1, endTime = -1, totalTime = -1; public void ...
Use PerformanceMontoringResults as a datamodel.
Use PerformanceMontoringResults as a datamodel.
Java
apache-2.0
IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring
99165c7f20a8808718e57f9e4fa27234551057f3
jena-base/src/main/java/org/apache/jena/base/Sys.java
jena-base/src/main/java/org/apache/jena/base/Sys.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...
/** * 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...
Use apache.common.lang3 for OS determination.
Use apache.common.lang3 for OS determination.
Java
apache-2.0
apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena
380c4ef84a352f03031bc7e4dbf86d1c38736e5d
src/main/java/com/brg/controller/DefineTab.java
src/main/java/com/brg/controller/DefineTab.java
package com.brg.controller; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.web.WebView; import java.net.URL; import java.util.ResourceBundle; public class DefineTab implements Initializable, TabControllerImpl { @FXML private WebView webView; @Override public void initial...
package com.brg.controller; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.web.WebView; import java.net.URL; import java.util.ResourceBundle; public class DefineTab implements Initializable, TabControllerImpl { @FXML private WebView webView; @Override public void initial...
Define tab will not reload automatically anymore.
Define tab will not reload automatically anymore.
Java
mit
tomvlk/BusinessRuleGenerator-to
cd371a57409744d9ca1887f8b883408c9cf8cbe7
src/main/java/fi/helsinki/cs/tmc/cli/io/Io.java
src/main/java/fi/helsinki/cs/tmc/cli/io/Io.java
package fi.helsinki.cs.tmc.cli.io; public abstract class Io { public abstract void print(String str); public void print(Object obj) { print(String.valueOf(obj)); } public void println(String str) { print(str + "\n"); } public abstract String readLine(String prompt); pub...
package fi.helsinki.cs.tmc.cli.io; import java.io.IOException; import java.io.Writer; import java.util.Arrays; public abstract class Io extends Writer { public abstract void print(String str); public void print(Object obj) { print(String.valueOf(obj)); } public void println(String str) { ...
Extend the writer class in the IO class.
Extend the writer class in the IO class.
Java
mit
testmycode/tmc-cli,testmycode/tmc-cli,tmc-cli/tmc-cli,tmc-cli/tmc-cli
fe36f05b9b9a5c033a4360707c70079e0e118aa5
src/main/java/mil/dds/anet/resources/AdminResource.java
src/main/java/mil/dds/anet/resources/AdminResource.java
package mil.dds.anet.resources; import java.util.List; import javax.annotation.security.RolesAllowed; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.Response; import mil.dds.anet.AnetObjectEngine; import mil.dds.anet.beans.AdminSetting; import mil.dds.anet.database....
package mil.dds.anet.resources; import java.util.List; import javax.annotation.security.RolesAllowed; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.Response; import mil.dds.anet.AnetObjectEngine; import mil.dds.anet.beans.AdminSetting; import mil.dds.anet.database....
Change adminSettings/save to accept a list of settings instead of just one
Change adminSettings/save to accept a list of settings instead of just one
Java
mit
NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet
4abe87036c2b50c1e27f4ccf27bab4076d2cf03f
src/main/java/org/kohsuke/github/GHEvent.java
src/main/java/org/kohsuke/github/GHEvent.java
package org.kohsuke.github; import java.util.Locale; /** * Hook event type. * * @author Kohsuke Kawaguchi * @see GHEventInfo * @see <a href="https://developer.github.com/v3/activity/events/types/">Event type reference</a> */ public enum GHEvent { COMMIT_COMMENT, CREATE, DELETE, DEPLOYMENT, D...
package org.kohsuke.github; import java.util.Locale; /** * Hook event type. * * @author Kohsuke Kawaguchi * @see GHEventInfo * @see <a href="https://developer.github.com/v3/activity/events/types/">Event type reference</a> */ public enum GHEvent { COMMIT_COMMENT, CREATE, DELETE, DEPLOYMENT, D...
Add missing event types used by repository webhooks
Add missing event types used by repository webhooks
Java
mit
kohsuke/github-api,recena/github-api,stephenc/github-api
7d36288186d3828d48922dfd6bd4266d135f20c1
app/src/ee/ioc/phon/android/speak/service/Constants.java
app/src/ee/ioc/phon/android/speak/service/Constants.java
package ee.ioc.phon.android.speak.service; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class Constants { public static final Set<Character> CHARACTERS_WS = new HashSet<>(Arrays.asList(new Character[]{' ', '\n', '\t'})); // Symbols that should not be preceded b...
package ee.ioc.phon.android.speak.service; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class Constants { public static final Set<Character> CHARACTERS_WS = new HashSet<>(Arrays.asList(new Character[]{' ', '\n', '\t'})); // Symbols that should not be preceded b...
Add ) as sentence end marker to cap word after :-)
Add ) as sentence end marker to cap word after :-)
Java
apache-2.0
Kaljurand/K6nele,Kaljurand/K6nele,Kaljurand/K6nele
311a5522ff42b7afa200c6ebc67585a1837ae999
src/city/smug/projectmercury/messaging/Messenger.java
src/city/smug/projectmercury/messaging/Messenger.java
package city.smug.projectmercury.messaging; import java.util.ArrayList; import city.smug.projectmercury.sms.SmsHandler; public class Messenger { protected ArrayList<Group> groups = new ArrayList<>(); protected static Messenger instance = new Messenger(); public static Messenger getInstance() { r...
package city.smug.projectmercury.messaging; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.InputStreamReader; import java.net.Socket; import java.util.ArrayList; import java.util.Calendar; import city.smug.projectmercury.api.Rest; import city.smug.projec...
Send and receive TCP messages
Send and receive TCP messages
Java
apache-2.0
Project-Mercury-App/android
45188467843baa33e9a0e2868fade3b24371a11a
gtfs-validator-json/src/main/java/com/conveyal/gtfs/validator/json/FeedValidationResult.java
gtfs-validator-json/src/main/java/com/conveyal/gtfs/validator/json/FeedValidationResult.java
package com.conveyal.gtfs.validator.json; import java.util.Collection; import java.util.Date; import com.conveyal.gtfs.model.ValidationResult; /** * A class to hold all of the results of a validation on a single feed. * Not to be confused with {@link com.conveyal.gtfs.model.ValidationResult}, which holds all insta...
package com.conveyal.gtfs.validator.json; import java.util.Collection; import java.util.Date; import com.conveyal.gtfs.model.ValidationResult; import com.fasterxml.jackson.annotation.JsonProperty; /** * A class to hold all of the results of a validation on a single feed. * Not to be confused with {@link com.convey...
Make loadstatus end up in the json.
Make loadstatus end up in the json.
Java
mit
laidig/gtfs-validator,laidig/gtfs-validator,conveyal/gtfs-validator,conveyal/gtfs-validator,laidig/gtfs-validator,conveyal/gtfs-validator,laidig/gtfs-validator,conveyal/gtfs-validator
820a0d160a3387e65d624d0289440931552e9c9e
src/main/java/com/quantxt/io/model/Cell.java
src/main/java/com/quantxt/io/model/Cell.java
package com.quantxt.io.model; public interface Cell { Row getRow(); CellType getCellType(); CellStyle getCellStyle(); void setCellStyle(CellStyle cellStyle); String getStringCellValue(); String getFormulaCellValue(); boolean getBooleanCellValue(); double getNumericCellValue(); ...
package com.quantxt.io.model; public interface Cell { Row getRow(); CellType getCellType(); CellStyle getCellStyle(); void setCellStyle(CellStyle cellStyle); String getStringCellValue(); String getFormulaCellValue(); boolean getBooleanCellValue(); double getNumericCellValue(); ...
Add getter for cellIndex field
Add getter for cellIndex field
Java
apache-2.0
quantxt/NLPAnalytics
43a52ddacd0f0a0a8e88a0abde4075ec37954f97
dtdinst/src/com/thaiopensource/xml/dtd/app/Driver.java
dtdinst/src/com/thaiopensource/xml/dtd/app/Driver.java
package com.thaiopensource.xml.dtd.app; import java.io.IOException; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import com.thaiopensource.xml.out.CharRepertoire; import com.thaiopensource.xml.out.XmlWriter; import com.thaiopensource.xml.util.EncodingMap; import com.thaiopensource.xml.dtd.om.DtdP...
package com.thaiopensource.xml.dtd.app; import java.io.IOException; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import com.thaiopensource.xml.out.CharRepertoire; import com.thaiopensource.xml.out.XmlWriter; import com.thaiopensource.xml.util.EncodingMap; import com.thaiopensource.xml.dtd.om.DtdP...
Call RelaxNgWriter as a temporary hack.
Call RelaxNgWriter as a temporary hack.
Java
bsd-3-clause
hanshuebner/jing-trang,dmj/jing-trang,dmj/jing-trang,brand/jing-trang,hanshuebner/jing-trang,hanshuebner/jing-trang,brand/jing-trang,dmj/jing-trang,brand/jing-trang
82c2fa81721e913e54e8b3c62e3971a79cadae20
edu.oregonstate.cope.clientrecorder/tests/edu/oregonstate/cope/clientRecorder/RecorderPropertiesTest.java
edu.oregonstate.cope.clientrecorder/tests/edu/oregonstate/cope/clientRecorder/RecorderPropertiesTest.java
package edu.oregonstate.cope.clientRecorder; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import edu.oregonstate.cope.tests.util.StubFileProvider; public class RecorderPropertiesTest { private RecorderProperties properties; private StubFileProvider fileProvider; @Before pu...
package edu.oregonstate.cope.clientRecorder; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import edu.oregonstate.cope.tests.util.StubFileProvider; public class RecorderPropertiesTest { private RecorderProperties properties; private StubFileProvider fileProvider; @Before pu...
Test for multiple key insertions added
Test for multiple key insertions added
Java
epl-1.0
ChangeOrientedProgrammingEnvironment/eclipseRecorder,ChangeOrientedProgrammingEnvironment/eclipseRecorder,ChangeOrientedProgrammingEnvironment/eclipseReplayer
f0ebe8f545b4e241fbbc000fbf63e3a1774434ba
extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java
extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java
package io.quarkus.elytron.security.runtime; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; /** * */ @ConfigRoot(phase = ConfigPhase.RUN_TIME) public final class SecurityConfig { /** * The configuration ...
package io.quarkus.elytron.security.runtime; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; /** * */ @ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED) public final class SecurityConfig { /** * Th...
Make security config be fixed at build time
Make security config be fixed at build time
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
296a7ba4216a14c21d8391cccf8a3c6f34fbc1cc
java/org/apache/tomcat/util/net/Constants.java
java/org/apache/tomcat/util/net/Constants.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...
/* * 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...
Remove unused code identified by the UCDetector
Remove unused code identified by the UCDetector git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1636563 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4
11b7f9bf096aace5296f5a8c530082803930880e
atlassian-pageobjects-elements/src/test/java/com/atlassian/pageobjects/elements/test/pageobjects/page/DynamicPage.java
atlassian-pageobjects-elements/src/test/java/com/atlassian/pageobjects/elements/test/pageobjects/page/DynamicPage.java
package com.atlassian.pageobjects.elements.test.pageobjects.page; import com.atlassian.pageobjects.Page; import com.atlassian.pageobjects.elements.Element; import com.atlassian.pageobjects.elements.ElementBy; import com.atlassian.pageobjects.elements.ElementFinder; import javax.inject.Inject; import static ...
package com.atlassian.pageobjects.elements.test.pageobjects.page; import com.atlassian.pageobjects.Page; import com.atlassian.pageobjects.elements.Element; import com.atlassian.pageobjects.elements.ElementBy; import com.atlassian.pageobjects.elements.ElementFinder; import javax.inject.Inject; import static ...
Fix compilation error from previous checkin.
Fix compilation error from previous checkin.
Java
bsd-3-clause
adini121/atlassian,adini121/atlassian,adini121/atlassian,adini121/atlassian
cd4f3001ede95e3439a5c6164bb515f8a83eabe3
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/CreateOtpResponse.java
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/CreateOtpResponse.java
/* * Copyright 2021 Wultra s.r.o. * * 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...
/* * Copyright 2021 Wultra s.r.o. * * 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...
Allow OTP creation without user ID
Allow OTP creation without user ID
Java
apache-2.0
lime-company/powerauth-webflow,lime-company/powerauth-webflow,lime-company/powerauth-webflow
7ff7cbe88569c6e7d6f3c7daef364992437378d5
src/test/java/net/sf/jabref/gui/help/HelpFileTest.java
src/test/java/net/sf/jabref/gui/help/HelpFileTest.java
package net.sf.jabref.gui.help; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import org.junit.Test; import static junit.framework.TestCase.assertEquals; public class HelpFileTest { private final String jabrefHelp = "http://help.jabref.org/en/"; @Test public void re...
package net.sf.jabref.gui.help; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import org.junit.Test; import static junit.framework.TestCase.assertEquals; public class HelpFileTest { private final String jabrefHelp = "http://help.jabref.org/en/"; @Test public void re...
Set user agent to fix 403 status error
Set user agent to fix 403 status error
Java
mit
shitikanth/jabref,jhshinn/jabref,Mr-DLib/jabref,bartsch-dev/jabref,mairdl/jabref,grimes2/jabref,Mr-DLib/jabref,oscargus/jabref,obraliar/jabref,sauliusg/jabref,jhshinn/jabref,obraliar/jabref,shitikanth/jabref,Mr-DLib/jabref,jhshinn/jabref,oscargus/jabref,Braunch/jabref,obraliar/jabref,shitikanth/jabref,motokito/jabref,o...
f9b298f168fa5ef69e42ce58751227aef96e9ce3
src/com/thaiopensource/relaxng/ValuePattern.java
src/com/thaiopensource/relaxng/ValuePattern.java
package com.thaiopensource.relaxng; import org.xml.sax.Locator; import com.thaiopensource.datatype.Datatype; class ValuePattern extends SimplePattern { String str; Datatype dt; ValuePattern(Datatype dt, String str, Locator locator) { super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator); thi...
package com.thaiopensource.relaxng; import org.xml.sax.Locator; import com.thaiopensource.datatype.Datatype; class ValuePattern extends SimplePattern { String str; Datatype dt; ValuePattern(Datatype dt, String str, Locator locator) { super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator); thi...
Fix a couple of bugs.
Fix a couple of bugs.
Java
bsd-3-clause
hanshuebner/jing-trang,brand/jing-trang,dmj/jing-trang,brand/jing-trang,hanshuebner/jing-trang,hanshuebner/jing-trang,dmj/jing-trang,brand/jing-trang,dmj/jing-trang
e70292db060e0cb2b690ff413608a7ba4bf5c7fd
src/main/java/interpres/ast/StringLiteral.java
src/main/java/interpres/ast/StringLiteral.java
package interpres.ast; import java.util.List; import java.util.ArrayList; import interpres.language.DefinitionTable; import interpres.language.values.Value; public class StringLiteral extends AST { private String literal; public StringLiteral(String literal) { this.literal = literal; } public Value eva...
package interpres.ast; import java.util.List; import java.util.ArrayList; import interpres.language.DefinitionTable; import interpres.language.values.Value; public class StringLiteral extends AST { private String literal; public StringLiteral(String literal) { this.literal = literal; } public Value eva...
Call asm.loads when a string is encountered
Call asm.loads when a string is encountered
Java
mit
thomasbrus/interpres
d6eafa5c08839d1fc10c5f6dadb53afc694a3c08
src/main/java/com/nincraft/ninbot/command/DabCommand.java
src/main/java/com/nincraft/ninbot/command/DabCommand.java
package com.nincraft.ninbot.command; import com.nincraft.ninbot.util.MessageUtils; import lombok.val; import net.dv8tion.jda.core.entities.Message; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; public class DabCommand extends AbstractCommand { public DabCommand() { length = 3; ...
package com.nincraft.ninbot.command; import com.nincraft.ninbot.util.MessageUtils; import lombok.val; import net.dv8tion.jda.core.entities.Message; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; public class DabCommand extends AbstractCommand { public DabCommand() { length = 3; ...
Remove @ from user on Dab command
Remove @ from user on Dab command
Java
mit
Nincodedo/Ninbot
3ed1a2f80593f7960f3a3e06c818f8ab893c0687
src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java
src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java
package novoda.lib.sqliteprovider.util; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.List; /** * Parsing .sql files and get single statements suitable for insertion. */ public class SQL...
package novoda.lib.sqliteprovider.util; import java.io.*; import java.util.ArrayList; import java.util.List; /** * Parsing .sql files and get single statements suitable for insertion. */ public class SQLFile { private BufferedReader reader; private List<String> statements; private boolean inComment ...
Fix for line trimming so it is actually in use
Fix for line trimming so it is actually in use
Java
apache-2.0
HarryMMR/sqlite-provider
ed54cfb00254f98918dbfbc9940b059bc8eea9a2
src/Wift.java
src/Wift.java
public class Wift { /** * Wift - The BASIC Programming Language * * BASIC FUNCTIONALITY: * - STRINGS [] * - INTEGERS [] * - ARITHMETIC [] * - VARIABLES [] * * FUNCTIONS: * - PRINT [] * - INPUT [] ...
public class Wift { /** * Wift - The BASIC Programming Language * * BASIC FUNCTIONALITY: * - STRINGS [] * - INTEGERS [] * - ARITHMETIC [] * - VARIABLES [] * * FUNCTIONS: * - PRINT [] * - INPUT [] ...
Set "String filePath" for "readFile()" :mag:
Set "String filePath" for "readFile()" :mag:
Java
bsd-2-clause
SuriyaaKudoIsc/wift,SuriyaaKudoIsc/wift
db2f61cc6526460aa8cf0f2cc63afa8f225bd505
src/main/java/com/spotify/sshagentproxy/AgentProxy.java
src/main/java/com/spotify/sshagentproxy/AgentProxy.java
/** * Copyright (c) 2015 Spotify AB. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright (c) 2015 Spotify AB. * * 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...
Update java docs for sign()
Update java docs for sign()
Java
apache-2.0
spotify/ssh-agent-proxy
751bb272f7fb34b2909d9d0a5309b7d3503276af
src/storm2013/commands/SpinUp.java
src/storm2013/commands/SpinUp.java
package storm2013.commands; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; import storm2013.Robot; /** * Spins up the firing wheel. * @author evan1026 */ public class SpinUp extends Command { private Timer _onTargetTimer = new Timer(); /** * Creates a new instance b...
package storm2013.commands; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; import storm2013.Robot; /** * Spins up the firing wheel. * @author evan1026 */ public class SpinUp extends Command { private Timer _onTargetTimer = new Timer(); /** * Creates a new instance b...
Add timer for spin up finish
Add timer for spin up finish
Java
bsd-3-clause
2729StormRobotics/Storm2013
a5f515fffff04d86b7339e473bf7565d5af57e77
Lab_1/Calculator/src/calculator/CalculatorIF.java
Lab_1/Calculator/src/calculator/CalculatorIF.java
package calculator; public interface CalculatorIF { /** * @return Given two integers, m and n, returns the result of m/n */ int divide(int m, int n); /** * @return Given two integers, m and n, returns the result of m*n */ int multiply(int m, int n); /** * @returs Given two ...
package calculator; public interface CalculatorIF { /** * @return Given two integers, m and n, returns the result of m/n */ int divide(int m, int n); /** * @return Given two integers, m and n, returns the result of m*n */ int multiply(int m, int n); /** * @return Given two...
Add subtract to the Calculator interface
Add subtract to the Calculator interface
Java
mit
korut94/ase-fall-17,korut94/ase-fall-17
15282287d450b8e65c1354a0d76e0ceb50983726
server/src/som/langserv/SomWindow.java
server/src/som/langserv/SomWindow.java
package som.langserv; import java.util.function.Consumer; import io.typefox.lsapi.MessageParams; import io.typefox.lsapi.ShowMessageRequestParams; import io.typefox.lsapi.services.WindowService; public class SomWindow implements WindowService { @Override public void onShowMessage(final Consumer<MessageParams> ...
package som.langserv; import java.util.function.Consumer; import io.typefox.lsapi.MessageParams; import io.typefox.lsapi.ShowMessageRequestParams; import io.typefox.lsapi.services.WindowService; public class SomWindow implements WindowService { private Consumer<MessageParams> showCallback; private Consumer<Mes...
Implement sending of UI messages and logs to IDE
Implement sending of UI messages and logs to IDE Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Java
mit
smarr/SOMns-vscode,smarr/SOMns-vscode,smarr/SOMns-vscode
4cea5641cf6c8b02f7de7d7808f81b23a52fa79e
src/main/java/nl/r0b3rtk/jmoribus/spring/SpringRunner.java
src/main/java/nl/r0b3rtk/jmoribus/spring/SpringRunner.java
package nl.r0b3rtk.jmoribus.spring; public class SpringRunner { public SpringRunner() { // default constructor } }
package nl.r0b3rtk.jmoribus.spring; public class SpringRunner { public SpringRunner(String applicationContextLocation) { // default constructor } }
Add default constructor to test Travis
Add default constructor to test Travis
Java
mit
r0b3rtk/JMoribus-spring
44f58034145be1beb6fcb1aae87bd87dda87211d
src/test/java/com/google/sps/tool/GoogleTranslateTest.java
src/test/java/com/google/sps/tool/GoogleTranslateTest.java
package com.google.sps.tool; import org.junit.Test; import org.junit.Assert; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.google.sps.tool.GoogleTranslate; public class GoogleTranslateTest { @Test public void translateHelloToSpanish() { assertEquals("Hola...
package com.google.sps.tool; import org.junit.Test; import org.junit.Assert; import static org.junit.Assert.assertNotNull; import com.google.sps.tool.GoogleTranslate; public class GoogleTranslateTest { @Test public void translateHelloToSpanish() { assertNotNull(GoogleTranslate.translateText("hello", "es")); ...
Add assertNotNull instead to isolate dependency on API result
Add assertNotNull instead to isolate dependency on API result
Java
apache-2.0
google/step197-2020,google/step197-2020,google/step197-2020,google/step197-2020
e48ca071305341d35a2030232ef240eddaad4b3a
Ryhma57/src/ryhma57/references/Book.java
Ryhma57/src/ryhma57/references/Book.java
package ryhma57.references; import java.util.EnumSet; import ryhma57.backend.BibtexReferenceField; import static ryhma57.backend.BibtexReferenceField.*; public class Book extends Reference { private static EnumSet<BibtexReferenceField> existingFields; private static EnumSet<BibtexReferenceField> requiredField...
package ryhma57.references; import java.util.EnumSet; import ryhma57.backend.BibtexReferenceField; import static ryhma57.backend.BibtexReferenceField.*; public class Book extends Reference { private static EnumSet<BibtexReferenceField> existingFields; private static EnumSet<BibtexReferenceField> requiredField...
Simplify the book class even more.
Simplify the book class even more.
Java
bsd-2-clause
GandhiCorn/Ryhmae57-OHTU-miniprojekti