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
960cea61c6774f19cce87ea25691fee11c1ef8f5
src/test/java/org/qpt/receipt/ItemTest.java
src/test/java/org/qpt/receipt/ItemTest.java
package org.qpt.receipt; import org.junit.Test; import static org.junit.Assert.*; /** * Created by Sora on 2016/7/6. */ public class ItemTest { private static Goods getGoods() { Goods goods = new Goods("ITEM000001", "可口可乐"); goods.setCategory("食品", "饮料"); goods.setPrice(3.00f, "瓶"); ...
package org.qpt.receipt; import org.junit.Test; import static org.junit.Assert.*; /** * Created by Sora on 2016/7/6. */ public class ItemTest { private static Goods getGoods() { Goods goods = new Goods("ITEM000001", "可口可乐"); goods.setCategory("食品", "饮料"); goods.setPrice(3.00f, "瓶"); ...
Fix bugs in item test case
Fix bugs in item test case
Java
apache-2.0
peterhp/ReceiptPrinter-Java
d262982255df13839daae4fec30accd9617ed157
src/application/Actions/ForwardAction.java
src/application/Actions/ForwardAction.java
package application.Actions; import javafx.geometry.Point2D; import application.SLogoCanvas; import application.Turtle; public class ForwardAction extends AbstractAction { public ForwardAction(double distance) { myValue = distance; } @Override public void update(Turtle turtle, SLogoCanvas canvas) { Point2D ...
package application.Actions; import javafx.geometry.Point2D; import application.SLogoCanvas; import application.Turtle; public class ForwardAction extends AbstractAction { public ForwardAction(double distance) { myValue = distance; } @Override public void update(Turtle turtle, SLogoCanvas canvas) { Point2D ...
Revert "fixed pen styling bug"
Revert "fixed pen styling bug" This reverts commit 2acf214f5479ca2a691e0f4b09bcef8a28f99e2a.
Java
mit
ngbalk/SLOGO
829d636c9ec69d518690b1be2c56ef1f7134b44a
src/main/java/com/dragonheart/dijkstra/DijkstraGraph.java
src/main/java/com/dragonheart/dijkstra/DijkstraGraph.java
package com.dragonheart.dijkstra; import java.util.ArrayList; public class DijkstraGraph { private ArrayList<Edge> listOfEdges; private ArrayList<Point> listOfPoints, sourceNodes; public DijkstraGraph() { this.listOfEdges = new ArrayList<Edge>(); this.listOfPoints = new ArrayList<Point>(); this.sourceNodes ...
package com.dragonheart.dijkstra; import java.util.ArrayList; import java.util.List; public class DijkstraGraph { private ArrayList<Edge> listOfEdges; private ArrayList<Point> listOfPoints, sourcePoints; public DijkstraGraph() { this.listOfEdges = new ArrayList<Edge>(); this.listOfPoints = new ArrayList<Point...
Add sources 4 different ways!
Add sources 4 different ways!
Java
mit
Akhier/Java-DijkstraAlgorithm
976dc683425f78180f06b69a8ee529192ee50d96
app/src/main/java/org/wikipedia/settings/PreferenceLoaderFragment.java
app/src/main/java/org/wikipedia/settings/PreferenceLoaderFragment.java
package org.wikipedia.settings; import android.os.Bundle; import android.support.v7.preference.PreferenceFragmentCompat; abstract class PreferenceLoaderFragment extends PreferenceFragmentCompat implements PreferenceLoader { @Override public void onCreatePreferences(Bundle bundle, String s) { l...
package org.wikipedia.settings; import android.os.Bundle; import android.support.v7.preference.PreferenceFragmentCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import org.wikipedia.R; import org.wikipedia.util.ResourceUtil; abstract class Pre...
Set correct background color in Settings.
Set correct background color in Settings. Bug: T186104 Change-Id: I44e2a1276fb208b20e7ff54bd7bb19d4ceaae2c7
Java
apache-2.0
wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia
38182e1c40522d537ddc87dcceaf3cec5e681bae
src/com/simplenote/android/ui/FireIntent.java
src/com/simplenote/android/ui/FireIntent.java
package com.simplenote.android.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import com.simplenote.android.Constants; /** * Collection of methods to fire Intents * @author bryanjswift */ public class FireIntent { /** * Start the SimpleNoteList Activity * @par...
package com.simplenote.android.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.provider.BaseColumns; import com.simplenote.android.Constants; import com.simplenote.android.persistence.SimpleNoteDao; /** * Collection of methods to fire Intents * @author...
Add method to fire the EditNote activity
Add method to fire the EditNote activity
Java
mit
bryanjswift/simplenote-android
39e9e1e9e59032d8595bd7058e6893eaba5e5582
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 "public static String readFile()" :book:
Set "public static String readFile()" :book:
Java
bsd-2-clause
SuriyaaKudoIsc/wift,SuriyaaKudoIsc/wift
d3a76226cf841f7bccb2c9cc073a2774f5da3aa4
tools/plugin-base/src/main/java/io/spine/tools/gradle/SourceScope.java
tools/plugin-base/src/main/java/io/spine/tools/gradle/SourceScope.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Use constants from Gradle rather than custom.
Use constants from Gradle rather than custom.
Java
apache-2.0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
d0bb8abee55b3fe91ce7e446375dddf7a8b70684
app/src/main/java/com/example/zipper/customview/CustomViewFragment.java
app/src/main/java/com/example/zipper/customview/CustomViewFragment.java
package com.example.zipper.customview; import com.example.zipper.R; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import se.snylt.zipper.annotations.BindToView;...
package com.example.zipper.customview; import com.example.zipper.R; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import se.snylt.zipper.annotations.BindToView;...
Remove double binding in custom view example.
Remove double binding in custom view example.
Java
apache-2.0
sedstrom/Witch-Android,sedstrom/Witch-Android
b7d29e5ee1bdeb7d633a09ffa57a9102fd33f9a0
src/java/org/robotframework/RunnerFactory.java
src/java/org/robotframework/RunnerFactory.java
/* Copyright 2008-2012 Nokia Siemens Networks Oyj * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* Copyright 2008-2012 Nokia Siemens Networks Oyj * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Revert change 00342e052b17 to fix sshlibrary on standalone jar.
Revert change 00342e052b17 to fix sshlibrary on standalone jar. Update issue 1311 Status: Done Revert change 00342e052b17 to fix sshlibrary on standalone jar.
Java
apache-2.0
userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3
8a85f454a0acaf79f2ef617261ec645fdaeccbeb
src/test/java/org/apache/bcel/NanoTimer.java
src/test/java/org/apache/bcel/NanoTimer.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Use the scale in the var name.
Use the scale in the var name.
Java
apache-2.0
apache/commons-bcel,apache/commons-bcel,apache/commons-bcel
a6fe52278d4ff6c35e4775e9bf9cbdcef97a613d
src/main/java/info/u_team/u_team_core/util/registry/ClientRegistry.java
src/main/java/info/u_team/u_team_core/util/registry/ClientRegistry.java
package info.u_team.u_team_core.util.registry; import net.minecraft.client.renderer.tileentity.TileEntityRenderer; import net.minecraft.client.settings.KeyBinding; import net.minecraft.entity.*; import net.minecraft.tileentity.*; import net.minecraftforge.api.distmarker.*; import net.minecraftforge.fml.client.r...
package info.u_team.u_team_core.util.registry; import java.util.function.Function; import net.minecraft.client.renderer.tileentity.*; import net.minecraft.client.settings.KeyBinding; import net.minecraft.entity.*; import net.minecraft.tileentity.*; import net.minecraftforge.api.distmarker.*; import net.minec...
Fix changes in the registry of tile entity renderer in the latest forge updates (30.0.19)
Fix changes in the registry of tile entity renderer in the latest forge updates (30.0.19)
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
430046c9e4cdee9479abc1b7aa4857306e24e549
ExampleClients/java/EksamensplanExample.java
ExampleClients/java/EksamensplanExample.java
import java.net.*; import udir.types.eksamensplan.*; import javax.xml.bind.*; import java.io.*; public class EksamensplanExample { private static String baseAddress = "https://eksamen-sas.udir.no"; public static void main(String[] args) throws Exception{ String uri = baseAddress + "/api/ekstern/eksamensp...
import java.net.*; import udir.types.eksamensplan.*; import javax.xml.bind.*; import java.io.*; public class EksamensplanExample { private static String baseAddress = "https://eksamen-sas.udir.no"; public static void main(String[] args) throws Exception{ String uri = baseAddress + "/api/ekstern/eksamensp...
Print out inputstream from eksamensplan
Print out inputstream from eksamensplan
Java
apache-2.0
Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public
b63c4008cffdc5b919c0b7c43c8f1487541ccd51
haval-algorithm/src/test/java/com/m4gik/util/UtilTest.java
haval-algorithm/src/test/java/com/m4gik/util/UtilTest.java
package com.m4gik.util; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import java.util.Arrays; import java.util.Collection; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; ...
package com.m4gik.util; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import java.util.Arrays; import java.util.Collection; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; ...
Create TDD test for Util class.
Create TDD test for Util class.
Java
mit
M4GiK/tosi-projects,M4GiK/tosi-projects
52fbbd705e5b3297521ca0e998c332ca07964a0a
xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java
xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java
package com.thoughtworks.acceptance.someobjects; import com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter; public class ZConverter extends AbstractSingleValueConverter { public boolean canConvert(Class type) { return type.equals(Z.class); } public Object fromString(String st...
package com.thoughtworks.acceptance.someobjects; import com.thoughtworks.xstream.converters.basic.AbstractBasicConverter; public class ZConverter extends AbstractBasicConverter { public boolean canConvert(Class type) { return type.equals(Z.class); } protected Object fromString(String str) { ...
Revert to 1.1.1 converter ... it is part of compatibility test.
Revert to 1.1.1 converter ... it is part of compatibility test. git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@1301 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
Java
bsd-3-clause
tenghuihua/xstream,tenghuihua/xstream,vkscool/xstream,emopers/xstream,Groostav/xstream,Groostav/xstream,emopers/xstream,vkscool/xstream
845888556db7f536a344da7cb1f3c8856a0b363b
assets/src/main/java/bisq/asset/coins/Beam.java
assets/src/main/java/bisq/asset/coins/Beam.java
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
Update validation regex and add comment
Update validation regex and add comment
Java
agpl-3.0
bisq-network/exchange,bitsquare/bitsquare,bisq-network/exchange,bitsquare/bitsquare
171e43a9aee813c53f970d28379074a0c682575f
src/test/java/AllTests.java
src/test/java/AllTests.java
import br.com.cronapi.DatabaseTest; import br.com.cronapi.RestClientTest; import br.com.cronapi.VarTest; import br.com.cronapi.dateTime.DateTimeTest; import br.com.cronapi.json.JsonTest; import br.com.cronapi.list.ListTest; import br.com.cronapi.rest.security.CronappSecurityTest; import br.com.cronapi.xml.XmlTest; impo...
import br.com.cronapi.DatabaseTest; import br.com.cronapi.RestClientTest; import br.com.cronapi.VarTest; import br.com.cronapi.dateTime.DateTimeTest; import br.com.cronapi.json.JsonTest; import br.com.cronapi.list.ListTest; import br.com.cronapi.math.MathTest; import br.com.cronapi.rest.security.CronappSecurityTest; im...
Add class test in suite class test.
:ok_hand: Add class test in suite class test.
Java
mit
technecloud/cronapi-java
73a9e2759e0282b325371fac214812b177642f61
src/org/camsrobotics/frc2016/Constants.java
src/org/camsrobotics/frc2016/Constants.java
package org.camsrobotics.frc2016; /** * Assorted Constants * * @author Wesley * */ public class Constants { /* * Camera Constants */ public final static int cameraFrameHeight = 240; public final static int cameraFrameWidth = 320; public final static double cameraFOVAngle = 21.2505055; ...
package org.camsrobotics.frc2016; /** * Assorted Constants * * @author Wesley * */ public class Constants { /* * Camera Constants */ public final static int cameraFrameHeight = 240; public final static int cameraFrameWidth = 320; public final static double cameraFOVAngle = 21.2505055; ...
Add the feed forward gain
Add the feed forward gain
Java
mit
nerdherd/Stronghold2016
7a5563740f68f6451d6ad274d10d90b5561d33a8
Shopr/src/main/java/com/uwetrottmann/shopr/ui/ShopMapFragment.java
Shopr/src/main/java/com/uwetrottmann/shopr/ui/ShopMapFragment.java
package com.uwetrottmann.shopr.ui; import android.os.Bundle; import com.google.android.gms.maps.SupportMapFragment; public class ShopMapFragment extends SupportMapFragment { public static ShopMapFragment newInstance() { return new ShopMapFragment(); } @Override public void onActivityCreate...
package com.uwetrottmann.shopr.ui; import android.os.Bundle; import android.widget.Toast; import com.google.android.gms.maps.GoogleMap.OnMapLongClickListener; import com.google.android.gms.maps.GoogleMap.OnMarkerClickListener; import com.google.android.gms.maps.SupportMapFragment; import com.google.android.gms.maps....
Add markers on long-pressing the map.
Add markers on long-pressing the map.
Java
apache-2.0
UweTrottmann/Shopr,adiguzel/Shopr
4f812cc4fed5e981e8a037922c4a4de755a0bd80
test.integration/src/test/java/test/integration/project/ProjectTests.java
test.integration/src/test/java/test/integration/project/ProjectTests.java
package test.integration.project; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertLinesMatch; import com.github.sormuras.bach.project.DeclaredModule; import com.github.sormuras.bach.project.Project; import java.nio.file.Path; import org.junit.jupiter.a...
package test.integration.project; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertLinesMatch; import com.github.sormuras.bach.project.DeclaredModule; import com.github.sormuras.bach.project.Project; import java.nio.file.Path; import org.junit.jupiter.a...
Add test for default module find pattern
Add test for default module find pattern
Java
mit
sormuras/bach,sormuras/bach
78bbd4f60c583831aae8c3dde09ed44c11cd55a8
engine/hu/mentlerd/hybrid/LuaException.java
engine/hu/mentlerd/hybrid/LuaException.java
package hu.mentlerd.hybrid; public class LuaException extends RuntimeException{ private static final long serialVersionUID = -8214311557059032574L; private Object luaCause; public LuaException( String message ) { super( message ); } public LuaException( String message, Object cause ){ this( me...
package hu.mentlerd.hybrid; public class LuaException extends RuntimeException{ private static final long serialVersionUID = -8214311557059032574L; private Object luaCause; public LuaException( String message ) { super( message ); } public LuaException( String message, Object cause ){ super( m...
Allow wrapping of other exceptions
Allow wrapping of other exceptions
Java
mit
mentlerd/HybridVM
fefe8353e3087164c9a2dee1e18ab23675f8c844
subprojects/zap-clientapi-ant/src/main/java/org/zaproxy/clientapi/ant/StopZapTask.java
subprojects/zap-clientapi-ant/src/main/java/org/zaproxy/clientapi/ant/StopZapTask.java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The Zed Attack Proxy Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The Zed Attack Proxy Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
Remove printStackTrace from Ant task
Remove printStackTrace from Ant task Change StopZapTask to remove the call to Throwable.printStackTrace(), the exception is wrapped and thrown for the caller to handle (e.g. Ant which already outputs the stack trace).
Java
apache-2.0
zaproxy/zap-api-java
e3e712be849407e989a39ed4006f1d27483cc630
src/main/java/leetcode/Problem60.java
src/main/java/leetcode/Problem60.java
package leetcode; /** * https://leetcode.com/problems/permutation-sequence/ */ public class Problem60 { public String getPermutation(int n, int k) { getPermutation(n, ""); return ""; } public void getPermutation(int n, String accu) { if (n == 0) { System.out.print...
package leetcode; import java.util.HashSet; import java.util.Set; /** * https://leetcode.com/problems/permutation-sequence/ */ public class Problem60 { public String getPermutation(int n, int k) { return getPermutation(n, k, n, new IntRef(), new HashSet<>(), ""); } private static class IntR...
Solve problem 60 (time limit exceeded)
Solve problem 60 (time limit exceeded)
Java
mit
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
b3c3ae7523353a84d41b54378a5996ce3f20db44
base/src/main/java/io/spine/query/Either.java
base/src/main/java/io/spine/query/Either.java
/* * Copyright 2020, 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 2020, 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...
Simplify the declaration. Reformat the code.
Simplify the declaration. Reformat the code.
Java
apache-2.0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
f93727ecab71421bcfc4c2762c055d018dd7cd38
src/test/java/com/github/mlk/junit/rules/HttpDynamoDbRuleTest.java
src/test/java/com/github/mlk/junit/rules/HttpDynamoDbRuleTest.java
package com.github.mlk.junit.rules; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration; import com....
package com.github.mlk.junit.rules; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration; import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientBuilder; import com.github.mlk.junit.rules.helpers.dy...
Support for setting fake AWS creds
Support for setting fake AWS creds
Java
bsd-3-clause
mlk/AssortmentOfJUnitRules,mlk/AssortmentOfJUnitRules
fb77f39b54e0b5303aea07de54281e4b8ea49fed
source/src/main/java/net/hexid/hexbot/bots/Bing.java
source/src/main/java/net/hexid/hexbot/bots/Bing.java
package net.hexid.hexbot.bots; import java.util.ArrayList; public class Bing extends net.hexid.hexbot.bot.cmd.BotCommand { public Bing(ArrayList<String> botArgs) { super(botArgs); } public ArrayList<String> getBotExecuteData() { if(botArgs.size() == 0 || botArgs.size() > 4) { System.out.println("botArgs: e...
package net.hexid.hexbot.bots; import java.util.ArrayList; public class Bing extends net.hexid.hexbot.bot.cmd.BotCommand { public Bing(ArrayList<String> botArgs) { super(botArgs); } public ArrayList<String> getBotExecuteData() { if(botArgs.size() == 0 || botArgs.size() > 5) { System.out.println("botArgs: e...
Allow the password to be an optional argument, the only requirement being that it cannot be in the form of a number
Allow the password to be an optional argument, the only requirement being that it cannot be in the form of a number
Java
bsd-3-clause
hexid/HexBot,hexid/HexBot,hexid/HexBot
9352d93d471b57bd68826c9b14981c9aacbf342a
src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java
src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java
package com.elmakers.mine.bukkit.api.spell; import org.bukkit.Location; import org.bukkit.command.CommandSender; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.util.Vector; /** * Represents a Spell that may be cast by a Mage. * * Each Spell is based on a SpellTemplate, which a...
package com.elmakers.mine.bukkit.api.spell; import org.bukkit.Location; import org.bukkit.command.CommandSender; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.util.Vector; /** * Represents a Spell that may be cast by a Mage. * * Each Spell is based on a SpellTemplate, which a...
Add a projectile hit handler, and allow for hit FX on projectiles
Add a projectile hit handler, and allow for hit FX on projectiles
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicAPI,elBukkit/MagicPlugin,elBukkit/MagicPlugin
1df345b0537474e4b8d761a92d3eb1b3d0ade9a4
apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/holder/MessageHolder.java
apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/holder/MessageHolder.java
/* * Copyright (c) 2015, Apptentive, Inc. All Rights Reserved. * Please refer to the LICENSE file for the terms and conditions * under which redistribution and use of this file is permitted. */ package com.apptentive.android.sdk.module.messagecenter.view.holder; import android.view.View; import android.widget.Tex...
/* * Copyright (c) 2015, Apptentive, Inc. All Rights Reserved. * Please refer to the LICENSE file for the terms and conditions * under which redistribution and use of this file is permitted. */ package com.apptentive.android.sdk.module.messagecenter.view.holder; import android.view.View; import android.widget.Tex...
Check that datestamp and status fields exist before setting them, since incoming messages don't have a status view.
Check that datestamp and status fields exist before setting them, since incoming messages don't have a status view.
Java
bsd-3-clause
apptentive/apptentive-android
0c90c53d89147e4671801f7990078f58ce991d18
src/test/java/examples/async/AsyncExample.java
src/test/java/examples/async/AsyncExample.java
package examples.async; import com.vtence.molecule.WebServer; import com.vtence.molecule.middlewares.Failsafe; import java.io.IOException; import java.util.concurrent.CompletionException; import static java.util.concurrent.CompletableFuture.runAsync; public class AsyncExample { public void run(WebServer server...
package examples.async; import com.vtence.molecule.WebServer; import java.io.IOException; import java.util.concurrent.CompletionException; import static java.util.concurrent.CompletableFuture.runAsync; /** * <p> * In this example we serve responses from a different thread than the request servicing thread. *...
Add inline doc to the asynchronous example
Add inline doc to the asynchronous example
Java
mit
testinfected/molecule,testinfected/molecule,testinfected/molecule,testinfected/molecule,testinfected/molecule
2a37f919a181aa3caf9d5e0dc38d18a62ddd129c
src/net/java/sip/communicator/impl/gui/customcontrols/ContactPhotoLabel.java
src/net/java/sip/communicator/impl/gui/customcontrols/ContactPhotoLabel.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.customcontrols; import java.awt.*; import javax.swing.*; import net.java.sip.communicator.impl.gui.utils.*; import ...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.customcontrols; import java.awt.*; import javax.swing.*; import net.java.sip.communicator.impl.gui.utils.*; import ...
Align centrally contact avatar in chat window.
Align centrally contact avatar in chat window.
Java
apache-2.0
bebo/jitsi,ibauersachs/jitsi,gpolitis/jitsi,bhatvv/jitsi,Metaswitch/jitsi,jibaro/jitsi,459below/jitsi,damencho/jitsi,level7systems/jitsi,pplatek/jitsi,HelioGuilherme66/jitsi,Metaswitch/jitsi,procandi/jitsi,tuijldert/jitsi,pplatek/jitsi,HelioGuilherme66/jitsi,dkcreinoso/jitsi,459below/jitsi,gpolitis/jitsi,iant-gmbh/jits...
def70c7721eec9dc640c28ba5c2746fa8472a69f
src/test/java/com/pingconsole/RestTest.java
src/test/java/com/pingconsole/RestTest.java
package com.pingconsole; import static io.restassured.RestAssured.*; import static io.restassured.matcher.RestAssuredMatchers.*; import static org.hamcrest.Matchers.*; import org.junit.Test; import io.restassured.response.Response; public class RestTest { @Test public void givenU(){ Response r = get("http://...
package com.pingconsole; public class RestTest { /*@Test public void givenU(){ Response r = get("http://jsonplaceholder.typicode.com/posts/1"); r.getBody().jsonPath().prettify(); }*/ }
Upgrade Spring boot verions (1.*.* to 2.0) Remove Test case
Upgrade Spring boot verions (1.*.* to 2.0) Remove Test case
Java
mit
srv94/PingConsole,srv94/PingConsole,srv94/PingConsole,srv94/PingConsole,srv94/PingConsole,srv94/PingConsole,srv94/PingConsole
ee74135a46ed1757a2f67e74a116a6ccfcdf7552
ReactAndroid/src/main/java/com/facebook/react/bridge/ReactBridge.java
ReactAndroid/src/main/java/com/facebook/react/bridge/ReactBridge.java
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.bridge; import com.facebook.soloader.SoLoader; public class ReactBridge { private static boolean sD...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.bridge; import static com.facebook.systrace.Systrace.TRACE_TAG_REACT_JAVA_BRIDGE; import com.facebook...
Add tracing to when SO libraries are loaded
Add tracing to when SO libraries are loaded Summary: Currently, loading SO libraries is pretty expensive. While they are triggered due to accessing `ReadableNativeArray`. However, with preloader experiments, this block seems to move around and is loaded when the first dependent class loads it. Also, as a part of D101...
Java
bsd-3-clause
exponent/react-native,arthuralee/react-native,javache/react-native,exponent/react-native,pandiaraj44/react-native,janicduplessis/react-native,hoangpham95/react-native,pandiaraj44/react-native,facebook/react-native,exponent/react-native,facebook/react-native,exponentjs/react-native,hoangpham95/react-native,javache/react...
50c12bc1760539b023edae06dd7a90ba493d27d4
src/main/java/com/github/daytron/revworks/data/ErrorMsg.java
src/main/java/com/github/daytron/revworks/data/ErrorMsg.java
/* * Copyright 2015 Ryan Gilera. * * 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 t...
/* * Copyright 2015 Ryan Gilera. * * 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 t...
Add an error message for no user login found
Add an error message for no user login found
Java
apache-2.0
Daytron/revworks
0b660fdeb373b661263436986ae9a09e89d1da4b
android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java
android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java
package com.mapbox.rctmgl.components.mapview.helpers; import android.util.Log; /** * Created by nickitaliano on 12/12/17. */ public class CameraChangeTracker { public static final int USER_GESTURE = 1; public static final int USER_ANIMATION = 2; public static final int SDK = 3; public static final ...
package com.mapbox.rctmgl.components.mapview.helpers; import android.util.Log; /** * Created by nickitaliano on 12/12/17. */ public class CameraChangeTracker { public static final int USER_GESTURE = 1; public static final int DEVELOPER_ANIMATION = 2; public static final int SDK_ANIMATION = 3; publi...
Fix for Android change events
Fix for Android change events
Java
isc
bsudekum/react-native-mapbox-gl,bsudekum/react-native-mapbox-gl,bsudekum/react-native-mapbox-gl,bsudekum/react-native-mapbox-gl
67c991a51ed8a206f3cbeafec93e8035995af786
src/main/java/dk/es/br/dibs/DibsResponse.java
src/main/java/dk/es/br/dibs/DibsResponse.java
package dk.es.br.dibs; /** * * @author osa */ public interface DibsResponse { /** * @return <code>true</code> of the check validated the card */ public boolean isValid(); /** * @return {@link String} representation of the error code (if any) */ public String getReason(); /**...
package dk.es.br.dibs; /** * * @author osa */ public interface DibsResponse { /** * @return <code>true</code> of the check validated the card */ boolean isValid(); /** * @return {@link String} representation of the error code (if any) */ String getReason(); /** * @retur...
Remove superflous access modifiers in interface
Remove superflous access modifiers in interface
Java
mit
bruun-rasmussen/dibs-client
cf4d2cc2b082e3de76d30c55013af9be755fb8c4
WaywardLib/src/main/java/net/wayward_realms/waywardlib/professions/ToolType.java
WaywardLib/src/main/java/net/wayward_realms/waywardlib/professions/ToolType.java
package net.wayward_realms.waywardlib.professions; import org.bukkit.Material; import static org.bukkit.Material.*; public enum ToolType { PICKAXE(WOOD_PICKAXE, STONE_PICKAXE, IRON_PICKAXE, GOLD_PICKAXE, DIAMOND_PICKAXE), SWORD(WOOD_SWORD, STONE_SWORD, IRON_SWORD, GOLD_SWORD, DIAMOND_SWORD), HOE(WOOD_HO...
package net.wayward_realms.waywardlib.professions; import org.bukkit.Material; import static org.bukkit.Material.*; public enum ToolType { PICKAXE(WOOD_PICKAXE, STONE_PICKAXE, IRON_PICKAXE, GOLD_PICKAXE, DIAMOND_PICKAXE), SWORD(WOOD_SWORD, STONE_SWORD, IRON_SWORD, GOLD_SWORD, DIAMOND_SWORD), HOE(WOOD_HO...
Add methods to get material tool types
Add methods to get material tool types
Java
agpl-3.0
WaywardRealms/Wayward
4ba66de6f7a4a7a280ea2573fee10c9832ebbe4c
src/com/sensia/tools/client/swetools/editors/sensorml/renderer/editor/panels/sml/SMLEditAxisPanel.java
src/com/sensia/tools/client/swetools/editors/sensorml/renderer/editor/panels/sml/SMLEditAxisPanel.java
package com.sensia.tools.client.swetools.editors.sensorml.renderer.editor.panels.sml; import com.google.gwt.core.shared.GWT; import com.sensia.relaxNG.RNGElement; import com.sensia.relaxNG.RNGTag; import com.sensia.tools.client.swetools.editors.sensorml.panels.IPanel; import com.sensia.tools.client.swetools.editors.se...
package com.sensia.tools.client.swetools.editors.sensorml.renderer.editor.panels.sml; import com.google.gwt.core.shared.GWT; import com.sensia.relaxNG.RNGElement; import com.sensia.relaxNG.RNGTag; import com.sensia.tools.client.swetools.editors.sensorml.panels.IPanel; import com.sensia.tools.client.swetools.editors.se...
Add missing value for sml:axis
Add missing value for sml:axis
Java
mpl-2.0
opensensorhub/sensorml-editor,opensensorhub/sensorml-editor,opensensorhub/sensorml-editor
12d993f4f2294ad943cd6c9d1a6967b4ea25902d
src/main/java/mjc/analysis/BasicAnalyzer.java
src/main/java/mjc/analysis/BasicAnalyzer.java
package mjc.analysis; import org.apache.log4j.Logger; import mjc.node.AMainClassDeclaration; import mjc.node.Start; public class BasicAnalyzer extends DepthFirstAdapter { private static final Logger log = Logger.getLogger(BasicAnalyzer.class); private boolean success = true; public boolean analyze(Star...
package mjc.analysis; import org.apache.log4j.Logger; import mjc.node.AMainClassDeclaration; import mjc.node.Start; public class BasicAnalyzer extends DepthFirstAdapter { private static final Logger log = Logger.getLogger(BasicAnalyzer.class); private boolean success = true; public boolean analyze(Star...
Call getText() instead of toString().trim().
Call getText() instead of toString().trim().
Java
mit
estan/mjc,estan/mjc,estan/mjc,liuxinglanyue/mjc,liuxinglanyue/mjc,liuxinglanyue/mjc
33683b1606e6d260b253d651427eb60145030f34
src/main/java/com/oreilly/com/rdf/tenuki/jaxrs/io/ChangesetReader.java
src/main/java/com/oreilly/com/rdf/tenuki/jaxrs/io/ChangesetReader.java
package com.oreilly.com.rdf.tenuki.jaxrs.io; import java.io.IOException; import java.io.InputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import javax.ws.rs.Consumes; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap...
package com.oreilly.com.rdf.tenuki.jaxrs.io; import java.io.IOException; import java.io.InputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import javax.ws.rs.Consumes; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap...
Add at least some criteria
Add at least some criteria --HG-- branch : jax-rs
Java
apache-2.0
norcalrdf/Tenuki
b920e504cb51287218b0787f3ec9e3720b98ca30
src/main/java/ua/yandex/shad/DoubleArray.java
src/main/java/ua/yandex/shad/DoubleArray.java
package ua.yandex.shad; public class DoubleArray { /** * The default capacity of new DoubleArrays. */ private static final int DEFAULT_CAPACITY = 10; /** * Storage for data. */ private double[] data; /** * Actual size of array. */ private int size; /** ...
package ua.yandex.shad; public class DoubleArray { /** * The default capacity of new DoubleArrays. */ private static final int DEFAULT_CAPACITY = 10; /** * Storage for data. */ private double[] data; /** * Actual size of array. */ private int size; /** ...
Make tests green to build on Hudson. Need to check warnings from checkstyle plugin.
Make tests green to build on Hudson. Need to check warnings from checkstyle plugin.
Java
mit
lionell/ys15sakevych-hw1
f18433cf38db4f24961bdbc5a5ff1ae5d181d7d4
java/src/com/ibm/streamsx/rest/package-info.java
java/src/com/ibm/streamsx/rest/package-info.java
/* * # Licensed Materials - Property of IBM # Copyright IBM Corp. 2017 */ /** * Java wrappers for the REST API of IBM Streams. * * <p> * This API is used to access the REST API in the IBM Streams product and the * IBM Streaming Analytics service through a java class. * </p> * * <p> * For the IBM Streams p...
/* * # Licensed Materials - Property of IBM # Copyright IBM Corp. 2017 */ /** * Java bindings for the REST APIs of IBM Streams and Streaming Analytics service. * * <p> * This API is used to access the REST API in the IBM Streams product and the * IBM Streaming Analytics service through a java class. * </p> *...
Fix package info to match public api
Fix package info to match public api
Java
apache-2.0
IBMStreams/streamsx.topology,wmarshall484/streamsx.topology,ddebrunner/streamsx.topology,wmarshall484/streamsx.topology,wmarshall484/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,wmarshall484/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.to...
ba68642c417061c3940e8b3f6b705344d2a562c5
android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java
android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java
package org.edx.mobile.module.analytics; import android.content.Context; import org.edx.mobile.util.Config; public class SegmentFactory { private static ISegment sInstance; /** * Returns a singleton instance of {@link org.edx.mobile.module.analytics.ISegment}. * Use {@link #makeInstance(android.c...
package org.edx.mobile.module.analytics; import android.content.Context; import org.edx.mobile.util.Config; public class SegmentFactory { private static ISegment sInstance; /** * Returns a singleton instance of {@link org.edx.mobile.module.analytics.ISegment}. * Use {@link #makeInstance(android.c...
Fix syntax error and refer correct method
Fix syntax error and refer correct method
Java
apache-2.0
Rawneed/edx-app-android,Rawneed/edx-app-android,ahmedaljazzar/edx-app-android,Rawneed/edx-app-android,adoosii/edx-app-android,IndonesiaX/edx-app-android,ariestiyansyah/indonesiax-android,edx/edx-app-android,miptliot/edx-app-android,edx/edx-app-android,ariestiyansyah/indonesiax-android,miptliot/edx-app-android,ahmedalja...
4881bcae61544b42a39f2e7bb2958a20588ec163
src/main/java/Test/App.java
src/main/java/Test/App.java
package Test; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); System.out.println( "Hi!" ); } }
package Test; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); System.out.println( "Hi!" ); System.out.println("Test"); } }
Test commit to branch 1.0.0 test 2
Test commit to branch 1.0.0 test 2
Java
apache-2.0
Hronom/Test_repo
a4c3be3dfa7d7ccae915c2a18528d7293e82ff40
src/test/java/dk/bitcraft/lc/JavaUtilLoggingTest.java
src/test/java/dk/bitcraft/lc/JavaUtilLoggingTest.java
package dk.bitcraft.lc; import org.junit.Rule; import org.junit.Test; import java.util.List; import java.util.logging.Logger; import static org.assertj.core.api.Assertions.assertThat; public class JavaUtilLoggingTest { @Rule public LogCollector collector = new LogCollector(Logger.getLogger("test.logger")); ...
package dk.bitcraft.lc; import org.junit.Rule; import org.junit.Test; import java.util.List; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.assertTrue; public class JavaUtil...
Add a simple JUL test.
Add a simple JUL test.
Java
mit
haasted/TestLogCollectors
58e631e60b2f3eceeb3b7811716050d8ed19a045
microservices/services/members-service/src/main/java/org/xcolab/service/members/web/StaffMemberController.java
microservices/services/members-service/src/main/java/org/xcolab/service/members/web/StaffMemberController.java
package org.xcolab.service.members.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web...
package org.xcolab.service.members.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.xcolab.model.tables.p...
Fix staff members widget error
[COLAB-2861] Fix staff members widget error
Java
mit
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
b551a45cf1f620bd8bffda850e623c03837611f8
sal-jira-plugin/src/main/java/com/atlassian/sal/jira/JiraApplicationProperties.java
sal-jira-plugin/src/main/java/com/atlassian/sal/jira/JiraApplicationProperties.java
package com.atlassian.sal.jira; import com.atlassian.jira.util.BuildUtils; import com.atlassian.jira.util.velocity.VelocityRequestContextFactory; import com.atlassian.sal.api.ApplicationProperties; import java.util.Date; import java.io.File; /** * JIRA implementation of WebProperties */ public class JiraApplicatio...
package com.atlassian.sal.jira; import com.atlassian.jira.util.BuildUtils; import com.atlassian.jira.util.velocity.VelocityRequestContextFactory; import com.atlassian.jira.config.util.JiraHome; import com.atlassian.sal.api.ApplicationProperties; import java.util.Date; import java.io.File; /** * JIRA implementation ...
Return JIRA home directory SAL-59
Return JIRA home directory SAL-59 git-svn-id: 2433085265c0232ec46d186f8a8240da49417e22@36264 2c54a935-e501-0410-bc05-97a93f6bca70
Java
bsd-3-clause
mrdon/SAL
0a42f5273895da8b40388e00cae4a4a7fa41b572
src/org/asaph/happynumber/HappyNumber.java
src/org/asaph/happynumber/HappyNumber.java
package org.asaph.happynumber; import java.util.HashSet; import java.util.Set; public class HappyNumber { public static int nextNumber(int number) { String numberString = Integer.toString(number); int sum=0; for (int i=0, length=numberString.length(); i<length; i++) { char ch = numberString.charAt(i); in...
package org.asaph.happynumber; import java.util.HashSet; import java.util.Set; public class HappyNumber { public static int nextNumber(int number) { int sum = 0; while (number != 0) { int digit = number % 10; sum += digit * digit; number = (number - digit) / 10; } return sum; } public static bool...
Break number apart into digits using math instead of string operations.
Refactor: Break number apart into digits using math instead of string operations.
Java
mit
asaph/happynumber
9f72deeacb2b4b5e5a7a0cea9c83fccc00432a8d
src/main/java/jp/ne/naokiur/design/pattern/iterator/ItelatorSample.java
src/main/java/jp/ne/naokiur/design/pattern/iterator/ItelatorSample.java
package jp.ne.naokiur.design.pattern.iterator; public class ItelatorSample { }
package jp.ne.naokiur.design.pattern.iterator; public class ItelatorSample { private String name; private String address; public ItelatorSample(String name, String address) { this.name = name; this.address = address; } }
Create package for Iterator pattern.
Create package for Iterator pattern.
Java
apache-2.0
naokiur/design-pattern-sample
da8e72f4ea80dd4a27ff2c7ca4ec955999de5fb4
container-disc/src/test/java/com/yahoo/container/jdisc/metric/MetricUpdaterTest.java
container-disc/src/test/java/com/yahoo/container/jdisc/metric/MetricUpdaterTest.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.jdisc.metric; import com.yahoo.jdisc.Metric; import com.yahoo.jdisc.statistics.ContainerWatchdogMetrics; import org.junit.Test; import java.lang.management.ManagementFactory; import jav...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.jdisc.metric; import com.yahoo.jdisc.Metric; import com.yahoo.jdisc.statistics.ContainerWatchdogMetrics; import org.junit.Test; import java.lang.management.ManagementFactory; import jav...
Update expected number of metrics
Update expected number of metrics
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
89fe8ba0fb44a253018b2649465d81372a7eb967
subprojects/build-init/src/main/groovy/org/gradle/buildinit/plugins/internal/DefaultTemplateLibraryVersionProvider.java
subprojects/build-init/src/main/groovy/org/gradle/buildinit/plugins/internal/DefaultTemplateLibraryVersionProvider.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...
Remove temporary patch for broken TestNG 6.9.13
Remove temporary patch for broken TestNG 6.9.13 Now that 6.9.13.2 is out this is not needed anymore.
Java
apache-2.0
lsmaira/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindp...
c44a07f8502007a5e83049b805280a7b5508d73b
vertx-template-engines/vertx-web-templ-freemarker/src/test/java/io/vertx/ext/web/templ/FreeMarkerJavascriptTemplateTest.java
vertx-template-engines/vertx-web-templ-freemarker/src/test/java/io/vertx/ext/web/templ/FreeMarkerJavascriptTemplateTest.java
/* * Copyright 2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Disable JS test for a while since the CP hack breaks things
Disable JS test for a while since the CP hack breaks things
Java
apache-2.0
mystdeim/vertx-web,aesteve/vertx-web,aesteve/vertx-web,mystdeim/vertx-web,mystdeim/vertx-web,InfoSec812/vertx-web,InfoSec812/vertx-web,aesteve/vertx-web,InfoSec812/vertx-web,InfoSec812/vertx-web,vert-x3/vertx-web,vert-x3/vertx-web,aesteve/vertx-web,aesteve/vertx-web,vert-x3/vertx-web,mystdeim/vertx-web,mystdeim/vertx-w...
5ae31ca9a6adbcc349cd055d235985a1e5cef713
ceno-freenet/src/plugins/CENO/CENORequest.java
ceno-freenet/src/plugins/CENO/CENORequest.java
package plugins.CENO; import plugins.CENO.FreenetInterface.FreemailAPI.Freemail; public class CENORequest extends Freemail { private CENOReqFlags[] reqFlags; public CENORequest(Freemail freemail) { super(freemail.getFreemailFrom(), freemail.getFreemailTo(), freemail.getSubject(), freemail.getBody()); } publi...
package plugins.CENO; import java.util.EnumSet; import plugins.CENO.FreenetInterface.FreemailAPI.Freemail; public class CENORequest extends Freemail { public enum CENOReqFlags { X_Ceno_Rewritten } private EnumSet<CENOReqFlags> reqFlags; public CENORequest(Freemail freemail) { super(freemail.getFreemailFro...
Replace CENOReqFlags array with an EnumSet
Replace CENOReqFlags array with an EnumSet
Java
agpl-3.0
misaakidis/ceno,misaakidis/ceno,equalitie/ceno,misaakidis/ceno,equalitie/ceno,misaakidis/ceno,equalitie/ceno,misaakidis/ceno,equalitie/ceno,equalitie/ceno,misaakidis/ceno,equalitie/ceno
7b2a94f0e1cf3a0f0b86ec6000ddd7cc4622267f
src/com/valerysamovich/java/enums/EnumDemo.java
src/com/valerysamovich/java/enums/EnumDemo.java
/** * @file EnumDemo.java * @author Valery Samovich * @version 1.0.0 * @date 10/15/2014 */ package com.valerysamovich.java.enums; public class EnumDemo { public static void main(String[] args) { /** * The java.lang.Enum.compareTo() method compares this enum with the * specifi...
/** * @file EnumDemo.java * @author Valery Samovich * @version 1.0.0 * @date 10/15/2014 */ package com.valerysamovich.java.enums; /** * Enum showing topics covered under Tutorials */ enum Tutorials { topic1, topic2, topic3; } public class EnumDemo { public static void main(String[] args) { ...
Add Enum class and create objects
Add Enum class and create objects
Java
unknown
vsamov/java-technologies,valerysamovich/java-technologies,vsamov/java-technologies
c5d2682b8fa25e5234b8452c861e609225e34c6f
src/test/java/guitests/RedoCommandTest.java
src/test/java/guitests/RedoCommandTest.java
package guitests; public class RedoCommandTest extends TaskManagerGuiTest { }
package guitests; import org.junit.Test; import seedu.address.logic.commands.UndoCommand; import seedu.address.testutil.TestTask; import seedu.address.testutil.TestUtil; public class RedoCommandTest extends TaskManagerGuiTest { TestTask[] expectedList = td.getTypicalTasks(); TestTask[] currentList = expecte...
Test case for redo add command
Test case for redo add command
Java
mit
CS2103JAN2017-W13-B2/main,CS2103JAN2017-W13-B2/main
9f5c31e20540db2470d8e370fe35c18129613502
src/test/java/patterns/document/CarTest.java
src/test/java/patterns/document/CarTest.java
package patterns.document; import java.util.HashMap; import java.util.Map; import java.util.OptionalDouble; import java.util.OptionalInt; import org.junit.Test; import org.junit.Assert; public class CarTest { private static final double PRICE = 100.0; private static final String MODEL = "Audi"; p...
package patterns.document; import java.util.HashMap; import java.util.Map; import java.util.OptionalDouble; import java.util.OptionalInt; import org.junit.Assert; import org.junit.Test; public class CarTest { private static final double DELTA = 0.000001; private static final double PRICE = 100.0; p...
Fix test after JUnit upgrade
Fix test after JUnit upgrade
Java
mit
bink81/java-experiments
95b5b655ef3a609bd130788fd7081def45aa9a7c
src/main/java/org/apache/spf/mechanismn/GenericMechanismn.java
src/main/java/org/apache/spf/mechanismn/GenericMechanismn.java
/*********************************************************************** * Copyright (c) 1999-2006 The Apache Software Foundation. * * All rights reserved. * * ------------------------------------------------------------------- * * Licensed under the Apache...
/*********************************************************************** * Copyright (c) 1999-2006 The Apache Software Foundation. * * All rights reserved. * * ------------------------------------------------------------------- * * Licensed under the Apache...
Change the interface layout to reflect the changes we spoke about in icq
Change the interface layout to reflect the changes we spoke about in icq git-svn-id: 00f83033766efed07e2b0af284f6d6b8c92b3c53@408254 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
mbaechler/james-jspf,apache/james-jspf,aduprat/james-jspf,linagora/james-jspf,tools4origins/james-jspf,chibenwa/james-jspf
f1162a0a1cc1a36e80be4929ada5ba77a9581113
tk/src/org/kefirsf/tk/SigninServlet.java
tk/src/org/kefirsf/tk/SigninServlet.java
package org.kefirsf.tk; import twitter4j.Twitter; import twitter4j.TwitterException; import twitter4j.TwitterFactory; import twitter4j.auth.RequestToken; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
package org.kefirsf.tk; import twitter4j.Twitter; import twitter4j.TwitterException; import twitter4j.TwitterFactory; import twitter4j.auth.RequestToken; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
Prepare for deploy to production.
Prepare for deploy to production.
Java
bsd-2-clause
kefirfromperm/tk,kefirfromperm/tk
4512777f2f994283323a2d1d253386c8c797f701
src/main/java/org/junit/experimental/theories/internal/ParameterizedAssertionError.java
src/main/java/org/junit/experimental/theories/internal/ParameterizedAssertionError.java
package org.junit.experimental.theories.internal; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; public class ParameterizedAssertionError extends RuntimeException { private static final long serialVersionUID = 1L; public ParameterizedAssertionError(Throwable targetException,...
package org.junit.experimental.theories.internal; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; public class ParameterizedAssertionError extends AssertionError { private static final long serialVersionUID = 1L; public ParameterizedAssertionError(Throwable targetException, ...
Make parameterized assertion error extend assertion error
Make parameterized assertion error extend assertion error
Java
epl-1.0
hhariri/junit,UnimibSoftEngCourse1516/lab2-es3-o.sertori,chrisvest/junit,MichaelJY91/junit,hansjoachim/junit,dvberkel/junit,remus32/junit,yusuke/junit,yusuke/junit,mekwin87/junit4,powazny/junit4,yusuke/junit,songfj/junit,UnimibSoftEngCourse1516/lab2-es3-m.polonioli,junit-team/junit4,onesfreedom/junit,UnimibSoftEngCours...
c4af7222c9d2c560c3cfd83c3cb18b1ec6cb452d
nassau/src/main/java/org/jvirtanen/nassau/util/SystemClock.java
nassau/src/main/java/org/jvirtanen/nassau/util/SystemClock.java
package org.jvirtanen.nassau.util; public class SystemClock implements Clock { public static final SystemClock INSTANCE = new SystemClock(); @Override public long currentTimeMillis() { return System.currentTimeMillis(); } }
package org.jvirtanen.nassau.util; public class SystemClock implements Clock { public static final SystemClock INSTANCE = new SystemClock(); private SystemClock() { } @Override public long currentTimeMillis() { return System.currentTimeMillis(); } }
Clean up interface for system clock
Clean up interface for system clock
Java
apache-2.0
paritytrading/nassau,pmcs/nassau,paritytrading/nassau,pmcs/nassau
c4b67845124470a2f7609643412e480fad3ae4dd
src/com/joelapenna/foursquared/test/FoursquaredAppTestCase.java
src/com/joelapenna/foursquared/test/FoursquaredAppTestCase.java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.test; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquared.Foursquared; import android.test.ApplicationTestCase; import android.test.suitebuilder.annotation.MediumTest; import android.test.suitebuilder.annotation.SmallT...
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.test; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquared.Foursquared; import android.test.ApplicationTestCase; import android.test.suitebuilder.annotation.MediumTest; import android.test.suitebuilder.annotation.Small...
Fix formatting and a warning for FoursqauredAppTestCase.
Fix formatting and a warning for FoursqauredAppTestCase. committer: Joe LaPenna <16a9a54ddf4259952e3c118c763138e83693d7fd@joelapenna.com>
Java
apache-2.0
izBasit/foursquared.eclair,idmouh/foursquared.eclair,weizp/foursquared.eclair,sevenOneHero/foursquared.eclair,appoll/foursquared,rihtak/foursquared.eclair,nextzy/foursquared.eclair,since2014/foursquared,edwinsnao/foursquared.eclair,kvnh/foursquared,xytrams/foursquared.eclair,navesdad/foursquared,BinodAryal/foursquared,...
d6f3fb33edc1c89c3cd569f1a43ce7f5de8e166a
test/guice/GlobalTest.java
test/guice/GlobalTest.java
package guice; import play.Application; import services.AuthenticationService; import services.StubConfigurationImplTest; import services.ConfigurationService; import services.ESConstantImpl; import services.ESConstantService; import services.ESSearchImpl; import services.ESSearchService; import stub.StubAuthenticatio...
package guice; import play.Application; import services.AuthenticationService; import services.StubConfigurationImplTest; import services.ConfigurationService; import services.ESConstantImpl; import services.ESConstantService; import services.ESSearchImpl; import services.ESSearchService; import stub.StubAuthenticatio...
Fix test: Missing Guice dependency
Fix test: Missing Guice dependency
Java
apache-2.0
joakim-ribier/reactive-elasticsearch-play,joakim-ribier/reactive-elasticsearch-play,joakim-ribier/reactive-elasticsearch-play
c0effebf50ef3085de8f958a486254076e8388c4
src/main/java/co/inventorsoft/oop/basic/demo/Main.java
src/main/java/co/inventorsoft/oop/basic/demo/Main.java
package co.inventorsoft.oop.basic.demo; import co.inventorsoft.oop.basic.model.Passport; import co.inventorsoft.oop.basic.model.Person; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Month; public class Main { public static void main(String[] args) { ...
package co.inventorsoft.oop.basic.demo; import co.inventorsoft.oop.basic.model.Passport; import co.inventorsoft.oop.basic.model.Person; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Month; public class Main { public static void main(String[] args) { ...
Update comment for passport creation
Update comment for passport creation
Java
apache-2.0
relyativus/OOP-basics
e1fb48092df6c8af98d194a1581aa1761b8cae19
src/de.sormuras.bach/test/module/module-info.java
src/de.sormuras.bach/test/module/module-info.java
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Copy main module descriptor 1:1
Copy main module descriptor 1:1
Java
mit
sormuras/bach,sormuras/bach
eb32ed7b834d1081f01130cf9e4aa10ec97b3073
src/main/java/org/rmatil/sync/event/aggregator/core/modifier/IgnoreDirectoryModifier.java
src/main/java/org/rmatil/sync/event/aggregator/core/modifier/IgnoreDirectoryModifier.java
package org.rmatil.sync.event.aggregator.core.modifier; import org.rmatil.sync.event.aggregator.core.events.IEvent; import org.rmatil.sync.event.aggregator.core.events.ModifyEvent; import java.util.ArrayList; import java.util.List; /** * Modifies the list of events in such a way, that notifications * about a chang...
package org.rmatil.sync.event.aggregator.core.modifier; import org.rmatil.sync.event.aggregator.core.events.IEvent; import org.rmatil.sync.event.aggregator.core.events.ModifyEvent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; /** * Modifies the list of ...
Add log statement on ignore
Add log statement on ignore
Java
apache-2.0
p2p-sync/aggregator
c30eb12c22d5f93e5f281309a434f000ccf40b05
achmed-server/src/main/java/com/github/aureliano/achmed/server/service/ServiceFactory.java
achmed-server/src/main/java/com/github/aureliano/achmed/server/service/ServiceFactory.java
package com.github.aureliano.achmed.server.service; import com.github.aureliano.achmed.common.exception.AchmedException; public final class ServiceFactory { private ServiceFactory() {} public static IService createService(ServiceType type) { switch (type) { case READ_FILE: return null; default: throw...
package com.github.aureliano.achmed.server.service; import com.github.aureliano.achmed.common.exception.AchmedException; public final class ServiceFactory { private ServiceFactory() {} public static IService createService(ServiceType type) { switch (type) { case READ_FILE: return new ReadFileService(); ...
Create service for reading file.
Create service for reading file.
Java
mit
aureliano/achmed
661d58c993cf958cb447f11dfba016d9436be14b
src/main/java/org/testng/internal/Version.java
src/main/java/org/testng/internal/Version.java
package org.testng.internal; public class Version { public static final String VERSION = "7.1.1-SNAPSHOT"; public static String getVersionString() { return VERSION; } public static void displayBanner() { System.out.println("...\n... TestNG " + getVersionString() + " by Cédric Beust (...
package org.testng.internal; public class Version { public static final String VERSION = "7.0.1"; public static String getVersionString() { return VERSION; } public static void displayBanner() { System.out.println("...\n... TestNG " + getVersionString() + " by Cédric Beust (cedric@be...
Undo alteration of generated file
Undo alteration of generated file
Java
apache-2.0
cbeust/testng,cbeust/testng,krmahadevan/testng,cbeust/testng,cbeust/testng,krmahadevan/testng,krmahadevan/testng,krmahadevan/testng,cbeust/testng,krmahadevan/testng
710e293ccfa4dcb811de7a925afe582c84faace6
src/test/java/com/google/sps/FirebaseTest.java
src/test/java/com/google/sps/FirebaseTest.java
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Add suppression to try and fix test errors
Add suppression to try and fix test errors
Java
apache-2.0
googleinterns/step128-2020,googleinterns/step128-2020,googleinterns/step128-2020
d5ca83f13ce21c659d5ea39833ccd93bd665bc58
deeplearning4j-ui/src/main/java/org/deeplearning4j/ui/exception/GenericExceptionMapper.java
deeplearning4j-ui/src/main/java/org/deeplearning4j/ui/exception/GenericExceptionMapper.java
package org.deeplearning4j.ui.exception; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class GenericExceptionMapper implements ExceptionMapper<Throwable> { @Override public Response toResponse(T...
package org.deeplearning4j.ui.exception; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.apache.commons.lang.exception.ExceptionUtils; @Provider public class GenericExceptionMapper implements ExceptionMapper<Th...
Print exception details for UI
Print exception details for UI Former-commit-id: 1433ca9b57894491926f5e10a8c9bc8e068020ba
Java
apache-2.0
kinbod/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deep...
e462e77e0c7e54601e328297ecc699ade3c4eb9f
ringbuffer/pattern_solution/src/test/java/de/itemis/mosig/ringbuffer/CircularBufferTest.java
ringbuffer/pattern_solution/src/test/java/de/itemis/mosig/ringbuffer/CircularBufferTest.java
package de.itemis.mosig.ringbuffer; import org.junit.Test; public class CircularBufferTest { @Test public void constructorShouldSetProvidedSize() { new CircularBuffer(3); } }
package de.itemis.mosig.ringbuffer; import org.junit.Assert; import org.junit.Test; public class CircularBufferTest { @Test public void constructorShouldSetProvidedSize() { CircularBuffer underTest = new CircularBuffer(3); Assert.assertEquals(3, underTest.size()); } }
Test uses non existing size method.
RED: Test uses non existing size method.
Java
epl-1.0
JanMosigItemis/codingdojoleipzig
d3a879f78790175e4287e518f77f8bab441628df
src/main/java/info/u_team/u_team_core/intern/asm/ASMUContainerMenuHook.java
src/main/java/info/u_team/u_team_core/intern/asm/ASMUContainerMenuHook.java
package info.u_team.u_team_core.intern.asm; import info.u_team.u_team_core.menu.UAbstractContainerMenu; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.inventory.AbstractContainerMenu; public class ASMUContainerMenuHook { /** * Called from asm core mod (ucontainermenu-init-menu.js) *...
package info.u_team.u_team_core.intern.asm; import info.u_team.u_team_core.menu.UAbstractContainerMenu; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.inventory.AbstractContainerMenu; public class ASMUContainerMenuHook { /** * Called from asm core mod (ucontainermenu-init-menu.js) fro...
Make coremod description a bit more enhanced
Make coremod description a bit more enhanced
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
7afcacb4bd334e6eebe3253c94a9f5428b66e896
src/test/java/info/u_team/u_team_test/screen/BasicFluidInventoryScreen.java
src/test/java/info/u_team/u_team_test/screen/BasicFluidInventoryScreen.java
package info.u_team.u_team_test.screen; import com.mojang.blaze3d.matrix.MatrixStack; import info.u_team.u_team_core.screen.UContainerScreen; import info.u_team.u_team_test.TestMod; import info.u_team.u_team_test.container.BasicFluidInventoryContainer; import net.minecraft.entity.player.PlayerInventory; import net.mi...
package info.u_team.u_team_test.screen; import info.u_team.u_team_core.screen.UBasicContainerScreen; import info.u_team.u_team_test.TestMod; import info.u_team.u_team_test.container.BasicFluidInventoryContainer; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.util.ResourceLocation; import net....
Update basic fluid inventory screen to UBasicContainerScreen and reduce code
Update basic fluid inventory screen to UBasicContainerScreen and reduce code
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
ada7fe1971f639d4620966c464be914f94a6bdab
src/main/java/com/saintdan/framework/annotation/CurrentUser.java
src/main/java/com/saintdan/framework/annotation/CurrentUser.java
package com.saintdan.framework.annotation; import org.springframework.security.core.annotation.AuthenticationPrincipal; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Get current user.{@link Auth...
package com.saintdan.framework.annotation; import org.springframework.security.core.annotation.AuthenticationPrincipal; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Get current user.{@link Auth...
Change code style to google code style.
Change code style to google code style.
Java
mit
saintdan/spring-microservices-boilerplate
a41a9fe9d27b93721bec1ff627b8f494a1fdd6dd
xchange-binance/src/main/java/org/knowm/xchange/binance/dto/trade/BinanceCancelledOrder.java
xchange-binance/src/main/java/org/knowm/xchange/binance/dto/trade/BinanceCancelledOrder.java
package org.knowm.xchange.binance.dto.trade; import com.fasterxml.jackson.annotation.JsonProperty; public final class BinanceCancelledOrder { public final String symbol; public final String origClientOrderId; public final long orderId; public final String clientOrderId; public BinanceCancelledOrder( ...
package org.knowm.xchange.binance.dto.trade; import com.fasterxml.jackson.annotation.JsonProperty; public final class BinanceCancelledOrder { public final String symbol; public final String origClientOrderId; public final long orderId; public final String clientOrderId; public String price; p...
Add all response CancelOrder fields
Add all response CancelOrder fields
Java
mit
stachon/XChange,andre77/XChange,timmolter/XChange,douggie/XChange
698d14a2d060a3606f43116b879d773a0446d315
src/com/gh4a/loader/IsCollaboratorLoader.java
src/com/gh4a/loader/IsCollaboratorLoader.java
package com.gh4a.loader; import java.io.IOException; import org.eclipse.egit.github.core.RepositoryId; import org.eclipse.egit.github.core.client.RequestException; import org.eclipse.egit.github.core.service.CollaboratorService; import android.content.Context; import com.gh4a.Gh4Application; public class IsCollabo...
package com.gh4a.loader; import java.io.IOException; import org.eclipse.egit.github.core.RepositoryId; import org.eclipse.egit.github.core.client.RequestException; import org.eclipse.egit.github.core.service.CollaboratorService; import android.content.Context; import com.gh4a.Gh4Application; public class IsCollabo...
Fix load failure if not logged in.
Fix load failure if not logged in.
Java
apache-2.0
edyesed/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,Bloody-Badboy/gh4a,Bloody-Badboy/gh4a,shineM/gh4a,edyesed/gh4a,slapperwan/gh4a,slapperwan/gh4a,shekibobo/gh4a,AKiniyalocts/gh4a,sauloaguiar/gh4a,shineM/gh4a,AKiniyalocts/gh4a,sauloaguiar/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,shekibobo/g...
d3cb0eca0f0e2b228064542f69ba816ac2c2b150
src/com/nasmlanguage/NASMFileTypeFactory.java
src/com/nasmlanguage/NASMFileTypeFactory.java
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opt...
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use...
Update copyright notice with MIT license
Update copyright notice with MIT license
Java
mit
dude719/JetBrains-NASM-Language
e657822b7d905af1951765211dae7d205f18acaf
components/camel-groovy/src/main/java/org/apache/camel/groovy/converter/GPathResultConverter.java
components/camel-groovy/src/main/java/org/apache/camel/groovy/converter/GPathResultConverter.java
package org.apache.camel.groovy.converter; import groovy.util.XmlSlurper; import groovy.util.slurpersupport.GPathResult; import groovy.xml.StreamingMarkupBuilder; import org.apache.camel.Converter; import org.apache.camel.StringSource; import org.w3c.dom.Node; import org.xml.sax.SAXException; import javax.xml.parsers...
package org.apache.camel.groovy.converter; import groovy.util.XmlSlurper; import groovy.util.slurpersupport.GPathResult; import groovy.xml.StreamingMarkupBuilder; import org.apache.camel.Converter; import org.apache.camel.Exchange; import org.apache.camel.StringSource; import org.apache.camel.converter.jaxp.XmlConvert...
Rewrite converting Node to GPathResult
Rewrite converting Node to GPathResult
Java
apache-2.0
ramonmaruko/camel,tlehoux/camel,joakibj/camel,acartapanis/camel,bdecoste/camel,driseley/camel,snurmine/camel,bgaudaen/camel,ekprayas/camel,gyc567/camel,maschmid/camel,bgaudaen/camel,satishgummadelli/camel,koscejev/camel,grgrzybek/camel,kevinearls/camel,curso007/camel,kevinearls/camel,neoramon/camel,bhaveshdt/camel,onde...
d46d14a42cb86bbbd24f6895de76171547d4c57f
src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBlockStateMeta.java
src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBlockStateMeta.java
package com.laytonsmith.abstraction.bukkit; import com.laytonsmith.abstraction.blocks.MCBlockState; import com.laytonsmith.abstraction.MCBlockStateMeta; import org.bukkit.block.BlockState; import org.bukkit.inventory.meta.BlockStateMeta; public class BukkitMCBlockStateMeta extends BukkitMCItemMeta implements MCBlockS...
package com.laytonsmith.abstraction.bukkit; import com.laytonsmith.abstraction.blocks.MCBlockState; import com.laytonsmith.abstraction.MCBlockStateMeta; import com.laytonsmith.core.Static; import org.bukkit.block.BlockState; import org.bukkit.inventory.meta.BlockStateMeta; import java.util.logging.Level; public clas...
Add better logging when getting a broken BlockState from item meta
Add better logging when getting a broken BlockState from item meta
Java
mit
sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper
a2636bc27627516e54e915b64d63c2e2d66e61dc
wisdom-api/src/main/java/org/wisdom/api/content/JacksonModuleRepository.java
wisdom-api/src/main/java/org/wisdom/api/content/JacksonModuleRepository.java
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
Add javadoc to the Jackson Module Repository
Add javadoc to the Jackson Module Repository Signed-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>
Java
apache-2.0
gdelafosse/wisdom,CRDNicolasBourbaki/wisdom,evrignaud/wisdom,wisdom-framework/wisdom,CRDNicolasBourbaki/wisdom,CRDNicolasBourbaki/wisdom,gdelafosse/wisdom,gdelafosse/wisdom,evrignaud/wisdom,cheleb/wisdom,torito/wisdom,wisdom-framework/wisdom,cheleb/wisdom,gdelafosse/wisdom,wisdom-framework/wisdom,torito/wisdom,cheleb/w...
d3abde8da4f87fde354695fb3fee64c24af3be67
src/main/java/hackerrank/RedJohnIsBack.java
src/main/java/hackerrank/RedJohnIsBack.java
package hackerrank; import java.util.Scanner; /** * https://www.hackerrank.com/challenges/red-john-is-back */ public class RedJohnIsBack { public static void main(String[] args) { Scanner in = new Scanner(System.in); // TODO } }
package hackerrank; import java.util.HashMap; import java.util.Map; import java.util.Scanner; /** * https://www.hackerrank.com/challenges/red-john-is-back */ public class RedJohnIsBack { private static int redJohnIsBack(int n) { int x = redJohnIsBack(n, new HashMap<>()); return primes(x); } ...
Solve Red John Is Back
Solve Red John Is Back
Java
mit
fredyw/hackerrank
0c956e5bc79431bace5b6f8f2c06c8a7d7d756b3
cps-global-lib/src/main/java/org/jenkinsci/plugins/workflow/cps/global/GroovyShellDecoratorImpl.java
cps-global-lib/src/main/java/org/jenkinsci/plugins/workflow/cps/global/GroovyShellDecoratorImpl.java
package org.jenkinsci.plugins.workflow.cps.global; import groovy.lang.GroovyClassLoader; import groovy.lang.GroovyShell; import hudson.Extension; import org.jenkinsci.plugins.workflow.cps.CpsFlowExecution; import org.jenkinsci.plugins.workflow.cps.GroovyShellDecorator; import javax.inject.Inject; import java.net.Malf...
package org.jenkinsci.plugins.workflow.cps.global; import groovy.lang.GroovyClassLoader; import groovy.lang.GroovyShell; import hudson.Extension; import org.jenkinsci.plugins.workflow.cps.CpsFlowExecution; import org.jenkinsci.plugins.workflow.cps.GroovyShellDecorator; import javax.inject.Inject; import java.io.File;...
Use a sub-directory so that in the future we can have other directories for jar files, custom functions, etc.
Use a sub-directory so that in the future we can have other directories for jar files, custom functions, etc.
Java
mit
ganthore/docker-workflow-plugin,ganthore/docker-workflow-plugin,ganthore/docker-workflow-plugin
b47a569fd8e83631d7a18f25a22a9408fe0f05c0
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 "public static void" for "main" :thumbsup:
Set "public static void" for "main" :thumbsup:
Java
bsd-2-clause
SuriyaaKudoIsc/wift,SuriyaaKudoIsc/wift
7c1a118488224d37ff152fef2edc3942aa4b5a24
src/main/java/org/cryptomator/cryptolib/api/CryptoLibVersion.java
src/main/java/org/cryptomator/cryptolib/api/CryptoLibVersion.java
/******************************************************************************* * Copyright (c) 2016 Sebastian Stenzel and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the accompanying LICENSE.txt. * * Contributors: * Sebastian Stenzel - i...
/******************************************************************************* * Copyright (c) 2016 Sebastian Stenzel and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the accompanying LICENSE.txt. * * Contributors: * Sebastian Stenzel - i...
Enforce explicit declaration of required CryptorProvider version
Enforce explicit declaration of required CryptorProvider version [ci skip]
Java
agpl-3.0
cryptomator/cryptolib
3ffcc79f245b094d1c9955bd4b6f00c5e51dc953
ui/gi/test/java/jsx3/xml/CdfDocumentTest.java
ui/gi/test/java/jsx3/xml/CdfDocumentTest.java
package jsx3.xml; import org.junit.Test; import static org.junit.Assert.*; /** * Unit test for simple App. */ public class CdfDocumentTest { /** * Rigorous Test :-) */ @Test public void testApp() { CdfDocument document = new CdfDocument("root"); Record record = new Record...
package jsx3.xml; import org.junit.Test; import static org.junit.Assert.*; /** * Unit test for simple App. */ public class CdfDocumentTest { /** * Rigorous Test :-) */ @Test public void testApp() { CdfDocument document = new CdfDocument("root"); Record record = new Record...
Fix to the GI CDF test, so now all tests from SVN pass
Fix to the GI CDF test, so now all tests from SVN pass git-svn-id: b371d604c7577be4609d70acd88b8a3995ce0a58@2259 3a8262b2-faa5-11dc-8610-ff947880b6b2
Java
apache-2.0
burris/dwr,burris/dwr
b36f5c17cb143848469915438a736f69d54ba029
src/GeeksforGeeksPractice/_0017CheckSumTree.java
src/GeeksforGeeksPractice/_0017CheckSumTree.java
package GeeksforGeeksPractice; public class _0017CheckSumTree { public static class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } public static void main(String args[]){ TreeNode tn=new TreeNode(10); tn.left=new TreeNode(8); tn.right=new TreeNode(2); ...
package GeeksforGeeksPractice; public class _0017CheckSumTree { public static class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } public static void main(String args[]){ TreeNode tn=new TreeNode(26); tn.left=new TreeNode(10); tn.right=new TreeNode(3); ...
Check sum tree redo completed
Check sum tree redo completed
Java
mit
darshanhs90/Java-InterviewPrep,darshanhs90/Java-Coding
0eb67511dee23273a3c67b88b2a2a833f25fa0a4
src/test/java/com/adaptionsoft/games/uglytrivia/GamePlayTest.java
src/test/java/com/adaptionsoft/games/uglytrivia/GamePlayTest.java
package com.adaptionsoft.games.uglytrivia; import org.junit.Test; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; public class GamePlayTest { @Test public void playerShouldAdvanceByEyesOfDice() { int eyesOfDice = 3; Players players = mock(Players.class); ...
package com.adaptionsoft.games.uglytrivia; import org.junit.Test; import java.util.Arrays; import java.util.List; import static org.hamcrest.CoreMatchers.hasItems; import static org.junit.Assert.assertThat; import static org.mockito.Matchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mock...
Test that player is asked a question and that question is of proper category
Test that player is asked a question and that question is of proper category
Java
bsd-3-clause
codecop/ugly-trivia-kata
597adc03d04cbd6986573770b59cd3e241b15f35
obdalib/obdalib-core/src/main/java/org/obda/query/domain/imp/PredicateImp.java
obdalib/obdalib-core/src/main/java/org/obda/query/domain/imp/PredicateImp.java
package org.obda.query.domain.imp; import java.net.URI; import org.obda.query.domain.Predicate; public class PredicateImp implements Predicate{ private int arity = -1; private URI name = null; private int identfier = -1; //TODO PredicateImp remove identifier protected PredicateImp (URI name, int ...
package org.obda.query.domain.imp; import java.net.URI; import org.obda.query.domain.Predicate; public class PredicateImp implements Predicate{ private int arity = -1; private URI name = null; private int identfier = -1; protected PredicateImp (URI name, int arity){ this.name = name; this.ide...
Remove the identifier parameter in the object constructor.
Remove the identifier parameter in the object constructor.
Java
apache-2.0
eschwert/ontop,srapisarda/ontop,ConstantB/ontop-spatial,clarkparsia/ontop,ontop/ontop,ontop/ontop,ghxiao/ontop-spatial,ConstantB/ontop-spatial,eschwert/ontop,ghxiao/ontop-spatial,ConstantB/ontop-spatial,ConstantB/ontop-spatial,ontop/ontop,srapisarda/ontop,clarkparsia/ontop,ontop/ontop,clarkparsia/ontop,srapisarda/ontop...
9961a2e24243406208175de1390f6da74464b7c3
Graph/GraphAdjacencyList.java
Graph/GraphAdjacencyList.java
import java.util.List; import java.util.ArrayList; /* Implements an adjacency list using linked lists. */ class GraphAdjacencyList<T> { private List<Node<T>> adjacencyList; public GraphAdjacencyList(int size) { this.adjacencyList = new ArrayList<Node<T>>(size); } /* Return true if firstNode points to s...
import java.util.List; import java.util.ArrayList; /* Implements an adjacency list using linked lists. */ class GraphAdjacencyList<T> { private List<Node<T>> adjacencyList; public GraphAdjacencyList(int size) { this.adjacencyList = new ArrayList<Node<T>>(size); } /* Return true if firstNode points to s...
Add stubs for addEdge methods for graph adjacency list.
Add stubs for addEdge methods for graph adjacency list.
Java
mit
karysto/java-datastructures,karysto/java-datastructures
b519b7aef87afb49fc5c20a134cbbaf0f447e919
Stately/app/src/main/java/com/lloydtorres/stately/dto/NationFreedomCardData.java
Stately/app/src/main/java/com/lloydtorres/stately/dto/NationFreedomCardData.java
package com.lloydtorres.stately.dto; /** * Created by Lloyd on 2016-07-24. * A holder for freedom score data in the nation overview tab. */ public class NationFreedomCardData { public String civDesc; public int civScore; public String econDesc; public int econScore; public String poliDesc; p...
package com.lloydtorres.stately.dto; /** * Created by Lloyd on 2016-07-24. * A holder for freedom score data in the nation overview tab. */ public class NationFreedomCardData { public String nationTarget; public String civDesc; public int civScore; public String econDesc; public int econScore; ...
Add target nation for census data
Add target nation for census data
Java
apache-2.0
lloydtorres/stately
f6b6be92ce4dc19c86a6624a569bf05986907364
webapp/core/src/main/java/com/hp/autonomy/frontend/find/core/configuration/TemplatesConfigService.java
webapp/core/src/main/java/com/hp/autonomy/frontend/find/core/configuration/TemplatesConfigService.java
package com.hp.autonomy.frontend.find.core.configuration; import org.springframework.stereotype.Service; import java.io.IOException; @Service public class TemplatesConfigService extends CustomisationConfigService<TemplatesConfig> { public TemplatesConfigService() throws IOException { super( ...
package com.hp.autonomy.frontend.find.core.configuration; import org.springframework.stereotype.Service; @Service public class TemplatesConfigService extends CustomizationConfigService<TemplatesConfig> { public TemplatesConfigService() { super( "templates.json", "defaultTem...
Use correct name for CustomizationConfigService.
[FIND-1282] Use correct name for CustomizationConfigService. Fixes compilation error. [rev: will.byrne]
Java
mit
hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/find
a9fe9a0a1e2c7373f24dd8799a2324ff8dbc0144
configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/DefaultRpcAuthorizerProvider.java
configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/DefaultRpcAuthorizerProvider.java
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.rpc.security; import com.google.inject.Inject; import com.google.inject.Provider; import com.yahoo.cloud.config.ConfigserverConfig; import com.yahoo.config.provision.se...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.rpc.security; import com.google.inject.Inject; import com.yahoo.cloud.config.ConfigserverConfig; import com.yahoo.config.provision.security.NodeIdentifier; import com.y...
Use correct Provider interface for global components
Use correct Provider interface for global components
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
06f75e6a05f47caa4915581c08e74593ded6a989
src/test/java/com/github/grundlefleck/CarTest.java
src/test/java/com/github/grundlefleck/CarTest.java
package com.github.grundlefleck; import static org.junit.Assert.assertEquals; import static org.mutabilitydetector.unittesting.MutabilityAssert.assertImmutable; import org.junit.Test; public class CarTest { @Test public void testRecompilationWithNewProperties() { // Not the kind of tests you would normally writ...
package com.github.grundlefleck; import static org.junit.Assert.assertEquals; import static org.mutabilitydetector.unittesting.AllowedReason.provided; import static org.mutabilitydetector.unittesting.MutabilityAssert.assertImmutable; import static org.mutabilitydetector.unittesting.MutabilityAssert.assertInstancesOf; ...
Make tests pass by assuming Registration class is also immutable.
Make tests pass by assuming Registration class is also immutable.
Java
apache-2.0
Grundlefleck/autovalue-example
f1bf6588c01507d7d9c0327d46ae9814d51e1a01
src/main/java/net/greghaines/arithmeticparser/js/JavaScriptArithmeticParser.java
src/main/java/net/greghaines/arithmeticparser/js/JavaScriptArithmeticParser.java
package net.greghaines.arithmeticparser.js; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import net.greghaines.arithmeticparser.ArithmeticParser; /** * An implementation that uses Java's built-in JavaScript parser to evaluate the expression. * * ...
package net.greghaines.arithmeticparser.js; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import net.greghaines.arithmeticparser.ArithmeticParser; /** * An implementation that uses Java's built-in JavaScript parser to evaluate the expression. * * ...
Tweak the JavaScript implementation for ~4x faster execution.
Tweak the JavaScript implementation for ~4x faster execution.
Java
apache-2.0
gresrun/arithmetic-parser
a61bed4e7ad6707c0081eec840eb22d387d13664
src/test/java/guitests/ResultDisplayTest.java
src/test/java/guitests/ResultDisplayTest.java
//@@author A0142255M package guitests; import org.junit.Test; import seedu.tache.commons.core.Messages; public class ResultDisplayTest extends TaskManagerGuiTest { @Test public void resultDisplay_blankOnStartup_success() { assertResultMessage(""); } @Test public void resultDisplay_unkno...
//@@author A0142255M package guitests; import static seedu.tache.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import org.junit.Test; import seedu.tache.commons.core.Messages; import seedu.tache.logic.commands.HelpCommand; public class ResultDisplayTest extends TaskManagerGuiTest { @Test public voi...
Fix JUnit result display test
Fix JUnit result display test
Java
mit
CS2103JAN2017-T09-B4/main,CS2103JAN2017-T09-B4/main,CS2103JAN2017-T09-B4/main
4e455b0dbcdc4dd10fe9b782e4318ae9aadb1c91
src/test/java/org/jongo/FindWithHintTest.java
src/test/java/org/jongo/FindWithHintTest.java
package org.jongo; import org.bson.types.ObjectId; import org.jongo.model.Friend; import org.jongo.util.JongoTestCase; import org.jongo.util.MongoInMemoryRule; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import java.util.Iterator; import static org.fest.assertions.A...
package org.jongo; import org.bson.types.ObjectId; import org.jongo.model.Friend; import org.jongo.util.JongoTestCase; import org.jongo.util.MongoInMemoryRule; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import java.util.Iterator; import static org.fest.assertions.A...
Update of a test to really show an use of hint method.
Update of a test to really show an use of hint method.
Java
apache-2.0
edwardmlyte/jongo,shelsonjava/jongo,bguerout/jongo,joune/jongo,dgit-hub/jongo,shelsonjava/jongo,ctrimble/jongo,applango/jongo,julienlavergne/jongo,bguerout/jongo,edaubert/jongo,edaubert/jongo,applango/jongo,ctrimble/jongo,joune/jongo,julienlavergne/jongo,edwardmlyte/jongo,dgit-hub/jongo
92cce5ea7673443544b1d267305bc66466388b6e
src/main/java/com/clearspring/thetan/metricCatcher/MetricType.java
src/main/java/com/clearspring/thetan/metricCatcher/MetricType.java
package com.clearspring.thetan.metricCatcher; import com.yammer.metrics.core.CounterMetric; import com.yammer.metrics.core.GaugeMetric; import com.yammer.metrics.core.HistogramMetric; import com.yammer.metrics.core.MeterMetric; import com.yammer.metrics.core.TimerMetric; public enum MetricType { GAUGE ("gauge", G...
package com.clearspring.thetan.metricCatcher; import com.yammer.metrics.core.CounterMetric; import com.yammer.metrics.core.GaugeMetric; import com.yammer.metrics.core.HistogramMetric; import com.yammer.metrics.core.MeterMetric; import com.yammer.metrics.core.TimerMetric; public enum MetricType { GAUGE ("gauge", G...
Use proper names for histograms
Use proper names for histograms git-svn-id: 44fcf16af2fc66d21718f1d95b6687233a8d45ae@105180 e872ca34-ba15-0410-9420-be5960fa97e5
Java
apache-2.0
addthis/MetricCatcher,addthis/MetricCatcher
3a78f712709f95838729a5ee092fdea40820231a
src/net/ssehub/kernel_haven/code_model/ast/Function.java
src/net/ssehub/kernel_haven/code_model/ast/Function.java
package net.ssehub.kernel_haven.code_model.ast; import net.ssehub.kernel_haven.util.logic.Formula; import net.ssehub.kernel_haven.util.null_checks.NonNull; public class Function extends SyntaxElementWithChildreen { private @NonNull SyntaxElement header; public Function(@NonNull Formula presenceCondition...
package net.ssehub.kernel_haven.code_model.ast; import net.ssehub.kernel_haven.util.logic.Formula; import net.ssehub.kernel_haven.util.null_checks.NonNull; public class Function extends SyntaxElementWithChildreen { private @NonNull String name; private @NonNull SyntaxElement header; public Func...
Add name attribute to function
Add name attribute to function
Java
apache-2.0
KernelHaven/KernelHaven,KernelHaven/KernelHaven
cfa4362c65eb4a72b96d89091fef9877a52bfaf8
src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java
src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java
package com.yelp.clientlib.connection; import com.squareup.okhttp.Request; import oauth.signpost.http.HttpRequest; import se.akerfeldt.okhttp.signpost.OkHttpOAuthConsumer; /** * {@link HttpOAuthConsumer} is an {@link oauth.signpost.OAuthConsumer} implementation to sign OkHttp {@link Request}s. * * {@link OkHttpOA...
package com.yelp.clientlib.connection; import com.squareup.okhttp.Request; import oauth.signpost.http.HttpRequest; import se.akerfeldt.okhttp.signpost.OkHttpOAuthConsumer; /** * {@link HttpOAuthConsumer} is an {@link oauth.signpost.OAuthConsumer} implementation to sign OkHttp {@link Request}s. */ public class Http...
Move javadoc description for Overriding from class level to method
Move javadoc description for Overriding from class level to method
Java
mit
Yelp/yelp-android
67e6ad4c1fc955e51a5b2359b87e2587f8bae421
src/com/sibisoft/faizaniftikhartdd/Money.java
src/com/sibisoft/faizaniftikhartdd/Money.java
package com.sibisoft.faizaniftikhartdd; public class Money { protected int amount; public Money() { } public boolean equals(Object object) { Money money= (Money) object; return amount == money.amount; } }
package com.sibisoft.faizaniftikhartdd; public class Money { protected int amount; public Money() { } public boolean equals(Object object) { Money money= (Money) object; return amount == money.amount && getClass().equals(money.getClass()); } }
Add getClass() method to validate equals both same classes which make our equality test case succeed
Add getClass() method to validate equals both same classes which make our equality test case succeed
Java
mit
faizaniftikhar/faizan.iftikhartdd
ee87b5104e98575990936708ba776492b006fbe7
src/main/java/nl/hsac/fitnesse/fixture/slim/web/xebium/HsacXebiumBrowserTest.java
src/main/java/nl/hsac/fitnesse/fixture/slim/web/xebium/HsacXebiumBrowserTest.java
package nl.hsac.fitnesse.fixture.slim.web.xebium; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.slim.web.BrowserTest; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedCo...
package nl.hsac.fitnesse.fixture.slim.web.xebium; import nl.hsac.fitnesse.fixture.slim.SlimFixtureException; import nl.hsac.fitnesse.fixture.slim.web.BrowserTest; import org.openqa.selenium.By; /** * BrowserTest with some extra methods to assist HsacSeleniumDriverFixture. */ public class HsacXebiumBrowserTest exten...
Simplify class, using methods now available in its superclass.
Simplify class, using methods now available in its superclass.
Java
apache-2.0
fhoeben/hsac-xebium-bridge,fhoeben/hsac-xebium-bridge
a931a5e59c25830be87b9d73117d127bdaae6176
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/java/view/value/InvocationValueView.java
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/java/view/value/InvocationValueView.java
package com.speedment.common.codegen.internal.java.view.value; import com.speedment.common.codegen.Generator; import com.speedment.common.codegen.Transform; import com.speedment.common.codegen.model.value.InvocationValue; import java.util.Optional; import static com.speedment.common.codegen.util.Formatting.nl; impor...
package com.speedment.common.codegen.internal.java.view.value; import com.speedment.common.codegen.Generator; import com.speedment.common.codegen.Transform; import com.speedment.common.codegen.model.value.InvocationValue; import java.util.Optional; import static com.speedment.common.codegen.util.Formatting.indent; i...
Fix minor formatting issues with new views
codegen: Fix minor formatting issues with new views
Java
apache-2.0
speedment/speedment,speedment/speedment
a0bd2a191b68062cb0cfee107c6b4ce43e2c85f8
src/main/java/tars/commons/core/Messages.java
src/main/java/tars/commons/core/Messages.java
package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALI...
package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALI...
Add invalid tag index message
Add invalid tag index message
Java
mit
CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main