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
ae3690300cdf38441720f230a21b10cb1e87b73c
Android/Sample/app.main/src/main/java/net/wequick/example/small/app/main/AppContext.java
Android/Sample/app.main/src/main/java/net/wequick/example/small/app/main/AppContext.java
package net.wequick.example.small.app.main; import android.app.Application; import android.util.Log; /** * Created by Administrator on 2016/2/17. */ public class AppContext extends Application { public AppContext(){ Log.d("main application","AppContext()"); } @Override public void onCreate...
package net.wequick.example.small.app.main; import android.app.Application; import android.util.Log; /** * Created by Administrator on 2016/2/17. */ public class AppContext extends Application { private static final String TAG = "Main Plugin"; public AppContext() { Log.d(TAG, "AppContext()"); ...
Add sample for using resources in plugin application
Add sample for using resources in plugin application
Java
apache-2.0
sailor1861/small_debug,sailor1861/small_debug,wequick/Small,wequick/Small,wequick/Small,wu4321/Small,zhaoya188/Small,wequick/Small,wu4321/Small,wu4321/Small,sailor1861/small_debug,wu4321/Small,wequick/Small,zhaoya188/Small,zhaoya188/Small,sailor1861/small_debug,zhaoya188/Small
42c3b6c3dd6bb858bbcf68404d01abde16eb1ae6
src/main/java/org/twig/loader/HashMapLoader.java
src/main/java/org/twig/loader/HashMapLoader.java
package org.twig.loader; import org.twig.exception.LoaderException; import java.util.HashMap; /** * Used for unit tests only */ public class HashMapLoader implements Loader { HashMap<String, String> hashMap; /** * Default constructor */ public HashMapLoader() { hashMap = new HashMap<...
package org.twig.loader; import org.twig.exception.LoaderException; import java.util.HashMap; import java.util.Map; /** * Used for unit tests only */ public class HashMapLoader implements Loader { Map<String, String> hashMap; /** * Default constructor */ public HashMapLoader() { hash...
Make hashmaploader use Map instead of hashmap
Make hashmaploader use Map instead of hashmap
Java
bsd-3-clause
palmfjord/twig-java,palmfjord/twig4j-core,palmfjord/twig4j-core,palmfjord/twig-java
7b112c7ec757647cc61b45c9cace54fac1189a00
continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ContinuumActionSupport.java
continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ContinuumActionSupport.java
package org.apache.maven.continuum.web.action; import org.codehaus.plexus.xwork.action.PlexusActionSupport; import org.apache.maven.continuum.Continuum; import org.apache.maven.continuum.initialization.ContinuumInitializationException; import com.opensymphony.xwork.Preparable; /* * Copyright 2005 The Codehaus. * * ...
package org.apache.maven.continuum.web.action; /* * Copyright 2005-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
Remove continuum initialization from action, need another way to do it
Remove continuum initialization from action, need another way to do it git-svn-id: 1d22bf2b43db35b985fe5d7437c243537c14eeaa@432420 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/continuum,apache/continuum,apache/continuum
ae9143431ba127b917b8ecdbf8c5bfd85c5fb88c
src/main/java/com/amee/service/item/DataItemServiceDAO.java
src/main/java/com/amee/service/item/DataItemServiceDAO.java
package com.amee.service.item; import com.amee.domain.IDataCategoryReference; import com.amee.domain.data.DataCategory; import com.amee.domain.item.BaseItemValue; import com.amee.domain.item.data.DataItem; import com.amee.domain.item.data.DataItemNumberValue; import com.amee.domain.item.data.DataItemTextValue; import...
package com.amee.service.item; import com.amee.domain.IDataCategoryReference; import com.amee.domain.data.DataCategory; import com.amee.domain.item.BaseItemValue; import com.amee.domain.item.data.DataItem; import com.amee.domain.item.data.DataItemNumberValue; import com.amee.domain.item.data.DataItemTextValue; import...
Remove redundant access modifiers in interface.
Remove redundant access modifiers in interface.
Java
mit
OpenAMEE/amee.platform.api
129f793ca8f1ef9e2f113cdba241e6b2d64bd004
src/main/java/roycurtis/signshopexport/json/Exclusions.java
src/main/java/roycurtis/signshopexport/json/Exclusions.java
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; /** Exclusions class for blacklisting objects and fields in Gson */ public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { ...
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; /** Exclusions class for blacklisting objects and fields in Gson */ public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { ...
Exclude noisy "repairCost" meta field
Exclude noisy "repairCost" meta field
Java
mit
Gamealition/SignShopExport
41a73c3ee608a725dae0da545179cb8fc052b370
Chapter789/src/Monster.java
Chapter789/src/Monster.java
/** * Created by Nathan_Zeplowitz on 4/14/15. */ interface Monster { public abstract void takeDamage(int amount); public abstract String name(); public abstract int currentHitpoints(); }
/** * Created by Nathan_Zeplowitz on 4/14/15. */ interface Monster { void takeDamage(int amount); String name(); int currentHitpoints(); }
Refactor Out Unnecessary Public Abstract Keywords
Refactor Out Unnecessary Public Abstract Keywords
Java
mit
n-zeplo/TW101_Exercises
7c97bc0df058b920711548c6a8e99bcb8b471b64
edison-togglz/src/main/java/de/otto/edison/togglz/configuration/TogglzWebConfiguration.java
edison-togglz/src/main/java/de/otto/edison/togglz/configuration/TogglzWebConfiguration.java
package de.otto.edison.togglz.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.embedded.ServletRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.togglz.console.T...
package de.otto.edison.togglz.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.boot.context.embedded.ServletRegistrationBean; import org.springframework.context.annotation.Bean; import org.spri...
Revert "Make Togglz compatible to not embedded Tomcat"
Revert "Make Togglz compatible to not embedded Tomcat" This reverts commit fb8050f0dc814c82eb422d3bbfbb9ed606b4f75e.
Java
apache-2.0
otto-de/edison-microservice,otto-de/edison-microservice,otto-de/edison-microservice,otto-de/edison-microservice
f019e98d7188a22e0dcb617b6c9369509d514d7c
src/main/java/dk/kleistsvendsen/GameTimer.java
src/main/java/dk/kleistsvendsen/GameTimer.java
package dk.kleistsvendsen; import com.google.inject.Inject; public class GameTimer implements IGameTimer { @Inject private ITicSource ticSource_; private long startTic_; public GameTimer() { startTic_ = ticSource_.tic(); } @Override public long timeLeft() { return ticSour...
package dk.kleistsvendsen; import com.google.inject.Inject; public class GameTimer implements IGameTimer { private ITicSource ticSource_; private long startTic_; @Inject public GameTimer(ITicSource ticSource) { ticSource_ = ticSource; } @Override public long timeLeft() { ...
Use constructor injection instead of member injection
Use constructor injection instead of member injection
Java
mit
Kleist/GameClock
4c381b780e63c5b5485905af8cdb381675f32f1b
org.osgi.test.cases.repository/src/org/osgi/test/cases/repository/junit/RepositoryTest.java
org.osgi.test.cases.repository/src/org/osgi/test/cases/repository/junit/RepositoryTest.java
package org.osgi.test.cases.repository.junit; import org.osgi.framework.Bundle; import org.osgi.test.support.compatibility.DefaultTestBundleControl; public class RepositoryTest extends DefaultTestBundleControl { public void testFoo() { for (Bundle b : getContext().getBundles()) { System.out.pr...
package org.osgi.test.cases.repository.junit; import java.util.Arrays; import org.osgi.framework.Bundle; import org.osgi.framework.Constants; import org.osgi.framework.ServiceReference; import org.osgi.test.support.OSGiTestCase; public class RepositoryTest extends OSGiTestCase { public void testFooXX() throws Ex...
Test to output some basic info - bundles deploy ok.
Test to output some basic info - bundles deploy ok.
Java
apache-2.0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
aae469e499631f265720d0bf4884d0e24ca2e54d
Gui/opensim/view/test/unit/src/org/opensim/view/TestEnvironment.java
Gui/opensim/view/test/unit/src/org/opensim/view/TestEnvironment.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.opensim.view; import java.io.File; import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; /** * * @author Jingjing */ public class TestEnvironment { private sta...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.opensim.view; import java.io.File; import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; /** * * @author Jingjing */ public class TestEnvironment { private sta...
Use new path name to Models for test case
Use new path name to Models for test case
Java
apache-2.0
opensim-org/opensim-gui,opensim-org/opensim-gui,opensim-org/opensim-gui,opensim-org/opensim-gui
7ecf2c156016376fa99acc25e83a16fa3881ae65
src/main/java/com/pyamsoft/pydroid/tool/OffloaderHelper.java
src/main/java/com/pyamsoft/pydroid/tool/OffloaderHelper.java
/* * Copyright 2016 Peter Kenji Yamanaka * * 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 2016 Peter Kenji Yamanaka * * 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 offloader helper method for multiple
Add offloader helper method for multiple
Java
apache-2.0
pyamsoft/pydroid
4551cb3d9a287c48598c69b712243610391b4af8
src/main/java/com/skelril/skree/service/ModifierService.java
src/main/java/com/skelril/skree/service/ModifierService.java
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.service; import com.skelril.nitro.Clause; import java.util.Collection; public int...
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.service; import java.util.Map; public interface ModifierService { void setExpi...
Use a map for the collection of active modifiers
Use a map for the collection of active modifiers
Java
mpl-2.0
Skelril/Skree
451245397646a1affd0701a56b708638ac9ec1b5
src/main/java/heroku/template/service/PersonServiceImpl.java
src/main/java/heroku/template/service/PersonServiceImpl.java
package heroku.template.service; import heroku.template.model.Person; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; import org.springframework.stereotype.Service; im...
package heroku.template.service; import heroku.template.model.Person; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.criteria.CriteriaQuery; im...
Remove unnecessary assignment and cast
Remove unnecessary assignment and cast
Java
bsd-3-clause
PankajHingane-REISysIn/GitHubToSFDeploy,swapnilshrikhande/githubsfdeploy,davecroman/text-counter,PankajHingane-REISysIn/GitHubToSFDeploy,afawcett/githubsfdeploy,afawcett/githubsfdeploy,swapnilshrikhande/githubsfdeploy,swapnilshrikhande/githubsfdeploy,PankajHingane-REISysIn/GitHubToSFDeploy,davecroman/textcounter,motiko...
266ea6ba09215140946fd0d521fd82aaed7e8eab
src/main/java/j8spec/VarInitializer.java
src/main/java/j8spec/VarInitializer.java
package j8spec; import static j8spec.J8Spec.var; import static java.util.Objects.isNull; class VarInitializer<T> implements UnsafeBlock { private final Var<T> variable; private final UnsafeFunction<T> function; private T value; VarInitializer(Var<T> variable, UnsafeFunction<T> function) { th...
package j8spec; import static j8spec.J8Spec.*; class VarInitializer<T> implements UnsafeBlock { private final Var<T> variable; private final UnsafeFunction<T> function; private T value; VarInitializer(Var<T> variable, UnsafeFunction<T> function) { this.variable = variable; this.funct...
Replace isNull with literal null
Replace isNull with literal null
Java
mit
j8spec/j8spec
b090f1e6d0a78e80b2fc0efa0da3b443e7d1d2f1
core/src/com/google/zxing/client/result/TelResultParser.java
core/src/com/google/zxing/client/result/TelResultParser.java
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Normalize TEL: to tel: to make sure it works with Android
Normalize TEL: to tel: to make sure it works with Android
Java
apache-2.0
joelind/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,joelind/zxing-iphone,zilaiyedaren/zxing-iphone,joelind/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iphone,zilaiyedaren/zxing-iph...
3e8e7d927a4e8e0fd2edc438cf83d4ec77c8ced6
wicket-examples/src/main/java/org/apache/wicket/examples/forminput/BeforeAndAfterBorder.java
wicket-examples/src/main/java/org/apache/wicket/examples/forminput/BeforeAndAfterBorder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Use BorderBehavior instead of the deprecated MarkupComponentBorder
Use BorderBehavior instead of the deprecated MarkupComponentBorder git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@1180802 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
AlienQueen/wicket,astrapi69/wicket,astrapi69/wicket,selckin/wicket,martin-g/wicket-osgi,aldaris/wicket,freiheit-com/wicket,zwsong/wicket,klopfdreh/wicket,aldaris/wicket,AlienQueen/wicket,apache/wicket,topicusonderwijs/wicket,selckin/wicket,AlienQueen/wicket,bitstorm/wicket,zwsong/wicket,dashorst/wicket,apache/wicket,da...
ade8e8f150958c60988fd7a70ab889e31a1ed911
opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/NetconfMessage.java
opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/NetconfMessage.java
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Fix a warning and make field final
Fix a warning and make field final Drive-by fix - additionalHeader should be final, - the class is not serializable, no uuid is needed Change-Id: I484b07e64942179d153e7c42ca32d753fb2a5b23 Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
Java
epl-1.0
mandeepdhami/controller,my76128/controller,aryantaheri/monitoring-controller,my76128/controller,violinlakshmi/opendaylight,mandeepdhami/controller,violinlakshmi/opendaylight,my76128/controller,mandeepdhami/controller,aryantaheri/monitoring-controller,inocybe/odl-controller,mandeepdhami/controller,522986491/controller,o...
1be14428d122e409917fe8815645e346fc27cfb0
SimpleWeatherForecast/src/main/java/fr/tvbarthel/apps/simpleweatherforcast/utils/SharedPreferenceUtils.java
SimpleWeatherForecast/src/main/java/fr/tvbarthel/apps/simpleweatherforcast/utils/SharedPreferenceUtils.java
package fr.tvbarthel.apps.simpleweatherforcast.utils; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; public class SharedPreferenceUtils { private static String KEY_LAST_UPDATE = "SharedPreference...
package fr.tvbarthel.apps.simpleweatherforcast.utils; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; import fr.tvbarthel.apps.simpleweatherforcast.R; public class SharedPreferenceUtils { private...
Implement method to store and get the temperature unit
Implement method to store and get the temperature unit
Java
apache-2.0
tvbarthel/SimpleWeatherForecast,tvbarthel/SimpleWeatherForecast
3da9b0f9472e1174e23337c4ab233119fdef9bfc
src/net/java/sip/communicator/impl/gui/main/DialPadButton.java
src/net/java/sip/communicator/impl/gui/main/DialPadButton.java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.main; import java.awt.*; import java.awt.event.*; import net.java.sip.communicator.impl.gui.utils.*; import net.java.sip.commun...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.main; import java.awt.*; import java.awt.event.*; import javax.swing.BorderFactory; import net.java.sip.communicator.impl.gui....
Remove border from dialpad-button to hide the button style on ubuntu
Remove border from dialpad-button to hide the button style on ubuntu
Java
apache-2.0
pplatek/jitsi,pplatek/jitsi,jibaro/jitsi,bhatvv/jitsi,mckayclarey/jitsi,459below/jitsi,bhatvv/jitsi,dkcreinoso/jitsi,cobratbq/jitsi,laborautonomo/jitsi,mckayclarey/jitsi,iant-gmbh/jitsi,marclaporte/jitsi,level7systems/jitsi,ringdna/jitsi,damencho/jitsi,ibauersachs/jitsi,ringdna/jitsi,marclaporte/jitsi,gpolitis/jitsi,co...
6ff1e058b1972837889c6b532bfda9382796a69b
pnc-rest/src/main/java/org/jboss/pnc/rest/trigger/BuildTriggerer.java
pnc-rest/src/main/java/org/jboss/pnc/rest/trigger/BuildTriggerer.java
package org.jboss.pnc.rest.trigger; import com.google.common.base.Preconditions; import org.jboss.pnc.core.builder.BuildCoordinator; import org.jboss.pnc.core.exception.CoreException; import org.jboss.pnc.datastore.repositories.BuildConfigurationRepository; import org.jboss.pnc.model.BuildRecordSet; import org.jboss.p...
package org.jboss.pnc.rest.trigger; import com.google.common.base.Preconditions; import org.jboss.pnc.core.builder.BuildCoordinator; import org.jboss.pnc.core.exception.CoreException; import org.jboss.pnc.datastore.repositories.BuildConfigurationRepository; import org.jboss.pnc.model.BuildRecordSet; import org.jboss.p...
Check for null product version when triggering a configuration
[NCL-702] Check for null product version when triggering a configuration
Java
apache-2.0
mareknovotny/pnc,ahmedlawi92/pnc,jbartece/pnc,alexcreasy/pnc,mareknovotny/pnc,mareknovotny/pnc,psakar/pnc,jbartece/pnc,thauser/pnc,ahmedlawi92/pnc,michalszynkiewicz/pnc,dans123456/pnc,ahmedlawi92/pnc,pgier/pnc,ruhan1/pnc,matejonnet/pnc,ruhan1/pnc,jsenko/pnc,michalszynkiewicz/pnc,matedo1/pnc,psakar/pnc,psakar/pnc,matedo...
038863de2d5efa3757ea624712381ea928c45f9e
src/de/quisquis/ec/impl/pp/CryptoppDecrypter.java
src/de/quisquis/ec/impl/pp/CryptoppDecrypter.java
/* (C) 2014 Peter Conrad * All rights reserved. */ package de.quisquis.ec.impl.pp; import de.quisquis.ec.Decrypter; import java.security.PrivateKey; import java.security.PublicKey; import java.security.interfaces.ECPrivateKey; /** * * @author Peter Conrad */ public class CryptoppDecrypter implements Decrypter ...
/* (C) 2014 Peter Conrad * All rights reserved. */ package de.quisquis.ec.impl.pp; import de.quisquis.ec.Decrypter; import java.security.PrivateKey; import java.security.PublicKey; import java.security.interfaces.ECPrivateKey; /** * * @author Peter Conrad */ public class CryptoppDecrypter implements Decrypter ...
Throw exception if native returns null, until native is fixed
Throw exception if native returns null, until native is fixed
Java
mit
pmconrad/cryptoppjava,pmconrad/cryptoppjava,pmconrad/cryptoppjava,pmconrad/cryptoppjava
215cc1e57bad477d69c96dcaae731f4a7cbcfd0e
source/GrowthLink/src/com/growthbeat/link/handler/DefaultInstallReferrerReceiveHandler.java
source/GrowthLink/src/com/growthbeat/link/handler/DefaultInstallReferrerReceiveHandler.java
package com.growthbeat.link.handler; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import android.content.Context; import android.content.Intent; import com.growthbeat.link.GrowthLink; public class DefaultInstallReferrerReceiveHandler implements InstallReferrerReceiveHandler { @Override...
package com.growthbeat.link.handler; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import android.content.Context; import android.content.Intent; import com.growthbeat.link.GrowthLink; public class DefaultInstallReferrerReceiveHandler implements InstallReferrerReceiveHandler { @Override...
Set null instead of empty string when install referrer is blank
Set null instead of empty string when install referrer is blank
Java
apache-2.0
SIROK/growthbeat-android,growthbeat/growthbeat-android
953a5455180d907655b54c0650e86f35545116a5
xio-core/src/main/java/com/xjeffrose/xio/http/RouteState.java
xio-core/src/main/java/com/xjeffrose/xio/http/RouteState.java
package com.xjeffrose.xio.http; import com.typesafe.config.ConfigFactory; import java.util.function.Function; import lombok.Getter; import lombok.experimental.Accessors; @Accessors(fluent = true) @Getter public class RouteState { private final Route route; private final PipelineRequestHandler handler; public f...
package com.xjeffrose.xio.http; import com.typesafe.config.ConfigFactory; import java.util.function.Function; import lombok.Getter; import lombok.experimental.Accessors; @Accessors(fluent = true) @Getter public class RouteState { private final Route route; private final PipelineRequestHandler handler; public f...
Revert "br/TACO-236: added permission needed string to route object"
Revert "br/TACO-236: added permission needed string to route object" This reverts commit e489279952bad0b994cd52401a2b0e8b04f7710a.
Java
apache-2.0
xjdr/xio,xjdr/xio,xjdr/xio
a6cd730cbe92d41e2945fb0a6c75fa3601d6e868
src/test/java/edu/colorado/plv/cuanto/tinyjava/ReturnFortytwoTest.java
src/test/java/edu/colorado/plv/cuanto/tinyjava/ReturnFortytwoTest.java
package edu.colorado.plv.cuanto.tinyjava; public class ReturnFortytwoTest { public static int return42() { return 42; } public static class EmptyMainTest { public static void main(String[] args) { } } }
package edu.colorado.plv.cuanto.tinyjava; public class ReturnFortytwoTest { public static int return42() { return 42; } }
Clean up issue from IntelliJ
Clean up issue from IntelliJ
Java
apache-2.0
cuplv/cuanto
99ca8db451d0525b76a939e304a43b9080104ce3
src/main/java/org/cryptonit/cloud/timestamping/Authority.java
src/main/java/org/cryptonit/cloud/timestamping/Authority.java
package org.cryptonit.cloud.timestamping; import org.bouncycastle.tsp.*; import org.bouncycastle.util.Store; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.security.*; import java.security.cert.X509Certificate; /** * @author Mathias Brossard */ public class Authority { private static Logger...
package org.cryptonit.cloud.timestamping; import java.math.BigInteger; import java.security.*; import java.security.cert.X509Certificate; import org.bouncycastle.tsp.*; import org.bouncycastle.util.Store; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Mathias Brossard */ public class Authori...
Add serial number incrementation method
Add serial number incrementation method
Java
agpl-3.0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
a16cd23913680f000a550503549803ab62512133
app/src/org/commcare/android/adapters/ListItemViewStriper.java
app/src/org/commcare/android/adapters/ListItemViewStriper.java
package org.commcare.android.adapters; import android.annotation.SuppressLint; import android.os.Parcel; import android.os.Parcelable; import android.view.View; /** * Created by jschweers on 9/2/2015. */ public class ListItemViewStriper implements ListItemViewModifier, Parcelable { private int mOddCo...
package org.commcare.android.adapters; import android.os.Parcel; import android.os.Parcelable; import android.view.View; /** * Created by jschweers on 9/2/2015. */ public class ListItemViewStriper implements ListItemViewModifier, Parcelable { private int mOddColor; private int mEvenColor; ...
Remove unused import / stale comment
Remove unused import / stale comment
Java
apache-2.0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
0bc6b9bc9a3377284cd4a31360c4ee9127b43fe2
willow-autoscaler/src/main/java/com/nitorcreations/willow/autoscaler/clouds/aws/EC2ClientFactory.java
willow-autoscaler/src/main/java/com/nitorcreations/willow/autoscaler/clouds/aws/EC2ClientFactory.java
package com.nitorcreations.willow.autoscaler.clouds.aws; import com.amazonaws.regions.Region; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2Client; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public class EC2ClientFactory { public synchronized Ama...
package com.nitorcreations.willow.autoscaler.clouds.aws; import com.amazonaws.regions.Region; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2Client; import javax.inject.Named; import javax.inject.Singleton; @Named @Singleton public class EC2ClientFactory { public synchronized Ama...
Throw exception instead of returning null
Throw exception instead of returning null
Java
apache-2.0
NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow
b24281f45ccda0a5f8b444e2e2b98e09301f21b6
src/main/java/amerifrance/guideapi/util/AnnotationHandler.java
src/main/java/amerifrance/guideapi/util/AnnotationHandler.java
package amerifrance.guideapi.util; import amerifrance.guideapi.api.GuideAPI; import amerifrance.guideapi.api.GuideBook; import amerifrance.guideapi.api.IGuideBook; import amerifrance.guideapi.api.impl.Book; import com.google.common.collect.Lists; import net.minecraftforge.fml.common.discovery.ASMDataTable; import org....
package amerifrance.guideapi.util; import amerifrance.guideapi.api.GuideAPI; import amerifrance.guideapi.api.GuideBook; import amerifrance.guideapi.api.IGuideBook; import amerifrance.guideapi.api.impl.Book; import com.google.common.collect.Lists; import net.minecraftforge.fml.common.discovery.ASMDataTable; import org....
Add some debug logging to books that fail to register
Add some debug logging to books that fail to register
Java
mit
TeamAmeriFrance/Guide-API
9b473d1895d3fb2b4c950d7f7e0fd0e588bf5d77
src/me/jacobcrofts/simplestructureloader/api/StructureAPI.java
src/me/jacobcrofts/simplestructureloader/api/StructureAPI.java
package me.jacobcrofts.simplestructureloader.api; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import me.jacobcrofts.simplestructureloader.util.Selection; public final class StructureAPI { private St...
package me.jacobcrofts.simplestructureloader.api; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.json.simple.JSONArray; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import me.jacobcrofts.sim...
Add feature: API reads JSON from file
Add feature: API reads JSON from file
Java
mit
JacobCrofts/structure-loader
05a24964e47217aeaf7c23c3869005ca8ca5e7fc
CarFactory/src/ru/nsu/ccfit/bogush/factory/Supplier.java
CarFactory/src/ru/nsu/ccfit/bogush/factory/Supplier.java
package ru.nsu.ccfit.bogush.factory; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class Supplier<T extends CarFactoryObject> extends SimplePeriodical implements Runnable { private Storage<T> storage; private static final long DEFAULT_PERIOD = 0; private Class<T> conten...
package ru.nsu.ccfit.bogush.factory; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class Supplier<T extends CarFactoryObject> extends SimplePeriodical implements Runnable { private Storage<T> storage; private static final long DEFAULT_PERIOD = 0; private Class<T> conten...
Add log interrupted and stopped
Add log interrupted and stopped
Java
mit
RoyPy/15201-bogush
76046440fdfe6ab3fd28fb6bbfaddf6982fb2c41
src/org/robockets/stronghold/robot/OI.java
src/org/robockets/stronghold/robot/OI.java
package org.robockets.stronghold.robot; import org.robockets.buttonmanager.ButtonManager; import org.robockets.buttonmanager.buttons.ActionButton; import org.robockets.stronghold.robot.intake.ManualSpinIntake; import edu.wpi.first.wpilibj.Joystick; /** * This class is the glue that binds the controls on the physic...
package org.robockets.stronghold.robot; import org.robockets.buttonmanager.ButtonManager; import org.robockets.buttonmanager.buttons.ActionButton; import org.robockets.stronghold.robot.intake.ManualSpinIntake; import edu.wpi.first.wpilibj.Joystick; /** * This class is the glue that binds the controls on the physic...
Add joystick to button manager
Add joystick to button manager
Java
mit
Team4761/2016-Robot-Code
a162003fbc555ab3aec47d29b191e8abff1c5d95
src/org/bouncycastle/asn1/LazyDERSequence.java
src/org/bouncycastle/asn1/LazyDERSequence.java
package org.bouncycastle.asn1; import java.io.IOException; import java.util.Enumeration; public class LazyDERSequence extends DERSequence { private byte[] encoded; private boolean parsed = false; private int size = -1; LazyDERSequence( byte[] encoded) throws IOException { ...
package org.bouncycastle.asn1; import java.io.IOException; import java.util.Enumeration; public class LazyDERSequence extends DERSequence { private byte[] encoded; private boolean parsed = false; private int size = -1; LazyDERSequence( byte[] encoded) throws IOException { ...
Add synchronized keyword to prevent concurrency issues in lazy parsing
[BJA-271] Add synchronized keyword to prevent concurrency issues in lazy parsing
Java
mit
sake/bouncycastle-java
f0ed1ae3e6e00cff110aa4d4dc60de08317ddbaa
TabbyChat-API/src/main/java/mnm/mods/tabbychat/api/gui/IGui.java
TabbyChat-API/src/main/java/mnm/mods/tabbychat/api/gui/IGui.java
package mnm.mods.tabbychat.api.gui; import mnm.mods.util.gui.GuiComponent; interface IGui<Gui extends GuiComponent> { /** * Gets this gui as its underlying gui type. Convenience method for casting * to Gui. Implementation should return this. * * <pre> * &#64;Override * public GuiCom...
package mnm.mods.tabbychat.api.gui; import java.awt.Rectangle; import mnm.mods.util.gui.GuiComponent; public interface IGui<Gui extends GuiComponent> { /** * Gets this gui as its underlying gui type. Convenience method for casting * to Gui. Implementation should return this. * * <pre> *...
Add an api hook for gui bounds and scale.
Add an api hook for gui bounds and scale.
Java
apache-2.0
killjoy1221/TabbyChat-2
5a6fd2eb438daa1c821f970e9708d8ff5dd10115
src/main/java/com/simplyian/easydb/EasyDBPlugin.java
src/main/java/com/simplyian/easydb/EasyDBPlugin.java
package com.simplyian.easydb; import com.simplyian.easydb.command.DBReloadCommand; import org.bukkit.plugin.java.JavaPlugin; /** * EasyDBPlugin Main class. */ public class EasyDBPlugin extends JavaPlugin { private Database db; @Override public void onEnable() { reloadDb(); getCommand("...
package com.simplyian.easydb; import com.simplyian.easydb.command.DBReloadCommand; import org.bukkit.plugin.java.JavaPlugin; /** * EasyDBPlugin Main class. */ public class EasyDBPlugin extends JavaPlugin { private Database db; @Override public void onEnable() { // Make sure the config has been ...
Save the default plugin configuration.
Save the default plugin configuration. Signed-off-by: Ian Macalinao <08370e385f4778cad8fe504ec5445edd3d45bd9a@gmail.com>
Java
mit
simplyianm/easydb
41b3913f48846ece823db5cde9a193bc3bce465b
src/com/namelessmc/NamelessAPI/Notification.java
src/com/namelessmc/NamelessAPI/Notification.java
package com.namelessmc.NamelessAPI; public class Notification { private String message; private String url; private NotificationType type; public Notification(String message, String url, NotificationType type) { this.message = message; this.url = url; this.type = type; } public String getMessage() { ...
package com.namelessmc.NamelessAPI; public class Notification { private final String message; private final String url; private final NotificationType type; public Notification(final String message, final String url, final NotificationType type) { this.message = message; this.url = url; this.type = type; ...
Add fallback "UNKNOWN" notification type
Add fallback "UNKNOWN" notification type
Java
mit
NamelessMC/Nameless-Plugin-API,NamelessMC/Nameless-Java-API
815ef75aa72e0af0998f27663ddb6c38d6afc5ba
junit5-gradle-consumer/src/test/java/com/example/project/NestedTest.java
junit5-gradle-consumer/src/test/java/com/example/project/NestedTest.java
/* * Copyright 2015-2017 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
/* * Copyright 2015-2017 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
Remove "test" prefix from test methods for consistency
Remove "test" prefix from test methods for consistency Fixes #19.
Java
epl-1.0
marcphilipp/junit5-samples,marcphilipp/junit5-samples
ba1d5e17755f5cb621d955d16745e877b00a803d
LMSGrabber/src/main/java/rpi/lmsgrabber/App.java
LMSGrabber/src/main/java/rpi/lmsgrabber/App.java
package rpi.lmsgrabber; import java.io.IOException; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import...
package rpi.lmsgrabber; import java.io.IOException; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import...
Set window title in application
Set window title in application
Java
mit
robinm8/LMSGrabber,LMSGrabber/LMSGrabber
8ec9b3d2df3b68c96eeb18917bc62758aba6add2
src/info/tregmine/commands/BlockHereCommand.java
src/info/tregmine/commands/BlockHereCommand.java
package info.tregmine.commands; import org.bukkit.block.Block; import org.bukkit.Location; import org.bukkit.Material; import info.tregmine.Tregmine; import info.tregmine.api.TregminePlayer; public class BlockHereCommand extends AbstractCommand { public BlockHereCommand(Tregmine tregmine) { super(treg...
package info.tregmine.commands; import org.bukkit.block.Block; import org.bukkit.Material; import info.tregmine.Tregmine; import info.tregmine.api.TregminePlayer; public class BlockHereCommand extends AbstractCommand { public BlockHereCommand(Tregmine tregmine) { super(tregmine, "blockhere"); } ...
Revert "Modified /blockghere so it places block beneath player"
Revert "Modified /blockghere so it places block beneath player" This reverts commit cecd55798926768236464c8782071cbd253f848a.
Java
bsd-3-clause
Clunker5/tregmine-2.0,Clunker5/tregmine-2.0,EmilHernvall/tregmine,EmilHernvall/tregmine,EmilHernvall/tregmine
96b554bcf2409c179a17f250aa5b95f2af0bbcf0
src/edu/northwestern/bioinformatics/studycalendar/utils/accesscontrol/StudyCalendarProtectionGroup.java
src/edu/northwestern/bioinformatics/studycalendar/utils/accesscontrol/StudyCalendarProtectionGroup.java
package edu.northwestern.bioinformatics.studycalendar.utils.accesscontrol; /** * @author Rhett Sutphin */ public enum StudyCalendarProtectionGroup { BASE("BaseAccess"), STUDY_COORDINATOR("CreateStudyAccess"), // Note that this is the spelling (missing 'e') in the protection group // TODO: change to A...
package edu.northwestern.bioinformatics.studycalendar.utils.accesscontrol; /** * @author Rhett Sutphin */ public enum StudyCalendarProtectionGroup { BASE("BaseAccess"), STUDY_COORDINATOR("CreateStudyAccess"), STUDY_ADMINISTRATOR("AdministrativeAccess"), PARTICIPANT_COORDINATOR("ParticipantAssignmentA...
Update group name for STUDY_ADMINISTRATOR to match Padmaja's change
Update group name for STUDY_ADMINISTRATOR to match Padmaja's change git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@727 0d517254-b314-0410-acde-c619094fa49f
Java
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
54b40940ddc4af732d7d0d2b931083b58f59caa8
src/main/java/city/Request.java
src/main/java/city/Request.java
package city; import java.io.Serializable; /** * Created by jherez on 6/11/16. */ public class Request implements Serializable{ public Intersection origin; public DropoffPoint destination; public Request(Intersection origin, DropoffPoint destination) { this.origin = origin; this.destina...
package city; import java.io.Serializable; /** * Created by jherez on 6/11/16. */ public class Request implements Serializable { public Intersection origin; public DropoffPoint destination; public int passengerID; public Request(Intersection origin, DropoffPoint destination, int passengerID) { ...
Fix request class to serializable
Fix request class to serializable
Java
mit
Taxi-Coordinator/agent-simulation
fa1953b4f475c7a23fb99def73aef6b4059d4f54
src/jmh/java/org/apache/poi/benchmark/suite/TestBenchmarks.java
src/jmh/java/org/apache/poi/benchmark/suite/TestBenchmarks.java
package org.apache.poi.benchmark.suite; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.Setup; import java.io.IOException; public class TestBenchmarks extends BaseBenchmark { @Setup public void setUp() throws IOException { compileAll(); } @Benchmark publi...
package org.apache.poi.benchmark.suite; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.Setup; import java.io.IOException; public class TestBenchmarks extends BaseBenchmark { @Setup public void setUp() throws IOException { compileAll(); } @Benchmark publi...
Enable integration-test to start investigating why it fails
Enable integration-test to start investigating why it fails
Java
apache-2.0
centic9/poi-benchmark,centic9/poi-benchmark,centic9/poi-benchmark
1d270f1da026f05ee87a514894df2eb1d44e5abf
src/main/java/com/mailjet/client/transactional/SendContact.java
src/main/java/com/mailjet/client/transactional/SendContact.java
package com.mailjet.client.transactional; public class SendContact { /** * Represents an object with email and name (optional) that can be used as To, Cc, Bcc, From etc * @param email email address * @param name the display name of the person (Will be displayed in email like {@code NAME <EMAIL>} ...
package com.mailjet.client.transactional; import lombok.EqualsAndHashCode; @EqualsAndHashCode public class SendContact { /** * Represents an object with email and name (optional) that can be used as To, Cc, Bcc, From etc * @param email email address * @param name the display name of the person (Wil...
Add equals to sendContact object
Add equals to sendContact object
Java
mit
mailjet/mailjet-apiv3-java
7c5757dda96ec65a594f484590643509ba1c1407
richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java
richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java
package org.fxmisc.richtext.keyboard.navigation; import javafx.stage.Stage; import org.fxmisc.richtext.InlineCssTextAreaAppTest; import org.junit.Rule; import org.junit.Test; import org.junit.rules.Timeout; import static javafx.scene.input.KeyCode.DOWN; import static javafx.scene.input.KeyCode.UP; import static org.j...
package org.fxmisc.richtext.keyboard.navigation; import javafx.stage.Stage; import org.fxmisc.richtext.InlineCssTextAreaAppTest; import org.junit.Rule; import org.junit.Test; import org.junit.rules.Timeout; import static javafx.scene.input.KeyCode.DOWN; import static javafx.scene.input.KeyCode.UP; import static org.j...
Use different approach to determine line index of caret
Use different approach to determine line index of caret
Java
bsd-2-clause
JordanMartinez/RichTextFX,TomasMikula/RichTextFX,FXMisc/RichTextFX,JFormDesigner/RichTextFX,JordanMartinez/RichTextFX,TomasMikula/RichTextFX,JFormDesigner/RichTextFX,afester/RichTextFX,FXMisc/RichTextFX,afester/RichTextFX
4a4a8e0b6012e37d04f5fc96cebc576ff748399d
src/main/java/eu/euregjug/site/events/RegistrationRepository.java
src/main/java/eu/euregjug/site/events/RegistrationRepository.java
/* * Copyright 2015 EuregJUG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2015 EuregJUG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Fix loading of posts (lob) (again)
Fix loading of posts (lob) (again)
Java
apache-2.0
EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site
4f3ac8b211b32dbb0d3025c178749f9689f853d6
src/org/biojava/bio/seq/SimpleSequenceFactory.java
src/org/biojava/bio/seq/SimpleSequenceFactory.java
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
Add a property to set the FeatureRealizer used by created sequences.
Add a property to set the FeatureRealizer used by created sequences. git-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@781 7c6358e6-4a41-0410-a743-a5b2a554c398
Java
lgpl-2.1
sbliven/biojava,sbliven/biojava,sbliven/biojava
497555b36cd9862e77444229493bac53271d3d7f
subprojects/logging/src/test/groovy/org/gradle/internal/featurelifecycle/SimulatedDeprecationMessageLogger.java
subprojects/logging/src/test/groovy/org/gradle/internal/featurelifecycle/SimulatedDeprecationMessageLogger.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...
Fix unit test for DeprecationLogger
Fix unit test for DeprecationLogger #689 +review REVIEW-6216
Java
apache-2.0
robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,lsmair...
9a1062675f58ed4b2e55e8fdc2337a35f1029bc4
test/sqlancer/TestMain.java
test/sqlancer/TestMain.java
package sqlancer; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; public class TestMain { private static final String NUM_QUERIES = "1000"; private static final String SECONDS = "30"; @Test public void testSQLite() { // do not check the result...
package sqlancer; public class TestMain { }
Remove the smoke tests, since they seem to occasionally trigger bugs in the DBMS
Remove the smoke tests, since they seem to occasionally trigger bugs in the DBMS
Java
mit
sqlancer/sqlancer,sqlancer/sqlancer
6f16c3183b668e529b3c66832a7d56c4ded49599
client/src/main/super/replicant/super/replicant/FilterUtil.java
client/src/main/super/replicant/super/replicant/FilterUtil.java
package replicant; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsonUtils; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * FilterUtil as replaced by GWT compiler. */ public final class FilterUtil { public static boolean fi...
package replicant; import elemental2.core.Global; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * FilterUtil as replaced by GWT compiler. */ public final class FilterUtil { public static boolean filtersEqual( @Nullable final Object fitler1, @Nullable final Object...
Move to Elemental2 for JSON utils
Move to Elemental2 for JSON utils
Java
apache-2.0
realityforge/replicant,realityforge/replicant
203806813b876bf0824ebc8267c74edd33e4f94a
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/host/HostDeviceModelTable.java
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/host/HostDeviceModelTable.java
package org.ovirt.engine.ui.webadmin.section.main.view.tab.host; import org.ovirt.engine.core.common.businessentities.HostDeviceView; import org.ovirt.engine.ui.common.system.ClientStorage; import org.ovirt.engine.ui.common.uicommon.model.SearchableTableModelProvider; import org.ovirt.engine.ui.common.widget.uicommon....
package org.ovirt.engine.ui.webadmin.section.main.view.tab.host; import org.ovirt.engine.core.common.businessentities.HostDeviceView; import org.ovirt.engine.ui.common.system.ClientStorage; import org.ovirt.engine.ui.common.uicommon.model.SearchableTableModelProvider; import org.ovirt.engine.ui.common.widget.uicommon....
Remove host device table repeated column.
webadmin: Remove host device table repeated column. Fix Bug #9493. Remove host device table repeated column result from Host Device Filter. Signed-off-by: wxt <c9605f97150d9d79b5b5f5ac50b5b2762db512c6@gmail.com>
Java
apache-2.0
eayun/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-en...
9c7b2e8d828174b07fae6a2b82106a71ff8beecc
src/test/java/rxbroadcast/SenderTest.java
src/test/java/rxbroadcast/SenderTest.java
package rxbroadcast; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.Assert; import org.junit.Test; public final class SenderTest { @Test public final void equalsContract() { EqualsVerifier.forClass(Sender.class).verify(); } @Test public final void testCompareToSimple1() { ...
package rxbroadcast; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.Assert; import org.junit.Test; public final class SenderTest { @Test public final void equalsContract() { EqualsVerifier.forClass(Sender.class).verify(); } @Test public final void testCompareToSimple1() { ...
Replace assertTrue(x == y) with assertEquals(x, y)
Replace assertTrue(x == y) with assertEquals(x, y)
Java
isc
RxBroadcast/RxBroadcast,RxBroadcast/RxBroadcast,RxBroadcast/RxBroadcast,whymarrh/RxBroadcast,RxBroadcast/RxBroadcast,whymarrh/RxBroadcast
32c02883b6893ce34ca13f93d2b4f28ab4014553
multiuser/keycloak/che-multiuser-keycloak-server/src/main/java/org/eclipse/che/multiuser/keycloak/server/deploy/KeycloakServletModule.java
multiuser/keycloak/che-multiuser-keycloak-server/src/main/java/org/eclipse/che/multiuser/keycloak/server/deploy/KeycloakServletModule.java
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
Remove '/ws' and '/websocket' parts from KeycloakAuthenticationFilter binding
Remove '/ws' and '/websocket' parts from KeycloakAuthenticationFilter binding
Java
epl-1.0
davidfestal/che,davidfestal/che,davidfestal/che,akervern/che,sleshchenko/che,davidfestal/che,codenvy/che,akervern/che,sleshchenko/che,davidfestal/che,davidfestal/che,sleshchenko/che,codenvy/che,sleshchenko/che,sleshchenko/che,davidfestal/che,codenvy/che,codenvy/che,davidfestal/che,sleshchenko/che,akervern/che,sleshchen...
01ae7bec477e882224c9d64c0fadcca01973fd5c
net.tascalate.javaflow.tools.cdi-javaagent/src/main/java/org/apache/commons/javaflow/instrumentation/cdi/AroundWeldProxyInvocationAdvice.java
net.tascalate.javaflow.tools.cdi-javaagent/src/main/java/org/apache/commons/javaflow/instrumentation/cdi/AroundWeldProxyInvocationAdvice.java
/** * Copyright 2013-2017 Valery Silaev (http://vsilaev.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/** * Copyright 2013-2017 Valery Silaev (http://vsilaev.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Remove dependencies to API from tools (ant, maven, javaflow agent, cdi agent)
Remove dependencies to API from tools (ant, maven, javaflow agent, cdi agent)
Java
apache-2.0
vsilaev/tascalate-javaflow,vsilaev/java-continuations
fe39d2bd66f368cd23bf2b09da4809a4241b36da
src/main/java/co/omise/models/schedules/TransferScheduling.java
src/main/java/co/omise/models/schedules/TransferScheduling.java
package co.omise.models.schedules; import com.fasterxml.jackson.annotation.JsonProperty; public class TransferScheduling { private String recipient; private long amount; private String currency; @JsonProperty("percentage_of_balance") private float percentageOfBalance; public String getRecipie...
package co.omise.models.schedules; import com.fasterxml.jackson.annotation.JsonProperty; public class TransferScheduling { private String recipient; private long amount; @JsonProperty("percentage_of_balance") private float percentageOfBalance; public String getRecipient() { return recipie...
Remove extraneous currency field from transfer schedules.
Remove extraneous currency field from transfer schedules.
Java
mit
omise/omise-java
aa10f9b91b07eb61f842023a2bfbbcde2d0fd7de
app/src/main/java/fr/utc/assos/uvweb/ui/activity/UvActivity.java
app/src/main/java/fr/utc/assos/uvweb/ui/activity/UvActivity.java
package fr.utc.assos.uvweb.ui.activity; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.view.MenuItem; import android.widget.TextView; import fr.utc.assos.uvweb.R; import fr.utc.assos.uvweb.model.UvListItem; import fr.utc.assos.uvweb.ui.fragment.UvFragment; public class UvActivity ex...
package fr.utc.assos.uvweb.ui.activity; import android.os.Bundle; import android.widget.TextView; import fr.utc.assos.uvweb.R; import fr.utc.assos.uvweb.model.UvListItem; import fr.utc.assos.uvweb.ui.fragment.UvFragment; public class UvActivity extends ToolbarActivity { public static final String ARG_UV = "arg_u...
Remove useless code for up navigation
Remove useless code for up navigation
Java
apache-2.0
uvweb/UVwebForAndroid,uvweb/UVwebForAndroid
25761b554b6d3bcba5461de657550fda8cd1fd12
KnightsOfAlentejoAndroid-AS/app/src/main/java/br/odb/menu/ShowOutcomeActivity.java
KnightsOfAlentejoAndroid-AS/app/src/main/java/br/odb/menu/ShowOutcomeActivity.java
package br.odb.menu; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import br.odb.knights.R; public class ShowOutcomeActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentV...
package br.odb.menu; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.widget.TextView; import br.odb.knights.R; public class ShowOutcomeActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
Use medieval font to the outcome text
Use medieval font to the outcome text
Java
bsd-2-clause
TheFakeMontyOnTheRun/knightsofalentejo,TheFakeMontyOnTheRun/knightsofalentejo,TheFakeMontyOnTheRun/knightsofalentejo
20d974233f25c450097416d9d8d853c20864fded
src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java
src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java
/** * Narvaro: @VERSION@ * Build Date: @DATE@ * Commit Head: @HEAD@ * JDK: @JDK@ * ANT: @ANT@ * */ package edu.csus.ecs.moneybeets.narvaro.database; /** * Narvaro supported database types. * */ public enum DatabaseType { sqlserver, mysql, ; }
/** * Narvaro: @VERSION@ * Build Date: @DATE@ * Commit Head: @HEAD@ * JDK: @JDK@ * ANT: @ANT@ * */ package edu.csus.ecs.moneybeets.narvaro.database; import java.util.zip.DataFormatException; /** * Narvaro supported database types. * */ public enum DatabaseType { sqlserver("SQL Server"), mysql...
Add database server names and fromString() method
Add database server names and fromString() method
Java
apache-2.0
MoneyBeets/Narvaro,SnakeDoc/Narvaro,SnakeDoc/Narvaro,MoneyBeets/Narvaro,SnakeDoc/Narvaro,MoneyBeets/Narvaro
af59d696dbfbb88e08c9feabef5544325e4acae4
src/main/java/mcjty/rftools/blocks/screens/modules/ScreenModuleHelper.java
src/main/java/mcjty/rftools/blocks/screens/modules/ScreenModuleHelper.java
package mcjty.rftools.blocks.screens.modules; public class ScreenModuleHelper { private boolean showdiff = false; private long prevMillis = 0; private long prevContents = 0; public Object[] getContentsValue(long millis, long contents, long maxContents) { if (showdiff) { if (prevMil...
package mcjty.rftools.blocks.screens.modules; public class ScreenModuleHelper { private boolean showdiff = false; private long prevMillis = 0; private long prevContents = 0; private long lastPerTick = 0; public Object[] getContentsValue(long millis, long contents, long maxContents) { if (s...
Fix a bug where multiple people looking at the same RF/t energy module in a screen would not see the same thing.
Fix a bug where multiple people looking at the same RF/t energy module in a screen would not see the same thing.
Java
mit
Elecs-Mods/RFTools,ReneMuetti/RFTools,McJty/RFTools
b28f47f58f04c2e6afa29709c6261320194d48d7
src/test/java/com/apperian/api/applications/ApplicationsTest.java
src/test/java/com/apperian/api/applications/ApplicationsTest.java
package com.apperian.api.applications; import static org.junit.Assume.assumeTrue; import java.util.List; import com.apperian.api.ApiTesting; import com.apperian.api.ApperianApi; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class ApplicationsTest { @Before public void bef...
package com.apperian.api.applications; import static org.junit.Assume.assumeTrue; import java.util.List; import com.apperian.api.ApiTesting; import com.apperian.api.ApperianApi; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class ApplicationsTest { @Before public void bef...
Add a test for the get/apply policies endpoint
APP-19035: Add a test for the get/apply policies endpoint
Java
mit
jenkinsci/ease-plugin,apperian/EASEJenkinsPlugin,apperian/EASEJenkinsPlugin,jenkinsci/ease-plugin,apperian/EASEJenkinsPlugin,jenkinsci/ease-plugin
90a8ac9d753e577227d37f693089b43fca58a012
src/main/java/com/kolinkrewinkel/BitLimitTweaks/BitLimitTweaksListener.java
src/main/java/com/kolinkrewinkel/BitLimitTweaks/BitLimitTweaksListener.java
package com.kolinkrewinkel.BitLimitTweaks; import org.bukkit.plugin.Plugin; import java.util.*; public class BitLimitTweaksListener implements Listener { private final BitLimitTweaks plugin; // Reference main plugin /****************************************** Initialization: BitLimitTweaksListener(pl...
package com.kolinkrewinkel.BitLimitTweaks; import org.bukkit.plugin.Plugin; import java.util.*; public class BitLimitTweaksListener implements Listener { private final BitLimitTweaks plugin; // Reference main plugin /****************************************** Initialization: BitLimitTweaksListener(pl...
Add basic event listeners and humidity logging.. does not compile as a result of missing imports
Add basic event listeners and humidity logging.. does not compile as a result of missing imports
Java
mit
BitLimit/Tweaks
9542da39d34edb5ac8706333a581f8eab0c2e7d3
src/main/java/com/samovich/basics/concepts/strings/treehouse/TreeStory.java
src/main/java/com/samovich/basics/concepts/strings/treehouse/TreeStory.java
/** * @file TreeStory.java * @author Valery Samovich * @version 1 * @date 2015/05/11 */ package com.samovich.basics.concepts.strings.treehouse; import java.io.Console; import java.util.Scanner; public class TreeStory { public static void main(String[] args) { // Console console = System.console();...
/** * @file TreeStory.java * @author Valery Samovich * @version 1 * @date 2015/05/11 */ package com.samovich.basics.concepts.strings.treehouse; import java.io.Console; import java.util.Scanner; public class TreeStory { public static void main(String[] args) { // Console console = System.console();...
Update Multiple Strings Example for Console and Scanner prototype
Update Multiple Strings Example for Console and Scanner prototype
Java
unknown
vsamov/java-technologies,vsamov/java-technologies,valerysamovich/java-technologies
4ae94525d11911b1b2316eb90e6a53da1cd43aa3
src/main/java/org/pitest/cucumber/CucumberJUnitCompatibleConfiguration.java
src/main/java/org/pitest/cucumber/CucumberJUnitCompatibleConfiguration.java
package org.pitest.cucumber; import org.pitest.junit.CompoundTestUnitFinder; import org.pitest.junit.JUnitCompatibleConfiguration; import org.pitest.testapi.TestGroupConfig; import org.pitest.testapi.TestUnitFinder; import java.util.List; import static java.util.Arrays.asList; public class CucumberJUnitCompatibleC...
package org.pitest.cucumber; import org.pitest.junit.CompoundTestUnitFinder; import org.pitest.junit.JUnitCompatibleConfiguration; import org.pitest.testapi.TestGroupConfig; import org.pitest.testapi.TestUnitFinder; import org.pitest.util.Log; import java.util.List; import static java.util.Arrays.asList; public cl...
Fix bug when cucumber not used
Fix bug when cucumber not used
Java
apache-2.0
alexvictoor/pitest-cucumber-plugin
797619c24f663ca0e916e173feabd04537d80262
src/main/java/fi/csc/microarray/messaging/message/UrlMessage.java
src/main/java/fi/csc/microarray/messaging/message/UrlMessage.java
package fi.csc.microarray.messaging.message; import java.net.MalformedURLException; import java.net.URL; import javax.jms.JMSException; import javax.jms.MapMessage; public class UrlMessage extends ChipsterMessage { private final static String KEY_URL = "url"; private URL url; public UrlMessage() { super(...
package fi.csc.microarray.messaging.message; import java.net.MalformedURLException; import java.net.URL; import javax.jms.JMSException; import javax.jms.MapMessage; public class UrlMessage extends ChipsterMessage { private final static String KEY_URL = "url"; private URL url; public UrlMessage() { super(...
Fix filebroker response when the file wasn't found
Fix filebroker response when the file wasn't found
Java
mit
chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster
43d5d261a230496005274575fb26017248326b63
webtests/net/hillsdon/reviki/webtests/TestMisc.java
webtests/net/hillsdon/reviki/webtests/TestMisc.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...
Make test cover header/footer too.
Make test cover header/footer too.
Java
apache-2.0
ashirley/reviki,strr/reviki,strr/reviki,paulcadman/reviki,paulcadman/reviki,ashirley/reviki,strr/reviki,strr/reviki,ashirley/reviki,CoreFiling/reviki,CoreFiling/reviki,ashirley/reviki,ashirley/reviki,CoreFiling/reviki,paulcadman/reviki,strr/reviki,CoreFiling/reviki,CoreFiling/reviki,paulcadman/reviki
45cc1c817e4c6707650368e5e33f532b46483f36
src/main/java/no/cantara/ratpack/freemarker/FreemarkerModel.java
src/main/java/no/cantara/ratpack/freemarker/FreemarkerModel.java
package no.cantara.ratpack.freemarker; import java.util.HashMap; public class FreemarkerModel extends HashMap<String, Object> { private final String template; public FreemarkerModel(String template) { this.template = template; } public FreemarkerModel(String template, HashMap<String, Object>...
package no.cantara.ratpack.freemarker; import java.util.HashMap; import java.util.Map; public class FreemarkerModel extends HashMap<String, Object> { private final String template; public FreemarkerModel(String template) { this.template = template; } public FreemarkerModel(String template, M...
Use Map parameter type rather than Hashmap.
Use Map parameter type rather than Hashmap.
Java
apache-2.0
Cantara/ratpack-freemarker
4114e01af5369b09432672c5036159a4f6133d5c
library/src/test/java/com/novoda/downloadmanager/FilePersistenceFixtures.java
library/src/test/java/com/novoda/downloadmanager/FilePersistenceFixtures.java
package com.novoda.downloadmanager; import android.content.Context; class FilePersistenceFixtures { private FilePersistenceResult filePersistenceResult = FilePersistenceResult.SUCCESS; private boolean writeResult = true; private long currentSize = 100; private FilePersistenceType filePersistenceType ...
package com.novoda.downloadmanager; import android.content.Context; class FilePersistenceFixtures { private FilePersistenceResult filePersistenceResult = FilePersistenceResult.SUCCESS; private boolean writeResult = true; private long currentSize = 100; static FilePersistenceFixtures aFilePersistence...
Remove persistence type from fixtures.
Remove persistence type from fixtures.
Java
apache-2.0
novoda/download-manager
b8205327c36c6a9c769b521f3abb65520e316cf3
timesense/src/main/java/com/gwk/timesense/listener/TSListener.java
timesense/src/main/java/com/gwk/timesense/listener/TSListener.java
package com.gwk.timesense.listener; import com.gwk.timesense.rule.TSRule; import java.util.ArrayList; /*** * Listener object for TimeSense. * * @author Anselmus KA Kurniawan * @version 0.1 */ public interface TSListener { public void timeSenseTriggered(ArrayList<TSRule> rules); }
package com.gwk.timesense.listener; import com.gwk.timesense.rule.TSRule; import java.util.ArrayList; /*** * Listener object for TimeSense. * * @author Anselmus KA Kurniawan * @version 0.1 */ public interface TSListener { public void timeSenseTriggered(); public void timeSenseTriggered(String ruleName)...
Add generic callback to listener
Add generic callback to listener
Java
mit
archansel/TimeSense
8af8ee8ca574318a4102c6a19fff81f961321aba
org.spoofax.terms/src/org/spoofax/interpreter/terms/ITermPrinter.java
org.spoofax.terms/src/org/spoofax/interpreter/terms/ITermPrinter.java
package org.spoofax.interpreter.terms; public interface ITermPrinter { public String getString(); public void print(String string); public void println(String string, boolean b); public void indent(int i); public void nextIndentOff(); public void println(String string); public void outdent(int i); }
package org.spoofax.interpreter.terms; import java.io.IOException; public interface ITermPrinter extends Appendable { public String getString(); public void print(String string); public void println(String string, boolean b); public void indent(int i); public void nextIndentOff(); public void println(Stri...
Make TermPrinter Appendable for code sharing between two legacy methods in IStrategoTerm
Make TermPrinter Appendable for code sharing between two legacy methods in IStrategoTerm
Java
apache-2.0
metaborg/mb-rep,metaborg/mb-rep
ed8a765d3c4f9b071b686a0bb8d305a46f8720c1
config-provisioning/src/main/java/com/yahoo/config/provisioning/package-info.java
config-provisioning/src/main/java/com/yahoo/config/provisioning/package-info.java
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. @ExportPackage @PublicApi package com.yahoo.config.provisioning; import com.yahoo.api.annotations.PublicApi; import com.yahoo.osgi.annotation.ExportPackage;
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. @ExportPackage package com.yahoo.config.provisioning; import com.yahoo.osgi.annotation.ExportPackage;
Remove public api for now
Remove public api for now
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
5e737f807dd465b6837767a8550e8747e04b46cb
backend/src/main/java/awesomefb/DatabaseManager.java
backend/src/main/java/awesomefb/DatabaseManager.java
package awesomefb; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.MongoClient; import java.net.UnknownHostException; /** * Created by earl on 5/25/2015. */ public class DatabaseManager { private static DatabaseManager instance = null; private DB database; private DBCollectio...
package awesomefb; import com.mongodb.*; import java.net.UnknownHostException; /** * Created by earl on 5/25/2015. */ public class DatabaseManager { private static DatabaseManager instance = null; private DB database; private DBCollection postsCollection; private DBCollection usersCollection; ...
Insert user only if not exists
Insert user only if not exists
Java
mit
earlwlkr/awesomeFb,earlwlkr/awesomeFb,earlwlkr/awesomeFb
fbd6d2a7eb11bcad1638cd396a73e98f1717255f
junit-jupiter-migration-support/src/main/java/org/junit/jupiter/migrationsupport/rules/member/RuleAnnotatedField.java
junit-jupiter-migration-support/src/main/java/org/junit/jupiter/migrationsupport/rules/member/RuleAnnotatedField.java
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
Throw IllegalAccessException like in RuleAnnotatedMethod
Throw IllegalAccessException like in RuleAnnotatedMethod
Java
epl-1.0
junit-team/junit-lambda,sbrannen/junit-lambda
3e47b187bc3db3b62eca3a37e658c0e50ec0a739
src/main/java/edu/northwestern/bioinformatics/studycalendar/domain/Named.java
src/main/java/edu/northwestern/bioinformatics/studycalendar/domain/Named.java
package edu.northwestern.bioinformatics.studycalendar.domain; /** * @author Rhett Sutphin */ public interface Named { String getName(); void setName(String name); }
package edu.northwestern.bioinformatics.studycalendar.domain; /** * @author Rhett Sutphin * @see edu.northwestern.bioinformatics.studycalendar.utils.NamedComparator */ public interface Named { /** * Get the name for this instance, either set explicitly or computed. * @return */ String getName...
Add javadoc, particularly for the fact that the setName operation is optional
Add javadoc, particularly for the fact that the setName operation is optional git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1772 0d517254-b314-0410-acde-c619094fa49f
Java
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
d28127a9c2b793b8ed2bbfdc436dd98fc2ee5781
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/lang/XQuery.java
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/lang/XQuery.java
/* * Copyright (C) 2016 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2016 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Use the base Language.getMimeTypes implementation.
Use the base Language.getMimeTypes implementation.
Java
apache-2.0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
2187b149f96542c898eeefaad74fe6cb41bd31c9
sample-app/src/main/java/org/example/shelf/controller/SecureDocController.java
sample-app/src/main/java/org/example/shelf/controller/SecureDocController.java
package org.example.shelf.controller; import org.hildan.livedoc.core.annotations.auth.ApiAuthBasic; import org.hildan.livedoc.core.annotations.auth.ApiAuthBasicUser; import org.hildan.livedoc.springmvc.controller.JsonLivedocController; import org.springframework.stereotype.Controller; import org.springframework.web.bi...
package org.example.shelf.controller; import org.hildan.livedoc.core.annotations.ApiResponseBodyType; import org.hildan.livedoc.core.annotations.auth.ApiAuthBasic; import org.hildan.livedoc.core.annotations.auth.ApiAuthBasicUser; import org.hildan.livedoc.core.model.doc.Livedoc; import org.hildan.livedoc.springmvc.con...
Fix return type of fowarded secure livedoc handler in Sample App
Fix return type of fowarded secure livedoc handler in Sample App
Java
mit
joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc,joffrey-bion/livedoc
798f5eca44787e6ec43ad0dad5bbb2635bdabf56
src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/FireballSpell.java
src/main/java/com/elmakers/mine/bukkit/plugins/magic/spells/FireballSpell.java
package com.elmakers.mine.bukkit.plugins.magic.spells; import org.bukkit.entity.Fireball; import com.elmakers.mine.bukkit.plugins.magic.Spell; import com.elmakers.mine.bukkit.utilities.borrowed.ConfigurationNode; public class FireballSpell extends Spell { int defaultSize = 1; @Override public boolean onC...
package com.elmakers.mine.bukkit.plugins.magic.spells; import org.bukkit.entity.Fireball; import com.elmakers.mine.bukkit.plugins.magic.Spell; import com.elmakers.mine.bukkit.utilities.borrowed.ConfigurationNode; public class FireballSpell extends Spell { int defaultSize = 1; @Override public boolean onC...
Fix ICBM spell (e.g. fix Fireball spell parameters)
Fix ICBM spell (e.g. fix Fireball spell parameters)
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
1b0e65abb057589f569fe62be7ea1179add25f61
log/src/main/java/com/proofpoint/log/LogJmxModule.java
log/src/main/java/com/proofpoint/log/LogJmxModule.java
/* * Copyright 2010 Proofpoint, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2010 Proofpoint, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Add missing binding for Logging
Add missing binding for Logging
Java
apache-2.0
proofpoint/platform,gwittel/platform,gwittel/platform,johngmyers/platform,gwittel/platform,johngmyers/platform,proofpoint/platform,johngmyers/platform,proofpoint/platform
66a70eca85eb72c30e56eb7a17d0a45de5995e4f
app/src/main/java/com/ruigoncalo/marvin/ui/ImageLoaderManager.java
app/src/main/java/com/ruigoncalo/marvin/ui/ImageLoaderManager.java
package com.ruigoncalo.marvin.ui; import android.content.Context; import android.widget.ImageView; import com.squareup.picasso.Picasso; /** * ImageLoaderManager that wraps up an image loader lib * * Currently using picasso * * Created by ruigoncalo on 20/04/16. */ public class ImageLoaderManager { private...
package com.ruigoncalo.marvin.ui; import android.content.Context; import android.widget.ImageView; import com.ruigoncalo.marvin.model.raw.Thumbnail; import com.squareup.picasso.Picasso; /** * ImageLoaderManager that wraps up an image loader lib * * Currently using picasso * * Created by ruigoncalo on 20/04/16. ...
Create static method to build images path on ImageLoader
Create static method to build images path on ImageLoader
Java
apache-2.0
ruigoncalo/marvin
d3db34fd3d2becdf252baff22950c34457af6754
ethereumj-core/src/main/java/org/ethereum/config/blockchain/FrontierConfig.java
ethereumj-core/src/main/java/org/ethereum/config/blockchain/FrontierConfig.java
package org.ethereum.config.blockchain; import org.ethereum.config.Constants; import java.math.BigInteger; /** * Created by Anton Nashatyrev on 25.02.2016. */ public class FrontierConfig extends OlympicConfig { public static class FrontierConstants extends Constants { private static final BigInteger B...
package org.ethereum.config.blockchain; import org.ethereum.config.Constants; import java.math.BigInteger; /** * Created by Anton Nashatyrev on 25.02.2016. */ public class FrontierConfig extends OlympicConfig { public static class FrontierConstants extends Constants { private static final BigInteger B...
Correct MIN_GAS_LIMIT for Frontier config
Correct MIN_GAS_LIMIT for Frontier config
Java
mit
loxal/ethereumj,loxal/FreeEthereum,loxal/FreeEthereum,caxqueiroz/ethereumj,loxal/FreeEthereum,chengtalent/ethereumj
cc1adb8ea01227cf683eb679e61a10108e3f3d1c
core/src/java/org/apache/solr/core/StandardIndexReaderFactory.java
core/src/java/org/apache/solr/core/StandardIndexReaderFactory.java
package org.apache.solr.core; /** * 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...
package org.apache.solr.core; /** * 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...
Fix Javadoc warnings, still missing some text for new classes
LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes git-svn-id: 91ee4cdcf3981427d300d1134dd1ee7af9ec73f6@1238026 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
4c4610bf6e70a071b1a07ebc15308a9923da1a24
android/src/com/mapswithme/maps/bookmarks/BookmarkListActivity.java
android/src/com/mapswithme/maps/bookmarks/BookmarkListActivity.java
package com.mapswithme.maps.bookmarks; import android.os.Bundle; import android.support.v7.widget.Toolbar; import com.mapswithme.maps.R; import com.mapswithme.maps.base.BaseMwmFragmentActivity; import com.mapswithme.util.UiUtils; public class BookmarkListActivity extends BaseMwmFragmentActivity { @Override prote...
package com.mapswithme.maps.bookmarks; import android.os.Bundle; import android.support.v7.widget.Toolbar; import com.mapswithme.maps.R; import com.mapswithme.maps.base.BaseMwmFragmentActivity; import com.mapswithme.util.UiUtils; public class BookmarkListActivity extends BaseMwmFragmentActivity { @Override prote...
Fix with bookmark fragment not added.
Fix with bookmark fragment not added.
Java
apache-2.0
Zverik/omim,mapsme/omim,augmify/omim,Zverik/omim,programming086/omim,stangls/omim,darina/omim,yunikkk/omim,igrechuhin/omim,AlexanderMatveenko/omim,stangls/omim,Endika/omim,therearesomewhocallmetim/omim,vng/omim,Saicheg/omim,guard163/omim,VladiMihaylenko/omim,TimurTarasenko/omim,edl00k/omim,darina/omim,albertshift/omim,...
0115386db31faf1876915510a48ca5c0fe05f113
src/main/java/com/github/timtebeek/graphql/jpa/GraphqlJpaAutoConfiguration.java
src/main/java/com/github/timtebeek/graphql/jpa/GraphqlJpaAutoConfiguration.java
package com.github.timtebeek.graphql.jpa; import javax.persistence.EntityManager; import org.crygier.graphql.GraphQLExecutor; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuratio...
package com.github.timtebeek.graphql.jpa; import javax.persistence.EntityManager; import org.crygier.graphql.GraphQLExecutor; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentSca...
Add @ComponentScan to discover GraphQLController
Add @ComponentScan to discover GraphQLController
Java
mit
timtebeek/graphql-jpa-spring-boot-starter,timtebeek/graphql-jpa-spring-boot-starter
7346a18bbda835d70bc88c6d4e31c166fdced86c
BackendUtilities/src/main/java/gr/demokritos/iit/ydsapi/model/ComponentType.java
BackendUtilities/src/main/java/gr/demokritos/iit/ydsapi/model/ComponentType.java
package gr.demokritos.iit.ydsapi.model; import java.util.HashSet; import java.util.Set; /** * accepted component types. * * @author George K. <gkiom@iit.demokritos.gr> */ public enum ComponentType { LINE("line"), PIE("pie"), BAR("bar"), MAP("map"), GRID("grid"), RESULT("result"), RESULTSET("resultset"); ...
package gr.demokritos.iit.ydsapi.model; import java.util.HashSet; import java.util.Set; /** * accepted component types. * * @author George K. <gkiom@iit.demokritos.gr> */ public enum ComponentType { LINE("line"), SCATTER("scatter"), PIE("pie"), BAR("bar"), MAP("map"), GRID("grid"), RESULT("result"), RESULTSE...
Add support for scatter plots in Backend Utilities
Add support for scatter plots in Backend Utilities
Java
apache-2.0
YourDataStories/components-visualisation,YourDataStories/components-visualisation,YourDataStories/components-visualisation
6f5f0ebf69ff277b3cda4eea1d8266e397eafc3d
jgiven-core/src/test/java/com/tngtech/jgiven/impl/ProxyClassPerformanceTest.java
jgiven-core/src/test/java/com/tngtech/jgiven/impl/ProxyClassPerformanceTest.java
package com.tngtech.jgiven.impl; import org.junit.Test; import java.util.HashSet; import java.util.Set; import static org.assertj.core.api.Assertions.assertThat; public class ProxyClassPerformanceTest { @Test public void test_creation_of_proxy_classes(){ Set<Long> results = new HashSet<>(); ...
package com.tngtech.jgiven.impl; import static org.assertj.core.api.Assertions.assertThat; import java.util.HashSet; import java.util.Set; import org.junit.Test; public class ProxyClassPerformanceTest { @Test public void test_creation_of_proxy_classes() { Set<Long> megabytesOfMemoryUsedInCycle = new...
Improve expressiveness of proxy class memory usage test
Improve expressiveness of proxy class memory usage test Signed-off-by: l-1sqared <927badf1468b689b17391b1b1cb5895e9b797b96@users.noreply.github.com>
Java
apache-2.0
TNG/JGiven,TNG/JGiven,TNG/JGiven,TNG/JGiven
797e1313c90504b7b8e0d0071e6e12458a922d48
src/de/markusfisch/android/shadereditor/AccelerometerListener.java
src/de/markusfisch/android/shadereditor/AccelerometerListener.java
package de.markusfisch.android.shadereditor; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; public class AccelerometerListener implements SensorEventListener { private ShaderRenderer renderer; private long last = 0; public AccelerometerListener( ...
package de.markusfisch.android.shadereditor; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; public class AccelerometerListener implements SensorEventListener { private ShaderRenderer renderer; private long last = 0; public AccelerometerListener( ...
Use fixed alpha for low pass filter
Use fixed alpha for low pass filter Previous calculation was wrong. t is the low pass' filter time constant (!) and dT is the event delivery rate in nano seconds. Chose to use a constant for now (and to ignore delta time).
Java
mit
markusfisch/ShaderEditor,markusfisch/ShaderEditor
c3438c83cb4d9d321919cb7e5515af63b16bd1d8
src/main/java/net/unladenswallow/minecraft/emeraldmaterial/EmeraldMaterials.java
src/main/java/net/unladenswallow/minecraft/emeraldmaterial/EmeraldMaterials.java
package net.unladenswallow.minecraft.emeraldmaterial; import net.minecraft.item.Item.ToolMaterial; import net.minecraftforge.common.util.EnumHelper; public class EmeraldMaterials { public static ToolMaterial toolMaterial = EnumHelper.addToolMaterial( "EmeraldTool", 3, 1000, 10.0f, 2.5f, 30 ); ...
package net.unladenswallow.minecraft.emeraldmaterial; import net.minecraft.init.Items; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemStack; import net.minecraftforge.common.util.EnumHelper; public class EmeraldMaterials { public static ToolMaterial toolMaterial = EnumHelper.addToolMater...
Make items and armor repairable
Make items and armor repairable
Java
lgpl-2.1
freneticfeline/mod_emeraldmaterial
74b9cd392009d75c2b9679e4135000b6d50c2b22
src/edu/oakland/OUSoft/Main.java
src/edu/oakland/OUSoft/Main.java
package edu.oakland.OUSoft; import edu.oakland.OUSoft.database.OUPeople; public class Main { public static void main(String[] args) { OUPeople people = new OUPeople(); } }
package edu.oakland.OUSoft; import edu.oakland.OUSoft.database.OUPeople; public class Main { public static void main(String[] args) { OUPeople people = new OUPeople(); TextInterface ti = new TextInterface(people); ti.startup(); } }
Update main class to start text interface
Update main class to start text interface
Java
isc
Deliquescence/cse231
7a2ddd71cdbdc8edb0d880e4e98b09f0d8ad951e
src/main/java/de/retest/recheck/printer/MetadataDifferencePrinter.java
src/main/java/de/retest/recheck/printer/MetadataDifferencePrinter.java
package de.retest.recheck.printer; import java.util.stream.Collectors; import de.retest.recheck.ui.diff.meta.MetadataDifference; import de.retest.recheck.ui.diff.meta.MetadataElementDifference; public class MetadataDifferencePrinter implements Printer<MetadataDifference> { private static final String KEY_EXPECTED_...
package de.retest.recheck.printer; import java.util.stream.Collectors; import de.retest.recheck.ui.diff.meta.MetadataDifference; import de.retest.recheck.ui.diff.meta.MetadataElementDifference; public class MetadataDifferencePrinter implements Printer<MetadataDifference> { private static final String KEY_EXPECTED_...
Add note for user about count of metadata differences
Add note for user about count of metadata differences the note tells the user that although metadata differences are displayed, they are not counted in the final difference count and don't affect any test report results
Java
agpl-3.0
retest/recheck,retest/recheck
bca0fb5e33356b41327d05dc053e3b07f91425aa
src/main/java/org/asciidoc/intellij/structureView/AsciiDocStructureViewModel.java
src/main/java/org/asciidoc/intellij/structureView/AsciiDocStructureViewModel.java
package org.asciidoc.intellij.structureView; import com.intellij.ide.structureView.StructureViewTreeElement; import com.intellij.ide.structureView.TextEditorBasedStructureViewModel; import org.asciidoc.intellij.psi.AsciiDocFile; import org.jetbrains.annotations.NotNull; /** * @author yole */ public class AsciiDocSt...
package org.asciidoc.intellij.structureView; import com.intellij.ide.structureView.StructureViewModel; import com.intellij.ide.structureView.StructureViewModelBase; import com.intellij.ide.structureView.StructureViewTreeElement; import org.asciidoc.intellij.psi.AsciiDocFile; import org.jetbrains.annotations.NotNull; ...
Improve Structure view that only expandable elements have expand icons
Improve Structure view that only expandable elements have expand icons
Java
apache-2.0
asciidoctor/asciidoctor-intellij-plugin,asciidoctor/asciidoctor-intellij-plugin,asciidoctor/asciidoctor-intellij-plugin,ehmkah/asciidoctor-intellij-plugin,asciidoctor/asciidoctor-intellij-plugin,ehmkah/asciidoctor-intellij-plugin,ehmkah/asciidoctor-intellij-plugin,asciidoctor/asciidoctor-intellij-plugin
b444f7e9eae77a01ddce8f5215e0e04f3c993ccc
src/test/java/com/alexrnl/commons/utils/object/AutoHashCodeTest.java
src/test/java/com/alexrnl/commons/utils/object/AutoHashCodeTest.java
package com.alexrnl.commons.utils.object; import static org.junit.Assert.fail; import org.junit.Before; import org.junit.Test; /** * Test suite for the {@link AutoHashCode} class. * @author Alex */ public class AutoHashCodeTest { /** * Set up attributes. */ @Before public void setUp () { } /** * Te...
package com.alexrnl.commons.utils.object; import java.util.logging.Level; import java.util.logging.Logger; import org.junit.Before; import org.junit.Test; import com.alexrnl.commons.utils.object.AutoCompareTest.ComparedClass; /** * Test suite for the {@link AutoHashCode} class. * @author Alex */ public class Aut...
Implement tests for the AutoHashCode class
Implement tests for the AutoHashCode class
Java
bsd-3-clause
AlexRNL/Commons
6fff8fb581ac5ab6d43f7b698025601c36460ec0
api/src/main/java/com/redhat/ceylon/cmr/api/SourceArchiveCreator.java
api/src/main/java/com/redhat/ceylon/cmr/api/SourceArchiveCreator.java
package com.redhat.ceylon.cmr.api; import java.io.File; import java.io.IOException; import java.util.Set; /** Contract for a component that can create a source archive as a compilation artifact. * * @author Enrique Zamudio */ public interface SourceArchiveCreator { /** Copy the specified source files into th...
package com.redhat.ceylon.cmr.api; import java.io.File; import java.io.IOException; import java.util.Set; /** Contract for a component that can create a source archive as a compilation artifact. * * @author Enrique Zamudio */ public interface SourceArchiveCreator { /** Copy the specified source files into th...
Remove unneeded "abstract" in method defs for interface
Remove unneeded "abstract" in method defs for interface
Java
apache-2.0
jvasileff/ceylon-module-resolver,jvasileff/ceylon-module-resolver,ceylon/ceylon-module-resolver,alesj/ceylon-module-resolver,alesj/ceylon-module-resolver,ceylon/ceylon-module-resolver
f02ddd7cb50ed93c072fac6da5d215532c416bf5
container/src/main/java/com/streamsets/pipeline/runner/preview/PreviewPipeline.java
container/src/main/java/com/streamsets/pipeline/runner/preview/PreviewPipeline.java
/** * (c) 2014 StreamSets, Inc. All rights reserved. May not * be copied, modified, or distributed in whole or part without * written consent of StreamSets, Inc. */ package com.streamsets.pipeline.runner.preview; import com.streamsets.pipeline.api.StageException; import com.streamsets.pipeline.runner.Pipeline; imp...
/** * (c) 2014 StreamSets, Inc. All rights reserved. May not * be copied, modified, or distributed in whole or part without * written consent of StreamSets, Inc. */ package com.streamsets.pipeline.runner.preview; import com.streamsets.pipeline.api.StageException; import com.streamsets.pipeline.runner.Pipeline; imp...
Handle exception and clean up during preview
Handle exception and clean up during preview
Java
apache-2.0
kunickiaj/datacollector,kiritbasu/datacollector,WgStreamsets/datacollector,z123/datacollector,rockmkd/datacollector,rockmkd/datacollector,kunickiaj/datacollector,studanshu/datacollector,z123/datacollector,SandishKumarHN/datacollector,kiritbasu/datacollector,WgStreamsets/datacollector,rockmkd/datacollector,z123/datacoll...
d968487cd4e7b39e2487330e8f5a30cc604c14fe
smtp/src/org/subethamail/smtp/server/io/SharedTmpFileInputStream.java
smtp/src/org/subethamail/smtp/server/io/SharedTmpFileInputStream.java
package org.subethamail.smtp.server.io; import java.io.File; import java.io.IOException; import javax.mail.util.SharedFileInputStream; /** * This class uses a temporary file to store big messages and asks JVM * to delete them when destroyed. * * @author De Oliveira Edouard &lt;doe_wanted@yahoo.fr&gt;...
package org.subethamail.smtp.server.io; import java.io.File; import java.io.IOException; import javax.mail.util.SharedFileInputStream; /** * This class uses a temporary file to store big messages and asks JVM * to delete them when JVM is destroyed. * * @author De Oliveira Edouard &lt;doe_wanted@yahoo...
Fix to ensure that temp deffered file will be deleted by JVM even if shared streams are improperly closed
Fix to ensure that temp deffered file will be deleted by JVM even if shared streams are improperly closed
Java
apache-2.0
msoftware/subethasmtp,voodoodyne/subethasmtp,pablomelo/subethasmtp,confile/subethasmtp,tuzzmaniandevil/subethasmtp,trancos30/subethasmtp,pplatek/subethasmtp,emre-aydin/subethasmtp,jiangzhonghui/subethasmtp,dam0vm3nt/subethasmtp
00db9e220fbb736e629cfb3837c8feaa131f05fb
src/main/java/com/arckenver/nations/listener/MobSpawningListener.java
src/main/java/com/arckenver/nations/listener/MobSpawningListener.java
package com.arckenver.nations.listener; import org.spongepowered.api.entity.EntityType; import org.spongepowered.api.entity.EntityTypes; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.entity.SpawnEntityEvent; import com.arckenver.nations.ConfigHandler; import com.arckenver.nations.Da...
package com.arckenver.nations.listener; import org.spongepowered.api.entity.living.monster.Monster; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.entity.SpawnEntityEvent; import com.arckenver.nations.ConfigHandler; import com.arckenver.nations.DataHandler; public class MobSpawning...
Extend spawn prevention to all hostile mobs (should take hostile mobs from mods into account)
Extend spawn prevention to all hostile mobs (should take hostile mobs from mods into account)
Java
mit
Arckenver/Nations
a5c1a854d758c11c0abe636c0ecabe5a1a01ed29
squidb-tests/src/com/yahoo/squidb/test/TestNonIntegerPrimaryKeySpec.java
squidb-tests/src/com/yahoo/squidb/test/TestNonIntegerPrimaryKeySpec.java
package com.yahoo.squidb.test; import com.yahoo.squidb.annotations.ColumnSpec; import com.yahoo.squidb.annotations.PrimaryKey; import com.yahoo.squidb.annotations.TableModelSpec; @TableModelSpec(className = "TestNonIntegerPrimaryKey", tableName = "testNonIntegerPrimaryKey") public class TestNonIntegerPrimaryKeySpec {...
package com.yahoo.squidb.test; import com.yahoo.squidb.annotations.ColumnSpec; import com.yahoo.squidb.annotations.PrimaryKey; import com.yahoo.squidb.annotations.TableModelSpec; @TableModelSpec(className = "TestNonIntegerPrimaryKey", tableName = "testNonIntegerPrimaryKey") public class TestNonIntegerPrimaryKeySpec {...
Fix a column name warning in the unit tests generated by our own validation
Fix a column name warning in the unit tests generated by our own validation
Java
apache-2.0
yahoo/squidb,yahoo/squidb,yahoo/squidb,yahoo/squidb,yahoo/squidb
111922cedb8dce580d6ac6d8b333b2ba786c9fda
src/main/java/de/skuzzle/enforcer/restrictimports/parser/SkipCommentsLineSupplier.java
src/main/java/de/skuzzle/enforcer/restrictimports/parser/SkipCommentsLineSupplier.java
package de.skuzzle.enforcer.restrictimports.parser; import de.skuzzle.enforcer.restrictimports.io.RuntimeIOException; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.stream.Stream...
package de.skuzzle.enforcer.restrictimports.parser; import de.skuzzle.enforcer.restrictimports.io.RuntimeIOException; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.util.stream.Stream...
Make sure to close all readers
Make sure to close all readers
Java
mit
skuzzle/restrict-imports-enforcer-rule,skuzzle/restrict-imports-enforcer-rule
e662f328eee81cab191389c498776feb69d1df91
zigbee-serial-javase/src/test/java/org/bubblecloud/zigbee/ZigBeeSerialNetworkTest.java
zigbee-serial-javase/src/test/java/org/bubblecloud/zigbee/ZigBeeSerialNetworkTest.java
package org.bubblecloud.zigbee; import org.bubblecloud.zigbee.network.port.SerialPortImpl; /** * Created by Chris on 25/02/15. */ public final class ZigBeeSerialNetworkTest extends ZigBeeNetworkTest { public static final String SerialPortIdentifier = "/dev/ttyACM0"; public static final int BaudRate ...
package org.bubblecloud.zigbee; import org.bubblecloud.zigbee.network.port.SerialPortImpl; /** * Created by Chris on 25/02/15. */ public final class ZigBeeSerialNetworkTest extends ZigBeeNetworkTest { /** * The serial port identifier. */ public static final String SERIAL_PORT_IDENTIFIER = "/dev/tt...
Clean up of serial port implementation.
Clean up of serial port implementation.
Java
apache-2.0
tlaukkan/zigbee4java,cdjackson/zigbee4java,tlaukkan/zigbee4java,cdjackson/zigbee4java,tlaukkan/zigbee4java,cdjackson/zigbee4java
631868fb04b79adf03f31ae6f0844fe8f59774d0
api/src/main/java/ch/liip/timeforcoffee/api/mappers/ConnectionMapper.java
api/src/main/java/ch/liip/timeforcoffee/api/mappers/ConnectionMapper.java
package ch.liip.timeforcoffee.api.mappers; import android.location.Location; import java.util.Date; import ch.liip.timeforcoffee.api.models.Connection; public class ConnectionMapper { public static Connection fromZvv(ch.liip.timeforcoffee.zvv.CheckPoint checkPoint) { int checkPointId = Integer.parseInt...
package ch.liip.timeforcoffee.api.mappers; import android.location.Location; import android.support.annotation.Nullable; import java.util.Date; import ch.liip.timeforcoffee.api.models.Connection; public class ConnectionMapper { public static @Nullable Connection fromZvv(ch.liip.timeforcoffee.zvv.CheckPoint che...
Add Nullable annotation to connectionMapper
Add Nullable annotation to connectionMapper
Java
mit
timeforcoffee/timeforcoffee-android,timeforcoffee/timeforcoffee-android
2eb9db36a5a4faec2f804c8a67e2433b7160d77f
biz.aQute.bndlib/src/aQute/bnd/connection/settings/SettingsParser.java
biz.aQute.bndlib/src/aQute/bnd/connection/settings/SettingsParser.java
package aQute.bnd.connection.settings; import java.io.File; import aQute.lib.xpath.XPathParser; public class SettingsParser extends XPathParser { final SettingsDTO settings = new SettingsDTO(); /* * <proxies> <proxy> <id>example-proxy</id> <active>true</active> * <protocol>http</protocol> <host>proxy.example....
package aQute.bnd.connection.settings; import java.io.File; import aQute.bnd.osgi.Macro; import aQute.bnd.osgi.Processor; import aQute.lib.xpath.XPathParser; public class SettingsParser extends XPathParser { final SettingsDTO settings = new SettingsDTO(); private final Macro replacer = new Processor().getReplacer(...
Add support for macro replacement in file parsing
connection-settings: Add support for macro replacement in file parsing Macro replacement is limited to system properties and environment variables. See https://maven.apache.org/settings.html Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
Java
apache-2.0
psoreide/bnd,psoreide/bnd,psoreide/bnd
5cff2f945ba78b0a61d5816098149b44873844a4
src/main/java/com/carpentersblocks/tileentity/TECarpentersGarageDoor.java
src/main/java/com/carpentersblocks/tileentity/TECarpentersGarageDoor.java
package com.carpentersblocks.tileentity; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import com.carpentersblocks.data.GarageDoor; public class TECarpentersGarageDoor extends TEBase { @Override /** * Garage door state change sounds are ...
package com.carpentersblocks.tileentity; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import com.carpentersblocks.data.GarageDoor; public class TECarpentersGarageDoor extends TEBase { @Override /** * Garage door state change sounds are ...
Adjust garage door sound to only play on state changes.
Adjust garage door sound to only play on state changes.
Java
lgpl-2.1
Mineshopper/carpentersblocks,burpingdog1/carpentersblocks,Techern/carpentersblocks
fdc9867c7803998c9660731c67ad8e59c7108dc5
src/main/java/org/kumoricon/site/report/attendees/AttendeeReportView.java
src/main/java/org/kumoricon/site/report/attendees/AttendeeReportView.java
package org.kumoricon.site.report.attendees; import com.vaadin.navigator.View; import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.spring.annotation.SpringView; import com.vaadin.spring.annotation.ViewScope; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import org.kumoricon.site.report.ReportVi...
package org.kumoricon.site.report.attendees; import com.vaadin.navigator.View; import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.spring.annotation.SpringView; import com.vaadin.spring.annotation.ViewScope; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import org.kumoricon.site.report.ReportVi...
Fix text wrapping on Attendee report descriptive text
Fix text wrapping on Attendee report descriptive text
Java
mit
jashort/kumoreg,jashort/kumoreg,kumoregdev/kumoreg,kumoregdev/kumoreg
60b66025be223972bc2525d943f316f839a56076
experiments/src/main/java/samples/NeuralNetViz.java
experiments/src/main/java/samples/NeuralNetViz.java
package samples; import hex.*; import javax.swing.JFrame; public class NeuralNetViz extends NeuralNetMnist { public static void main(String[] args) throws Exception { Class job = Class.forName(Thread.currentThread().getStackTrace()[1].getClassName()); samples.launchers.CloudLocal.launch(job, 1); } pro...
package samples; import hex.*; import javax.swing.JFrame; public class NeuralNetViz extends NeuralNetMnist { public static void main(String[] args) throws Exception { Class job = Class.forName(Thread.currentThread().getStackTrace()[1].getClassName()); samples.launchers.CloudLocal.launch(job, 1); } pro...
Use the threaded version for NN visualization.
Use the threaded version for NN visualization.
Java
apache-2.0
111t8e/h2o-2,h2oai/h2o,111t8e/h2o-2,eg-zhang/h2o-2,eg-zhang/h2o-2,111t8e/h2o-2,elkingtonmcb/h2o-2,eg-zhang/h2o-2,rowhit/h2o-2,elkingtonmcb/h2o-2,h2oai/h2o-2,h2oai/h2o,rowhit/h2o-2,eg-zhang/h2o-2,elkingtonmcb/h2o-2,rowhit/h2o-2,calvingit21/h2o-2,111t8e/h2o-2,rowhit/h2o-2,vbelakov/h2o,h2oai/h2o-2,111t8e/h2o-2,100star/h2o...