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
e6df68f7806362c68a4aebebf13a059501ef2b38
src/test/java/org/trello4j/TrelloURLTest.java
src/test/java/org/trello4j/TrelloURLTest.java
package org.trello4j; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.trello4j.model.Action; /** * Created with IntelliJ IDEA. * User: joel * Date: 2012-04-15 * Time: 11:00 AM */ public class TrelloURLTest { /** * Should build url with filter. * * @throws Exce...
package org.trello4j; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.trello4j.model.Action; /** * Created with IntelliJ IDEA. * User: joel * Date: 2012-04-15 * Time: 11:00 AM */ public class TrelloURLTest { /** * Should build url with filter. * * @throws Exce...
Test for API url's without path parameters.
Test for API url's without path parameters.
Java
apache-2.0
Pedramrn/trello4j,johanmynhardt/trello4j,dtrott/trello4j,ForNeVeR/trello4j,smozely/trello4j
b1db78a5b59bc1fb726e928b7452ac3df57e0c34
src/src/DataBaseWorker.java
src/src/DataBaseWorker.java
package src; public class DataBaseWorker { private String _server; private String _table; private String _user; private String _password; public DataBaseWorker(String server, String table, String user, String password) { _server = server; _table = table; _user = user; ...
package src; import java.sql.*; public class DataBaseWorker { private String _server; private String _table; private String _user; private String _password; public DataBaseWorker(String server, String table, String user, String password) { _server = server; _table = table; ...
Add more parameters to WriteGameResult method (language), try work with MySQL - it is not very hard. Hudyakov do it next night
Add more parameters to WriteGameResult method (language), try work with MySQL - it is not very hard. Hudyakov do it next night
Java
mit
SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament
3aaab7db09e801d66e66029a7c0719fe24084d39
subprojects/build-init/src/main/groovy/org/gradle/buildinit/plugins/internal/DefaultTemplateLibraryVersionProvider.java
subprojects/build-init/src/main/groovy/org/gradle/buildinit/plugins/internal/DefaultTemplateLibraryVersionProvider.java
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove temporary patch for broken TestNG 6.9.13
Remove temporary patch for broken TestNG 6.9.13 Now that 6.9.13.2 is out this is not needed anymore. See https://github.com/cbeust/testng/issues/1159
Java
apache-2.0
gradle/gradle,gstevey/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradl...
71a4b0b6be1e7b92f32ad288037c5847ad7835a9
src/main/java/org/ambraproject/rhino/rest/controller/CollectionCrudController.java
src/main/java/org/ambraproject/rhino/rest/controller/CollectionCrudController.java
package org.ambraproject.rhino.rest.controller; import com.google.common.collect.Sets; import org.ambraproject.rhino.identity.ArticleIdentity; import org.ambraproject.rhino.rest.controller.abstr.RestController; import org.ambraproject.rhino.service.CollectionCrudService; import org.springframework.beans.factory.annota...
package org.ambraproject.rhino.rest.controller; import com.google.common.collect.Sets; import org.ambraproject.rhino.identity.ArticleIdentity; import org.ambraproject.rhino.rest.controller.abstr.RestController; import org.ambraproject.rhino.service.CollectionCrudService; import org.springframework.beans.factory.annota...
Add client-friendly names for POST parameters
DPRO-1095: Add client-friendly names for POST parameters
Java
mit
PLOS/rhino,PLOS/rhino,PLOS/rhino,PLOS/rhino,PLOS/rhino
12e2cdc94c33d7a5988f41e8f8120c40cd6f2ec6
RetroXUtils/src/retrobox/utils/MountPoint.java
RetroXUtils/src/retrobox/utils/MountPoint.java
package retrobox.utils; import java.io.File; import xtvapps.core.Utils; public class MountPoint { File dir; String description; String filesystem = "unknown"; public MountPoint(String path) { this.dir = new File(path); } public MountPoint(File dir) { this.dir = dir; } public MountPoint() { } publ...
package retrobox.utils; import java.io.File; import xtvapps.core.Utils; public class MountPoint { File dir; String description; String filesystem = "unknown"; boolean isWritable = false; public MountPoint(String path) { this.dir = new File(path); } public MountPoint(File dir) { this.dir = dir; } pu...
Allow setting a flag for writable / non writable folders
Allow setting a flag for writable / non writable folders
Java
lgpl-2.1
fcatrin/retroxlibs
afa9f4364127a01d4621531642149285274d15b7
src/main/java/com/fatico/winthing/Settings.java
src/main/java/com/fatico/winthing/Settings.java
package com.fatico.winthing; public abstract class Settings { public static final String BROKER_URL = "winthing.brokerUrl"; public static final String BROKER_USERNAME = "winthing.brokerUsername"; public static final String BROKER_PASSWORD = "winthing.brokerPassword"; public static final String CLIENT_...
package com.fatico.winthing; public abstract class Settings { public static final String BROKER_URL = "broker"; public static final String BROKER_USERNAME = "username"; public static final String BROKER_PASSWORD = "password"; public static final String CLIENT_ID = "clientid"; public static final S...
Remove prefix from config variables
Remove prefix from config variables
Java
apache-2.0
msiedlarek/winthing
51c2b7d163ed5e7099ef948231c5236a55b894f9
src/test/java/com/tyleryates/util/WordTest.java
src/test/java/com/tyleryates/util/WordTest.java
package com.tyleryates.util; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @SuppressWarnings("JavaDoc") public class WordTest { private Word word; @Before public void setUp() throws Exception { word = new Wo...
package com.tyleryates.util; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @SuppressWarnings("JavaDoc") public class W...
Add tests for Word class.
Add tests for Word class.
Java
mit
Tyler-Yates/Myrtle
591d2658cb82c9f0fa1b37c90b9bc9046f24868a
tinylog-core-base/src/main/java/org/tinylog/core/backend/LoggingBackendBuilder.java
tinylog-core-base/src/main/java/org/tinylog/core/backend/LoggingBackendBuilder.java
package org.tinylog.core.backend; import org.tinylog.core.Framework; /** * Builder for creating {@link LoggingBackend LoggingBackends}. * * <p> * This interface must be implemented by all logging backends and provided as * {@link java.util.ServiceLoader service} in {@code META-INF/services}. * </p> */ ...
package org.tinylog.core.backend; import org.tinylog.core.Framework; /** * Builder for creating {@link LoggingBackend LoggingBackends}. * * <p> * This interface must be implemented by all logging backends and provided as * {@link java.util.ServiceLoader service} in {@code META-INF/services}. * </p> */ ...
Use the standard Javadoc description for framework parameters
Use the standard Javadoc description for framework parameters
Java
apache-2.0
pmwmedia/tinylog,pmwmedia/tinylog
5b8c48319f0391ae9c0c36f2d33256d7e506e261
webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.java
webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.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 NO-OP for pong messages (to handle unsolicited pongs)
Add NO-OP for pong messages (to handle unsolicited pongs) git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1425646 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat
5723bf446c91e3b2892c5d2f72a8f59535da01ec
f-tep-api/src/main/java/com/cgi/eoss/ftep/model/projections/DetailedFtepService.java
f-tep-api/src/main/java/com/cgi/eoss/ftep/model/projections/DetailedFtepService.java
package com.cgi.eoss.ftep.model.projections; import com.cgi.eoss.ftep.security.FtepAccess; import com.cgi.eoss.ftep.model.FtepService; import com.cgi.eoss.ftep.model.FtepServiceDescriptor; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.rest.core.config.Projection; import org...
package com.cgi.eoss.ftep.model.projections; import com.cgi.eoss.ftep.security.FtepAccess; import com.cgi.eoss.ftep.model.FtepService; import com.cgi.eoss.ftep.model.FtepServiceDescriptor; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.rest.core.config.Projection; import org...
Add applicationPort to detailed FtepService projection
Add applicationPort to detailed FtepService projection Change-Id: Ib4f954fef140540590cc49120d0100d2d1f46562
Java
agpl-3.0
cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep
f1dda6bdb2a39c4f7553692738849dc4386844ee
.bach/build/module-info.java
.bach/build/module-info.java
import com.github.sormuras.bach.ProjectInfo; import com.github.sormuras.bach.ProjectInfo.Main; import com.github.sormuras.bach.ProjectInfo.Tweak; @ProjectInfo( name = "bach", main = @Main( modules = "com.github.sormuras.bach", release = 16, generateApiDocumentation =...
import com.github.sormuras.bach.ProjectInfo; import com.github.sormuras.bach.ProjectInfo.Library; import com.github.sormuras.bach.ProjectInfo.Library.Link; import com.github.sormuras.bach.ProjectInfo.Main; import com.github.sormuras.bach.ProjectInfo.Test; import com.github.sormuras.bach.ProjectInfo.Tweak; @ProjectInfo...
Configure library and test space for build Bach itself
Configure library and test space for build Bach itself
Java
mit
sormuras/bach,sormuras/bach
e4cef96dfc6c1d5251be0f32bba159659ef5d845
api/src/main/java/org/devfleet/crest/model/CrestMarketBulkOrder.java
api/src/main/java/org/devfleet/crest/model/CrestMarketBulkOrder.java
package org.devfleet.crest.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; public class CrestMarketBulkOrder extends CrestItem { @JsonProperty("buy") private boolean isBuyOrder; @JsonProperty @JsonDeserialize(using = DateTimeDeseriali...
package org.devfleet.crest.model; import com.fasterxml.jackson.annotation.JsonProperty; public class CrestMarketBulkOrder extends CrestMarketOrder { @JsonProperty private long type; public long getType() { return type; } public void setType(long type) { this.type = type; } }
Extend CrestMarketOrder to override type?
Extend CrestMarketOrder to override type?
Java
mit
evanova/eve-crest-java
9c8ad3d36d6a0e2f7612df9e5a811678f7989d97
app/src/main/java/com/averi/worldscribe/utilities/ErrorMessager.java
app/src/main/java/com/averi/worldscribe/utilities/ErrorMessager.java
package com.averi.worldscribe.utilities; import android.content.Context; import android.graphics.Color; import android.support.design.widget.Snackbar; import android.view.View; import android.widget.TextView; import com.averi.worldscribe.R; /** * Created by mark on 20/06/16. */ public class ErrorMessager { pub...
package com.averi.worldscribe.utilities; import android.content.Context; import android.graphics.Color; import android.support.design.widget.Snackbar; import android.view.View; import android.widget.TextView; import com.averi.worldscribe.R; /** * Created by mark on 20/06/16. */ public class ErrorMessager { /**...
Increase maximum lines for Snackbar messages
Increase maximum lines for Snackbar messages
Java
mit
MarquisLP/World-Scribe,MarquisLP/WorldScribe
31da661a186d59c0f8bf6472e4e41eb5d50154a2
src/java/com/samskivert/util/FailureListener.java
src/java/com/samskivert/util/FailureListener.java
// // $Id$ // // samskivert library - useful routines for java programs // Copyright (C) 2001-2007 Michael Bayne // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; either version 2.1 o...
// // $Id$ // // samskivert library - useful routines for java programs // Copyright (C) 2001-2007 Michael Bayne // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; either version 2.1 o...
Patch from Dave to make requestCompleted() final and to add a retype() method.
Patch from Dave to make requestCompleted() final and to add a retype() method. git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@2572 6335cc39-0255-0410-8fd6-9bcaacd3b74c
Java
lgpl-2.1
samskivert/samskivert,samskivert/samskivert
a005c4f988430615747df948295b4afe40a00bb8
src/test/java/com/crawljax/util/PrettyHTMLTest.java
src/test/java/com/crawljax/util/PrettyHTMLTest.java
package com.crawljax.util; import static org.junit.Assert.assertEquals; import java.io.File; import org.junit.Test; public class PrettyHTMLTest { private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduDombefore.html"; private static final String CONTROLFILE = "src/test/java/com/craw...
package com.crawljax.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.File; import org.junit.Test; public class PrettyHTMLTest { private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduDombefore.html"; private static final String ...
Make sure the files are loaded correctly
Make sure the files are loaded correctly
Java
apache-2.0
cschroed-usgs/crawljax,cschroed-usgs/crawljax,robertzas/crawljax,ntatsumi/crawljax,aminmf/crawljax,adini121/crawljax,adini121/crawljax,cschroed-usgs/crawljax,bigplus/crawljax,crawljax/crawljax,fivejjs/crawljax,fivejjs/crawljax,xujun10110/crawljax,adini121/crawljax,bigplus/crawljax,ntatsumi/crawljax,xujun10110/crawljax,...
b506792d2c865c98e3181c441e5edcad28a26acc
src/main/java/mtsar/resources/AnswerResource.java
src/main/java/mtsar/resources/AnswerResource.java
package mtsar.resources; import mtsar.api.*; import mtsar.api.Process; import javax.inject.Singleton; import javax.validation.constraints.NotNull; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.Zone...
package mtsar.resources; import mtsar.api.*; import mtsar.api.Process; import javax.inject.Singleton; import javax.validation.constraints.NotNull; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.Zone...
Make it possible to specify timestamp in postAnswer
Make it possible to specify timestamp in postAnswer
Java
apache-2.0
dustalov/mtsar,mtsar/mtsar,dustalov/mtsar,mtsar/mtsar,mtsar/mtsar,dustalov/mtsar
88511d3d6591e0ec38cae8a0f151f97bbcf98fb0
src/main/java/net/kleinhaneveld/fn/Functions.java
src/main/java/net/kleinhaneveld/fn/Functions.java
package net.kleinhaneveld.fn; import net.kleinhaneveld.fn.annotations.Lazy; import javax.annotation.Nonnull; import java.util.Map; public class Functions { public static final Function<Object, String> TO_STRING = new Function<Object, String>() { @Nonnull @Override public String apply(@Non...
package net.kleinhaneveld.fn; import net.kleinhaneveld.fn.annotations.Lazy; import javax.annotation.Nonnull; import java.util.Map; public class Functions { public static final Function<Object, String> TO_STRING = new Function<Object, String>() { @Nonnull @Override public String apply(@Non...
Rename mapper to getFrom, and add getAndRemoveFrom function.
Rename mapper to getFrom, and add getAndRemoveFrom function.
Java
mit
peterpaul/fn
b95304a87ea9420293a86da644ce318f102d1ba8
examples/ptmatchadapter-fril/src/main/java/org/mitre/ptmatchadapter/PtmatchAdapter.java
examples/ptmatchadapter-fril/src/main/java/org/mitre/ptmatchadapter/PtmatchAdapter.java
/** * PtMatchAdapter - a patient matching system adapter * Copyright (C) 2016 The MITRE Corporation. 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...
/** * PtMatchAdapter - a patient matching system adapter * Copyright (C) 2016 The MITRE Corporation. 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...
Delete commented out example reference to a sptring bean triggered by time
Delete commented out example reference to a sptring bean triggered by time
Java
apache-2.0
mitre/ptmatchadapter
600ca992b66275abd4236340809a3f4c5ee78865
logstash-scheduler/src/main/java/org/apache/mesos/logstash/config/LogstashSettings.java
logstash-scheduler/src/main/java/org/apache/mesos/logstash/config/LogstashSettings.java
package org.apache.mesos.logstash.config; public class LogstashSettings { private final static double DEFAULT_CPUS = 0.2; private final static double DEFAULT_MEM = 256; private final Double cpus; private final Double mem; public LogstashSettings(Double cpus, Double mem) { this.cpus = c...
package org.apache.mesos.logstash.config; public class LogstashSettings { private final static double DEFAULT_CPUS = 0.2; private final static double DEFAULT_MEM = 256; private final Double cpus; private final Double mem; public LogstashSettings(Double cpus, Double mem) { this.cpus = c...
Make sure settings use the right resource options.
Make sure settings use the right resource options.
Java
apache-2.0
frankscholten/logstash,mesosphere/logstash,drewrobb/logstash,mesosphere/logstash,kensipe/logstash,alex-glv/logstash,kensipe/logstash,mesos/logstash,alex-glv/logstash,suppandi/logstash,kensipe/logstash,triforkse/logstash-mesos,drewrobb/logstash,mesosphere/logstash,frankscholten/logstash,mesosphere/logstash,suppandi/logs...
185eedb347f1fb8b915ee5ee54b6acc7fda2f940
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_7/EntityTeleport.java
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_7/EntityTeleport.java
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_7; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.protocol.packet.middle.clientbound.play.MiddleEntityTeleport; import protocolsupport.protocol.packet.middleimpl.ClientBou...
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_7; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.protocol.packet.middle.clientbound.play.MiddleEntityTeleport; import protocolsupport.protocol.packet.middleimpl.ClientBou...
Add != null check to avoid exceptions when teleporting unknown entity
Add != null check to avoid exceptions when teleporting unknown entity
Java
agpl-3.0
ridalarry/ProtocolSupport,ProtocolSupport/ProtocolSupport
a6d71cd5569f90cf4f4d9d02479832c5c91b4b7b
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/AllNonEmptyFieldQuery.java
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/AllNonEmptyFieldQuery.java
package uk.ac.ebi.quickgo.rest.search.query; /** * Represents the simplest of {@link QuickGOQuery} objects, containing just the field and values to query against. */ public class AllNonEmptyFieldQuery extends FieldQuery { public AllNonEmptyFieldQuery(String field, String value) { super(field, value); ...
package uk.ac.ebi.quickgo.rest.search.query; /** * A version of {@link FieldQuery}, the use of which signifies that the requester is not looking for specific values * from a field, but all of the target data where the selected field has a value that isn't empty or null. */ public class AllNonEmptyFieldQuery extends...
Change description. Add equals(), hashCode() and toString() methods.
Change description. Add equals(), hashCode() and toString() methods.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
350f5a19080e70d2e475cc2f3a8b0ee3463c7d81
runtime-parent/runtime-field/src/main/java/com/speedment/runtime/field/method/Getter.java
runtime-parent/runtime-field/src/main/java/com/speedment/runtime/field/method/Getter.java
/** * * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/** * * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Make it possible to convert a getter into a function
runtime-field: Make it possible to convert a getter into a function
Java
apache-2.0
speedment/speedment,speedment/speedment
d706c2a62b74a69d79eb7f817b4a240853db4ffb
modules/Source/src/heufybot/modules/Source.java
modules/Source/src/heufybot/modules/Source.java
package heufybot.modules; import java.util.List; public class Source extends Module { public Source(String server) { super(server); this.authType = AuthType.Anyone; this.apiVersion = 60; this.triggerTypes = new TriggerType[] { TriggerType.Message }; this.trigger = "^" ...
package heufybot.modules; import java.util.List; public class Source extends Module { public Source(String server) { super(server); this.authType = AuthType.Anyone; this.apiVersion = 60; this.triggerTypes = new TriggerType[] { TriggerType.Message }; this.trigger = "^" ...
Remove the modules repo from the source command
Remove the modules repo from the source command
Java
mit
Heufneutje/RE_HeufyBot,Heufneutje/RE_HeufyBot
5766291dcfd856b3c9d427cc596d5b8126dd13be
JavaTricks/src/JavaEnumToBits.java
JavaTricks/src/JavaEnumToBits.java
import java.math.BigInteger; public class JavaEnumToBits { enum orderedEnum { ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT } public static void main(String[] args) { long testBits = BigInteger.ZERO.longValue(); BigInteger testInteger = BigInteger.valueOf(testBits); ...
import java.math.BigInteger; public class JavaEnumToBits { enum orderedEnum { ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT } public static void main(String[] args) { long testBits = BigInteger.ZERO.longValue(); BigInteger testInteger = BigInteger.valueOf(testBits); ...
Test of other setting values.
Test of other setting values.
Java
mpl-2.0
hinkmond/java-examples
7b3267d5c54747827651a08f2c30d05be14f4c07
android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/SplashScreenActivity.java
android/src/org/jboss/aerogear/unifiedpush/helloworld/activities/SplashScreenActivity.java
package org.jboss.aerogear.unifiedpush.helloworld.activities; import android.app.Activity; import android.os.Bundle; import org.jboss.aerogear.unifiedpush.helloworld.R; public class SplashScreenActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(s...
package org.jboss.aerogear.unifiedpush.helloworld.activities; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.widget.Toast; import org.jboss.aerogear.unifiedpush.helloworld.R; public class SplashScreenActivity extends Activity { @Override protected void onCrea...
Add timer on splash screen
[Android]: Add timer on splash screen
Java
apache-2.0
psrna/unified-push-helloworld,lholmquist/unified-push-helloworld,edewit/aerogear-push-helloworld,danielpassos/unified-push-helloworld,jboss-mobile/unified-push-helloworld,secondsun/unified-push-helloworld,jboss-mobile/unified-push-helloworld,lholmquist/unified-push-helloworld,psrna/unified-push-helloworld,danielpassos/...
c86400eadbf8f1aac9debae35f30662bef01711f
app/src/main/java/com/example/andrewhanks/myapplication/chainofresponsibility/Handler.java
app/src/main/java/com/example/andrewhanks/myapplication/chainofresponsibility/Handler.java
package com.example.andrewhanks.myapplication.chainofresponsibility; abstract class Handler { protected Handler next; Handler(Handler next) { this.next = next; } void doNext(char c) { if (next != null) { next.handle(c); } } abstract void handle(char c); } ...
package com.example.andrewhanks.myapplication.chainofresponsibility; abstract class Handler { protected Handler next; Handler(Handler next) { this.next = next; } void doNext(char c) { if (next != null) { next.handle(c); } } abstract void handle(char c); } ...
Modify codes to avoid redundant function call
Modify codes to avoid redundant function call
Java
apache-2.0
andrewhanks/DesignPatternExample
0262ee85b6e66414206ac601df3927c3d08aaa28
core/src/main/java/com/orientechnologies/orient/core/command/ODocumentEqualityWrapper.java
core/src/main/java/com/orientechnologies/orient/core/command/ODocumentEqualityWrapper.java
package com.orientechnologies.orient.core.command; import com.orientechnologies.orient.core.record.impl.ODocument; import com.orientechnologies.orient.core.record.impl.ODocumentHelper; /** * This class is designed to compare documents based on deep equality (to be used in Sets) */ public class ODocumentEqualityWrap...
package com.orientechnologies.orient.core.command; import com.orientechnologies.orient.core.db.ODatabaseDocumentInternal; import com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal; import com.orientechnologies.orient.core.record.impl.ODocument; import com.orientechnologies.orient.core.record.impl.ODocumen...
Fix NPE on EXPLAIN MATCH
Fix NPE on EXPLAIN MATCH
Java
apache-2.0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
0ceb1e4a16408df006aa4094c6ae8f13c3b15a3c
src/com/ticktac/utils/LogInRequestHandler.java
src/com/ticktac/utils/LogInRequestHandler.java
package com.ticktac.utils; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.ticktac.business.User; import com.ticktac.data.UserDAO; public class LogInRequestHandler implements RequestHandler { ...
package com.ticktac.utils; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.ticktac.business.User; import com.ticktac.data.UserDAO; public class LogInRequestHandler implements RequestHandler { ...
Fix the session variable setting.
Fix the session variable setting.
Java
mit
KostasTzouvalidis/tick-tac,KostasTzouvalidis/tick-tac,KostasTzouvalidis/tick-tac
874eff118f0d992433f9ec274e3d503bc19e30c6
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/vfs/IFileVirtualFile.java
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/vfs/IFileVirtualFile.java
package com.redhat.ceylon.eclipse.vfs; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core...
package com.redhat.ceylon.eclipse.vfs; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core...
Fix NPE when a file doesn't exist any more
Fix NPE when a file doesn't exist any more
Java
epl-1.0
rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse
0d326690a5d0535aed31bc40f260be9d5ce352d0
src/test/java/net/brabenetz/lib/securedproperties/snippets/SpringBootStarterApplication.java
src/test/java/net/brabenetz/lib/securedproperties/snippets/SpringBootStarterApplication.java
/*- * #%L * Secured Properties * =============================================================== * Copyright (C) 2016 - 2019 Brabenetz Harald, Austria * =============================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
/*- * #%L * Secured Properties * =============================================================== * Copyright (C) 2016 - 2019 Brabenetz Harald, Austria * =============================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
Fix wrong indent: replace tabs with whitespace.
Fix wrong indent: replace tabs with whitespace.
Java
apache-2.0
brabenetz/secured-properties
8801700cc73b248389720426dd0b8cade2035928
src/test/java/hu/wirtz/citest/BarTest.java
src/test/java/hu/wirtz/citest/BarTest.java
package hu.wirtz.citest; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.Test; /** * Created by gergo on 2017. 03. 07.. */ public class BarTest { @Test public void anotherTest(){ Assert.assertThat("foo", CoreMatchers.containsString("bar")); } @Test public vo...
package hu.wirtz.citest; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.Test; /** * Created by gergo on 2017. 03. 07.. */ public class BarTest { @Test public void anotherTest(){ Assert.assertThat("foo", CoreMatchers.containsString("bar")); } @Test public vo...
Test JUnit failure in the logs
Test JUnit failure in the logs
Java
apache-2.0
wirtzg/ci-test
d537f15e632625a64dbfaebe584b443dac6bc000
gnd/src/main/java/com/google/android/gnd/ui/editobservation/MultipleChoiceFieldViewModel.java
gnd/src/main/java/com/google/android/gnd/ui/editobservation/MultipleChoiceFieldViewModel.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Add helper method to VM
Add helper method to VM
Java
apache-2.0
google/ground-android,google/ground-android,google/ground-android
74bd1cb66d53b576e8e0ca097a69e7f864a76f99
src/test/java/tests/PlatformSpecificTests.java
src/test/java/tests/PlatformSpecificTests.java
package tests; import static org.junit.Assert.assertEquals; import org.junit.Test; import util.PlatformSpecific; import util.PlatformSpecific.Architecture; public class PlatformSpecificTests { @Test public void testStringToArchitectureEnum() { assertEquals(Architecture.X86_64, ...
package tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import util.PlatformSpecific; import util.PlatformSpecific.Architecture; public class PlatformSpecificTests { @Test public void testStringToArchitectureEnum() { assertEquals...
Add test for getting linux kernel's architecture
Add test for getting linux kernel's architecture
Java
apache-2.0
saav/HubTurbo,Sumei1009/HubTurbo,gaieepo/HubTurbo,gaieepo/HubTurbo,saav/HubTurbo,Sumei1009/HubTurbo,HyungJon/HubTurbo,HyungJon/HubTurbo
6234258c41964298520b98ec49eae914262af5a5
src/main/java/xyz/upperlevel/uppercore/task/Countdown.java
src/main/java/xyz/upperlevel/uppercore/task/Countdown.java
package xyz.upperlevel.uppercore.task; import lombok.Getter; import org.bukkit.scheduler.BukkitRunnable; import xyz.upperlevel.uppercore.Uppercore; import java.text.SimpleDateFormat; import java.util.Date; import java.util.function.Consumer; public abstract class Countdown extends BukkitRunnable { @Getter pr...
package xyz.upperlevel.uppercore.task; import lombok.Getter; import org.bukkit.scheduler.BukkitRunnable; import xyz.upperlevel.uppercore.Uppercore; import java.text.SimpleDateFormat; import java.util.Date; import java.util.function.Consumer; public abstract class Countdown extends BukkitRunnable { @Getter pr...
Fix countdown time sudden change during board updates
Fix countdown time sudden change during board updates
Java
mit
upperlevel/uppercore
d3bd245fd9dd935a74a685fa823cb1f24bb9bc12
alura/java-bd/loja-virtual/TestaInsercao.java
alura/java-bd/loja-virtual/TestaInsercao.java
import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class TestaInsercao { public static void main(String[] args) throws SQLException { Connection connection = Database.getConnection(); Statement statement = connection.createStatement(); boolean resultado = stateme...
import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class TestaInsercao { public static void main(String[] args) throws SQLException { String nome = "Notebook"; String descricao = " Notebook i5"; Connection connection = Database.getConnection(); String sql ...
Insert new files, Alura, JDBC e banco de dados em Java, Aula 3
Insert new files, Alura, JDBC e banco de dados em Java, Aula 3
Java
mit
fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs
aabba806bbf29f547b0b08fa96ab7effee568920
camerakit/src/main/utils/com/wonderkiln/camerakit/JpegTransformer.java
camerakit/src/main/utils/com/wonderkiln/camerakit/JpegTransformer.java
package com.wonderkiln.camerakit; import android.graphics.Rect; import java.nio.ByteBuffer; public class JpegTransformer { private ByteBuffer mHandler; public JpegTransformer(byte[] jpeg) { mHandler = jniStoreJpeg(jpeg, jpeg.length); } public byte[] getJpeg() { return jniCommit(mHa...
package com.wonderkiln.camerakit; import android.graphics.Rect; import java.nio.ByteBuffer; public class JpegTransformer { private ByteBuffer mHandler; public JpegTransformer(byte[] jpeg) { mHandler = jniStoreJpeg(jpeg, jpeg.length); } public byte[] getJpeg() { return jniCommit(mHa...
Fix loading error on API level 16 and 17
Fix loading error on API level 16 and 17
Java
mit
wonderkiln/CameraKit-Android,gogopop/CameraKit-Android,wonderkiln/CameraKit-Android,flurgle/CameraKit-Android,wonderkiln/CameraKit-Android,wonderkiln/CameraKit-Android
c41d72543bf24c73e4cd8fa87dbb894c274ef2c8
src/main/java/com/github/blindpirate/gogradle/core/dependency/lock/LockedDependencyManager.java
src/main/java/com/github/blindpirate/gogradle/core/dependency/lock/LockedDependencyManager.java
package com.github.blindpirate.gogradle.core.dependency.lock; import com.github.blindpirate.gogradle.core.dependency.GolangDependency; import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet; import java.util.Collection; public interface LockedDependencyManager { GolangDependencySet getLockedD...
package com.github.blindpirate.gogradle.core.dependency.lock; import com.github.blindpirate.gogradle.build.Configuration; import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet; import com.github.blindpirate.gogradle.core.dependency.ResolvedDependency; import java.util.Collection; public interfac...
Add support for test dependencies
Add support for test dependencies
Java
apache-2.0
gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle
4a62b7137f7f393053fdb235e93e9bd5591f997e
genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/BQSRTargetGenerator.java
genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/BQSRTargetGenerator.java
package com.github.sparkcaller.preprocessing; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import org.apache.spark.api.java.function.Function; import scala.Tuple2; import java.io.File; /* * Recalibrate the base quality scores inorder to get more accurate scores. * * See: * ...
package com.github.sparkcaller.preprocessing; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import java.io.File; /* * Recalibrate the base quality scores inorder to get more accurate scores. * * See: * https://www.broadinstitute.org/gatk/documentation/tooldocs/org_broadinsti...
Create BQSR targets on a single, merged file, as it is not scatter-gatherable, and is pretty quick on large files anyways.
[Genomics]: Create BQSR targets on a single, merged file, as it is not scatter-gatherable, and is pretty quick on large files anyways.
Java
mit
UNINETT/daas-apps,UNINETT/daas-apps
a48aa6d409885cc95cc806172e720122d30ca648
client/src/main/java/com/github/arteam/simplejsonrpc/client/generator/SecureRandomIdGenerator.java
client/src/main/java/com/github/arteam/simplejsonrpc/client/generator/SecureRandomIdGenerator.java
package com.github.arteam.simplejsonrpc.client.generator; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; /** * Date: 1/12/15 * Time: 11:17 PM * Abstract generator of secure random identifiers */ abstract class SecureRandomIdGenerator<T> implements IdGenerator<T> { private s...
package com.github.arteam.simplejsonrpc.client.generator; import java.security.SecureRandom; /** * Date: 1/12/15 * Time: 11:17 PM * Abstract generator of secure random identifiers */ abstract class SecureRandomIdGenerator<T> implements IdGenerator<T> { protected final SecureRandom secureRandom; protecte...
Use Native secure random generator by default
Use Native secure random generator by default SHA1PRNG is a relic of the old Java 6 times.
Java
mit
arteam/simple-json-rpc
9f8a970bb949f023891eff090f9d4994af5a3e4d
src/keygamep3/Dimensie.java
src/keygamep3/Dimensie.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package keygamep3; /** * * @author rubenvde */ public class Dimensie { private int x; private int y; public Dimens...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package keygamep3; /** * * @author rubenvde */ public class Dimensie { private int x; private int y; public Dimens...
Reset methode toegevoegd voor de resetKnop
Reset methode toegevoegd voor de resetKnop
Java
mit
rubenvde/KeyGameP3
0e9e331569cd019f9c101b2b218b6005af9adb92
log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
Add more info regarding internal classes.
Add more info regarding internal classes.
Java
apache-2.0
codescale/logging-log4j2,ChetnaChaudhari/logging-log4j2,MagicWiz/log4j2,codescale/logging-log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2,codescale/logging-log4j2,ChetnaChaudhari/logging-log4j2,pisfly/logging-log4j2,xnslong/logging-log4j2,apache/logging-log4j2,lqbweb/logging-log4j2,lburgazzoli/apache-logging-log...
131e0491f4a5254af5f07a3bbb26370785c079d7
seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/state/ScrollBarButtonsTogetherState.java
seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/state/ScrollBarButtonsTogetherState.java
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
Set "buttons together" state from client property for override, otherwise from global UI property.
Set "buttons together" state from client property for override, otherwise from global UI property.
Java
apache-2.0
archit47/seaglass,khuxtable/seaglass
c2d7ddf26bff64451dd67de1a4cddfc0987d5a35
src/com/growingwiththeweb/algorithms/interviewquestions/givenrandomfiveimplementrandomseven/Program.java
src/com/growingwiththeweb/algorithms/interviewquestions/givenrandomfiveimplementrandomseven/Program.java
package com.growingwiththeweb.algorithms.interviewquestions.givenrandomfiveimplementrandomseven; import java.util.Random; public class Program { public static void main(String[] args) { } public static int random5() { return new Random().nextInt(5) + 1; } public static int random7() { ...
package com.growingwiththeweb.algorithms.interviewquestions.givenrandomfiveimplementrandomseven; import java.util.Random; public class Program { public static void main(String[] args) { } public static int random5() { return new Random().nextInt(5) + 1; } public static int random7() { ...
Add comment to random7 from random5
Add comment to random7 from random5
Java
mit
Tyriar/growing-with-the-web,gwtw/growing-with-the-web,Tyriar/growing-with-the-web,gwtw/growing-with-the-web
6f6dc0063fd25729fcd6d1497415ae0a4e8f0784
src/main/java/org/codeswarm/lipsum/PrefixTemplateNames.java
src/main/java/org/codeswarm/lipsum/PrefixTemplateNames.java
package org.codeswarm.lipsum; class PrefixTemplateNames implements STGroupParagraphGenerator.TemplateNames { private final String prefix; private final int minIndex; private final int maxIndex; PrefixTemplateNames(String prefix, int minIndex, int maxIndex) { if (minIndex < 0) throw new IllegalArgumentExc...
package org.codeswarm.lipsum; import com.google.common.base.Preconditions; class PrefixTemplateNames implements STGroupParagraphGenerator.TemplateNames { private final String prefix; private final int minIndex; private final int maxIndex; PrefixTemplateNames(String prefix, int minIndex, int maxIndex) { ...
Use guava Preconditions to check arguments.
Use guava Preconditions to check arguments.
Java
apache-2.0
chris-martin/lipsum
a112be00ddaaf775808250aece8ff18478831c9b
src/test/java/uk/gov/verifiablelog/merkletree/TestUtil.java
src/test/java/uk/gov/verifiablelog/merkletree/TestUtil.java
package uk.gov.verifiablelog.merkletree; import javax.xml.bind.DatatypeConverter; import java.util.ArrayList; import java.util.List; import static java.util.stream.Collectors.toList; class MerkleTreeTestUnit { public MerkleTree merkleTree; public List<byte[]> leaves; public MerkleTreeTestUnit(MerkleTree...
package uk.gov.verifiablelog.merkletree; import javax.xml.bind.DatatypeConverter; import java.util.List; import static java.util.stream.Collectors.toList; public class TestUtil { public static MerkleTree makeMerkleTree(List<byte[]> entries) { return new MerkleTree(Util.sha256Instance(), entries::get, ent...
Remove unused utils and legacy dto test item class
Remove unused utils and legacy dto test item class
Java
mit
openregister/verifiable-log
b65c24f49f88d982e2a1db857b008994d0804ec9
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeHistory.java
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeHistory.java
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.api.integration.noderepository; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com....
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.api.integration.noderepository; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com....
Add new agent to API type
Add new agent to API type
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
4c1e1012f7f3b2e64178321f8c48ea163fe84d42
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/service/CurrentUserDetailsService.java
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/service/CurrentUserDetailsService.java
package uk.ac.ebi.spot.goci.curation.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.stereotype.Service; import uk....
package uk.ac.ebi.spot.goci.curation.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.stereotype.Service; import uk....
Add method to get currently logged in user from http request
Add method to get currently logged in user from http request
Java
apache-2.0
EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci
eac3b3804d8bbabde8b5ac8c4661bf0fec469868
test/org/traccar/protocol/RoboTrackProtocolDecoderTest.java
test/org/traccar/protocol/RoboTrackProtocolDecoderTest.java
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class RoboTrackProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { RoboTrackProtocolDecoder decoder = new RoboTrackProtocolDecoder(new RoboTrackProtocol()); ...
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; import java.nio.ByteOrder; public class RoboTrackProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { RoboTrackProtocolDecoder decoder = new RoboTrackProtocolDecoder(new Rob...
Add RoboTrack location test cases
Add RoboTrack location test cases
Java
apache-2.0
jon-stumpf/traccar,ninioe/traccar,jssenyange/traccar,jon-stumpf/traccar,jssenyange/traccar,tsmgeek/traccar,tsmgeek/traccar,jssenyange/traccar,orcoliver/traccar,tananaev/traccar,ninioe/traccar,ninioe/traccar,orcoliver/traccar,jon-stumpf/traccar,orcoliver/traccar,tananaev/traccar,tsmgeek/traccar,tananaev/traccar
57531b4d147a8f7f0ebd85675000a6fc66c4d061
RelUI/src/org/reldb/dbrowser/ui/content/rel/operator/OperatorPlayer.java
RelUI/src/org/reldb/dbrowser/ui/content/rel/operator/OperatorPlayer.java
package org.reldb.dbrowser.ui.content.rel.operator; import org.eclipse.swt.graphics.Image; import org.reldb.dbrowser.ui.content.rel.DbTreeAction; import org.reldb.dbrowser.ui.content.rel.DbTreeItem; import org.reldb.dbrowser.ui.content.rel.NaiveShowTab; import org.reldb.dbrowser.ui.content.rel.RelPanel; import org.rel...
package org.reldb.dbrowser.ui.content.rel.operator; import org.eclipse.swt.graphics.Image; import org.reldb.dbrowser.ui.content.rel.DbTreeAction; import org.reldb.dbrowser.ui.content.rel.DbTreeItem; import org.reldb.dbrowser.ui.content.rel.NaiveShowTab; import org.reldb.dbrowser.ui.content.rel.RelPanel; import org.rel...
Add message for system-generated definitions.
Add message for system-generated definitions.
Java
apache-2.0
DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel
8ee4686a843b630c2fb55056b402ed208264af10
app/src/main/java/com/syntactec/subreddify/resources/RedditResource.java
app/src/main/java/com/syntactec/subreddify/resources/RedditResource.java
package com.syntactec.subreddify.resources; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; import java.util.List; /** * This class models the Reddit resources the application uses. */ public interface RedditResource { @GET("r/{subreddit}/new.json?coun...
package com.syntactec.subreddify.resources; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; import java.util.List; /** * This class models the Reddit resources the application uses. */ public interface RedditResource { @GET("r/{subredditQuery}/new.json...
Correct the Reddit API request.
GH-3: Correct the Reddit API request.
Java
mit
Syntactec/subreddify-android
5c0e3b9326ffd51cd0453d121a651745683a9e45
src/main/java/com/crimsoncricket/asserts/Assert.java
src/main/java/com/crimsoncricket/asserts/Assert.java
/* * Copyright 2015 Martijn van der Woud - The Crimson Cricket Internet Services * * 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/LICE...
/* * Copyright 2015 Martijn van der Woud - The Crimson Cricket Internet Services * * 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/LICE...
Add method for ensuring that no null values are contained in a collection. passed as an argument.
Add method for ensuring that no null values are contained in a collection. passed as an argument.
Java
apache-2.0
CrimsonCricket/assert
3483bf4189a608880c30e262f979475b0da3f133
Helloworld.java
Helloworld.java
package github.com.ricallinson.jmmexample; class Helloworld { public static void main(String args[]) { System.out.println("Congratulations on your first Java-- application."); } }
package github.com.javaminusminus.jmmexample; class Helloworld { public static void main(String args[]) { System.out.println("Congratulations on your first Java-- application."); } }
Change for move to org repo
Change for move to org repo
Java
bsd-3-clause
jminusminus/jmmexample
b982a50bacc6d369bd2c82088a4e4df42328c91e
src/main/java/alien4cloud/paas/cloudify3/PluginFactoryConfiguration.java
src/main/java/alien4cloud/paas/cloudify3/PluginFactoryConfiguration.java
package alien4cloud.paas.cloudify3; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import alien4cloud.paas.cloudify3.service.OrchestratorDeploymentPropertiesService; @Configuration public class PluginFactoryConfiguration { @Bean(name = "cloudify-...
package alien4cloud.paas.cloudify3; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import alien4cloud.paas.cloudify3.service.ArtifactRegistryService; import alien4cloud.paas.cloudify3.service.OrchestratorDeploymentPropertiesService; @Configuration pub...
Fix bug cloudify 3 provider opensource, context not initialized
Fix bug cloudify 3 provider opensource, context not initialized
Java
apache-2.0
alien4cloud/alien4cloud-cloudify3-provider,alien4cloud/alien4cloud-cloudify3-provider,alien4cloud/alien4cloud-cloudify3-provider
31d43423ffede992fc53fef1e9b07d591fa4f8e0
src/main/resources/archetype-resources/src/main/java/__name__Plugin.java
src/main/resources/archetype-resources/src/main/java/__name__Plugin.java
package ${package}; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.plugin.java.JavaPlugin; public class ${name}Plugin extends JavaPlugin { @Override public void onEnable() { log("Hello world!"); } @Override public void onDisable() { // Do nothing } protected Logge...
package ${package}; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.plugin.java.JavaPlugin; public class ${name}Plugin extends JavaPlugin { public void onEnable() { log("Hello world!"); } public void onDisable() { // Do nothing } protected Logger getLogger() { retu...
Remove invalid @Override annotations from plugin class
Remove invalid @Override annotations from plugin class
Java
mit
stratomine/bukkit-plugin-archetype
bfb843e1a03509d9e60755362d6d1ad80698fefb
spring-boot-samples/spring-boot-sample-data-jpa/src/test/java/org/springframework/boot/sample/data/jpa/AbstractIntegrationTests.java
spring-boot-samples/spring-boot-sample-data-jpa/src/test/java/org/springframework/boot/sample/data/jpa/AbstractIntegrationTests.java
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Add logging initializer to tests
Add logging initializer to tests
Java
apache-2.0
Buzzardo/spring-boot,ihoneymon/spring-boot,fjlopez/spring-boot,rickeysu/spring-boot,Makhlab/spring-boot,simonnordberg/spring-boot,tsachev/spring-boot,wwadge/spring-boot,okba1/spring-boot,nebhale/spring-boot,nisuhw/spring-boot,Pokbab/spring-boot,marcellodesales/spring-boot,jrrickard/spring-boot,lingounet/spring-boot,don...
7966fd7094df010cf361c121982ea1671accfb53
library/src/main/java/com/malhartech/lib/stream/Counter.java
library/src/main/java/com/malhartech/lib/stream/Counter.java
/* * Copyright (c) 2012-2013 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.lib.stream; import com.malhartech.api.Context.OperatorContext; import com.malhartech.api.DefaultInputPort; import com.malhartech.api.DefaultOutputPort; import com.malhartech.api.Operator; import com.malhartech.api.Operator....
/* * Copyright (c) 2012-2013 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.lib.stream; import com.malhartech.api.Context.OperatorContext; import com.malhartech.api.DefaultInputPort; import com.malhartech.api.DefaultOutputPort; import com.malhartech.api.Operator; import com.malhartech.api.Operator....
Disable the unifier until the hint is passed to the StramChild about the type of the unifier.
Disable the unifier until the hint is passed to the StramChild about the type of the unifier.
Java
apache-2.0
siyuanh/incubator-apex-malhar,yogidevendra/apex-malhar,vrozov/incubator-apex-malhar,tushargosavi/incubator-apex-malhar,DataTorrent/incubator-apex-malhar,DataTorrent/incubator-apex-malhar,DataTorrent/incubator-apex-malhar,trusli/apex-malhar,ilganeli/incubator-apex-malhar,chinmaykolhatkar/incubator-apex-malhar,vrozov/ape...
2db14ce8b5b5b47089678da1e02ff169c7a86f55
ifs-web-service/ifs-project-setup-mgt-service/src/main/java/org/innovateuk/ifs/project/grantofferletter/viewmodel/OtherCostsRowModel.java
ifs-web-service/ifs-project-setup-mgt-service/src/main/java/org/innovateuk/ifs/project/grantofferletter/viewmodel/OtherCostsRowModel.java
package org.innovateuk.ifs.project.grantofferletter.viewmodel; import java.math.BigDecimal; import java.util.List; import java.util.Map; import static java.util.Collections.singletonList; /* * Holder of values for the other costs rows on GOL finance tables, which are handled differently */ public class OtherCostsR...
package org.innovateuk.ifs.project.grantofferletter.viewmodel; import java.math.BigDecimal; import java.util.Collection; import java.util.List; import java.util.Map; import static java.util.Collections.singletonList; /* * Holder of values for the other costs rows on GOL finance tables, which are handled differently...
Add helper methods to other costs rows
IFS-5895: Add helper methods to other costs rows
Java
mit
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
834d0b4069312826a31964cc14de9379e5d0910f
src/main/java/longcat/Longcat.java
src/main/java/longcat/Longcat.java
package longcat; public class Longcat { // Source: http://encyclopediadramatica.com/Longcat public static final String HEAD_ROW = "" + " /\\___/\\ \n" + " / \\ \n" + " | # # | \n" + " \\ @ | \n" + ...
package longcat; public class Longcat { // Source: http://encyclopediadramatica.com/Longcat public static final String HEAD_ROW = "" + " /\\___/\\ \n" + " / \\ \n" + " | # # | \n" + " \\ @ | \n" + ...
Use StringBuilder to constructo the longcat body, as it can be very loooooooooong
Use StringBuilder to constructo the longcat body, as it can be very loooooooooong
Java
mit
orfjackal/longcat
361adfcccb4413a03da31df9c1b5310c86db57fc
src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java
src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java
package org.vietabroader.controller; import org.vietabroader.model.GlobalState; import org.vietabroader.model.VASpreadsheet; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SpreadsheetConnectControll...
package org.vietabroader.controller; import org.vietabroader.model.GlobalState; import org.vietabroader.model.VASpreadsheet; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SpreadsheetConnectControll...
Add the check for status
Add the check for status
Java
mit
ctring/VAQR,vietabroader/VAQR
85eb8a10dfeb5cc126233adf4377c6d0acbbd302
src/jcrib/Player.java
src/jcrib/Player.java
package jcrib; import java.util.ArrayList; import java.util.List; public class Player { private String name; private int points; private Hand hand; private Card cut; private List<List<Score>> scores = new ArrayList<>(); public Player(String name) { this.name = name; this.hand ...
package jcrib; import java.util.ArrayList; import java.util.List; import jcrib.cards.Card; import jcrib.cards.Hand; public class Player { private String name; private int points; private Hand hand; private Card cut; private List<List<Score>> scores = new ArrayList<>(); public Player(String n...
Update for cards package refactoring
Update for cards package refactoring
Java
bsd-2-clause
malensek/criblib
4d49a3c1b726460d4886910640c805f17ce63352
src/main/java/io/elssa/net/MessageDecoder.java
src/main/java/io/elssa/net/MessageDecoder.java
package io.elssa.net; import java.util.List; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ReplayingDecoder; public class MessageDecoder extends ReplayingDecoder<DecoderState> { private int length; public MessageDecoder() { super(Decode...
package io.elssa.net; import java.util.List; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ReplayingDecoder; public class MessageDecoder extends ReplayingDecoder<DecoderState> { private int length; public MessageDecoder() { super(Decode...
Add context to decoded messages
Add context to decoded messages
Java
bsd-2-clause
malensek/galileo-net,malensek/elssa
cad373209b456867c336f1bd744a9bd6bee2643f
client/src/net/myrrix/client/translating/GenericTranslatedRecommendedItem.java
client/src/net/myrrix/client/translating/GenericTranslatedRecommendedItem.java
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Add a few more changes to be consistent with GenericRecommendedItem, like toString()
Add a few more changes to be consistent with GenericRecommendedItem, like toString()
Java
apache-2.0
xingh/myrrix-recommender,xingh/myrrix-recommender,xingh/myrrix-recommender
09b3e4919c7f62e754a6005467f4e2f4537b0d35
src/main/java/app/config/WebSecurityConfig.java
src/main/java/app/config/WebSecurityConfig.java
package app.config; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configur...
package app.config; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configur...
Add a LogoutSuccessHandler to show usage of a RedirectStrategy that's not context-relative
Add a LogoutSuccessHandler to show usage of a RedirectStrategy that's not context-relative
Java
mit
mpalourdio/SpringBootTemplate,mpalourdio/SpringBootTemplate
eed6e551a932d2e7ac77f3aac1df436fdd11aaa9
criteria/common/src/org/immutables/criteria/expression/ComparableOperators.java
criteria/common/src/org/immutables/criteria/expression/ComparableOperators.java
/* * Copyright 2019 Immutables Authors and Contributors * * 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 2019 Immutables Authors and Contributors * * 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...
Correct enum equality for ComprableOperatos (see isComparable() method)
Correct enum equality for ComprableOperatos (see isComparable() method)
Java
apache-2.0
immutables/immutables
4302171dc0c48a25442b59661f45d2e392d25d43
project/src/main/java/com/google/sps/servlets/EventVolunteeringDataServlet.java
project/src/main/java/com/google/sps/servlets/EventVolunteeringDataServlet.java
package com.google.sps.servlets; import com.google.sps.data.VolunteeringOpportunity; import com.google.sps.utilities.CommonUtils; import com.google.sps.utilities.DatabaseConstants; import com.google.sps.utilities.SpannerTasks; import java.io.IOException; import java.util.Set; import javax.servlet.annotation.WebServlet...
package com.google.sps.servlets; import com.google.sps.data.VolunteeringOpportunity; import com.google.sps.utilities.CommonUtils; import com.google.sps.utilities.DatabaseConstants; import com.google.sps.utilities.SpannerTasks; import java.io.IOException; import java.util.Set; import javax.servlet.annotation.WebServlet...
Add error checking in servlet and remove hardcoded event id.
Add error checking in servlet and remove hardcoded event id.
Java
apache-2.0
googleinterns/step188-2020,googleinterns/step188-2020,googleinterns/step188-2020
da1635ad337ca742cef10489f65266ca0f701fc0
src/beast/evolution/tree/TreeInterface.java
src/beast/evolution/tree/TreeInterface.java
package beast.evolution.tree; import java.util.List; import beast.evolution.alignment.TaxonSet; import beast.evolution.tree.Node; public interface TreeInterface { String getID(); int getLeafNodeCount(); int getInternalNodeCount(); int getNodeCount(); Node getRoot(); Node getNode(int i); Node [...
package beast.evolution.tree; import java.util.List; import beast.evolution.alignment.TaxonSet; import beast.evolution.tree.Node; public interface TreeInterface { String getID(); int getLeafNodeCount(); int getInternalNodeCount(); int getNodeCount(); Node getRoot(); Node getNode(int i); Node [...
Add a (default) interface method to get tree nodes in post-order
Add a (default) interface method to get tree nodes in post-order
Java
lgpl-2.1
CompEvol/beast2,CompEvol/beast2,Anaphory/beast2,Anaphory/beast2,tgvaughan/beast2,Anaphory/beast2,CompEvol/beast2,tgvaughan/beast2,CompEvol/beast2,Anaphory/beast2,tgvaughan/beast2,tgvaughan/beast2
001f04c4f178774c9157aea6987f3fd1c2963fa9
src/protocolsupport/utils/CompressionUtils.java
src/protocolsupport/utils/CompressionUtils.java
package protocolsupport.utils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.zip.Deflater; import java.util.zip.DeflaterInputStream; import java.util.zip.Inflater; import java.util.zip.InflaterInputStream; import org.apache.commons.io.IOUtils; public class CompressionUtils { pri...
package protocolsupport.utils; import java.util.Arrays; import java.util.zip.Deflater; public class CompressionUtils { private static final int compressionLevel = getCompressionLevel(); private static int getCompressionLevel() { try { return Integer.parseInt(System.getProperty("protocolsupport.compressionlev...
Speed up compression, default compression level to 1
Speed up compression, default compression level to 1
Java
agpl-3.0
ridalarry/ProtocolSupport,ProtocolSupport/ProtocolSupport
4ded2f46d5c5b97df68d23a771fd289be7976bd8
src/test/java/tests/BaseTest.java
src/test/java/tests/BaseTest.java
package tests; import org.openqa.selenium.WebDriver; import org.testng.Assert; import org.testng.annotations.*; import pages.HomePage; import selenium.WebDriverFactory; import utils.Log4Test; import utils.PropertyLoader; public class BaseTest { public static WebDriver driver; @BeforeSuite public void int...
package tests; import org.openqa.selenium.WebDriver; import org.testng.Assert; import org.testng.annotations.*; import pages.HomePage; import selenium.WebDriverFactory; import utils.Log4Test; import utils.PropertyLoader; public class BaseTest { public static WebDriver driver; @BeforeSuite public void int...
Revert "Added cookies deletion step to @BeforeMethod."
Revert "Added cookies deletion step to @BeforeMethod." This reverts commit bc44573ae5011b2155badbc77c530189e0b356ce.
Java
mit
meeroslaph/bionic-qa-selenium
1015c2bb65a0e9c7e36f5db18fdc96a9e6138665
src/main/java/org/jtheque/utils/ThreadUtils.java
src/main/java/org/jtheque/utils/ThreadUtils.java
package org.jtheque.utils; import org.slf4j.LoggerFactory; /* * Copyright JTheque (Baptiste Wicht) * * 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/...
package org.jtheque.utils; import org.slf4j.LoggerFactory; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /* * Copyright JTheque (Baptiste Wicht) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
Add method to launch a Runnable in a new thread
Add method to launch a Runnable in a new thread
Java
apache-2.0
wichtounet/jtheque-utils
ba42ae94620eb2b28901588f7b1a057fa3ec0b01
src/main/java/de/retest/util/DeleteOnCloseFileInputStream.java
src/main/java/de/retest/util/DeleteOnCloseFileInputStream.java
package de.retest.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; /* * Taken from https://stackoverflow.com/a/4694155 */ public class DeleteOnCloseFileInputStream extends FileInputStream { private File file; public DeleteOnCloseFileInp...
package de.retest.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.commons.io.FileUtils; /* * Taken from https://stackoverflow.com/a/4694155 */ public class DeleteOnCloseFileInputStream extends FileInputStream { private...
Fix file.delete ignored return value
Fix file.delete ignored return value
Java
agpl-3.0
retest/recheck,retest/recheck
5877f1b28a494a1cfb5fb5563333ff9f310f149a
cu-manager/src/main/java/fr/treeptik/cloudunit/controller/HomepageController.java
cu-manager/src/main/java/fr/treeptik/cloudunit/controller/HomepageController.java
package fr.treeptik.cloudunit.controller; import fr.treeptik.cloudunit.dto.AboutResource; import fr.treeptik.cloudunit.dto.HomepageResource; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springfram...
package fr.treeptik.cloudunit.controller; import fr.treeptik.cloudunit.dto.AboutResource; import fr.treeptik.cloudunit.dto.HomepageResource; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springfram...
Fix : add default value for homepage portal
Fix : add default value for homepage portal
Java
agpl-3.0
Treeptik/cloudunit,Treeptik/cloudunit,Treeptik/cloudunit,Treeptik/cloudunit,Treeptik/cloudunit,Treeptik/cloudunit
9e38f01b05f9c4b804f2d235b9f5684c165c020b
src/com/kurento/kas/media/rx/MediaRx.java
src/com/kurento/kas/media/rx/MediaRx.java
/* * Kurento Android Media: Android Media Library based on FFmpeg. * Copyright (C) 2011 Tikal Technologies * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 * as published by the Free Software Foundation. * * This program i...
/* * Kurento Android Media: Android Media Library based on FFmpeg. * Copyright (C) 2011 Tikal Technologies * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 * as published by the Free Software Foundation. * * This program i...
Change startVideoRx and startAudioRx parameters name.
Change startVideoRx and startAudioRx parameters name.
Java
lgpl-2.1
KurentoLegacy/kas-media
a6cb2ce36ed2faef58719037a51382f4052c7150
src/main/java/com/frederikam/fred/moe/Caddy.java
src/main/java/com/frederikam/fred/moe/Caddy.java
package com.frederikam.fred.moe; import com.frederikam.fred.moe.util.SLF4JInputStreamLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; public class Caddy extends Thread { private static final Logger log = LoggerFactory.getLogger(Caddy.class); public Caddy() { ...
package com.frederikam.fred.moe; import com.frederikam.fred.moe.util.SLF4JInputStreamLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; public class Caddy extends Thread { private static final Logger log = LoggerFactory.getLogger(Caddy.class); public Caddy() { ...
Test to see if caddy works now
Test to see if caddy works now
Java
mit
Frederikam/fred.moe,Frederikam/fred.moe,Frederikam/fred.moe,Frederikam/fred.moe
636acf786954f716ffa3232a02d577f9eea7fab3
src/main/java/org/gdg/frisbee/android/Const.java
src/main/java/org/gdg/frisbee/android/Const.java
/* * Copyright 2013 The GDG Frisbee Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2013 The GDG Frisbee Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Add some Google Dev related YT Channel IDs
Add some Google Dev related YT Channel IDs
Java
apache-2.0
haikuowuya/frisbee,fnk0/frisbee,altamish1994/frisbee,imstand/GDG-China,altamish1994/frisbee-se2,gdg-x/frisbee,Mariem-07/frisbee,gdg-x/frisbee,adamin1990/frisbee,PareshMayani/frisbee,haikuowuya/frisbee,ouzman/frisbee,altamish1994/frisbee-se2,gdgjodhpur/gdgapp,adamin1990/frisbee,Splaktar/frisbee,rajat1994/frisbee,PareshM...
bae9390c345d9a5986672b35432dd6009c4e8415
src/main/java/org/oblodiff/token/BasicToken.java
src/main/java/org/oblodiff/token/BasicToken.java
package org.oblodiff.token; import org.oblodiff.token.api.Token; /** * The basic implementation of a {@link Token}, contains code that all {@link Token}s share. * * @param <T> the type of the content this token represents * @author Christian Rösch &lt;christianroesch@gmx.net&gt; */ public abstract class BasicTok...
package org.oblodiff.token; import org.oblodiff.token.api.Token; /** * The basic implementation of a {@link Token}, contains code that all {@link Token}s share. * * @param <T> the type of the content this token represents * @author Christian Rösch &lt;christianroesch@gmx.net&gt; */ public abstract class BasicTok...
Add JavaDoc and remove warnings.
Add JavaDoc and remove warnings.
Java
bsd-3-clause
croesch/oblodiff
41c3b56a9f5bc77666369a2dcd300ce852714655
src/main/java/net/openhft/chronicle/bytes/RingBufferReader.java
src/main/java/net/openhft/chronicle/bytes/RingBufferReader.java
package net.openhft.chronicle.bytes; import java.io.Closeable; public interface RingBufferReader extends RingBufferReaderStats, Closeable { boolean isEmpty(); boolean isClosed(); /** * Close the reader. After being closed, the reader will not block writers */ @Override void close(); ...
package net.openhft.chronicle.bytes; import java.io.Closeable; public interface RingBufferReader extends RingBufferReaderStats, Closeable { boolean isEmpty(); boolean isClosed(); /** * Close the reader. After being closed, the reader will not block writers */ @Override void close(); ...
Allow ring buffer to refer to underlying (drained) queue's index
Allow ring buffer to refer to underlying (drained) queue's index
Java
apache-2.0
OpenHFT/Chronicle-Bytes
6191e5ee67301a59de36f9eda1a19e5d9d749b6d
app/src/main/java/org/wikipedia/data/GsonUtil.java
app/src/main/java/org/wikipedia/data/GsonUtil.java
package org.wikipedia.data; import com.google.gson.Gson; import com.google.gson.GsonBuilder; public final class GsonUtil { private static final Gson DEFAULT_GSON = new GsonBuilder().create(); public static Gson getDefaultGson() { return DEFAULT_GSON; } private GsonUtil() { } }
package org.wikipedia.data; import com.google.gson.Gson; import com.google.gson.GsonBuilder; public final class GsonUtil { private static final String DATE_FORMAT = "MMM dd, yyyy HH:mm:ss"; private static final Gson DEFAULT_GSON = new GsonBuilder().setDateFormat(DATE_FORMAT).create(); public static Gson ...
Set date format when building default Gson to prevent crash
Set date format when building default Gson to prevent crash I have not been able to reproduce this crash, but it seems Gson has a problem parsing date strings when unmarshalling tab data. From the info I've looked at online, explicitly defining a date format will prevent ParseExceptions here: https://stackoverflow.c...
Java
apache-2.0
anirudh24seven/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,carloshwa/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,carloshwa/apps-android-wikipedia,carloshwa/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-w...
9d2ba6788dc6873446b9df8a4c8580698c84be32
src/main/java/de/thetaphi/forbiddenapis/AntTask.java
src/main/java/de/thetaphi/forbiddenapis/AntTask.java
package de.thetaphi.forbiddenapis; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; /* * (C) Copyright Uwe Schindler (Generics Policeman) and others. * Parts of this work are licensed to the Apache Software Foundation (ASF) * under one or more contributor license agreements. * * L...
package de.thetaphi.forbiddenapis; /* * (C) Copyright Uwe Schindler (Generics Policeman) and others. * Parts of this work are licensed to the Apache Software Foundation (ASF) * under one or more contributor license agreements. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
Make replace task class name dynamic, move imports
Make replace task class name dynamic, move imports
Java
apache-2.0
policeman-tools/forbidden-apis,dweiss/forbidden-apis,dweiss/forbidden-apis,policeman-tools/forbidden-apis,thomasdarimont/forbidden-apis,thomasdarimont/forbidden-apis
c693e7a240f5ae60b92e9ccb402099fd72f76e52
src/net/hillsdon/reviki/web/handlers/StreamView.java
src/net/hillsdon/reviki/web/handlers/StreamView.java
/** * Copyright 2008 Matthew Hillsdon * * 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...
/** * Copyright 2008 Matthew Hillsdon * * 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...
Send stream responses to the OutputStream, to handle binary formats
Send stream responses to the OutputStream, to handle binary formats
Java
apache-2.0
ashirley/reviki,CoreFiling/reviki,CoreFiling/reviki,CoreFiling/reviki,ashirley/reviki,strr/reviki,strr/reviki,ashirley/reviki,CoreFiling/reviki,strr/reviki,ashirley/reviki,strr/reviki,CoreFiling/reviki,ashirley/reviki,strr/reviki
c84cc77c7354580920b0d0963de3c42ccf9fcab4
src/main/java/org/procrastinationpatients/tts/core/Drawable.java
src/main/java/org/procrastinationpatients/tts/core/Drawable.java
package org.procrastinationpatients.tts.core; import com.sun.istack.internal.NotNull; import javafx.scene.canvas.GraphicsContext; /** * @Author Decker */ public interface Drawable { public void draw(@NotNull GraphicsContext gc); }
package org.procrastinationpatients.tts.core; import javafx.scene.canvas.GraphicsContext; /** * @Author Decker */ public interface Drawable { public void draw(GraphicsContext gc); }
Remove annotation which not support by maven.
Remove annotation which not support by maven.
Java
mit
ProcrastinationPatients/TrafficTransportationSimulator
5397865669a815d5793ed9f1a7d014066e3eafe9
src/main/java/org/madhatters/mediaplayer/Main.java
src/main/java/org/madhatters/mediaplayer/Main.java
package org.madhatters.mediaplayer; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ Parent ...
package org.madhatters.mediaplayer; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ Parent ...
Disable resizing the indexing screen
Disable resizing the indexing screen
Java
mit
landaire/media-player
36a43c8aa5d1c0a65ea68eb6334df512979ea180
src/galileo/event/EventListener.java
src/galileo/event/EventListener.java
/* Copyright (c) 2013, Colorado State University All rights reserved. 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 retain the above copyright notice, this list of conditions and ...
/* Copyright (c) 2013, Colorado State University All rights reserved. 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 retain the above copyright notice, this list of conditions and ...
Add more information to the onMessage method
Add more information to the onMessage method
Java
bsd-2-clause
10000TB/galileo,10000TB/galileo
8df6beb13456030aac36335d25eab33cdc865aa3
gto-support-db/src/androidTest/java/org/ccci/gto/android/common/db/ExpressionTest.java
gto-support-db/src/androidTest/java/org/ccci/gto/android/common/db/ExpressionTest.java
package org.ccci.gto.android.common.db; import android.support.test.runner.AndroidJUnit4; import android.test.InstrumentationTestCase; import org.junit.Test; import org.junit.runner.RunWith; import static org.ccci.gto.android.common.db.TestDao.TestContract.RootTable; import static org.hamcrest.CoreMatchers.is; impor...
package org.ccci.gto.android.common.db; import android.support.test.runner.AndroidJUnit4; import android.test.InstrumentationTestCase; import org.junit.Test; import org.junit.runner.RunWith; import static org.ccci.gto.android.common.db.TestDao.TestContract.RootTable; import static org.hamcrest.CoreMatchers.is; impor...
Add test for count method
Add test for count method
Java
mit
CruGlobal/android-gto-support,CruGlobal/android-gto-support,GlobalTechnology/android-gto-support
fdb35f9af57984b6805fda88720bbc16d51b30e9
server/src/codingpro/werewolves/server/IOUtils.java
server/src/codingpro/werewolves/server/IOUtils.java
package codingpro.werewolves.server; import java.io.File; import java.io.IOException; import lombok.AccessLevel; import lombok.NoArgsConstructor; @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class IOUtils { /** * @return whether or not the file had to be created AND that was successful */ pu...
package codingpro.werewolves.server; import java.io.File; import java.io.IOException; import lombok.AccessLevel; import lombok.NoArgsConstructor; @NoArgsConstructor(access = AccessLevel.PRIVATE) public final class IOUtils { /** * @return whether or not the file had to be created AND that was successful */ pu...
Add a function to create directories
Add a function to create directories
Java
agpl-3.0
Muizers/Werewolves,Muizers/Werewolves
02f6be31a8d80c50ae0d35e93012041b87b80dd4
src/org/lemsml/jlemsviz/VizMain.java
src/org/lemsml/jlemsviz/VizMain.java
package org.lemsml.jlemsviz; import org.lemsml.jlems.expression.ParseError; import org.lemsml.jlems.run.ConnectionError; import org.lemsml.jlems.run.RuntimeError; import org.lemsml.jlems.sim.ContentError; import org.lemsml.jlems.sim.ParseException; import org.lemsml.jlems.type.BuildException; import org.lemsml.jlems....
package org.lemsml.jlemsviz; import org.lemsml.jlems.expression.ParseError; import org.lemsml.jlems.run.ConnectionError; import org.lemsml.jlems.run.RuntimeError; import org.lemsml.jlems.sim.ContentError; import org.lemsml.jlems.sim.ParseException; import org.lemsml.jlems.type.BuildException; import org.lemsml.jlems....
Initialize the file writer by default.
Initialize the file writer by default.
Java
mit
LEMS/jLEMS,LEMS/jLEMS,LEMS/jLEMS
8e100cb0a4b17020fdd8df60d6be19cd613eefa2
test/com/nullprogram/guide/NativeGuideTest.java
test/com/nullprogram/guide/NativeGuideTest.java
package com.nullprogram.guide; import com.nullprogram.guide.Arch; import com.nullprogram.guide.NativeGuide; import junit.framework.TestCase; public class NativeGuideTest extends TestCase { public final void testIsArchitecture() { String root = "/com/nullprogram/guide/"; try { NativeGu...
package com.nullprogram.guide; import com.nullprogram.guide.Arch; import com.nullprogram.guide.NativeGuide; import junit.framework.TestCase; public class NativeGuideTest extends TestCase { public final void testIsArchitecture() { try { NativeGuide.prepare(Arch.LINUX_32, "linux32/libguide.so...
Tidy up the unit test a little.
Tidy up the unit test a little.
Java
unlicense
skeeto/NativeGuide,skeeto/NativeGuide
849a5a68f501bdeb4960f7d5fd44a82015ee877f
src/com/comp110/lecture23/CDSPlaygroundSoln.java
src/com/comp110/lecture23/CDSPlaygroundSoln.java
package com.comp110.lecture23; public class CDSPlaygroundSoln { public static void main(String[] args) { Food[] menu = Food.readFoodsFromCSV("data/rams-2015-11-10.csv"); for(int i = 0; i < menu.length; i++) { Food food = menu[i]; if(food.getSeating().equals("Dinner")) { if(food...
package com.comp110.lecture23; public class CDSPlaygroundSoln { public static void main(String[] args) { Food[] menu = Food.readFoodsFromCSV("data/rams-2015-11-10.csv"); for(int i = 0; i < menu.length; i++) { Food food = menu[i]; if(food.getSeating().equals("Dinner")) { if(food...
Change print statement of solution.
Change print statement of solution.
Java
mit
comp110/materials
ccf871c42011227cbbbe6974fafde5c0e0fbc335
src/com/haxademic/core/draw/color/ColorUtil.java
src/com/haxademic/core/draw/color/ColorUtil.java
package com.haxademic.core.draw.color; import processing.core.PApplet; import com.haxademic.core.app.P; public class ColorUtil { public static int colorWithIntAndAlpha( PApplet p, int color, int alpha ) { // from: http://processing.org/discourse/beta/num_1261125421.html return (color & 0xffffff) | (alpha << 2...
package com.haxademic.core.draw.color; import processing.core.PApplet; import com.haxademic.core.app.P; public class ColorUtil { public static int colorWithIntAndAlpha( PApplet p, int color, int alpha ) { // from: http://processing.org/discourse/beta/num_1261125421.html return (color & 0xffffff) | (alpha << 2...
Add color component array getter
Add color component array getter
Java
mit
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
ebbd20de09f35c657571b09c75f2f3edf552b91a
src/main/java/ch/deletescape/primitives/Int.java
src/main/java/ch/deletescape/primitives/Int.java
package ch.deletescape.primitives; public class Int { /** * Private Constructor to prevent initialization */ private Int() { } /** * Converts a long value to integer by simply casting it * * @param lng * the long value to convert * @return the resulting integer. */ public s...
package ch.deletescape.primitives; import java.util.Random; public class Int { private static Random random; /** * Private Constructor to prevent initialization */ private Int() { } /** * Converts a long value to integer by simply casting it * * @param lng * the long value to c...
Implement a convenience method to generate random integers
Implement a convenience method to generate random integers
Java
mit
Deletescape-Media/Primitives
355e23d6637786f604bd5209f6a3f3cf85d5cce4
image-draw/src/main/java/pl/vgtworld/imagedraw/filters/edgedetect/EdgeDetectFilter.java
image-draw/src/main/java/pl/vgtworld/imagedraw/filters/edgedetect/EdgeDetectFilter.java
package pl.vgtworld.imagedraw.filters.edgedetect; import pl.vgtworld.imagedraw.ImageDrawEntity; import pl.vgtworld.imagedraw.filters.ImageDrawFilter; import pl.vgtworld.imagedraw.filters.matrix.MatrixFilter; public class EdgeDetectFilter implements ImageDrawFilter { @Override public void doFilter(ImageDrawEntity ...
package pl.vgtworld.imagedraw.filters.edgedetect; import pl.vgtworld.imagedraw.ImageDrawEntity; import pl.vgtworld.imagedraw.filters.ImageDrawFilter; import pl.vgtworld.imagedraw.filters.matrix.MatrixFilter; public class EdgeDetectFilter implements ImageDrawFilter { private static final int DEFAULT_STRENGTH = 1; ...
Add overloaded constructor with configurabe strength.
Add overloaded constructor with configurabe strength.
Java
mit
vgt-tomek/image-draw
fc3bcf708ca9882877c670792f93ca2d1c6cd69c
rocketmq-example/src/main/java/com/alibaba/rocketmq/example/verify/SelectPartition.java
rocketmq-example/src/main/java/com/alibaba/rocketmq/example/verify/SelectPartition.java
package com.alibaba.rocketmq.example.verify; import com.alibaba.rocketmq.common.UtilAll; import org.apache.commons.cli.*; public class SelectPartition { public static void main(String[] args) throws ParseException { Options options = new Options(); Option option = new Option("p", "path", true, "P...
package com.alibaba.rocketmq.example.verify; import com.alibaba.rocketmq.common.UtilAll; import org.apache.commons.cli.*; public class SelectPartition { public static void main(String[] args) throws ParseException { Options options = new Options(); Option option = new Option("p", "path", true, "P...
Add test to show disk usage ratio per partition.
Add test to show disk usage ratio per partition.
Java
apache-2.0
lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ
82058a3111242314425764f93fb81fd5e00d9530
src/main/java/com/rewayaat/RewayaatApplication.java
src/main/java/com/rewayaat/RewayaatApplication.java
package com.rewayaat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cache.annotation.EnableCaching; /** * Main entrypoint to rewayaat app. */ @EnableCaching @...
package com.rewayaat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cache.annotation.EnableCaching; /** * Main entrypoint to rewayaat app. */ @EnableCaching @...
Update spring base packages scan list
Update spring base packages scan list
Java
apache-2.0
rewayaat/rewayaat,rewayaat/rewayaat,rewayaat/rewayaat,rewayaat/rewayaat
b9fa4a9514e4f2bebbc57579f779682078272b69
JdbcExamples/src/main/java/emp/DropTable.java
JdbcExamples/src/main/java/emp/DropTable.java
package emp; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import oracle.ucp.jdbc.PoolDataSource; import oracle.ucp.jdbc.PoolDataSourceFactory; /** * Drops the employee table used by the other examples. */ public class DropTable { public static void main(String[] args)...
package emp; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import oracle.ucp.jdbc.PoolDataSource; import oracle.ucp.jdbc.PoolDataSourceFactory; /** * Drops the employee table used by the other examples. */ public class DropTable { public static void main(String[] args)...
Print that table is dropped.
Print that table is dropped.
Java
mit
oracle/json-in-db,oracle/json-in-db,oracle/json-in-db,oracle/json-in-db,oracle/json-in-db
73063c5291d126ecdfa35dc606319238280a200c
src/test/java/com/adyen/ApplicationInfoTest.java
src/test/java/com/adyen/ApplicationInfoTest.java
package com.adyen; import com.adyen.model.applicationinfo.ApplicationInfo; import org.junit.Test; import static com.adyen.Client.LIB_NAME; import static com.adyen.Client.LIB_VERSION; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class ApplicationInfoTest { @Te...
package com.adyen; import com.adyen.model.applicationinfo.ApplicationInfo; import org.junit.Test; import static com.adyen.Client.LIB_NAME; import static com.adyen.Client.LIB_VERSION; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class ApplicationInfoTest { @Te...
Add application info to adyen-java-api-library - Add default library fields test
[PW-828] Add application info to adyen-java-api-library - Add default library fields test
Java
mit
Adyen/adyen-java-api-library,Adyen/adyen-java-api-library,Adyen/adyen-java-api-library
8f9dcb93e763228f8847e624d9568bca51b4cca4
src/main/java/no/dusken/momus/config/WebInit.java
src/main/java/no/dusken/momus/config/WebInit.java
package no.dusken.momus.config; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.ContextLoaderListener; import org.springframework.web.context.support.A...
package no.dusken.momus.config; import javax.servlet.FilterRegistration; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration; import org.springframework.web.WebApplicationInitializer; import org.springframework.web.context.ContextLoaderListener; import ...
Enable async for security filter
Enable async for security filter
Java
apache-2.0
Studentmediene/Momus,Studentmediene/Momus,Studentmediene/Momus,Studentmediene/Momus,Studentmediene/Momus
ce60452a354b91af9cbdfdb40f1e01cbb2f55ce7
src/main/java/org/dynmap/DynmapBlockListener.java
src/main/java/org/dynmap/DynmapBlockListener.java
package org.dynmap; import org.bukkit.block.Block; import org.bukkit.block.BlockDamageLevel; import org.bukkit.event.block.BlockDamageEvent; import org.bukkit.event.block.BlockListener; import org.bukkit.event.block.BlockPlaceEvent; public class DynmapBlockListener extends BlockListener { private MapManager mgr; ...
package org.dynmap; import org.bukkit.block.Block; import org.bukkit.block.BlockDamageLevel; import org.bukkit.event.block.BlockDamageEvent; import org.bukkit.event.block.BlockListener; import org.bukkit.event.block.BlockPlaceEvent; public class DynmapBlockListener extends BlockListener { private MapManager mgr; ...
Fix to be compatible with latest Bukkit.
Fix to be compatible with latest Bukkit.
Java
apache-2.0
webbukkit/dynmap,webbukkit/dynmap,webbukkit/dynmap,webbukkit/dynmap,mg-1999/dynmap,KovuTheHusky/dynmap
86276c7ad62ea1ec0a88732970c9a853c620a625
app/models/PersonHistory.java
app/models/PersonHistory.java
package models; import java.util.*; public class PersonHistory { public class Record { public Date most_recent_charge; public Rule rule; public int count; } public ArrayList<Record> rule_records; public PersonHistory(Person p) { HashMap<Rule, Record> r...
package models; import java.util.*; public class PersonHistory { public class Record { public Date most_recent_charge; public Rule rule; public int count; } public ArrayList<Record> rule_records; public PersonHistory(Person p) { HashMap<Rule, Record> r...
Use meeting date if case has no date
Use meeting date if case has no date
Java
mit
schmave/demschooltools,schmave/demschooltools,schmave/demschooltools,schmave/demschooltools,schmave/demschooltools
36efd1018f5b82dab7f7d22e5cd1d57966661002
aexlib-datastore/src/test/java/org/aexlib/gae/GAEBaseTestCase.java
aexlib-datastore/src/test/java/org/aexlib/gae/GAEBaseTestCase.java
/* * $Id$ * * Copyright 2009 Hiroki Ata * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * $Id$ * * Copyright 2009 Hiroki Ata * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Fix wrong change for package.
Fix wrong change for package.
Java
apache-2.0
hata/aexlib
60448334e39707d10984a875ac3acc25f2529c14
src/test/java/benjamin/groehbiel/ch/JedisTest.java
src/test/java/benjamin/groehbiel/ch/JedisTest.java
package benjamin.groehbiel.ch; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; import org.springfram...
package benjamin.groehbiel.ch; import org.junit.After; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.data.redis.connection.je...
Set and get a redis key-value pair.
Set and get a redis key-value pair.
Java
mit
Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener
69ac6afa5d913823a768342052a9e799be2d880b
src/fi/bitrite/android/ws/util/GlobalInfo.java
src/fi/bitrite/android/ws/util/GlobalInfo.java
package fi.bitrite.android.ws.util; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.os.AsyncTask; import android.os.Environment; import android.util.Log; import android.view.View; import android.widget.ImageView; import java.io.File; import java.io....
package fi.bitrite.android.ws.util; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.os.AsyncTask; import android.os.Environment; import android.util.Log; import android.view.View; import android.widget.ImageView; import java.io.File; import java.io....
Add commented-out details on staging site
Add commented-out details on staging site
Java
apache-2.0
CyrilWendl/wsandroid,swojo/wsandroid,saemy/wsandroid,warmshowers/wsandroid