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
09486581fd0f009dbf4ea9f9240064db09877876
src/main/java/com/xdrop/passlock/core/PasswordManager.java
src/main/java/com/xdrop/passlock/core/PasswordManager.java
package com.xdrop.passlock.core; import org.apache.commons.codec.binary.Base64; import com.xdrop.passlock.crypto.EncryptionModel; import com.xdrop.passlock.crypto.aes.AESEncryptionData; import com.xdrop.passlock.crypto.aes.AESEncryptionModel; import com.xdrop.passlock.datasource.Datasource; import com.xdrop.passlock....
package com.xdrop.passlock.core; import org.apache.commons.codec.binary.Base64; import com.xdrop.passlock.crypto.EncryptionModel; import com.xdrop.passlock.crypto.aes.AESEncryptionData; import com.xdrop.passlock.crypto.aes.AESEncryptionModel; import com.xdrop.passlock.datasource.Datasource; import com.xdrop.passlock....
Fix issue with missing var
Fix issue with missing var
Java
mit
xdrop/PassLock,xdrop/PassLock
cbff900fb68e6f58e924982d66ccc0a6ba96938f
ethereumj-core/src/main/java/org/ethereum/config/net/TestNetConfig.java
ethereumj-core/src/main/java/org/ethereum/config/net/TestNetConfig.java
package org.ethereum.config.net; import org.ethereum.config.blockchain.FrontierConfig; /** * Created by Anton Nashatyrev on 25.02.2016. */ public class TestNetConfig extends AbstractNetConfig { public TestNetConfig() { add(0, new FrontierConfig()); } }
package org.ethereum.config.net; import org.ethereum.config.blockchain.FrontierConfig; import org.ethereum.config.blockchain.HomesteadConfig; /** * Created by Anton Nashatyrev on 25.02.2016. */ public class TestNetConfig extends AbstractNetConfig { public TestNetConfig() { add(0, new FrontierConfig()); ...
Switch testnet config to Homestead
Switch testnet config to Homestead
Java
mit
loxal/FreeEthereum,loxal/ethereumj,loxal/FreeEthereum,caxqueiroz/ethereumj,loxal/FreeEthereum
7e0887fb38e75f2ccb89d66c27757ca5e3b67720
MatrixInterface.java
MatrixInterface.java
public interface MatrixInterface { // boolean modify means function returns the modified matrix // no boolean modify means function returns a new matrix // matrix addition public Matrix m_add(Matrix m); public Matrix m_add(Matrix m, boolean modify); // matrix multiplication public Matrix m_multiply(Matrix ...
public interface MatrixInterface { // boolean modify means function returns the modified matrix // no boolean modify means function returns a new matrix // matrix addition public Matrix add(Matrix m); public Matrix add(Matrix m, boolean modify); // matrix multiplication public Matrix multiply(Matrix m); ...
Fix method names and change edit
Fix method names and change edit
Java
bsd-3-clause
oscartu2/magical-kf,oscartu2/magical-kf
cda3fe6e14280a025c894c1279af291a8327475b
src/main/java/com/hp/autonomy/hod/client/api/textindex/IndexFlavor.java
src/main/java/com/hp/autonomy/hod/client/api/textindex/IndexFlavor.java
/* * Copyright 2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.client.api.textindex; /** * Enum type representing the possible options for the index flavor parameter */...
/* * Copyright 2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.client.api.textindex; /** * Enum type representing the possible options for the index flavor parameter */...
Remove web_cloud as it can't be used to create a text index
Remove web_cloud as it can't be used to create a text index
Java
mit
hpautonomy/java-hod-client,hpautonomy/java-hod-client,hpe-idol/java-hod-client,hpe-idol/java-hod-client,hpautonomy/java-hod-client,hpe-idol/java-hod-client
bc8c94c425d80f615596141151d07d56e942942e
src/com/microsoft/azure/documentdb/sample/dao/DocumentClientFactory.java
src/com/microsoft/azure/documentdb/sample/dao/DocumentClientFactory.java
package com.microsoft.azure.documentdb.sample.dao; import com.microsoft.azure.documentdb.ConnectionPolicy; import com.microsoft.azure.documentdb.ConsistencyLevel; import com.microsoft.azure.documentdb.DocumentClient; public class DocumentClientFactory { private static final String HOST = "https://docdb-java-sampl...
package com.microsoft.azure.documentdb.sample.dao; import com.microsoft.azure.documentdb.ConnectionPolicy; import com.microsoft.azure.documentdb.ConsistencyLevel; import com.microsoft.azure.documentdb.DocumentClient; public class DocumentClientFactory { private static final String HOST = "https://docdb-java-sampl...
Load DocumentDB client at class-load time
Load DocumentDB client at class-load time
Java
mit
Azure-Samples/documentdb-java-todo-app,Azure-Samples/documentdb-java-todo-app
01d006eea80da9ad18fb57b9db013eb603738230
src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java
src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java
package com.fabiohideki.socialbooks.resources; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; i...
package com.fabiohideki.socialbooks.resources; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; i...
PUT para atualizar o recurso Livro
PUT para atualizar o recurso Livro
Java
apache-2.0
fabiohxcx/socialbooksapi,fabiohxcx/socialbooksapi
d23f87d70e88e8ec1d88294f5a7f022a79ff5eb3
src/edu/washington/escience/myriad/MyriaConstants.java
src/edu/washington/escience/myriad/MyriaConstants.java
package edu.washington.escience.myriad; /** * This class holds the constants for the Myria execution. * * @author dhalperi * */ public final class MyriaConstants { /** Private constructor to disallow building utility class. */ private MyriaConstants() { } /** The identity of the master worker is curren...
package edu.washington.escience.myriad; /** * This class holds the constants for the Myria execution. * * @author dhalperi * */ public final class MyriaConstants { /** Private constructor to disallow building utility class. */ private MyriaConstants() { } /** The identity of the master worker is curren...
Move some more constants here
Move some more constants here
Java
bsd-3-clause
bsalimi/myria,uwescience/myria,bsalimi/myria,uwescience/myria,uwescience/myria,jamesmarva/myria,bsalimi/myria,jamesmarva/myria,jamesmarva/myria
77f7b9b3538e9476022ed4ae55f5ff20c7788f19
src/main/java/pokefenn/totemic/init/ModTileEntities.java
src/main/java/pokefenn/totemic/init/ModTileEntities.java
package pokefenn.totemic.init; import net.minecraft.tileentity.TileEntityType; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.registries.ObjectHolder; import pokefenn.totemic.Totemic; import pokefenn.totemic.tile.totem.TileTotemBase; @Ob...
package pokefenn.totemic.init; import net.minecraft.block.Block; import net.minecraft.tileentity.TileEntityType; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.registries.ObjectHolder; import pokefenn.totemic.Totemic; import pokefenn.tote...
Fix invalid tile entity error
Fix invalid tile entity error
Java
mit
TeamTotemic/Totemic
7fd6490685010b77241c2f98e2ca408d296d85d1
src/main/java/tutorial/storm/trident/DrpcTestClient.java
src/main/java/tutorial/storm/trident/DrpcTestClient.java
package tutorial.storm.trident; import backtype.storm.generated.DRPCExecutionException; import backtype.storm.utils.DRPCClient; import org.apache.thrift7.TException; /** * @author Enno Shioji (eshioji@gmail.com) */ public class DrpcTestClient { public static void main(String[] args) throws TException, DRPCExecu...
package tutorial.storm.trident; import backtype.storm.generated.DRPCExecutionException; import backtype.storm.utils.DRPCClient; import org.apache.thrift7.TException; /** * @author Enno Shioji (eshioji@gmail.com) */ public class DrpcTestClient { public static void main(String[] args) throws TException, DRPCExecu...
Generalize the test DRPC client
Generalize the test DRPC client
Java
apache-2.0
eshioji/trident-tutorial,eshioji/trident-tutorial,eshioji/trident-tutorial,eshioji/trident-tutorial
6db700685c0d46b52051bddbd79f481b22588a64
src/main/java/com/nelsonjrodrigues/pchud/net/Extractor.java
src/main/java/com/nelsonjrodrigues/pchud/net/Extractor.java
package com.nelsonjrodrigues.pchud.net; import static java.lang.Byte.toUnsignedInt; public class Extractor { private byte[] buffer; private int offset; private int length; public Extractor(byte[] buffer, int offset, int length) { this.buffer = buffer; this.offset = offset; ...
package com.nelsonjrodrigues.pchud.net; public class Extractor { private byte[] buffer; private int offset; private int length; public Extractor(byte[] buffer, int offset, int length) { this.buffer = buffer; this.offset = offset; this.length = length; } public int u8(...
Remove static import, code is more readable like this
Remove static import, code is more readable like this
Java
mit
tuxetuxe/pchud,nrodrigues/pchud
baed73a969b8f255093b71c94d4c4a4e0af426c7
src/main/java/org/recap/route/XMLFileLoadValidator.java
src/main/java/org/recap/route/XMLFileLoadValidator.java
package org.recap.route; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.impl.DefaultMessage; import org.recap.model.jpa.ReportEntity; import org.recap.repository.ReportDetailRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
package org.recap.route; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.impl.DefaultMessage; import org.recap.model.jpa.ReportEntity; import org.recap.repository.ReportDetailRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
Check to validated xml file has been loaded already; if so, dont load it again.
Check to validated xml file has been loaded already; if so, dont load it again.
Java
apache-2.0
premkumarbalu/scsb-etl,angelindayana/scsb-etl,chenchulakshmig/scsb-etl,chenchulakshmig/scsb-etl,chenchulakshmig/scsb-etl,angelindayana/scsb-etl,premkumarbalu/scsb-etl,premkumarbalu/scsb-etl,angelindayana/scsb-etl
b3b5fa598c1b5a9acd7b1e2e02da1ef6ff8a44a1
src/Functions/ElementPanel.java
src/Functions/ElementPanel.java
package Functions; import javax.swing.*; import javax.swing.border.*; import Elements.Element; import java.awt.*; public class ElementPanel extends JPanel { private Element element; public ElementPanel(Element element) { this.element = element; if(element != null) { String name = element.getSymbol(); ...
package Functions; import javax.swing.*; import javax.swing.border.*; import Elements.Element; import java.awt.*; public class ElementPanel extends JPanel { private Element element; public ElementPanel(Element element) { this.element = element; if(element != null) { String name = element.getSymbol(); ...
Revert "Revert "Made the periodic table different""
Revert "Revert "Made the periodic table different"" This reverts commit cd0982549189edad00fd944b8c31dfdd4bc79030.
Java
bsd-3-clause
MXProgrammingClub/Chem-Helper,MXProgrammingClub/Chem-Helper
21aa109fe92f52148f4787c55369f4c35e73369d
androidemu/src/main/java/android/org/json/JSONObject.java
androidemu/src/main/java/android/org/json/JSONObject.java
package android.org.json; import com.google.gwt.json.client.JSONParser; /** * Proxy to the GWT class */ public class JSONObject { com.google.gwt.json.client.JSONObject jsonObject; public JSONObject(String json) { jsonObject = JSONParser.parseStrict(json).isObject(); } public String getString(String name) {...
package android.org.json; import com.google.gwt.json.client.JSONParser; /** * Proxy to the GWT class */ public class JSONObject { com.google.gwt.json.client.JSONObject jsonObject; public JSONObject(String json) { jsonObject = JSONParser.parseStrict(json).isObject(); } public String getString(String name) {...
Remove quotation marks from JSON objects
Remove quotation marks from JSON objects
Java
mit
albertoruibal/gwt_android_emu,albertoruibal/gwt_android_emu,albertoruibal/gwt_android_emu
ed1cfb08addec68bad6fc92daf3655de86fa6143
buildSrc/src/main/groovy/org/jtrim2/build/Versions.java
buildSrc/src/main/groovy/org/jtrim2/build/Versions.java
package org.jtrim2.build; import java.io.IOException; import org.gradle.api.Project; import static org.jtrim2.build.BuildFileUtils.*; public final class Versions { private static final String GROUP_NAME = "org.jtrim2"; private static final String VERSION_BASE_PROPERTY = "versionBase"; public static voi...
package org.jtrim2.build; import java.io.IOException; import org.gradle.api.Project; import static org.jtrim2.build.BuildFileUtils.*; public final class Versions { private static final String GROUP_NAME = "org.jtrim2"; private static final String VERSION_BASE_PROPERTY = "versionBase"; private static fin...
Build now allows to specify custom version suffix.
Build now allows to specify custom version suffix.
Java
apache-2.0
kelemen/JTrim,kelemen/JTrim
4122a7fb58461757ea9ebe21dfef0ef5d319e1c0
leetcode/jump-game-ii/Solution.java
leetcode/jump-game-ii/Solution.java
import java.util.*; public class Solution { public int jump(int[] jumps) { if (jumps.length == 0) return 0; int lastIndex = jumps.length - 1; boolean[] visited = new boolean[jumps.length]; LinkedList<Integer> queue = new LinkedList<Integer>(); queue.add(0); int stepCount = 0; visited[0] ...
import java.util.*; public class Solution { public int jump(int[] jumps) { if (jumps.length == 0) return 0; if (jumps.length == 1) return 0; int lastIndex = jumps.length - 1; boolean[] visited = new boolean[jumps.length]; LinkedList<Integer> queue = new LinkedList<Integer>(); queue.add(0); ...
Optimize jump game ii solution
Optimize jump game ii solution
Java
mit
shengmin/coding-problem,shengmin/coding-problem,shengmin/coding-problem,shengmin/coding-problem
0377980a382256bbdb7f148badac0d96c150644a
src/main/java/bj/pranie/controller/IndexController.java
src/main/java/bj/pranie/controller/IndexController.java
package bj.pranie.controller; import bj.pranie.util.TimeUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Req...
package bj.pranie.controller; import bj.pranie.entity.User; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.spring...
Implement auto redirect authenticated user to week page.
Implement auto redirect authenticated user to week page.
Java
apache-2.0
sebastiansokolowski/ReservationSystem-BJ,sebastiansokolowski/ReservationSystem-BJ
50a2f78791baabcec413f3ad99130e8956cf4863
src/main/java/no/stelar7/api/r4j/pojo/val/matchlist/MatchReference.java
src/main/java/no/stelar7/api/r4j/pojo/val/matchlist/MatchReference.java
package no.stelar7.api.r4j.pojo.val.matchlist; import java.io.Serializable; import java.util.Objects; public class MatchReference implements Serializable { private static final long serialVersionUID = -5301457261872587385L; private String matchId; private Long gameStartTime; private String team...
package no.stelar7.api.r4j.pojo.val.matchlist; import java.io.Serializable; import java.util.Objects; public class MatchReference implements Serializable { private static final long serialVersionUID = -5301457261872587385L; private String matchId; private Long gameStartTimeMillis; private String qu...
Fix property names to be related to response from riot valorant api
Fix property names to be related to response from riot valorant api
Java
apache-2.0
stelar7/L4J8
5ac400b71e90db05b810fe52871fef1f037505f9
app/src/androidTest/java/com/tobi/movies/Robot.java
app/src/androidTest/java/com/tobi/movies/Robot.java
package com.tobi.movies; import android.support.annotation.IdRes; import android.support.test.espresso.contrib.RecyclerViewActions; import static android.support.test.espresso.Espresso.onView; import static android.support.test.espresso.action.ViewActions.click; import static android.support.test.espresso.assertion.V...
package com.tobi.movies; import android.support.annotation.IdRes; import android.support.test.espresso.contrib.RecyclerViewActions; import static android.support.test.espresso.Espresso.onView; import static android.support.test.espresso.action.ViewActions.click; import static android.support.test.espresso.assertion.V...
Add sleep method to robot
Add sleep method to robot
Java
apache-2.0
tobiasheine/Movies,tobiasheine/Movies
f550c49f175ec82b31d11380dedbf934fcbaf727
webapp/src/main/java/com/box/l10n/mojito/aws/s3/AmazonS3Configuration.java
webapp/src/main/java/com/box/l10n/mojito/aws/s3/AmazonS3Configuration.java
package com.box.l10n.mojito.aws.s3; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3ClientBuilder; i...
package com.box.l10n.mojito.aws.s3; import com.amazonaws.PredefinedClientConfigurations; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.s3.AmazonS3; impo...
Use GZip compression in the Amazon S3 client to speed up large object transfer
Use GZip compression in the Amazon S3 client to speed up large object transfer The goal starting this task was to speed up large object transfer. Considered compressing the content itself (in BlobStorage) but in the end decided to use GZip in the client transport layer instead. It is easier to look at the content unco...
Java
apache-2.0
box/mojito,box/mojito,box/mojito,box/mojito,box/mojito,box/mojito
e9f9d447d352d6846c09eddb1867253275926e89
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/AppFrame.java
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/AppFrame.java
package com.github.aureliano.edocs.app.gui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import com.github.aureliano.edocs.app.gui.menu.MenuBar; public class AppFrame extends JFrame { private static final long serialVersionUID = 7618501026967569839...
package com.github.aureliano.edocs.app.gui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import com.github.aureliano.edocs.app.gui.menu.MenuBar; public class AppFrame extends JFrame { private static final long serialVersionUID = 7618501026967569839...
Add tabbed pane to the center of the frame.
Add tabbed pane to the center of the frame.
Java
mit
aureliano/e-docs
7c547b81b897e1f930a8e0a79566fbf5ebd28a99
framework/ext/src/com/phonegap/device/DeviceFeature.java
framework/ext/src/com/phonegap/device/DeviceFeature.java
package com.phonegap.device; import net.rim.device.api.script.Scriptable; import net.rim.device.api.system.DeviceInfo; public final class DeviceFeature extends Scriptable { public static final String FIELD_PLATFORM = "platform"; public static final String FIELD_UUID = "uuid"; public static final String FIELD_P...
/* * PhoneGap is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2005-2010, Nitobi Software Inc. * Copyright (c) 2010, IBM Corporation */ package com.phonegap.device; import net.rim.dev...
Change PhoneGap version to '0.9.2'.
Change PhoneGap version to '0.9.2'. Add license agreement.
Java
apache-2.0
blackberry/cordova-blackberry,corimf/cordova-blackberry,corimf/cordova-blackberry,apache/cordova-blackberry,blackberry/cordova-blackberry,blackberry/cordova-blackberry,corimf/cordova-blackberry,deedubbu/incubator-cordova-blackberry-webworks,deedubbu/incubator-cordova-blackberry-webworks,apache/cordova-blackberry,apache...
373e096cc8650fd04957cda44723bbce658d64c2
src/main/java/com/cisco/trex/stateless/model/capture/CaptureMonitor.java
src/main/java/com/cisco/trex/stateless/model/capture/CaptureMonitor.java
package com.cisco.trex.stateless.model.capture; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class CaptureMonitor { @JsonProperty("capture_id") private int captureId; @JsonProper...
package com.cisco.trex.stateless.model.capture; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class CaptureMonitor { @JsonProperty("capture_id") private int captureId; @JsonPro...
Add getter and setter for start_ts field.
Add getter and setter for start_ts field.
Java
apache-2.0
cisco-system-traffic-generator/trex-java-sdk,cisco-system-traffic-generator/trex-java-sdk
69dc6eca79f63db5d685d2a70f6440ff790b1222
app/src/main/java/es/shyri/longoperationservice/LongOperationService.java
app/src/main/java/es/shyri/longoperationservice/LongOperationService.java
package es.shyri.longoperationservice; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.support.annotation.Nullable; /** * Created by Shyri on 01/02/2016. */ public class LongOperationService extends Service { private final IBinder m...
package es.shyri.longoperationservice; import android.app.NotificationManager; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.support.annotation.Nullable; import android.support.v7.app.NotificationCompat; /** * Created by Shyri on 01/02/...
Add notification manager to service
Add notification manager to service
Java
apache-2.0
Shyri/long-task-service
b231679625daa83416505fe3bdab066d1ce9911d
network/src/main/java/org/rocket/network/props/PropPresenceValidator.java
network/src/main/java/org/rocket/network/props/PropPresenceValidator.java
package org.rocket.network.props; import org.rocket.network.MutProp; import org.rocket.network.NetworkClient; import org.rocket.network.PropId; import org.rocket.network.PropValidator; public class PropPresenceValidator implements PropValidator { private final PropId pid; public PropPresenceValidator(PropPre...
package org.rocket.network.props; import org.rocket.network.MutProp; import org.rocket.network.NetworkClient; import org.rocket.network.PropId; import org.rocket.network.PropValidator; public class PropPresenceValidator implements PropValidator { private final PropId pid; private String messageError; pub...
Build the error message earlier
Build the error message earlier
Java
mit
Blackrush/Rocket
2bd2c467a1728defb7505247c1c0db4502e78d13
amalgam/Amalgam/src/main/java/com/amalgam/view/ViewUtils.java
amalgam/Amalgam/src/main/java/com/amalgam/view/ViewUtils.java
package com.amalgam.view; import android.content.res.Resources; import android.util.DisplayMetrics; import android.view.WindowManager; public final class ViewUtils { private ViewUtils() {} /** * Convert the dips to pixels, based on density scale * * @param resources application resources ...
package com.amalgam.view; import android.content.Context; import android.content.res.Resources; import android.hardware.display.DisplayManager; import android.util.DisplayMetrics; import android.view.WindowManager; import com.amalgam.content.ContextUtils; public final class ViewUtils { private ViewUtils() {} ...
Add sip to pixel conversion
Add sip to pixel conversion
Java
apache-2.0
KeithYokoma/Amalgam,nohana/Amalgam
7b99549ba0820b25b05b01d2f0e3b6dacd725e52
base/src/main/java/com/thoughtworks/go/utils/AssertJava8.java
base/src/main/java/com/thoughtworks/go/utils/AssertJava8.java
/* * Copyright 2017 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright 2017 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Include java 11 to supported list
Include java 11 to supported list
Java
apache-2.0
kierarad/gocd,arvindsv/gocd,jyotisingh/gocd,tomzo/gocd,ketan/gocd,gocd/gocd,gocd/gocd,varshavaradarajan/gocd,naveenbhaskar/gocd,naveenbhaskar/gocd,varshavaradarajan/gocd,naveenbhaskar/gocd,GaneshSPatil/gocd,kierarad/gocd,tomzo/gocd,marques-work/gocd,gocd/gocd,GaneshSPatil/gocd,arvindsv/gocd,ketan/gocd,naveenbhaskar/goc...
67899e762200fb437f2dd37ec777cbfc6e342149
beaform-core/src/test/java/beaform/events/StoreEventTest.java
beaform-core/src/test/java/beaform/events/StoreEventTest.java
package beaform.events; import static org.junit.Assert.assertEquals; import java.text.SimpleDateFormat; import java.util.Date; import org.junit.After; import org.junit.Before; import org.junit.Test; import beaform.utilities.SystemTime; import beaform.utilities.TimeSource; public class StoreEventTest { @Before p...
package beaform.events; import static org.junit.Assert.assertEquals; import java.text.SimpleDateFormat; import java.util.Date; import org.junit.After; import org.junit.Before; import org.junit.Test; import beaform.utilities.SystemTime; import beaform.utilities.TimeSource; public class StoreEventTest { @Before p...
Add a message for the failing assertion
Add a message for the failing assertion
Java
mit
stevenpost/beaform
58515da9800f7b9815ad93d3f53ff9c6a23a221b
src/main/java/algorithms/trees/TreeHeightCalculator.java
src/main/java/algorithms/trees/TreeHeightCalculator.java
package algorithms.trees; public class TreeHeightCalculator { private final int parents[]; /** * @param parents * defines index of parent for each node. Value -1 determines a root node */ public TreeHeightCalculator(int parents[]) { this.parents = parents; } public int computeHeight() { TreeN...
package algorithms.trees; public class TreeHeightCalculator { private final int parents[]; /** * @param parents * defines index of parent for each node. Value -1 determines a root node */ public TreeHeightCalculator(int parents[]) { this.parents = parents; } /** * assumptions: there is exactl...
Document prerequisites for the algorithm
Document prerequisites for the algorithm
Java
mit
bink81/java-experiments
ae3b935d45eb80507743f35f490feb1d476eacab
oasis-webapp/src/main/java/oasis/web/authn/UserCanonicalBaseUriFilter.java
oasis-webapp/src/main/java/oasis/web/authn/UserCanonicalBaseUriFilter.java
package oasis.web.authn; import java.io.IOException; import java.net.URI; import javax.annotation.Priority; import javax.inject.Inject; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.core.Response; import javax.ws.rs.ext.Provider; import ...
package oasis.web.authn; import java.io.IOException; import java.net.URI; import javax.annotation.Priority; import javax.inject.Inject; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.core.Response; import javax.ws.rs.ext.Provider; import ...
Fix redirect loops in HTTPS when canonical-base-uri is configured
Fix redirect loops in HTTPS when canonical-base-uri is configured Once again, we're hit by RESTEASY-1099; this time when comparing the base URI with the expected "canonical base URI". When the requested URI had a query-string, the comparison failed and we tried to redirect to actually the exact same URI as result. Ch...
Java
agpl-3.0
ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel
6e0c0907748cc3700dfd3df8072f6c35350c1035
sdk/src/main/java/com/vk/api/sdk/objects/messages/Action.java
sdk/src/main/java/com/vk/api/sdk/objects/messages/Action.java
package com.vk.api.sdk.objects.messages; import com.google.gson.annotations.SerializedName; /** * Message action type */ public enum Action { @SerializedName("chat_photo_update") CHAT_PHOTO_UPDATE("chat_photo_update"), @SerializedName("chat_photo_remove") CHAT_PHOTO_REMOVE("chat_photo_remove"), ...
package com.vk.api.sdk.objects.messages; import com.google.gson.annotations.SerializedName; /** * Message action type */ public enum Action { @SerializedName("chat_photo_update") CHAT_PHOTO_UPDATE("chat_photo_update"), @SerializedName("chat_photo_remove") CHAT_PHOTO_REMOVE("chat_photo_remove"), ...
Add missing field in 'action' for 'Message' object
Add missing field in 'action' for 'Message' object
Java
mit
VKCOM/vk-java-sdk,VKCOM/vk-java-sdk
445c7fa4bd04f31051769e1bea63732940a975ce
src/main/java/net/aeronica/mods/mxtune/caches/Service.java
src/main/java/net/aeronica/mods/mxtune/caches/Service.java
/* * MIT License * * Copyright (c) 2017 Hindol Adhya * * 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, copy, mod...
/* * MIT License * * Copyright (c) 2017 Hindol Adhya * * 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, copy, mod...
Use an application defined exception.
Use an application defined exception.
Java
apache-2.0
Aeronica/mxTune
262f4171e4d6914c6a6b34b873036cfd5ab63e22
src/main/java/org/cryptonit/cloud/timestamping/Policy.java
src/main/java/org/cryptonit/cloud/timestamping/Policy.java
package org.cryptonit.cloud.timestamping; import org.cryptonit.cloud.interfaces.TimestampingPolicy; public class Policy implements TimestampingPolicy { String identity; String policyId; public Policy(String identity, String policyId) { this.identity = identity; this.policyId = policyId; ...
package org.cryptonit.cloud.timestamping; import org.cryptonit.cloud.interfaces.TimestampingPolicy; public class Policy implements TimestampingPolicy { String identity; String policyId; String algorithm; public Policy(String identity, String policyId, String algorithm) { this.identity = iden...
Add algorithm field in class
Add algorithm field in class
Java
agpl-3.0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
d56b16212167742937ab5b18508f75248830179b
src/main/java/prm4j/indexing/realtime/LowLevelBinding.java
src/main/java/prm4j/indexing/realtime/LowLevelBinding.java
/* * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors:...
/* * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors:...
Remove todo and add comment
Remove todo and add comment
Java
epl-1.0
parzonka/prm4j
d6af24d7ef6a9c8d557d43d3193253fdbd76f380
app/src/androidTest/java/me/androidbox/busbymovies/MovieListViewImpTest.java
app/src/androidTest/java/me/androidbox/busbymovies/MovieListViewImpTest.java
package me.androidbox.busbymovies; import android.support.test.espresso.assertion.ViewAssertions; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import me.androidbox.busbymovies.moviel...
package me.androidbox.busbymovies; import android.support.test.espresso.assertion.ViewAssertions; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import me.androidbox.busbymovies.moviel...
Add matcher for the recyclerview to get the number of items to compare with
Add matcher for the recyclerview to get the number of items to compare with
Java
mit
steve1rm/busbymovies,steve1rm/busbymovies
af4b77bfb6e91932f41f1aa36fd374a8f419562d
src/biospectra/utils/FastaFileFilter.java
src/biospectra/utils/FastaFileFilter.java
/* * Copyright (C) 2015 iychoi * * 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 2 * of the License, or (at your option) any later version. * * This program is distributed...
/* * Copyright (C) 2015 iychoi * * 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 2 * of the License, or (at your option) any later version. * * This program is distributed...
Add more extensions for fasta filter
Add more extensions for fasta filter
Java
apache-2.0
iychoi/biospectra,iychoi/biospectra,iychoi/biospectra
30eb943b01b848e4c444cff872e5f13c1af857ca
src/main/java/t16b4/yats/logic/commands/ListCommand.java
src/main/java/t16b4/yats/logic/commands/ListCommand.java
package t16b4.yats.logic.commands; /** * Lists all persons in the address book to the user. */ public class ListCommand extends Command { public static final String COMMAND_WORD = "list"; public static final String COMMAND_WORD_SUFFIX_TITLE = "list title"; public static final String COMMAND_WORD_SUFFIX...
package t16b4.yats.logic.commands; /** * Lists all persons in the address book to the user. */ public class ListCommand extends Command { public static final String COMMAND_WORD = "list"; public static final String COMMAND_WORD_EXTENTION = "by"; public static final String COMMAND_WORD_SUFFIX_TITLE = "t...
Add more command extension and suffix
Add more command extension and suffix
Java
mit
CS2103JAN2017-T16-B4/main,CS2103JAN2017-T16-B4/main
87cb18e12a296a1e29dbfb692d5c5d528c0f59e3
src/test/java/com/example/activity/MainActivityTest.java
src/test/java/com/example/activity/MainActivityTest.java
package com.example.activity; import android.app.Activity; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import static org.junit.Assert.assertTrue; @RunWith(RobolectricTestRunner.class) public class MainActivityTest { @org.junit.Test public vo...
package com.example.activity; import android.app.Activity; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricTestRunner; import static org.junit.Assert.assertTrue; @RunWith(RobolectricTestRunner.class) public class MainActivityTest { @org.junit.Test public vo...
Rename test to be correct
Rename test to be correct
Java
unlicense
robolectric/deckard-maven,robolectric/deckard-maven
6ad6774655d7990cc509e5433f9192de5dbe9c5b
src/main/java/com/amee/restlet/Fault.java
src/main/java/com/amee/restlet/Fault.java
package com.amee.restlet; import org.restlet.data.Status; public interface Fault { public String getMessage(); public Status getStatus(); public String getCode(); }
package com.amee.restlet; import org.restlet.data.Status; public interface Fault { String getMessage(); Status getStatus(); String getCode(); }
Remove redundant access modifiers. PL-11097.
Remove redundant access modifiers. PL-11097.
Java
mit
OpenAMEE/amee.platform.api
842ce9ac96244336ee1c844614e9b5c2ac59b1e0
CustomView/app/src/main/java/sample/github/nisrulz/customview/CustomView.java
CustomView/app/src/main/java/sample/github/nisrulz/customview/CustomView.java
package sample.github.nisrulz.customview; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.View; public class CustomView extends View { Paint paint = new Paint(); String text = "Custom Text"; public CustomView(Con...
package sample.github.nisrulz.customview; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.View; public class CustomView extends View { Paint paint = new Paint(); String text = "Custom Text"; public CustomView(Con...
Revert "Added call to `requestLayout()` after `invalidate()`"
Revert "Added call to `requestLayout()` after `invalidate()`" This reverts commit 4c36200e19e8d38b6e4389f498152e2b5e30ff13.
Java
apache-2.0
nisrulz/android-examples,nisrulz/android-examples,nisrulz/android-examples,nisrulz/android-examples,nisrulz/android-examples,nisrulz/android-examples
96b36be8f1df8e4f0f70936292ddbe7ced02c291
src/main/java/edu/rice/cs/caper/bayou/application/dom_driver/BatchDriver.java
src/main/java/edu/rice/cs/caper/bayou/application/dom_driver/BatchDriver.java
package edu.rice.cs.caper.bayou.application.dom_driver; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /** * Batch DOM Driver that can work with a list of files having the same config */ public class BatchDriver { public static void main(String args[]) throws IOException,...
/* Copyright 2017 Rice University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
Add license header to batch DOM driver class
Add license header to batch DOM driver class
Java
apache-2.0
capergroup/bayou,capergroup/bayou,capergroup/bayou
8cfca4376f698cff3aa2b93f3d8c73f22edafe3a
fml/src/main/java/net/minecraftforge/fml/common/launcher/FMLServerTweaker.java
fml/src/main/java/net/minecraftforge/fml/common/launcher/FMLServerTweaker.java
package net.minecraftforge.fml.common.launcher; import net.minecraft.launchwrapper.LaunchClassLoader; import net.minecraftforge.fml.relauncher.FMLLaunchHandler; public class FMLServerTweaker extends FMLTweaker { @Override public String getLaunchTarget() { return "net.minecraft.server.MinecraftServ...
package net.minecraftforge.fml.common.launcher; import net.minecraft.launchwrapper.LaunchClassLoader; import net.minecraftforge.fml.relauncher.FMLLaunchHandler; public class FMLServerTweaker extends FMLTweaker { @Override public String getLaunchTarget() { return "net.minecraft.server.MinecraftServ...
Exclude only log4j2 queue from class loader
Exclude only log4j2 queue from class loader Right now the complete com.mojang package is excluded from the LaunchClassLoader on the server. This means mods can't transform authlib for example which doesn't need to be excluded for the UI to work. By excluding only the specific log4j2 QueueLogAppender, mods can also tra...
Java
lgpl-2.1
mickkay/MinecraftForge,ThiagoGarciaAlves/MinecraftForge,jdpadrnos/MinecraftForge,luacs1998/MinecraftForge,Ghostlyr/MinecraftForge,CrafterKina/MinecraftForge,shadekiller666/MinecraftForge,brubo1/MinecraftForge,dmf444/MinecraftForge,Theerapak/MinecraftForge,Vorquel/MinecraftForge,RainWarrior/MinecraftForge,bonii-xx/Minec...
ccd10fda4adf5d03a0903fd5f42f9b77af3680f6
src/impl/java/io/core9/module/auth/standard/UserEntity.java
src/impl/java/io/core9/module/auth/standard/UserEntity.java
package io.core9.module.auth.standard; import io.core9.plugin.database.repository.AbstractCrudEntity; import io.core9.plugin.database.repository.Collection; import io.core9.plugin.database.repository.CrudEntity; import java.util.Set; import org.apache.shiro.crypto.hash.Sha256Hash; @Collection("core.users") public c...
package io.core9.module.auth.standard; import io.core9.plugin.database.repository.AbstractCrudEntity; import io.core9.plugin.database.repository.Collection; import io.core9.plugin.database.repository.CrudEntity; import java.math.BigInteger; import java.security.SecureRandom; import java.util.Set; import org.apache.s...
Create dummy password on null
Create dummy password on null
Java
mit
core9/module-authentication-standard
158ae259f630257081dc9901c19775d499a8e812
src/main/java/io/castle/client/model/CastleUserDevices.java
src/main/java/io/castle/client/model/CastleUserDevices.java
package io.castle.client.model; import com.google.gson.annotations.SerializedName; import java.util.List; public class CastleUserDevices { int totalCount; @SerializedName("data") List<CastleUserDevice> devices; public int getTotalCount() { return totalCount; } public void setTotalCo...
package io.castle.client.model; import com.google.gson.annotations.SerializedName; import java.util.List; public class CastleUserDevices { private int totalCount; @SerializedName("data") private List<CastleUserDevice> devices; public int getTotalCount() { return totalCount; } public...
Set totalCount field automatically in setter for devices
Set totalCount field automatically in setter for devices
Java
mit
castle/castle-java
9bed0c538e6d6c3f15b296c6168c4465f7d74471
carpentersblocks/util/handler/TileEntityHandler.java
carpentersblocks/util/handler/TileEntityHandler.java
package carpentersblocks.util.handler; import carpentersblocks.tileentity.TEBase; import carpentersblocks.tileentity.TECarpentersDaylightSensor; import carpentersblocks.tileentity.TECarpentersFlowerPot; import carpentersblocks.tileentity.TECarpentersSafe; import carpentersblocks.tileentity.TECarpentersTorch; import cp...
package carpentersblocks.util.handler; import carpentersblocks.tileentity.TEBase; import carpentersblocks.tileentity.TECarpentersDaylightSensor; import carpentersblocks.tileentity.TECarpentersFlowerPot; import carpentersblocks.tileentity.TECarpentersSafe; import carpentersblocks.tileentity.TECarpentersTorch; import cp...
Add tile entity mappings to support 1.6.4 migrated worlds.
Add tile entity mappings to support 1.6.4 migrated worlds.
Java
lgpl-2.1
Techern/carpentersblocks,burpingdog1/carpentersblocks,Mineshopper/carpentersblocks,Nuchaz/carpentersblocks,LorenzoDCC/carpentersblocks
c2f105b651422db5421b1860c40d2c697276d1af
src/com/obidea/semantika/cli2/command/CommandFactory.java
src/com/obidea/semantika/cli2/command/CommandFactory.java
package com.obidea.semantika.cli2.command; import com.obidea.semantika.cli2.runtime.ConsoleSession; public class CommandFactory { public static Command create(String command, ConsoleSession session) throws Exception { if (startsWith(command, Command.SELECT)) { return new SelectCommand(command, se...
package com.obidea.semantika.cli2.command; import com.obidea.semantika.cli2.runtime.ConsoleSession; import com.obidea.semantika.cli2.runtime.UnknownCommandException; public class CommandFactory { public static Command create(String command, ConsoleSession session) throws UnknownCommandException { if (star...
Use CommandUnknown exception in the method create.
Use CommandUnknown exception in the method create.
Java
apache-2.0
obidea/semantika-cli2
3948856d5d5a1f7a5a40db3ac09abe35182867e5
src/main/java/com/faforever/api/data/domain/Validity.java
src/main/java/com/faforever/api/data/domain/Validity.java
package com.faforever.api.data.domain; public enum Validity { // Order is crucial VALID, TOO_MANY_DESYNCS, WRONG_VICTORY_CONDITION, NO_FOG_OF_WAR, CHEATS_ENABLED, PREBUILT_ENABLED, NORUSH_ENABLED, BAD_UNIT_RESTRICTIONS, BAD_MAP, TOO_SHORT, BAD_MOD, COOP_NOT_RANKED, MUTUAL_DRAW, SINGLE_PLA...
package com.faforever.api.data.domain; public enum Validity { // Order is crucial VALID, TOO_MANY_DESYNCS, WRONG_VICTORY_CONDITION, NO_FOG_OF_WAR, CHEATS_ENABLED, PREBUILT_ENABLED, NORUSH_ENABLED, BAD_UNIT_RESTRICTIONS, BAD_MAP, TOO_SHORT, BAD_MOD, COOP_NOT_RANKED, MUTUAL_DRAW, SINGLE_PLA...
Add validity states needed by some coop leaderboard checks
Add validity states needed by some coop leaderboard checks https://github.com/FAForever/db/pull/187
Java
mit
FAForever/faf-java-api,FAForever/faf-java-api,micheljung/faf-java-api,FAForever/faf-java-api,micheljung/faf-java-api
47d20dd2c506326c4acb0289f3abd787f42f807a
src/main/java/com/solsticesquared/schelling/AppEntry.java
src/main/java/com/solsticesquared/schelling/AppEntry.java
/* * Copyright 2016 Will Knez <wbknez.dev@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2016 Will Knez <wbknez.dev@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Update application entry point to use custom controller implementation.
Update application entry point to use custom controller implementation.
Java
apache-2.0
wbknez/schelling,wbknez/schelling
4f24377c05e713caba463b12e883e8d60de830d2
src/main/java/it/near/sdk/Utils/CoreContentsListener.java
src/main/java/it/near/sdk/Utils/CoreContentsListener.java
package it.near.sdk.Utils; import android.content.Intent; import it.near.sdk.Reactions.Content.Content; import it.near.sdk.Reactions.Coupon.Coupon; import it.near.sdk.Reactions.CustomJSON.CustomJSON; import it.near.sdk.Reactions.Feedback.Feedback; import it.near.sdk.Reactions.Poll.Poll; import it.near.sdk.Reactions.S...
package it.near.sdk.Utils; import android.content.Intent; import android.support.annotation.Nullable; import it.near.sdk.Reactions.Content.Content; import it.near.sdk.Reactions.Coupon.Coupon; import it.near.sdk.Reactions.CustomJSON.CustomJSON; import it.near.sdk.Reactions.Feedback.Feedback; import it.near.sdk.Reactio...
Add nullable to corecontentlistner methods parameters
Add nullable to corecontentlistner methods parameters
Java
mit
nearit/Android-SDK,nearit/Android-SDK
9942ddb0142117acd69c9bf17e702b26b38c3253
src/MultiUserChatServer.java
src/MultiUserChatServer.java
import interfaces.*; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util.List; /** * Chat Server for various clients */ public class MultiUserChatServer implements IChatServer { private List<IChatClient> clients = new ArrayList<>(); private ServerSocket ss; ...
import interfaces.*; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util.List; /** * Chat Server for various clients */ public class MultiUserChatServer implements IChatServer { private List<IChatClient> clients = new ArrayList<>(); private ServerSocket ss; ...
Add some log messeges to server
Add some log messeges to server
Java
mit
thatafischer/feevale-multiuserchat-2015
21a4d7b4c90b8420fbf37ec7d602c1f4975a332e
callback/src/main/java/com/iluwatar/callback/SimpleTask.java
callback/src/main/java/com/iluwatar/callback/SimpleTask.java
package com.iluwatar.callback; /** * * Implementation of task that need to be executed * */ public class SimpleTask extends Task { @Override public void execute() { System.out.println("Perform some important activity."); } }
package com.iluwatar.callback; /** * * Implementation of task that need to be executed * */ public class SimpleTask extends Task { @Override public void execute() { System.out.println("Perform some important activity and after call the callback method."); } }
Add unit test to show that the callback method is called.
Add unit test to show that the callback method is called.
Java
mit
zafarella/java-design-patterns,fluxw42/java-design-patterns,javaseeds/java-design-patterns,xl0139/player,miguelvelezmj25/java-design-patterns,coverxiaoeye/java-design-patterns,nake226/kouenji,colinbut/java-design-patterns,StefanHeimberg/java-design-patterns,alreadydead/testo,mookkiah/java-design-patterns,zik43/java-des...
63d8f8f18a89d096957effe5b038d95575aed0a5
src/main/java/de/slikey/effectlib/effect/BleedEffect.java
src/main/java/de/slikey/effectlib/effect/BleedEffect.java
package de.slikey.effectlib.effect; import de.slikey.effectlib.EffectManager; import de.slikey.effectlib.EffectType; import de.slikey.effectlib.util.RandomUtils; import org.bukkit.Effect; import org.bukkit.Location; import org.bukkit.entity.Entity; public class BleedEffect extends de.slikey.effectlib.Effect { /*...
package de.slikey.effectlib.effect; import de.slikey.effectlib.EffectManager; import de.slikey.effectlib.EffectType; import de.slikey.effectlib.util.RandomUtils; import org.bukkit.Effect; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Entity; public class BleedEffect extends de.slike...
Change Bleed effect to use a material rather than a mysterious color id
Change Bleed effect to use a material rather than a mysterious color id
Java
mit
Slikey/EffectLib,Slikey/EffectLib
555e7129e6a29c8a141d669ea756032384438b90
src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java
src/main/java/com/microsoft/graph/models/extensions/PlannerAppliedCategories.java
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
Add Planner Applied Categories extension
Add Planner Applied Categories extension
Java
mit
microsoftgraph/msgraph-sdk-java
70ed18a5c117e52cf957c74ce5edd5376721c62d
app/crawlers/facebook/FacebookSession.java
app/crawlers/facebook/FacebookSession.java
package crawlers.facebook; import org.apache.commons.io.IOUtils; import java.io.*; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import play.Logger; class FacebookSession { private static final String COOKIES_FILENAME = "/facebook_cookies"; private String cookies; ...
package crawlers.facebook; import org.apache.commons.io.IOUtils; import java.io.*; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import play.Logger; class FacebookSession { private static final String COOKIES_FILENAME = "/facebook_cookies"; private String cookies; ...
Fix Facebook crawler crashing app when no cookies file provided
Fix Facebook crawler crashing app when no cookies file provided
Java
agpl-3.0
m4tx/arroch,m4tx/arroch
37cb817206f3f2a402cfb3e85918342927f133bc
src/main/java/com/github/cstroe/spendhawk/entity/Category.java
src/main/java/com/github/cstroe/spendhawk/entity/Category.java
package com.github.cstroe.spendhawk.entity; import com.github.cstroe.spendhawk.util.HibernateUtil; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import java.util.List; /** * The category for an expense. Categories are at the user level, so that * many accounts can use the same...
package com.github.cstroe.spendhawk.entity; import com.github.cstroe.spendhawk.util.HibernateUtil; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import java.util.List; /** * The category for an expense. Categories are at the user level, so that * many accounts can use the same...
Add method to delete a category.
Add method to delete a category.
Java
agpl-3.0
cstroe/spendhawk-java,cstroe/spendhawk-java,cstroe/spendhawk-java
19318c5bf0ca2e659ccb40e95e1d1d7b251bdc62
src/main/java/net/darkmorford/btweagles/block/BlockButter.java
src/main/java/net/darkmorford/btweagles/block/BlockButter.java
package net.darkmorford.btweagles.block; import net.darkmorford.btweagles.BetterThanWeagles; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.I...
package net.darkmorford.btweagles.block; import net.darkmorford.btweagles.BetterThanWeagles; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.I...
Make butter blocks slippery like ice.
Make butter blocks slippery like ice.
Java
apache-2.0
DarkMorford/BetterThanWeagles
6a100eda6871d9dda6602b9bba42201c07a4c29e
src/test/java/com/adms/test/TestApp.java
src/test/java/com/adms/test/TestApp.java
package com.adms.test; public class TestApp { public static void main(String[] args) { try { System.out.println("start"); System.out.println("finish"); } catch(Exception e) { e.printStackTrace(); } } }
package com.adms.test; import java.util.Arrays; import java.util.Calendar; import com.adms.utils.DateUtil; public class TestApp { public static void main(String[] args) { try { System.out.println("start"); Calendar cal = Calendar.getInstance(); System.out.println(DateUt...
Add method - Create Directory
Add method - Create Directory
Java
apache-2.0
AdamsTHDev/mgl-planlv-project
3242473110462d99318402dec5cf66cc35313766
backend/src/main/java/de/gernd/simplemon/endpoints/SimpleMonitoringEndpoint.java
backend/src/main/java/de/gernd/simplemon/endpoints/SimpleMonitoringEndpoint.java
package de.gernd.simplemon.endpoints; import de.gernd.simplemon.endpoints.model.AddSiteToMonitorRequest; import de.gernd.simplemon.endpoints.model.GetMonitoredSitesResponse; import de.gernd.simplemon.service.SimpleMonitoringService; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
package de.gernd.simplemon.endpoints; import de.gernd.simplemon.endpoints.model.AddSiteToMonitorRequest; import de.gernd.simplemon.endpoints.model.GetMonitoredSitesResponse; import de.gernd.simplemon.service.SimpleMonitoringService; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
Fix method name for getting the monitored sites
Fix method name for getting the monitored sites
Java
mit
gernd/simple-site-mon
63b22ff297d3eb700520aea89a05e8f35e70822d
core/src/forplay/core/Platform.java
core/src/forplay/core/Platform.java
/** * Copyright 2010 The ForPlay 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 applicable law or a...
/** * Copyright 2010 The ForPlay 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 applicable law or a...
Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().
Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().
Java
apache-2.0
billy93/forplay,billy93/forplay,fredsa/forplay,fredsa/forplay,fredsa/forplay,billy93/forplay
17c26565d7eedd4a4f823b37918d918222f26ea9
src/main/java/ganymedes01/etfuturum/dispenser/DispenserBehaviourTippedArrow.java
src/main/java/ganymedes01/etfuturum/dispenser/DispenserBehaviourTippedArrow.java
package ganymedes01.etfuturum.dispenser; import ganymedes01.etfuturum.entities.EntityTippedArrow; import ganymedes01.etfuturum.items.TippedArrow; import net.minecraft.dispenser.BehaviorDefaultDispenseItem; import net.minecraft.dispenser.BehaviorProjectileDispense; import net.minecraft.dispenser.IBlockSource; import ne...
package ganymedes01.etfuturum.dispenser; import ganymedes01.etfuturum.entities.EntityTippedArrow; import ganymedes01.etfuturum.items.TippedArrow; import net.minecraft.dispenser.BehaviorDefaultDispenseItem; import net.minecraft.dispenser.BehaviorProjectileDispense; import net.minecraft.dispenser.IBlockSource; import ne...
Fix tipped arrows not being pick-upable after shot out of a dispenser
Fix tipped arrows not being pick-upable after shot out of a dispenser
Java
unlicense
ganymedes01/Et-Futurum
b24f93cefec3c4cfa06ef7798fe9b4d827afcb31
crystal-game/src/com/example/crystalgame/MainActivity.java
crystal-game/src/com/example/crystalgame/MainActivity.java
package com.example.crystalgame; import com.example.crystalgame.communication.CommunicationService; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceSt...
package com.example.crystalgame; import com.example.crystalgame.communication.CommunicationService; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.util.Log; import android.view.Menu; public class MainActivity extends Activity { private Intent communicationInte...
Move the service creation to onStart, add onStop service termination
Move the service creation to onStart, add onStop service termination
Java
mit
balazspete/crystal-game
5fce7ac8e773a13b9b944a9bd31e24a4d48b6832
src/main/java/info/u_team/u_team_core/item/tool/ToolSet.java
src/main/java/info/u_team/u_team_core/item/tool/ToolSet.java
package info.u_team.u_team_core.item.tool; import info.u_team.u_team_core.api.registry.IUArrayRegistryType; import net.minecraft.item.Item; public class ToolSet implements IUArrayRegistryType<Item> { private final UAxeItem axe; private final UHoeItem hoe; private final UPickaxeItem pickaxe; private final UShove...
package info.u_team.u_team_core.item.tool; import info.u_team.u_team_core.api.registry.IUArrayRegistryType; import net.minecraft.item.Item; public class ToolSet implements IUArrayRegistryType<Item> { private final UAxeItem axe; private final UHoeItem hoe; private final UPickaxeItem pickaxe; private final UShove...
Rename all spade variable names to shovel variable names
Rename all spade variable names to shovel variable names
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
a97fa0978a3c94244b05d4e66564e43f8404762c
src/main/java/com/boundary/plugin/sdk/Dashboard.java
src/main/java/com/boundary/plugin/sdk/Dashboard.java
package com.boundary.plugin.sdk; public class Dashboard { }
// Copyright 2014 Boundary, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
Add fields; license ; and javadoc
Add fields; license ; and javadoc
Java
apache-2.0
boundary/meter-plugin-sdk-java,GabrielNicolasAvellaneda/boundary-plugin-framework-java,boundary/boundary-plugin-framework-java,jdgwartney/meter-plugin-sdk-java,boundary/meter-plugin-sdk-java,boundary/boundary-plugin-framework-java,boundary/meter-plugin-sdk-java,GabrielNicolasAvellaneda/boundary-plugin-framework-java,jd...
8c7738204217dfb8a1b502dff98b15bb6d2129c4
src/test/java/info/u_team/u_team_test2/TestMod2.java
src/test/java/info/u_team/u_team_test2/TestMod2.java
package info.u_team.u_team_test2; import org.apache.logging.log4j.*; import info.u_team.u_team_core.construct.ConstructManager; import info.u_team.u_team_core.integration.IntegrationManager; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.fml.common.Mod; @Mod(TestMod2.MODID) pub...
package info.u_team.u_team_test2; import org.apache.logging.log4j.*; import info.u_team.u_team_core.util.annotation.AnnotationManager; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.fml.common.Mod; @Mod(TestMod2.MODID) public class TestMod2 { public static final String MODID...
Update testmod 2 to use the new method
Update testmod 2 to use the new method
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
b428842962832ea9cfb71d97d661e912d1ee5427
io/jahed/twitchrobot/TwitchServerInfo.java
io/jahed/twitchrobot/TwitchServerInfo.java
package io.jahed.twitchrobot; import java.util.List; import org.pircbotx.PircBotX; import org.pircbotx.ServerInfo; public class TwitchServerInfo extends ServerInfo { public TwitchServerInfo(PircBotX bot) { super(bot); } @Override public void parse(int code, List<String> parsedLine) { //Library assumes too...
package io.jahed.twitchrobot; import java.util.List; import org.pircbotx.PircBotX; import org.pircbotx.ServerInfo; public class TwitchServerInfo extends ServerInfo { public TwitchServerInfo(PircBotX bot) { super(bot); } @Override public void parse(int code, List<String> parsedLine) { if(code == 4 && parse...
Remove println for extra IRC handlers
Remove println for extra IRC handlers
Java
mit
jahed/crowd-play
8267f2db09363d762434142d4c97d17915fd0483
rxappfocus-sample/src/main/java/com/example/rxappfocus/App.java
rxappfocus-sample/src/main/java/com/example/rxappfocus/App.java
package com.example.rxappfocus; import android.app.Application; import android.widget.Toast; import com.gramboid.rxappfocus.AppFocusProvider; import rx.functions.Action1; public class App extends Application { private AppFocusProvider focusProvider; @Override public void onCreate() { super.onC...
package com.example.rxappfocus; import android.app.Application; import android.widget.Toast; import com.gramboid.rxappfocus.AppFocusProvider; import rx.functions.Action1; public class App extends Application { private AppFocusProvider focusProvider; @Override public void onCreate() { super.onC...
Tidy up and add comment
Tidy up and add comment
Java
apache-2.0
gramboid/RxAppFocus
92ec16603de2c5ce4d32546c25c2a5a0f286397f
src/java/org/apache/commons/jexl/parser/ASTJexlScript.java
src/java/org/apache/commons/jexl/parser/ASTJexlScript.java
/* Generated By:JJTree: Do not edit this line. ASTJexlScript.java */ package org.apache.commons.jexl.parser; /** * Top of the syntax tree - parsed Jexl code. */ public class ASTJexlScript extends SimpleNode { public ASTJexlScript(int id) { super(id); } public ASTJexlScript(Parser p, int id) { super(p...
/* Generated By:JJTree: Do not edit this line. ASTJexlScript.java */ package org.apache.commons.jexl.parser; import org.apache.commons.jexl.JexlContext; /** * Top of the syntax tree - parsed Jexl code. * @since 1.1 */ public class ASTJexlScript extends SimpleNode { public ASTJexlScript(int id) { super(id); ...
Add value(context) method to support scripts
Add value(context) method to support scripts git-svn-id: de0229a90a04588cc4459530912ec55932f3d65c@391008 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/commons-jexl,apache/commons-jexl,apache/commons-jexl
f0ba1a9989ef14955ae014f994d4a444f2b3b0d6
src/com/xrtb/exchanges/Epom.java
src/com/xrtb/exchanges/Epom.java
package com.xrtb.exchanges; import java.io.InputStream; import com.xrtb.pojo.BidRequest; /** * A class to handle Epom ad exchange * @author Ben M. Faul * */ public class Epom extends BidRequest { public Epom() { super(); parseSpecial(); } /** ...
package com.xrtb.exchanges; import java.io.InputStream; import com.xrtb.pojo.BidRequest; /** * A class to handle Epom ad exchange * @author Ben M. Faul * */ public class Epom extends BidRequest { public Epom() { super(); parseSpecial(); } /** ...
Fix epom to not use encoded adm
Fix epom to not use encoded adm
Java
apache-2.0
benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB
8d83907b8528458763dad7212447c0c096ab51d6
Client/src/main/java/controller/MessageBoardController.java
Client/src/main/java/controller/MessageBoardController.java
package controller; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import model.Message; import view.MessageBoard; public class MessageBoardController implements ActionListener{ private Controller controller; public MessageBoardController(Controller controll...
package controller; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import model.Message; import view.MessageBoard; public class MessageBoardController implements ActionListener{ private Controller controller; public MessageBoardController(Controller controll...
Fix Client Send Empty message
Fix Client Send Empty message
Java
mit
ablenesi/ELTEProjectToolsTeam09,ablenesi/ELTEProjectToolsTeam09
bdce4c316780538253fe7625602104b649f7c854
src/bd/basic/nodes/DummyParent.java
src/bd/basic/nodes/DummyParent.java
package bd.basic.nodes; import com.oracle.truffle.api.nodes.Node; /** * Dummy Node to work around Truffle's restriction that a node, which is going to * be instrumented, needs to have a parent. */ public final class DummyParent extends Node { @Child public Node child; public DummyParent(final Node node) { ...
package bd.basic.nodes; import com.oracle.truffle.api.nodes.Node; /** * Dummy Node to work around Truffle's restriction that a node, which is going to * be instrumented, needs to have a parent. */ public final class DummyParent extends Node { @Child public Node child; public DummyParent(final Node node) { ...
Add helper to allow dynamic instrumentation wrappers to be inserted
Add helper to allow dynamic instrumentation wrappers to be inserted Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Java
mit
SOM-st/black-diamonds,SOM-st/black-diamonds
87356cbef0a5a4dc8e1a94140d568648895c23af
src/main/java/seedu/address/commons/events/ui/PersonPanelSelectionChangedEvent.java
src/main/java/seedu/address/commons/events/ui/PersonPanelSelectionChangedEvent.java
package seedu.address.commons.events.ui; import seedu.address.commons.events.BaseEvent; import seedu.address.model.person.ReadOnlyPerson; /** * Represents a selection change in the Person List Panel */ public class PersonPanelSelectionChangedEvent extends BaseEvent { private final ReadOnlyPerson newSelection;...
package seedu.address.commons.events.ui; import seedu.address.commons.events.BaseEvent; import seedu.address.model.activity.Activity; import seedu.address.model.person.ReadOnlyPerson; /** * Represents a selection change in the Person List Panel */ public class PersonPanelSelectionChangedEvent extends BaseEvent { ...
Update selection event to activity
Update selection event to activity
Java
mit
CS2103AUG2016-W14-C1/main
25abde2474b87025bfceb27c5f7e711d195d9b14
bindings/czmq-jni/src/main/java/org/zeromq/czmq/ZFrame.java
bindings/czmq-jni/src/main/java/org/zeromq/czmq/ZFrame.java
package org.zeromq.czmq; public class ZFrame implements AutoCloseable { long pointer; public ZFrame() { pointer = __init(); } public ZFrame(long address) { pointer = address; } public ZFrame(byte[] buf, long size) { pointer = __init(buf, size); } native stati...
package org.zeromq.czmq; public class ZFrame implements AutoCloseable { long pointer; public ZFrame() { pointer = ZFrame.__init(); } public ZFrame(long address) { pointer = address; } public ZFrame(byte[] buf, long size) { pointer = ZFrame.__init(buf, size); } ...
Call from the static context
Call from the static context
Java
mpl-2.0
c-rack/czmq,evoskuil/czmq,ritchiecarroll/czmq,c-rack/czmq,twhittock/czmq,eburkitt/czmq,trevorbernard/czmq,ritchiecarroll/czmq,twhittock/czmq,twhittock/czmq,taotetek/czmq,pmienk/czmq,keent/czmq,pmienk/czmq,hintjens/czmq,zeromq/czmq,evoskuil/czmq,awynne/czmq,keent/czmq,keent/czmq,twhittock/czmq,trevorbernard/czmq,oikosde...
0e1d4fd67cdfd9497e6b839a4ebfa2b4926a60b5
sitebricks-options/src/main/java/com/google/sitebricks/options/OptionTypeConverter.java
sitebricks-options/src/main/java/com/google/sitebricks/options/OptionTypeConverter.java
package com.google.sitebricks.options; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.google.inject.Inject; import com.google.sitebricks.conversion.MvelTypeConverter; import com.google.sitebricks.conversion.TypeConverter; import java.lang.reflect.Type; import java.util.Array...
package com.google.sitebricks.options; import java.lang.reflect.Type; import java.util.Set; import com.google.common.collect.Sets; import com.google.inject.Inject; import com.google.sitebricks.conversion.MvelTypeConverter; import com.google.sitebricks.conversion.TypeConverter; /** * Hacky wrapper of MvelTypeConvert...
Fix compilation issue due to bug in 'old' jdk 'Inference fails for type variable return constraint'
Fix compilation issue due to bug in 'old' jdk 'Inference fails for type variable return constraint' See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
Java
apache-2.0
mgenov/sitebricks,dhanji/sitebricks,dhanji/sitebricks,mgenov/sitebricks,dhanji/sitebricks,mgenov/sitebricks,dhanji/sitebricks
fb61b89d13869b48f245a942c9f4f23b01f443ee
src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/nodes/datatypes/RdfsLiteral.java
src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/nodes/datatypes/RdfsLiteral.java
package de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.datatypes; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Node_Types; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Vowl_Lang; import de.uni_stuttgart.vis.vowl.owl2vowl.export.JsonGeneratorVisitor; public class RdfsLiteral extends BaseDatatype { publ...
package de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.datatypes; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Node_Types; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Standard_Iris; import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Vowl_Lang; import de.uni_stuttgart.vis.vowl.owl2vowl.export.JsonGenera...
Set standard iri for literal.
Set standard iri for literal.
Java
mit
phoenixnudt/OWL2VOWL,VisualDataWeb/OWL2VOWL
776c91bc6494a3534defffb324de006ad4cb1666
ivis-sdk/src/main/java/imcode/services/argumentresolver/IvisServiceArgumentResolver.java
ivis-sdk/src/main/java/imcode/services/argumentresolver/IvisServiceArgumentResolver.java
package com.imcode.configuration; import com.imcode.services.GenericService; import imcode.services.IvisServiceFactory; import imcode.services.utils.IvisOAuth2Utils; import org.springframework.core.MethodParameter; import org.springframework.web.bind.support.WebArgumentResolver; import org.springframework.web.context....
package imcode.services.argumentresolver; import com.imcode.services.GenericService; import imcode.services.IvisServiceFactory; import imcode.services.utils.IvisOAuth2Utils; import org.springframework.core.MethodParameter; import org.springframework.web.bind.support.WebArgumentResolver; import org.springframework.web....
Fix package name in argument resolver.
IVIS-56: Fix package name in argument resolver.
Java
agpl-3.0
imCodePartnerAB/iVIS,imCodePartnerAB/iVIS
4334968bf354dd98c00baec2b044b09c71b7e0a6
sitebricks-persist/src/main/java/com/google/sitebricks/persist/PersistAopModule.java
sitebricks-persist/src/main/java/com/google/sitebricks/persist/PersistAopModule.java
package com.google.sitebricks.persist; import com.google.inject.AbstractModule; import com.google.inject.Key; import com.google.inject.matcher.Matcher; import java.lang.reflect.AnnotatedElement; import static com.google.inject.matcher.Matchers.annotatedWith; import static com.google.inject.matcher.Matchers.any; /**...
package com.google.sitebricks.persist; import com.google.inject.AbstractModule; import com.google.inject.Key; import com.google.inject.matcher.Matcher; import java.lang.reflect.AnnotatedElement; import static com.google.inject.matcher.Matchers.annotatedWith; import static com.google.inject.matcher.Matchers.any; /**...
Fix a bad, silly bug where selectors were not being added to matchers in the Persist AOP module
Fix a bad, silly bug where selectors were not being added to matchers in the Persist AOP module
Java
apache-2.0
dhanji/sitebricks,dhanji/sitebricks,dhanji/sitebricks,dhanji/sitebricks
28dc9c18a4511a3e1fd46e8ff98f5fe6946c9376
src/test/java/com/fimtra/tcpchannel/TestTcpServerWithLengthBasedFrameEncodingFormat.java
src/test/java/com/fimtra/tcpchannel/TestTcpServerWithLengthBasedFrameEncodingFormat.java
/* * Copyright (c) 2013 Ramon Servadei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/* * Copyright (c) 2013 Ramon Servadei * * 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 ...
Use dedicated port range for length-based TcpServer tests
Use dedicated port range for length-based TcpServer tests
Java
apache-2.0
fimtra/datafission
aa7a0410d777ef8a42c95b4803e5d616719959f3
SeleniumGridExtras/src/main/java/com/groupon/seleniumgridextras/config/HashMapMerger.java
SeleniumGridExtras/src/main/java/com/groupon/seleniumgridextras/config/HashMapMerger.java
package com.groupon.seleniumgridextras.config; import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; public class HashMapMerger { public static Config merge(Config defaultConfig, Config overwriteConfig){ Map<String, Object> defaultConfigHash = new HashMap(); defaultConfigHash.put...
package com.groupon.seleniumgridextras.config; import java.util.Map; public class HashMapMerger { protected static Map overwriteMergeStrategy(Map<String, Object> left, Map<String, Object> right){ //As desribed in http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.cargo/cargo-core-api-module/0.9/org/c...
Delete files that will not be used, simplify the class to bare bones
Delete files that will not be used, simplify the class to bare bones
Java
bsd-3-clause
groupon/Selenium-Grid-Extras,rgonalo/Selenium-Grid-Extras,jivesoftware/Selenium-Grid-Extras,alexkogon/Selenium-Grid-Extras,smccarthy/Selenium-Grid-Extras,andrewmkrug/Selenium-Grid-Extras,rgonalo/Selenium-Grid-Extras,rgonalo/Selenium-Grid-Extras,groupon/Selenium-Grid-Extras,smccarthy/Selenium-Grid-Extras,alexkogon/Selen...
4d1427ae3fb881d760c157490144cab3a451de34
src/utilities/IoUtil.java
src/utilities/IoUtil.java
package utilities; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; public class IoUtil { private static final int I...
package utilities; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; public class IoUtil { pr...
Fix a backward compatibility bug between Java 10 and Java 8.
Fix a backward compatibility bug between Java 10 and Java 8.
Java
apache-2.0
repeats/Repeat,repeats/Repeat,repeats/Repeat,repeats/Repeat
d6f1cc073327bbb05fc40bb04a2ce074ac47ce36
src/com/gh4a/loader/BaseLoader.java
src/com/gh4a/loader/BaseLoader.java
package com.gh4a.loader; import java.util.HashMap; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import android.util.Log; import com.bugsense.trace.BugSenseHandler; import com.gh4a.Constants; import com.gh4a.Constants.LoaderResult; public abstract class BaseLoader extends AsyncT...
package com.gh4a.loader; import java.util.HashMap; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import android.util.Log; import com.gh4a.Constants; import com.gh4a.Constants.LoaderResult; public abstract class BaseLoader extends AsyncTaskLoader<HashMap<Integer, Object>> { ...
Handle auth error on JB
Handle auth error on JB
Java
apache-2.0
shineM/gh4a,slapperwan/gh4a,sauloaguiar/gh4a,edyesed/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,AKiniyalocts/gh4a,shekibobo/gh4a,edyesed/gh4a,shekibobo/gh4a,Bloody-Badboy/gh4a,sauloaguiar/gh4a,slapperwan/gh4a,shineM/gh4a,AKiniyalocts/gh4a,Bloody-Badboy/g...
ce3d549b17372cbb383d6507533b2bc6656c5468
src/main/java/io/pivotal/portfolio/config/BeanConfiguration.java
src/main/java/io/pivotal/portfolio/config/BeanConfiguration.java
package io.pivotal.portfolio.config; import org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerExchangeFilterFunction; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.oauth2.client.registration.ClientRe...
package io.pivotal.portfolio.config; import org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerExchangeFilterFunction; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.oauth2.client.registration.ClientRe...
Fix definition of web client builder
Fix definition of web client builder
Java
apache-2.0
pivotal-bank/portfolio-service,pivotal-bank/portfolio-service
8cf6f2c0d3ea09369fcf3cf871ea679ab791f6e2
devhub-server/web/src/main/java/nl/tudelft/ewi/dea/jaxrs/api/ExceptionAASResource.java
devhub-server/web/src/main/java/nl/tudelft/ewi/dea/jaxrs/api/ExceptionAASResource.java
package nl.tudelft.ewi.dea.jaxrs.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import com.google.inject.servlet.RequestScoped; @RequestScoped @Path("api/exception") public class ExceptionAASResource { @GET public void throwException() { throw new RuntimeException("Your Exception-As-A-Service is served!"...
package nl.tudelft.ewi.dea.jaxrs.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.core.Response; import com.google.inject.servlet.RequestScoped; @RequestScoped @Path("api/exception") public class ExceptionAASResource { @GET public Response throwException() { throw new RuntimeException("Y...
Return Response instead of void as per the spec.
Return Response instead of void as per the spec.
Java
apache-2.0
devhub-tud/devhub-prototype,devhub-tud/devhub-prototype,devhub-tud/devhub-prototype
f0f1cfb7098bf11eea4dc470ba3742d22c94a97f
src/main/java/org/spongepowered/api/event/EventHandler.java
src/main/java/org/spongepowered/api/event/EventHandler.java
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
Allow dynamic event handlers to throw checked exceptions
Allow dynamic event handlers to throw checked exceptions
Java
mit
kashike/SpongeAPI,jonk1993/SpongeAPI,DDoS/SpongeAPI,gabizou/SpongeAPI,AlphaModder/SpongeAPI,JBYoshi/SpongeAPI,SpongePowered/SpongeAPI,AlphaModder/SpongeAPI,jamierocks/SpongeAPI,caseif/SpongeAPI,boomboompower/SpongeAPI,SpongePowered/SpongeAPI,jonk1993/SpongeAPI,ryantheleach/SpongeAPI,kenzierocks/SpongeAPI,kenzierocks/Sp...
213e9b197ba4e5b88f0f6e9a2e4d2036fc3a8f45
src/main/java/roycurtis/signshopexport/json/Exclusions.java
src/main/java/roycurtis/signshopexport/json/Exclusions.java
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; /** Exclusions class for blacklisting objects and fields in Gson */ public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { ...
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; /** Exclusions class for blacklisting objects and fields in Gson */ public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { ...
Exclude 1.11's "unbreakable" common tag
Exclude 1.11's "unbreakable" common tag
Java
mit
Gamealition/SignShopExport
1bc6ab472a7ff02b3fed03ca65bc9a66d9c11026
src/main/java/openperipheral/addons/glasses/ItemKeyboard.java
src/main/java/openperipheral/addons/glasses/ItemKeyboard.java
package openperipheral.addons.glasses; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import openperipheral.addons.OpenPeripheralAddons; import openperiph...
package openperipheral.addons.glasses; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import openperipheral.addons.OpenPeripheralAddons; import openperiph...
Fix NPE when using keyboard
Fix NPE when using keyboard
Java
mit
OpenMods/OpenPeripheral-Addons
a1e3fe3e16473daac6f164827d435350db2d0ba0
android/src/main/java/com/reactlibrary/linkedinsdk/RNLinkedInSessionManagerPackage.java
android/src/main/java/com/reactlibrary/linkedinsdk/RNLinkedInSessionManagerPackage.java
package com.reactlibrary.linkedinsdk; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import jav...
package com.reactlibrary.linkedinsdk; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import jav...
Handle Android RN 0.47 breaking change
Handle Android RN 0.47 breaking change
Java
mit
joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk,joonhocho/react-native-linkedin-sdk
54d579ed832a49f1a22dfb2388da24f67f884a9e
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PlannedActivityDao.java
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PlannedActivityDao.java
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.PlannedActivity; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * @author Rhett Sutphin */ @Transactional (readOnly=true) public class PlannedActivityD...
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.PlannedActivity; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * @author Rhett Sutphin */ @Transactional (readOnly=true) public class PlannedActivityD...
Add javadoc to planned activity dao.
Add javadoc to planned activity dao.
Java
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
da40bc563bff69d871b57544582f067ec873ba42
src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Add missing serial version ID (default).
Add missing serial version ID (default). git-svn-id: fb13a56e2874bbe7f090676f40e1dce4dcf67111@1572570 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
Enoro/commons-compress,Enoro/commons-compress,Enoro/commons-compress
53c6a9d6cd9c674794b28d08f36cd7dfc19b317d
ReferenceLibrary/src/test/java/referencelibrary/AppTest.java
ReferenceLibrary/src/test/java/referencelibrary/AppTest.java
package referencelibrary; import org.junit.Before; import org.junit.Test; import referencelibrary.data.StubDao; import referencelibrary.reference.BookReference; import referencelibrary.reference.Reference; import java.util.List; import static org.junit.Assert.*; import referencelibrary.util.FileUtil; /** * Created...
package referencelibrary; import java.io.File; import org.junit.Before; import org.junit.Test; import referencelibrary.data.StubDao; import referencelibrary.reference.BookReference; import referencelibrary.reference.Reference; import java.util.List; import org.junit.After; import static org.junit.Assert.*; import re...
Make BookReference test cleanup test file
Make BookReference test cleanup test file
Java
mit
Mahtimursut/ohtu
3440206c22b829742b235cd406bd62dd3f702d1e
src/main/java/com/uwetrottmann/trakt/v2/entities/Images.java
src/main/java/com/uwetrottmann/trakt/v2/entities/Images.java
package com.uwetrottmann.trakt.v2.entities; public class Images { public MoreImageSizes poster; public MoreImageSizes fanart; /** A {@link com.uwetrottmann.trakt.v2.entities.Person} has headshots. */ public MoreImageSizes headshot; public ImageSizes banner; public ImageSizes logo; public I...
package com.uwetrottmann.trakt.v2.entities; public class Images { public MoreImageSizes poster; public MoreImageSizes fanart; public MoreImageSizes screenshot; /** A {@link com.uwetrottmann.trakt.v2.entities.Person} has headshots. */ public MoreImageSizes headshot; public ImageSizes banner; ...
Add additional image sizes for screenshots.
Add additional image sizes for screenshots.
Java
apache-2.0
UweTrottmann/trakt-java
031265529e44536c869afd9fc2cacf65784433cb
src/main/java/com/uwetrottmann/trakt/v2/entities/Season.java
src/main/java/com/uwetrottmann/trakt/v2/entities/Season.java
package com.uwetrottmann.trakt.v2.entities; import com.uwetrottmann.trakt.v2.enums.Rating; public class Season { public Integer number; public SeasonIds ids; public Rating rating; public Integer episode_count; public Images images; }
package com.uwetrottmann.trakt.v2.entities; public class Season { public Integer number; public SeasonIds ids; public Double rating; public Integer episode_count; public Images images; }
Make season rating a global rating, so double type.
Make season rating a global rating, so double type.
Java
apache-2.0
UweTrottmann/trakt-java
5438e21be5a52de84574bdce410e7e612b1adfb5
src/main/java/nom/bdezonia/zorbage/type/algebra/EvenOdd.java
src/main/java/nom/bdezonia/zorbage/type/algebra/EvenOdd.java
package nom.bdezonia.zorbage.type.algebra; import nom.bdezonia.zorbage.function.Function1; /** * * @author Barry DeZonia * */ public interface EvenOdd<U> { Function1<Boolean,U> isEven(); Function1<Boolean,U> isOdd(); }
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2019 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
Add license header to file that needs it
Add license header to file that needs it
Java
bsd-3-clause
bdezonia/zorbage,bdezonia/zorbage
6f55f39cef11bd3009ba554933481a0a896cde86
src/main/java/com/elmakers/mine/bukkit/api/block/UndoList.java
src/main/java/com/elmakers/mine/bukkit/api/block/UndoList.java
package com.elmakers.mine.bukkit.api.block; import java.util.List; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.entity.Entity; import com.elmakers.mine.bukkit.api.magic.Mage; public interface UndoList extends BlockList, Comparable<UndoList> { public void commit(); public void...
package com.elmakers.mine.bukkit.api.block; import java.util.List; import com.elmakers.mine.bukkit.api.entity.EntityData; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.entity.Entity; import com.elmakers.mine.bukkit.api.magic.Mage; public interface UndoList extends BlockList, Comparabl...
Return the EntityData on entity undo
Return the EntityData on entity undo
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicAPI
8b69b9468c6359944a9d7012d9b5b0c6db40f9d6
common-api/src/main/java/com/linkedin/uif/fork/CopyableSchema.java
common-api/src/main/java/com/linkedin/uif/fork/CopyableSchema.java
/* (c) 2014 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* (c) 2014 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Set validation to false when copying a schema
Set validation to false when copying a schema
Java
apache-2.0
xkrogen/gobblin,pldash/gobblin-1,jack-moseley/gobblin,ibuenros/gobblin,arhik/gobblin,tuGithub/gobblin-1,jinhyukchang/gobblin,chavdar/gobblin-1,mwol/gobblin,jenniferzheng/gobblin,ydai1124/gobblin-1,pldash/gobblin-1,jinhyukchang/gobblin,jenniferzheng/gobblin,pldash/gobblin-1,arjun4084346/gobblin,ydai1124/gobblin-1,chavda...
f00837e94b05adafb9a0438774d97abd529a55eb
src/test/java/fabzo/kraken/WaitTest.java
src/test/java/fabzo/kraken/WaitTest.java
package fabzo.kraken; import fabzo.kraken.components.DockerComponent; import fabzo.kraken.handler.docker.DockerConfiguration; import fabzo.kraken.handler.docker.DockerLifecycleHandler; import fabzo.kraken.wait.MySQLWait; import org.junit.Test; import java.time.Duration; public class WaitTest { @Test public ...
package fabzo.kraken; import fabzo.kraken.components.DockerComponent; import fabzo.kraken.handler.docker.DockerConfiguration; import fabzo.kraken.handler.docker.DockerLifecycleHandler; import fabzo.kraken.wait.MySQLWait; import org.junit.Test; import java.time.Duration; public class WaitTest { @Test public ...
Use generic test db name
Use generic test db name
Java
apache-2.0
fabzo/kraken
d1ce68480868775897e643a8248479895696c2a4
encode-and-decode-tinyurl/Codec.java
encode-and-decode-tinyurl/Codec.java
public class Codec { private Map<String, String> urlMapper = new HashMap<>(); private Random rand = new Random(); private byte[] stringArray = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".getBytes(); // Encodes a URL to a shortened URL. public String encode(String longUrl) { String sh...
public class Codec { private Map<String, String> urlMapper = new HashMap<>(); private Random rand = new Random(); private byte[] stringArray = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".getBytes(); private String getShortUrl() { byte[] s = new byte[6]; for (int i = 0; ...
Update java solution for 'Encode and Decode TinyURL'
Update java solution for 'Encode and Decode TinyURL'
Java
mit
mysangle/algorithm-study,mysangle/algorithm-study
99aac9ddd472aa5bbad5bf478cbcfc7282fb8a85
java/src/com/android/inputmethod/latin/LatinIMEBackupAgent.java
java/src/com/android/inputmethod/latin/LatinIMEBackupAgent.java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Fix build breakage due to api change
Fix build breakage due to api change Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
Java
apache-2.0
klausw/hackerskeyboard,klausw/hackerskeyboard,klausw/hackerskeyboard,klausw/hackerskeyboard
83ae8ad5d404b132a109437a433823c25254f6a3
test/com/twu/biblioteca/LibraryTest.java
test/com/twu/biblioteca/LibraryTest.java
package com.twu.biblioteca; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by watsonarw on 16/04/15. */ public class LibraryTest { @Test public void testSingleBookLibrary() { Library library = new Library(); library.addBook("The Hobbit", "J.R.R. Tolkien",...
package com.twu.biblioteca; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by watsonarw on 16/04/15. */ public class LibraryTest { @Test public void testSingleBookLibrary() { Library library = new Library(); library.addBook("The Hobbit", "J.R.R. Tolkien",...
Update Expected Library test responses for numbering books
Update Expected Library test responses for numbering books
Java
apache-2.0
watsonarw/twu-biblioteca-andrewwatson
f4505b225cf0d0d171820eeb633aa506d440090d
album-service-api/src/main/java/com/asteroid/duck/osgi/example/album/AlbumInfoService.java
album-service-api/src/main/java/com/asteroid/duck/osgi/example/album/AlbumInfoService.java
/** * Copyright (c) 2016 Dr. Chris Senior. * See LICENSE.txt for licensing terms */ package com.asteroid.duck.osgi.example.album; /** * Interface to a service that provides information about Underworld albums */ public interface AlbumInfoService { }
/** * Copyright (c) 2016 Dr. Chris Senior. * See LICENSE.txt for licensing terms */ package com.asteroid.duck.osgi.example.album; import java.util.List; /** * Interface to a service that provides information about Underworld albums */ public interface AlbumInfoService { List<Album> getAlbums(); List<Trac...
Add API for album info service
Add API for album info service
Java
mit
duckAsteroid/osgi-test
cc117347141410dbf569d6b8b3be6eec379301f6
src/main/java/org/jongo/bson/RelaxedLazyDBObject.java
src/main/java/org/jongo/bson/RelaxedLazyDBObject.java
/* * Copyright (C) 2011 Benoit GUEROUT <bguerout at gmail dot com> and Yves AMSELLEM <amsellem dot yves at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
/* * Copyright (C) 2011 Benoit GUEROUT <bguerout at gmail dot com> and Yves AMSELLEM <amsellem dot yves at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
Remove the use of a protected deprecated field
Remove the use of a protected deprecated field
Java
apache-2.0
edaubert/jongo,applango/jongo,ctrimble/jongo,shelsonjava/jongo,ctrimble/jongo,julienlavergne/jongo,dgit-hub/jongo,shelsonjava/jongo,joune/jongo,dgit-hub/jongo,julienlavergne/jongo,bguerout/jongo,joune/jongo,edwardmlyte/jongo,applango/jongo,edaubert/jongo,bguerout/jongo,edwardmlyte/jongo
4ee88f65d78105f041aa7139de3aec63b5224381
Chapter5/src/GuessingGame.java
Chapter5/src/GuessingGame.java
/** * Created by Nathan_Zeplowitz on 4/14/15. */ public class GuessingGame { }
/** * Created by Nathan_Zeplowitz on 4/14/15. */ public class GuessingGame { public static void main(String[] args) { RandomNumber randomNumber = new RandomNumber(); GameHelper helper = new GameHelper(); boolean guessCorrect = false; while(!guessCorrect){ String userGu...
Add Main Game With Checks for User Guesses
Add Main Game With Checks for User Guesses
Java
mit
n-zeplo/TW101_Exercises