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
dfa50b46918b5d4401d0afbdcbadc126f51d4f99
src/main/java/org/konstructs/example/MyPlugin.java
src/main/java/org/konstructs/example/MyPlugin.java
package org.konstructs.example; import akka.actor.UntypedActor; import akka.actor.Props; import konstructs.plugin.Config; import konstructs.plugin.PluginConstructor; import konstructs.api.SayFilter; import konstructs.api.Say; public class MyPlugin extends UntypedActor { private String responseText; private St...
package org.konstructs.example; import akka.actor.UntypedActor; import akka.actor.Props; import konstructs.plugin.Config; import konstructs.plugin.PluginConstructor; import konstructs.api.SayFilter; import konstructs.api.Say; public class MyPlugin extends UntypedActor { private String responseText; private St...
Use configured message to show configuration
Use configured message to show configuration
Java
mit
konstructs/server-plugin-forest
7b914f6f7c21b574a8e94d70fccb2090ec2650f7
src/org/jmist/framework/services/WorkerClient.java
src/org/jmist/framework/services/WorkerClient.java
/** * */ package org.jmist.framework.services; import java.rmi.RMISecurityManager; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import javax.swing.JDialog; import org.jmist.framework.Job; import org.jmist.framework.reporting.ProgressPanel; /** * @author brad * */ public final cl...
/** * */ package org.jmist.framework.services; import java.rmi.RMISecurityManager; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import javax.swing.JDialog; import org.jmist.framework.Job; import org.jmist.framework.reporting.ProgressPanel; /** * @author brad * */ public final cl...
Hide the top level progress node.
Hide the top level progress node.
Java
mit
bwkimmel/jmist
d14e161beea193378bd14887ce704451585163db
src/main/java/com/suse/salt/netapi/calls/Client.java
src/main/java/com/suse/salt/netapi/calls/Client.java
package com.suse.salt.netapi.calls; /** * Possible values for the client parameter in salt netapi calls. */ public enum Client { LOCAL("local"), LOCAL_BATCH("local_batch"), LOCAL_ASYNC("local_async"), WHEEL("wheel"), WHEEL_ASYNC("wheel_async"), RUNNER("runner"), RUNNER_ASYNC("runner_asyn...
package com.suse.salt.netapi.calls; /** * Possible values for the client parameter in salt netapi calls. */ public enum Client { LOCAL("local"), LOCAL_ASYNC("local_async"), LOCAL_BATCH("local_batch"), RUNNER("runner"), RUNNER_ASYNC("runner_async"), SSH("ssh"), WHEEL("wheel"), WHEEL_A...
Put supported clients in alphabetical order
Put supported clients in alphabetical order
Java
mit
mbologna/salt-netapi-client,mbologna/saltstack-netapi-client-java,mbologna/salt-netapi-client,SUSE/saltstack-netapi-client-java,SUSE/salt-netapi-client,SUSE/saltstack-netapi-client-java,mbologna/saltstack-netapi-client-java
b6d9ecd2679e541a4f35c9c22e83854d4522f7ba
src/main/java/net/vexelon/currencybg/srv/Defs.java
src/main/java/net/vexelon/currencybg/srv/Defs.java
package net.vexelon.currencybg.srv; import javax.ws.rs.core.MediaType; /** * Global constants * */ public final class Defs { /* * Database parameters */ public static final String DB_DRIVER = "com.mysql.jdbc.Driver"; public static final String DB_NAME = "currencybg"; public static final String DB_HOST = S...
package net.vexelon.currencybg.srv; import javax.ws.rs.core.MediaType; /** * Global constants * */ public final class Defs { /* * Database parameters */ public static final String DB_DRIVER = "com.mysql.jdbc.Driver"; public static final String DB_NAME = "currencybg"; public static final String DB_HOST = S...
Set Heartbeat interval to 5 mins
Set Heartbeat interval to 5 mins
Java
agpl-3.0
vexelon-dot-net/currencybg.server
161a3f4099aefbf6cbaeb325de27678c6297bd7c
src/pl/src/edu/rice/bayou/experiments/low_level_sketches/DAPICallLowLevel.java
src/pl/src/edu/rice/bayou/experiments/low_level_sketches/DAPICallLowLevel.java
package edu.rice.bayou.experiments.low_level_sketches; public class DAPICallLowLevel extends DASTNodeLowLevel { String node = "DAPICall"; String _call; @Override public String getLowLevelSketch() { return node + delim + _call + delim + STOP; } }
package edu.rice.bayou.experiments.low_level_sketches; public class DAPICallLowLevel extends DASTNodeLowLevel { String node = "DAPICall"; String _call; @Override public String getLowLevelSketch() { String[] tokens = _call.split("[,()]"); return node + delim + String.join(delim, tokens...
Fix in low_level_sketches experiment data reader
Fix in low_level_sketches experiment data reader
Java
apache-2.0
capergroup/bayou,capergroup/bayou,capergroup/bayou
bea3f4327322f351b53ae3ce2e063e3bf6fdeec1
subprojects/playpens/java-playpen/ehcache/ehcache-playpen/src/test/java/com/fenixinfotech/ehcache/playpen/CustomEhCacheTest.java
subprojects/playpens/java-playpen/ehcache/ehcache-playpen/src/test/java/com/fenixinfotech/ehcache/playpen/CustomEhCacheTest.java
package com.fenixinfotech.ehcache.playpen; import net.sf.ehcache.CacheManager; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class CustomEhCacheTest { private static final Logger lo...
package com.fenixinfotech.ehcache.playpen; import net.sf.ehcache.CacheManager; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; public class CustomEhCac...
Test checking to deliberately break the build
Test checking to deliberately break the build
Java
mit
stevocurtis/public-development,stevocurtis/public-development,stevocurtis/public-development,stevocurtis/public-development,stevocurtis/public-development,stevocurtis/public-development
cb679714722b7781f5426d30917c9f74e1ed547c
src/main/java/info/u_team/u_team_core/UCoreMain.java
src/main/java/info/u_team/u_team_core/UCoreMain.java
package info.u_team.u_team_core; import org.apache.logging.log4j.*; import info.u_team.u_team_core.api.IModProxy; import info.u_team.u_team_core.intern.proxy.*; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.DistExecutor...
package info.u_team.u_team_core; import org.apache.logging.log4j.*; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; @Mod(UCoreMain.MODID) public class UCoreMain { public static final String MOD...
Remove proxy from main class
Remove proxy from main class
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
f59b5383e7f94721686ed08f82a38ec6779b24c4
src/main/java/io/yancey/menufetcher/MenuFetcher.java
src/main/java/io/yancey/menufetcher/MenuFetcher.java
package io.yancey.menufetcher; import java.time.*; import java.util.*; public interface MenuFetcher { public List<Meal> getMeals(LocalDate day); public static List<MenuFetcher> getAllMenuFetchers() { return Arrays.asList( new PomonaMenuFetcher(PomonaMenuFetcher.FRANK_NAME), new PomonaMenuFetcher(PomonaM...
package io.yancey.menufetcher; import java.time.*; import java.util.*; public interface MenuFetcher { public List<Meal> getMeals(LocalDate day); public static Map<String,MenuFetcher> getAllMenuFetchers() { Map<String, MenuFetcher> menuFetchers = new LinkedHashMap<>(); menuFetchers.put("The Hoch", new SodexoMe...
Improve function to get all menu fetchers
Improve function to get all menu fetchers
Java
mit
g-rocket/5cMenuFetcher,g-rocket/5cMenuFetcher
3ee56764f7f3a629a76b7a2ea742dbc632fcc123
core/xal/tools/coding/Coder.java
core/xal/tools/coding/Coder.java
// // ConversionAdaptor.java // // // Created by Tom Pelaia on 12/27/11 // Copyright 2011 Oak Ridge National Lab. All rights reserved. // package xal.tools.coding; import java.util.List; /** Declares methods a coder should implement. */ public interface Coder { /** Encode an object */ public String encode( fi...
// // Coder.java // // // Created by Tom Pelaia on 1/12/12 // Copyright 2012 Oak Ridge National Lab. All rights reserved. // package xal.tools.coding; import java.util.List; /** Declares methods a coder should implement. */ public interface Coder { /** Encode an object */ public String encode( final Object va...
Fix the header comment to correct the file name and date.
Fix the header comment to correct the file name and date.
Java
bsd-3-clause
openxal/openxal,openxal/openxal,openxal/openxal,luxiaohan/openxal-csns-luxh,openxal/openxal,openxal/openxal,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/open...
425fb1e3c898fdc7b802617927a7509c5ca20ad5
src/main/java/com/elmakers/mine/bukkit/spell/builtin/MapSpell.java
src/main/java/com/elmakers/mine/bukkit/spell/builtin/MapSpell.java
package com.elmakers.mine.bukkit.spell.builtin; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.inventory.ItemStack; import org.bukkit.map.MapView; import com.elmakers.mine.bukkit.api.spell.SpellResult; import com.e...
package com.elmakers.mine.bukkit.spell.builtin; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.map.MapCanvas; impor...
Add scale parameter to Map spell
Add scale parameter to Map spell
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
1df4673767a0aa42c1d9c671fdd73e9e987664ee
src/main/java/org/cafebabepy/runtime/object/java/PyDictObject.java
src/main/java/org/cafebabepy/runtime/object/java/PyDictObject.java
package org.cafebabepy.runtime.object.java; import org.cafebabepy.runtime.PyObject; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.object.AbstractPyObjectObject; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; /** * Created by yotchang4s on 2017/06/19. */ pu...
package org.cafebabepy.runtime.object.java; import org.cafebabepy.runtime.PyObject; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.object.AbstractPyObjectObject; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; /** * Created by yotchang4s on 2017/06/19. */ pu...
Add LinkedHashMap to toJava of dict object
Add LinkedHashMap to toJava of dict object
Java
bsd-3-clause
yotchang4s/cafebabepy
f77a38ef4f17ef17791591e5bfc07811d5d006c8
src/edu/pdx/cs410G/swing/TimerExample.java
src/edu/pdx/cs410G/swing/TimerExample.java
package edu.pdx.cs410G.swing; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; import javax.swing.*; /** * This program demonstrates a Swing {@link Timer} that periodically * updates a {@link JTextField} with the current time. */ public c...
package edu.pdx.cs410G.swing; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Date; import javax.swing.*; /** * This program demonstrates a Swing {@link Timer} that periodically * updates a {@link JTextField} with the current time. */ public c...
Make sure to start the timer after you display the GUI. Otherwise you'll get a blocked thread.
Make sure to start the timer after you display the GUI. Otherwise you'll get a blocked thread.
Java
apache-2.0
DavidWhitlock/PortlandStateJava,DavidWhitlock/PortlandStateJava
1ae9decd1982c7b6333daa6067a66bde6d3d08e1
piwik_sdk/src/main/java/org/piwik/sdk/PiwikApplication.java
piwik_sdk/src/main/java/org/piwik/sdk/PiwikApplication.java
/* * Android SDK for Piwik * * @link https://github.com/piwik/piwik-android-sdk * @license https://github.com/piwik/piwik-sdk-android/blob/master/LICENSE BSD-3 Clause */ package org.piwik.sdk; import android.app.Application; import android.util.Log; import java.net.MalformedURLException; public abstract class ...
/* * Android SDK for Piwik * * @link https://github.com/piwik/piwik-android-sdk * @license https://github.com/piwik/piwik-sdk-android/blob/master/LICENSE BSD-3 Clause */ package org.piwik.sdk; import android.app.Application; import android.util.Log; import java.net.MalformedURLException; public abstract class ...
Make methods abstract to force the dev to implement these correctly (it won't work otherwise anyways).
Make methods abstract to force the dev to implement these correctly (it won't work otherwise anyways).
Java
bsd-3-clause
piwik/piwik-sdk-android,seancunningham/piwik-sdk-android,eldk/piwik-sdk-android,d4rken/piwik-sdk-android
d57f3e4325ed46ffeadb37b2bedc38d2e30a2f03
hawtio-git/src/test/java/io/hawt/git/GitCloneTest.java
hawtio-git/src/test/java/io/hawt/git/GitCloneTest.java
package io.hawt.git; import org.junit.After; import org.junit.Before; import org.junit.Test; import static io.hawt.git.GitFacadeTest.assertConfigDirectoryExists; import static io.hawt.git.GitFacadeTest.assertFileContents; import static io.hawt.git.GitFacadeTest.createTestGitFacade; /** * Tests we can clone a remote...
package io.hawt.git; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import static io.hawt.git.GitFacadeTest.assertConfigDirectoryExists; import static io.hawt.git.GitFacadeTest.assertFileContents; import static io.hawt.git.GitFacadeTest.createTestGitFacade; /** * Te...
Revert "Revert "Ignore test that causes CI to fail on Java 7 - works locally.""
Revert "Revert "Ignore test that causes CI to fail on Java 7 - works locally."" This reverts commit 58574fd5fb3c4c5121a82935a48d764efadfc434.
Java
apache-2.0
tadayosi/hawtio,tadayosi/hawtio,skarsaune/hawtio,hawtio/hawtio,skarsaune/hawtio,skarsaune/hawtio,hawtio/hawtio,skarsaune/hawtio,tadayosi/hawtio,tadayosi/hawtio,skarsaune/hawtio,hawtio/hawtio,hawtio/hawtio,hawtio/hawtio,tadayosi/hawtio
ea9d3d8264515f92745e760d4fac9c2f81eba2eb
src/main/java/com/pyamsoft/pydroid/tool/AsyncMapHelper.java
src/main/java/com/pyamsoft/pydroid/tool/AsyncMapHelper.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 helper to easily cancel AsyncMap tasks
Add helper to easily cancel AsyncMap tasks
Java
apache-2.0
pyamsoft/pydroid
8ac961920b948fee51c19b618c471ae485a10472
jmx/src/main/java/com/proofpoint/jmx/JMXModule.java
jmx/src/main/java/com/proofpoint/jmx/JMXModule.java
package com.proofpoint.jmx; import com.google.inject.Binder; import com.google.inject.Module; import com.google.inject.Scopes; import com.proofpoint.configuration.ConfigurationModule; import javax.management.MBeanServer; import java.lang.management.ManagementFactory; public class JMXModule implements Module ...
package com.proofpoint.jmx; import com.google.inject.Binder; import com.google.inject.Module; import com.google.inject.Scopes; import com.proofpoint.configuration.ConfigurationModule; import org.weakref.jmx.guice.ExportBuilder; import org.weakref.jmx.guice.MBeanModule; import javax.management.MBeanServer; import java...
Add a StackTraceMBean to the JMX package.
Add a StackTraceMBean to the JMX package.
Java
apache-2.0
cberner/airlift,martint/airlift,airlift/airlift,johngmyers/platform-rack,johngmyers/platform-rack,dain/airlift,johngmyers/platform-rack,mono-plane/airlift,electrum/airlift,erichwang/airlift,haozhun/airlift,daququ/airlift,electrum/airlift,mono-plane/airlift,zhenyuy-fb/airlift,johngmyers/airlift,zhenyuy-fb/airlift,daququ...
d563745eac6f32ae5d811b1038987715a42a6d64
java/client/test/org/openqa/selenium/TagNameTest.java
java/client/test/org/openqa/selenium/TagNameTest.java
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
Make a test case insensitive.
JasonLeyba: Make a test case insensitive. r11860
Java
apache-2.0
SeleniumHQ/selenium,chrisblock/selenium,rplevka/selenium,amar-sharma/selenium,arunsingh/selenium,dbo/selenium,pulkitsinghal/selenium,mach6/selenium,chrsmithdemos/selenium,clavery/selenium,lmtierney/selenium,blackboarddd/selenium,markodolancic/selenium,gurayinan/selenium,SouWilliams/selenium,markodolancic/selenium,gabri...
92dd3712cf4d98303e3945074f459f8668fde2f6
test/org/extendedCLI/ioAdapters/PrintWriterAdapterTest.java
test/org/extendedCLI/ioAdapters/PrintWriterAdapterTest.java
package org.extendedCLI.ioAdapters; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.PrintWriter; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; @SuppressWarnings("javadoc") public class PrintWriterAdapterTest { private OutputStream ou...
package org.extendedCLI.ioAdapters; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.PrintWriter; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; @SuppressWarnings("javadoc") public class PrintWriterAdapterTest { private OutputStream ou...
Fix with platform dependent line separator
Fix with platform dependent line separator
Java
apache-2.0
JPDSousa/ExtendedCLI
9c96ab17b1a2686fa5d391b756ba714d0288b8ca
base/src/main/java/edu/umass/cs/ciir/waltz/io/galago/ReadableBufferStaticStream.java
base/src/main/java/edu/umass/cs/ciir/waltz/io/galago/ReadableBufferStaticStream.java
package edu.umass.cs.ciir.waltz.io.galago; import edu.umass.cs.ciir.waltz.io.streams.SkipInputStream; import edu.umass.cs.ciir.waltz.io.streams.StaticStream; import org.lemurproject.galago.utility.btree.disk.DiskBTreeIterator; import org.lemurproject.galago.utility.buffer.CachedBufferDataStream; import org.lemurprojec...
package edu.umass.cs.ciir.waltz.io.galago; import edu.umass.cs.ciir.waltz.io.streams.SkipInputStream; import edu.umass.cs.ciir.waltz.io.streams.StaticStream; import org.lemurproject.galago.utility.btree.disk.DiskBTreeIterator; import org.lemurproject.galago.utility.buffer.CachedBufferDataStream; import org.lemurprojec...
Make a better public constructor for that thing.
Make a better public constructor for that thing.
Java
bsd-3-clause
jjfiv/waltz
5de54e483bd63d7e7eb97bf7c220b7054b2224da
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/SourceFolder.java
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/SourceFolder.java
package com.github.sormuras.bach.project; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Pattern; /** * A source directory potentially targeting a specific Java SE release. * * @param path the directory * @param release the feature number of the Java SE release */ public record Sou...
package com.github.sormuras.bach.project; import com.github.sormuras.bach.internal.Paths; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Pattern; /** * A source directory potentially targeting a specific Java SE release. * * @param path the directory * @param release the feature num...
Use internal path to name function
Use internal path to name function
Java
mit
sormuras/bach,sormuras/bach
dc4dfc8bba914537f7e862fd3a54485cc24479ca
orienteer-core/src/main/java/org/orienteer/core/widget/command/FullScreenCommand.java
orienteer-core/src/main/java/org/orienteer/core/widget/command/FullScreenCommand.java
package org.orienteer.core.widget.command; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.model.Model; import org.orienteer.core.component.command.AjaxCommand; import org.orienteer.core.widget.AbstractWidget; /** * Command to make widget fullscreen and back * @param <T> the type of an en...
package org.orienteer.core.widget.command; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.model.Model; import org.orienteer.core.component.command.AjaxCommand; import org.orienteer.core.widget.AbstractWidget; /** * Command to make widget fullscreen and back * @param <T> the type of an en...
Set field expanded to false on detach
Set field expanded to false on detach
Java
apache-2.0
WeaxMe/Orienteer,OrienteerBAP/Orienteer,OrienteerDW/Orienteer,WeaxMe/Orienteer,OrienteerBAP/Orienteer,OrienteerDW/Orienteer,OrienteerBAP/Orienteer,OrienteerDW/Orienteer,WeaxMe/Orienteer,OrienteerBAP/Orienteer
5cded42ca0717f5c9ed3baf17c0e4797c2c5711c
framework/src/main/java/com/bunjlabs/fuga/services/ServiceAgent.java
framework/src/main/java/com/bunjlabs/fuga/services/ServiceAgent.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distrib...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distrib...
Fix service scheduler crashing when service throws an exception
Fix service scheduler crashing when service throws an exception
Java
apache-2.0
bunjlabs/Fuga-Framework,IntCode/Fuga-Framework,IntCode/Fuga-Framework
60afe808e5f561f08e0c66b9f39a6bb8508da304
maven-plugin/src/main/java/sortpom/exception/ExceptionConverter.java
maven-plugin/src/main/java/sortpom/exception/ExceptionConverter.java
package sortpom.exception; import org.apache.maven.plugin.MojoFailureException; /** * Converts internal runtime FailureException in a method to a MojoFailureException in order to give nice output to * the Maven framework */ public class ExceptionConverter { private final Runnable method; private FailureEx...
package sortpom.exception; import org.apache.maven.plugin.MojoFailureException; /** * Converts internal runtime FailureException in a method to a MojoFailureException in order to give nice output to * the Maven framework */ public class ExceptionConverter { private final Runnable method; public ExceptionC...
Raise coverage. Lets see if this can work with JaCoCo
Raise coverage. Lets see if this can work with JaCoCo
Java
bsd-3-clause
Ekryd/sortpom
fa7d8c7171ec4f5cc9c4cc0073d17fec41f840e7
demo/java/src/main/java/tripleplay/demo/TripleDemoJava.java
demo/java/src/main/java/tripleplay/demo/TripleDemoJava.java
// // Triple Play - utilities for use in PlayN-based games // Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved. // http://github.com/threerings/tripleplay/blob/master/LICENSE package tripleplay.demo; import playn.core.PlayN; import playn.java.JavaPlatform; import tripleplay.platform.JavaTPPlatf...
// // Triple Play - utilities for use in PlayN-based games // Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved. // http://github.com/threerings/tripleplay/blob/master/LICENSE package tripleplay.demo; import java.util.List; import com.google.common.collect.Lists; import playn.core.PlayN; impor...
Allow window size override on command line.
Allow window size override on command line.
Java
bsd-3-clause
joansmith/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,tomfisher/tripleplay
44daf36f3c98bac30a2a66d5e12d640c606e2ef7
src/main/java/info/u_team/u_team_core/intern/init/UCoreCommands.java
src/main/java/info/u_team/u_team_core/intern/init/UCoreCommands.java
package info.u_team.u_team_core.intern.init; import info.u_team.u_team_core.UCoreMod; import info.u_team.u_team_core.intern.command.UTeamCoreCommand; import net.minecraftforge.event.RegisterCommandsEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber...
package info.u_team.u_team_core.intern.init; import info.u_team.u_team_core.intern.command.UTeamCoreCommand; import net.minecraftforge.event.RegisterCommandsEvent; import net.minecraftforge.eventbus.api.IEventBus; public class UCoreCommands { private static void onRegisterCommands(RegisterCommandsEvent event) { ...
Remove the annotations from u core commands and migrate to the new system
Remove the annotations from u core commands and migrate to the new system
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
5267c0198734cce40de621b621213400a4a0f1e3
src/jcrib/Score.java
src/jcrib/Score.java
package jcrib; public class Score { public enum Type { Fifteen, ThirtyOne, Pair, Run, Flush, Nobs, Heels, Go }; private Type type; private Card[] cards; private int points; public Score(Type type, Card[] cards, int points) { this.type = type; this.cards = cards; this.poin...
package jcrib; import jcrib.cards.Card; public class Score { public enum Type { Fifteen, ThirtyOne, Pair, Run, Flush, Nobs, Heels, Go }; private Type type; private Card[] cards; private int points; public Score(Type type, Card[] cards, int points) { this.type = type; this.cards ...
Update for cards package refactoring
Update for cards package refactoring
Java
bsd-2-clause
malensek/criblib
5cec5c4f3a25cefdf9b83715a1922e8d52415929
src/adapter/adapter2.java
src/adapter/adapter2.java
package adapter; import static adapter.adapter2.Level.ERROR; public interface adapter2 { public interface Logger { public void log(String message); } public enum Level { WARNING, ERROR } public interface Logger2 { public void log(Level level, String message); public default Logger error() { ...
package adapter; import static adapter.adapter2.Level.ERROR; public interface adapter2 { public interface Logger { public void log(String message); } public enum Level { WARNING, ERROR } public interface Logger2 { public void log(Level level, String message); public default Logger level(Level ...
Make the partial application more explicit
Make the partial application more explicit
Java
mit
seblm/design-pattern-reloaded,psadusumilli/design-pattern-reloaded,forax/design-pattern-reloaded,hasalex/design-pattern-reloaded,ArnaudPiroelle/design-pattern-reloaded,ldez/design-pattern-reloaded,cbouttaz/design-pattern-reloaded
f20bb393232fc5910e69f357a37894cfd9b1fb07
src/test/java/nom/bdezonia/zorbage/algorithm/TestInvFFT.java
src/test/java/nom/bdezonia/zorbage/algorithm/TestInvFFT.java
package nom.bdezonia.zorbage.algorithm; class TestInvFFT {}
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2018 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
Document the testing of the InvFFT algorithm
Document the testing of the InvFFT algorithm
Java
bsd-3-clause
bdezonia/zorbage,bdezonia/zorbage
b57b7e84c6f33b0b03fbd326728c9e9b6a80d944
f-tep-search/src/main/java/com/cgi/eoss/ftep/search/SearchConfig.java
f-tep-search/src/main/java/com/cgi/eoss/ftep/search/SearchConfig.java
package com.cgi.eoss.ftep.search; import com.cgi.eoss.ftep.catalogue.CatalogueConfig; import com.cgi.eoss.ftep.persistence.PersistenceConfig; import com.cgi.eoss.ftep.search.api.SearchFacade; import com.cgi.eoss.ftep.search.api.SearchProvider; import okhttp3.OkHttpClient; import org.springframework.boot.autoconfigure....
package com.cgi.eoss.ftep.search; import com.cgi.eoss.ftep.catalogue.CatalogueConfig; import com.cgi.eoss.ftep.persistence.PersistenceConfig; import com.cgi.eoss.ftep.search.api.SearchFacade; import com.cgi.eoss.ftep.search.api.SearchProvider; import okhttp3.OkHttpClient; import org.springframework.boot.autoconfigure....
Remove invalid proxy config from search facade
Remove invalid proxy config from search facade Change-Id: I0cc7b4bab426a354524fb49f3670370142e8e9be
Java
agpl-3.0
cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep
2b82c69c8ebc76f8d3ceebbc85b19a0624047f4b
src/main/java/retromock/matchers/IsRegex.java
src/main/java/retromock/matchers/IsRegex.java
package retromock.matchers; import org.hamcrest.Description; import org.hamcrest.TypeSafeDiagnosingMatcher; import java.util.regex.Pattern; public class IsRegex extends TypeSafeDiagnosingMatcher<String> { private final Pattern pattern; public static IsRegex matchesRegex(String regex) { return new I...
package retromock.matchers; import org.hamcrest.Description; import org.hamcrest.TypeSafeDiagnosingMatcher; import java.util.regex.Pattern; public class IsRegex extends TypeSafeDiagnosingMatcher<String> { private final Pattern pattern; public static IsRegex matchesRegex(String regex) { return new I...
Add describing text to mismatchDescription in case on mismatch
Add describing text to mismatchDescription in case on mismatch
Java
apache-2.0
ccmtaylor/retromock
7677aa9afaa87d058752f6140b7d10676059a760
src/test/java/com/crawljax/util/PrettyHTMLTest.java
src/test/java/com/crawljax/util/PrettyHTMLTest.java
package com.crawljax.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.File; import org.junit.Ignore; public class PrettyHTMLTest { private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduDombefore.html"; private static final Strin...
package com.crawljax.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.File; import org.junit.Ignore; import org.junit.Test; public class PrettyHTMLTest { private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduDombefore.html"; pri...
Add test annotation again, ignore overrides this.
Add test annotation again, ignore overrides this. git-svn-id: 6e5f6f61bd1b925b71fe8065f445f9178a317ca5@353 7701cf9b-ed3c-0410-a7c3-1ff289697e89
Java
apache-2.0
shauvik/crawljax-old,shauvik/crawljax-old
ba6ff17cadaa3a23f24c228b83b6d04b5cd1dd17
src/main/java/asteroid/nodes/MethodNodeBuilder.java
src/main/java/asteroid/nodes/MethodNodeBuilder.java
package asteroid.nodes; import asteroid.A; import java.util.List; import java.util.ArrayList; import org.codehaus.groovy.ast.Parameter; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.MethodNode; import org.codehaus.groovy.ast.stmt.Statement; /** * Builder to create instance of type {@link...
package asteroid.nodes; import asteroid.A; import java.util.List; import java.util.ArrayList; import org.codehaus.groovy.ast.Parameter; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.MethodNode; import org.codehaus.groovy.ast.stmt.Statement; /** * Builder to create instance of type {@link...
Fix NPE when no adding parameters or exceptions
Fix NPE when no adding parameters or exceptions
Java
apache-2.0
grooviter/asteroid,januslynd/asteroid
0b27a7917ed23aab7a5fdeaea89fdb7be5cf3399
src/main/java/mnm/mods/tabbychat/gui/Scrollbar.java
src/main/java/mnm/mods/tabbychat/gui/Scrollbar.java
package mnm.mods.tabbychat.gui; import mnm.mods.tabbychat.core.GuiNewChatTC; import mnm.mods.util.gui.GuiComponent; import net.minecraft.client.gui.Gui; public class Scrollbar extends GuiComponent { private ChatArea chat; public Scrollbar(ChatArea chat) { this.chat = chat; } @Override p...
package mnm.mods.tabbychat.gui; import mnm.mods.tabbychat.core.GuiNewChatTC; import mnm.mods.util.gui.GuiComponent; import net.minecraft.client.gui.Gui; public class Scrollbar extends GuiComponent { private ChatArea chat; public Scrollbar(ChatArea chat) { this.chat = chat; } @Override p...
Make scrollbar size inversely relative to chat size.
Make scrollbar size inversely relative to chat size.
Java
apache-2.0
killjoy1221/TabbyChat-2
f68919331a8d88beabf3debc36bf8058afb3e17f
src/test/java/code/donbonifacio/saft/ResultTest.java
src/test/java/code/donbonifacio/saft/ResultTest.java
package code.donbonifacio.saft; import junit.framework.TestCase; /** * Tests for the Result class */ public class ResultTest extends TestCase { /** * Tests the Result.success singleton */ public void testSuccessSingleton() { Result r1 = Result.success(); assertTrue(r1.isSucceeded(...
package code.donbonifacio.saft; import junit.framework.TestCase; import java.util.Arrays; /** * Tests for the Result class */ public class ResultTest extends TestCase { /** * Tests the Result.success singleton */ public void testSuccessSingleton() { Result r1 = Result.success(); ...
Add more tests to Result
Add more tests to Result
Java
mit
donbonifacio/saft-utils
503b2c4209c4fb0a56f63543a739c3ac97a75e32
src/main/java/com/github/pedrovgs/problem68/IsEven.java
src/main/java/com/github/pedrovgs/problem68/IsEven.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
Add solution to problem 68
Add solution to problem 68
Java
apache-2.0
zmywly8866/Algorithms,mrgenco/Algorithms-1,jibaro/Algorithms,VeskoI/Algorithms,Arkar-Aung/Algorithms,pedrovgs/Algorithms,AppScientist/Algorithms,ajinkyakolhe112/Algorithms,JeffreyWei/Algorithms,zhdh2008/Algorithms,007slm/Algorithms,Ariloum/Algorithms,sridhar-newsdistill/Algorithms,chengjinqian/Algorithms,inexistence/Al...
5b63cae6e0ad3d7243fa48d3e791b906d09ed902
src/main/java/info/u_team/u_team_core/block/UBlock.java
src/main/java/info/u_team/u_team_core/block/UBlock.java
package info.u_team.u_team_core.block; import info.u_team.u_team_core.api.registry.IBlockItemProvider; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraft.world.level.block.Block; public class UBlock extends Block imple...
package info.u_team.u_team_core.block; import info.u_team.u_team_core.api.registry.IBlockItemProvider; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraft.world.level.block.Block; public class UBlock extends Block imple...
Rename group variable in block to match the official name
Rename group variable in block to match the official name
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
0a41f8fca6fd2d8aee81c021c461daa5e7bd59ba
log/src/main/java/com/proofpoint/log/OutputStreamHandler.java
log/src/main/java/com/proofpoint/log/OutputStreamHandler.java
package com.proofpoint.log; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.logging.Handler; import java.util.logging.LogRecord; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.logging.ErrorManager.CLOSE_FAILURE; import static java...
package com.proofpoint.log; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.util.concurrent.atomic.AtomicBoolean; import java.util.logging.Handler; import java.util.logging.LogRecord; import static java.nio.charset.StandardCharsets.UTF_8; ...
Add flushing for console logging
Add flushing for console logging
Java
apache-2.0
gwittel/platform,gwittel/platform,proofpoint/platform,proofpoint/platform,johngmyers/platform,johngmyers/platform,johngmyers/platform,proofpoint/platform,gwittel/platform
584d3c141a439af2e1a5dfdad5d2805ad30a1c99
src/main/java/edu/northwestern/bioinformatics/studycalendar/restlets/TemplateResource.java
src/main/java/edu/northwestern/bioinformatics/studycalendar/restlets/TemplateResource.java
package edu.northwestern.bioinformatics.studycalendar.restlets; import edu.northwestern.bioinformatics.studycalendar.dao.StudyDao; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.northwestern.bioinformatics.studycalendar.domain.Role; import edu.northwestern.bioinformatics.studycalendar.xm...
package edu.northwestern.bioinformatics.studycalendar.restlets; import edu.northwestern.bioinformatics.studycalendar.dao.StudyDao; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.northwestern.bioinformatics.studycalendar.domain.Role; import edu.northwestern.bioinformatics.studycalendar.xm...
Remove mistakenly committed manual XML serializer injection
Remove mistakenly committed manual XML serializer injection git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2237 0d517254-b314-0410-acde-c619094fa49f
Java
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
716ea03f79225182d9a578b9da17986ebce65de6
com.vogella.android.testapp/app/src/main/java/com/vogella/android/testapp/MainActivity.java
com.vogella.android.testapp/app/src/main/java/com/vogella/android/testapp/MainActivity.java
package com.vogella.android.testapp; import android.app.Activity; import android.databinding.DataBindingUtil; import android.os.Bundle; import com.vogella.android.testapp.databinding.ActivityMainBinding; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState...
package com.vogella.android.testapp; import android.app.Activity; import android.databinding.DataBindingUtil; import android.os.Bundle; import com.vogella.android.testapp.databinding.ActivityMainBinding; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState...
Delete unnecessary line in databinding example
Delete unnecessary line in databinding example
Java
epl-1.0
pockchueng/codeexamples-android,vogellacompany/codeexamples-android,pockchueng/codeexamples-android,vogellacompany/codeexamples-android,vogellacompany/codeexamples-android,pockchueng/codeexamples-android
baeaf1ea59ce8178d1cc16248c5a5b80e3b3ee86
src/org/opensaml/xml/encryption/EncryptedKeyInfoResolver.java
src/org/opensaml/xml/encryption/EncryptedKeyInfoResolver.java
/* * Copyright [2006] [University Corporation for Advanced Internet Development, 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 *...
/* * Copyright [2006] [University Corporation for Advanced Internet Development, 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 *...
Set key type for resolver
Set key type for resolver git-svn-id: 46308aa6df3a13aea5930e6665b35c8b83c3a711@276 9fbd0cf9-a10c-0410-82c1-be8c084f3200
Java
apache-2.0
duck1123/java-xmltooling
69d9d68462662960d776699a841ae2520f0ed254
admin-ui/app/snippets/register-device/android.java
admin-ui/app/snippets/register-device/android.java
package com.push.pushapplication; import java.net.URI; import java.net.URISyntaxException; import org.jboss.aerogear.android.unifiedpush.PushConfig; import org.jboss.aerogear.android.unifiedpush.PushRegistrar; import org.jboss.aerogear.android.unifiedpush.Registrations; import android.app.Application; public class ...
package com.push.pushapplication; import android.util.Log; import android.app.Application; import org.jboss.aerogear.android.core.Callback; import org.jboss.aerogear.android.unifiedpush.PushRegistrar; import org.jboss.aerogear.android.unifiedpush.RegistrarManager; import org.jboss.aerogear.android.unifiedpush.gcm.Aer...
Update Android registration code snippet
Update Android registration code snippet
Java
apache-2.0
fheng/aerogear-unifiedpush-server,idelpivnitskiy/aerogear-unifiedpush-server,sinarz/aerogear-unifiedpush-server,idelpivnitskiy/aerogear-unifiedpush-server,yvnicolas/aerogear-unifiedpush-server,aerobase/unifiedpush-server,julioa/aerogear-unifiedpush-server,julioa/aerogear-unifiedpush-server,edewit/aerogear-unifiedpush-s...
ade6d5264ebef75db0c229e3f2771c677f5298d5
src/test/java/TetrisTest.java
src/test/java/TetrisTest.java
import static org.junit.Assert.*; import org.junit.Test; import static org.junit.Assert.assertEquals; public class TetrisTest { @Test public void shouldReturnTwo() { //assertEquals(Tetris.returnTwo(), 2); } }
import static org.junit.Assert.*; import org.junit.Test; import static org.junit.Assert.assertEquals; public class TetrisTest { }
Add test for the main
Add test for the main
Java
mit
Ybalrid/TP_4A_ESIEA_Tetris
a7e2428d1475487636a72bb195ad920612f6a7c7
Seating/src/main/java/org/percepta/mgrankvi/Position.java
Seating/src/main/java/org/percepta/mgrankvi/Position.java
package org.percepta.mgrankvi; import java.io.Serializable; /** * Position of component containing top and left position in relation to parent. * * @author Mikael Grankvist - Vaadin }> */ public class Position implements Serializable { private Integer topValue = 0; private Integer leftValue = 0; pub...
package org.percepta.mgrankvi; import java.io.Serializable; /** * Position of component containing top and left position in relation to parent. * * @author Mikael Grankvist - Vaadin }> */ public class Position implements Serializable { private Integer topValue = 0; private Integer leftValue = 0; pub...
Fix position to be (left, top) as we use it that way and not as written.
Fix position to be (left, top) as we use it that way and not as written.
Java
apache-2.0
caalador/TableSeating
6fd7a9448b47364f8c2b802a65b9f4182c977560
callback/src/main/java/com/iluwatar/callback/App.java
callback/src/main/java/com/iluwatar/callback/App.java
package com.iluwatar.callback; /** * * Callback pattern is more native for functional languages where functions are treated as * first-class citizens. Prior to Java 8 callbacks can be simulated using simple (alike command) * interfaces. * */ public class App { /** * Program entry point */ public sta...
package com.iluwatar.callback; /** * * Callback pattern is more native for functional languages where functions are treated as * first-class citizens. Prior to Java 8 callbacks can be simulated using simple (alike command) * interfaces. * */ public class App { /** * Program entry point */ public sta...
Change callback to lambda expression
[callback] Change callback to lambda expression
Java
mit
sunrenjie/java-design-patterns,sunrenjie/java-design-patterns,sunrenjie/java-design-patterns,sunrenjie/java-design-patterns
766603021ff406c950e798ce3fb259c9f1f460c7
src/test/java/com/wombatnation/privateer/PrimitivesTest.java
src/test/java/com/wombatnation/privateer/PrimitivesTest.java
package com.wombatnation.privateer; import static org.junit.Assert.assertEquals; import org.junit.Ignore; import org.junit.Test; public class PrimitivesTest { private int intMethod(int a) { return a; } // @Test @Ignore public void testIntArg() throws Exception { Privateer p = new Privateer(); int a =...
package com.wombatnation.privateer; import static org.junit.Assert.assertEquals; import org.junit.Ignore; import org.junit.Test; public class PrimitivesTest { private int intMethod(int a) { return a; } @Test // Maven demands at least one runnable test public void makeMavenHappy() { } // @Test @Igno...
Make annoying Maven happy by adding runnable test to in progress unit test file
Make annoying Maven happy by adding runnable test to in progress unit test file
Java
apache-2.0
RobertStewart/privateer
67184babe7a89fab9d761ce1d030500e2af4425e
src/main/java/com/github/nylle/javafixture/Context.java
src/main/java/com/github/nylle/javafixture/Context.java
package com.github.nylle.javafixture; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class Context { private final Configuration configuration; private final Map<Integer, Object> cache = new ConcurrentHashMap<>(); public Context(Configuration configuration) { if (con...
package com.github.nylle.javafixture; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class Context { private final Configuration configuration; private final Map<Integer, Object> cache; public Context(Configuration configuration) { if (configuration == null) { ...
Add read-only cache to context
JAVAFIXTURE-52: Add read-only cache to context This will alow to predefine instances per type.
Java
mit
Nylle/JavaFixture
d79a0e3a9a1dde26036ed71df49080cb3eeacee6
src/main/java/net/fabricmc/base/ClientSidedHandler.java
src/main/java/net/fabricmc/base/ClientSidedHandler.java
/* * Copyright 2016 FabricMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright 2016 FabricMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Check main thread before scheduling
Check main thread before scheduling
Java
apache-2.0
FabricMC/fabric-base
458f5e5231366ba94beeefa5030a153ec6590bf1
src/main/java/org/apache/commons/pool2/BaseObject.java
src/main/java/org/apache/commons/pool2/BaseObject.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Set svn:eol-style = native on Java files. No functional change.
Set svn:eol-style = native on Java files. No functional change. Noted when running checks on the copy of Apache Commons Pool in Apache Tomcat. git-svn-id: a66ef3f0e6c00b14098e182847b4bd646263fa09@1725959 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/commons-pool,apache/commons-pool,apache/commons-pool
1c92d3d9d906b54a3934634ba68cef266e6bd98a
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/AppFrame.java
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/AppFrame.java
package com.github.aureliano.edocs.app.gui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; public class AppFrame extends JFrame { private static final long serialVersionUID = 7618501026967569839L; public AppFrame() { this.buildGui(); } private...
package com.github.aureliano.edocs.app.gui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import com.github.aureliano.edocs.app.gui.menu.MenuBar; public class AppFrame extends JFrame { private static final long serialVersionUID = 7618501026967569839...
Set a menu bar to the frame.
Set a menu bar to the frame.
Java
mit
aureliano/e-docs
663266ee108af1d6154a02fa1d8ddc24ae7227d7
src/main/java/com/jstanier/InputParser.java
src/main/java/com/jstanier/InputParser.java
package com.jstanier; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Reader; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.googlecode.jcsv.CSVStrategy; import com.googlecode.jcsv.read...
package com.jstanier; import java.io.IOException; import java.io.Reader; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.googlecode.jcsv.CSVStrategy; import com.googlecode.jcsv.reader.CSVReader; import com.googlecode.jc...
Throw RuntimeException instead of System.exit
Throw RuntimeException instead of System.exit
Java
mit
jstanier/tweet-scheduler
ad1bf367f172e512dc127b7ddf73e018b20b5c9e
src/main/java/sc/iview/ui/ContextPopUp.java
src/main/java/sc/iview/ui/ContextPopUp.java
package sc.iview.ui; import graphics.scenery.Node; import javax.swing.*; public class ContextPopUp extends JPopupMenu { JMenuItem anItem; public ContextPopUp(Node n) { anItem = new JMenuItem("I'm a " + n.getNodeType()); add(anItem); } }
package sc.iview.ui; import graphics.scenery.Node; import javax.swing.*; public class ContextPopUp extends JPopupMenu { public ContextPopUp(Node n) { add( new JMenuItem("Name: " + n.getName()) ); add( new JMenuItem("Type: " + n.getNodeType()) ); } }
Make context menu look a little more reasonable
Make context menu look a little more reasonable
Java
bsd-2-clause
scenerygraphics/SciView,scenerygraphics/SciView
e91452e1e955acf8ad30b81a43fd404b44eea234
src/main/java/com/mcjty/rftools/blocks/teleporter/RfToolsTeleporter.java
src/main/java/com/mcjty/rftools/blocks/teleporter/RfToolsTeleporter.java
package com.mcjty.rftools.blocks.teleporter; import net.minecraft.entity.Entity; import net.minecraft.world.Teleporter; import net.minecraft.world.WorldServer; public class RfToolsTeleporter extends Teleporter { private final WorldServer worldServerInstance; private double x; private double y; privat...
package com.mcjty.rftools.blocks.teleporter; import net.minecraft.entity.Entity; import net.minecraft.world.Teleporter; import net.minecraft.world.WorldServer; public class RfToolsTeleporter extends Teleporter { private final WorldServer worldServerInstance; private double x; private double y; privat...
Reset movement speed after going through a teleporter
Reset movement speed after going through a teleporter
Java
mit
Adaptivity/RFTools,Elecs-Mods/RFTools,ReneMuetti/RFTools,McJty/RFTools
bcd84215de62178ea2b1daaa6d6b3e53b307e530
allure-java/allure-java-commons/src/main/java/ru/yandex/qatools/allure/storages/StepStorage.java
allure-java/allure-java-commons/src/main/java/ru/yandex/qatools/allure/storages/StepStorage.java
package ru.yandex.qatools.allure.storages; import ru.yandex.qatools.allure.model.Step; import java.util.LinkedList; /** * @author Dmitry Baev charlie@yandex-team.ru * Date: 13.12.13 */ public class StepStorage extends ThreadLocal<LinkedList<Step>> { @Override protected LinkedList<Step> initialValu...
package ru.yandex.qatools.allure.storages; import ru.yandex.qatools.allure.model.Step; import java.util.Deque; import java.util.LinkedList; /** * @author Dmitry Baev charlie@yandex-team.ru * Date: 13.12.13 */ public class StepStorage extends ThreadLocal<Deque<Step>> { @Override protected Deque<Ste...
Use interface instead of class in generic
Use interface instead of class in generic
Java
apache-2.0
allure-framework/allure-core,wuhuizuo/allure-core,allure-framework/allure1,wuhuizuo/allure-core,allure-framework/allure-core,wuhuizuo/allure-core,allure-framework/allure1,allure-framework/allure1,allure-framework/allure1,allure-framework/allure-core,allure-framework/allure-core,wuhuizuo/allure-core
6272257fb01750137d02f00b7c2e3f5b9a916934
app/src/main/java/app/abhijit/iter/SettingsFragment.java
app/src/main/java/app/abhijit/iter/SettingsFragment.java
/* * The MIT License (MIT) * * Copyright (c) 2016 Abhijit Parida <abhijitparida.me@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
/* * The MIT License (MIT) * * Copyright (c) 2016 Abhijit Parida <abhijitparida.me@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
Remove unused imports in settings fragment
Remove unused imports in settings fragment
Java
mit
abhijitparida/bunk,abhijitparida/bunk,abhijitparida/bunk
932aa367da94cff2666c5c52ebe7926d121f34e2
thot-app/src/test/java/org/ale/app/TwitterLinkCreatorTest.java
thot-app/src/test/java/org/ale/app/TwitterLinkCreatorTest.java
package org.ale.app; import static org.junit.Assert.assertEquals; import org.junit.Test; public class TwitterLinkCreatorTest { @Test public void shouldProcessSingleTwitterName() { String result = TwitterLinkCreator.process("@foobar"); assertEquals("<a href=\"http://twitter.com/foobar\">@foobar</a>", result);...
package org.ale.app; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; public class TwitterLinkCreatorTest { private String twitterAddress; @Before public void setup(){ twitterAddress = "<a href=\"http://twitter.com/"; } @Test public void sh...
Refactor tests: Extracted the twitter address to a field
Refactor tests: Extracted the twitter address to a field
Java
mit
codecentric/conference-app,codecentric/conference-app,codecentric/conference-app,codecentric/conference-app,codecentric/conference-app
e0525e140bddc9f3a4d4071bf725d69260e8ae85
src/main/java/de/prob2/ui/states/ClassBlacklist.java
src/main/java/de/prob2/ui/states/ClassBlacklist.java
package de.prob2.ui.states; import java.util.HashSet; import com.google.inject.Inject; import com.google.inject.Singleton; import com.sun.javafx.collections.ObservableSetWrapper; import de.prob.model.representation.AbstractElement; import javafx.collections.ObservableSet; @Singleton public class ClassBlacklist { p...
package de.prob2.ui.states; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob.model.representation.AbstractElement; import javafx.collections.FXCollections; import javafx.collections.ObservableSet; @Singleton public final class ClassBlacklist { private final ObservableSet<Class<? ex...
Replace use of com.sun ObservableSetWrapper with FXCollections
Replace use of com.sun ObservableSetWrapper with FXCollections
Java
epl-1.0
bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui
4df134a89071c64e0eb2d945415e557df2a1e78d
server/src/main/java/scoutmgr/server/rest/JaxRsActivator.java
server/src/main/java/scoutmgr/server/rest/JaxRsActivator.java
package scoutmgr.server.rest; import java.util.HashSet; import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath( "/api" ) public class JaxRsActivator extends Application { @Override public Set<Class<?>> getClasses() { final Set<Class<?>> classes = ne...
package scoutmgr.server.rest; import java.util.HashSet; import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath( "/api" ) public class JaxRsActivator extends Application { @Override public Set<Class<?>> getClasses() { final Set<Class<?>> classes = ne...
Remove mapper. Unsure why we are keeping this class at all.
Remove mapper. Unsure why we are keeping this class at all.
Java
apache-2.0
jcosmo/scoutmgr,jcosmo/scoutmgr,jcosmo/scoutmgr
a275eefc97ba32be1813e204ae3a5fbce2d42d69
src/main/java/com/faforever/api/data/domain/Validity.java
src/main/java/com/faforever/api/data/domain/Validity.java
package com.faforever.api.data.domain; public enum Validity { // Order is crucial VALID, TOO_MANY_DESYNCS, WRONG_VICTORY_CONDITION, NO_FOG_OF_WAR, CHEATS_ENABLED, PREBUILT_ENABLED, NORUSH_ENABLED, BAD_UNIT_RESTRICTIONS, BAD_MAP, TOO_SHORT, BAD_MOD, COOP_NOT_RANKED, MUTUAL_DRAW, SINGLE_PLA...
package com.faforever.api.data.domain; public enum Validity { // Order is crucial VALID, TOO_MANY_DESYNCS, WRONG_VICTORY_CONDITION, NO_FOG_OF_WAR, CHEATS_ENABLED, PREBUILT_ENABLED, NORUSH_ENABLED, BAD_UNIT_RESTRICTIONS, BAD_MAP, TOO_SHORT, BAD_MOD, COOP_NOT_RANKED, MUTUAL_DRAW, SINGLE_PLA...
Add new validity state for games unranked by host
Add new validity state for games unranked by host
Java
mit
FAForever/faf-java-api,micheljung/faf-java-api,FAForever/faf-java-api,FAForever/faf-java-api,micheljung/faf-java-api
b15cf632e7fa3b544b59bd44c0dd6e10d7e521a8
app/src/main/java/com/example/android/miwok/Word.java
app/src/main/java/com/example/android/miwok/Word.java
package com.example.android.miwok; public class Word { private String mMiwokWord; private String mEnglishWord; private int mImageResourceId; private int mRawResourceId; // Constructor setter method // @params strings miwokWord and englishWord // Sets private strings mMiwokWord and mEnglis...
package com.example.android.miwok; public class Word { private String mMiwokWord; private String mEnglishWord; private int mImageResourceId; private int mRawResourceId; // Constructor setter method // @params strings miwokWord and englishWord, int rawResourceId // Sets private strings mMi...
Clarify comments about overloaded constructor
Clarify comments about overloaded constructor
Java
apache-2.0
dirtfeast/Miwok
2c8c8c63e724772aa50771859871f704ab58b2cf
src/fitnesse/fixtures/FileSection.java
src/fitnesse/fixtures/FileSection.java
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse.fixtures; import util.FileUtil; import java.io.File; public class FileSection { private static File fileSection; public FileSection(String type) throw...
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse.fixtures; import util.FileUtil; import java.io.File; public class FileSection { private static File fileSection; public FileSection(String type) throw...
Use correct directory for file section AT.
Use correct directory for file section AT.
Java
epl-1.0
rbevers/fitnesse,hansjoachim/fitnesse,amolenaar/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,jdufner/fitnesse,jdufner/fitnesse,hansjoachim/fitnesse,amolenaar/fitnesse,hansjoachim/fitnesse,rbevers/fitnesse,rbevers/fitnesse
2a8f6c3028feec7fc9a01cbdfad45955c4771bf8
ReactAndroid/src/main/java/com/facebook/yoga/YogaJNI.java
ReactAndroid/src/main/java/com/facebook/yoga/YogaJNI.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ package com.facebook.yoga; import com.facebook.soloader.SoLoader; public class YogaJNI { // Known constants. 1-3 used in ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ package com.facebook.yoga; import com.facebook.soloader.SoLoader; public class YogaJNI { private static boolean isInitiali...
Add Yoga JNI bindings to libcoldstart
Add Yoga JNI bindings to libcoldstart Summary: Yoga's JNI bindings are usually loaded during class loading, and can stall the UI thread. Here, we try to mitigate the problem by adding the bindings to libcoldstart. Reviewed By: michalgr Differential Revision: D12956818 fbshipit-source-id: 9dda5cb6d26c2bae64606bc2d7...
Java
mit
arthuralee/react-native,myntra/react-native,facebook/react-native,hoangpham95/react-native,exponentjs/react-native,hammerandchisel/react-native,facebook/react-native,facebook/react-native,exponentjs/react-native,pandiaraj44/react-native,pandiaraj44/react-native,hoangpham95/react-native,pandiaraj44/react-native,hoangpha...
468a52d70a32282b5ebd5b9188f725ce62fd05a7
src/main/java/net/qbar/common/card/PunchedCardDataManager.java
src/main/java/net/qbar/common/card/PunchedCardDataManager.java
package net.qbar.common.card; import java.util.Map; import com.google.common.collect.Maps; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; public class PunchedCardDataManager { private static PunchedCardDataManager instance; public static PunchedCardDataManager getInstance() ...
package net.qbar.common.card; import java.util.Map; import com.google.common.collect.Maps; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; public class PunchedCardDataManager { private static volatile PunchedCardDataManager instance; public static PunchedCardDataManager getIns...
Use synchronized block for getInstance
Use synchronized block for getInstance
Java
apache-2.0
mantal/Qbar,OPMCorp/Qbar
baf6d3819b5c4e53a5463114ed38ec9abd0cbfdd
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_4_5_6_7_8_9r1_9r2_10_11_12/TimeUpdate.java
src/protocolsupport/protocol/packet/middleimpl/clientbound/play/v_4_5_6_7_8_9r1_9r2_10_11_12/TimeUpdate.java
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.protocol.packet.middle.clientbound.play.MiddleTimeUpdate; import protocolsupport.protocol.packet...
package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.ClientBoundPacket; import protocolsupport.protocol.packet.middle.clientbound.play.MiddleTimeUpdate; import protocolsupport.protocol.packet...
Use abs time in <= 1.4.7 to emulate daynight cycle disable
Use abs time in <= 1.4.7 to emulate daynight cycle disable
Java
agpl-3.0
ProtocolSupport/ProtocolSupport,ridalarry/ProtocolSupport
107ef30d0a539c2edfcadcafb6dd4f6086f04403
Android/Sample/app.available-if-stub/src/main/java/net/wequick/example/small/appavailable_if_stub/MyService.java
Android/Sample/app.available-if-stub/src/main/java/net/wequick/example/small/appavailable_if_stub/MyService.java
package net.wequick.example.small.appavailable_if_stub; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.support.annotation.Nullable; import android.util.Log; /** * Created by galen on 2016/11/4. */ public class MyService extends Service { private static fina...
package net.wequick.example.small.appavailable_if_stub; import android.app.Service; import android.content.Intent; import android.os.Handler; import android.os.IBinder; import android.os.Looper; import android.support.annotation.Nullable; import android.widget.Toast; /** * Created by galen on 2016/11/4. */ public c...
Add toast on server start and stop for sample
Add toast on server start and stop for sample
Java
apache-2.0
wequick/Small,zhaoya188/Small,wequick/Small,wequick/Small,zhaoya188/Small,zhaoya188/Small,zhaoya188/Small,wequick/Small,wequick/Small
f8eb0515838dee6ff44dede8dc9099ce3e72c175
core/src/main/java/org/nwapw/abacus/tree/TokenType.java
core/src/main/java/org/nwapw/abacus/tree/TokenType.java
package org.nwapw.abacus.tree; /** * Enum to represent the type of the token that has been matched * by the lexer. */ public enum TokenType { INTERNAL_FUNCTION_END(-1), ANY(0), WHITESPACE(1), COMMA(2), OP(3), TREE_VALUE_OP(3), NUM(4), VARIABLE(5), FUNCTION(6), TREE_VALUE_FUNCTION(6), OPEN_PARENTH(7), C...
package org.nwapw.abacus.tree; /** * Enum to represent the type of the token that has been matched * by the lexer. */ public enum TokenType { INTERNAL_FUNCTION_END(-1), ANY(0), WHITESPACE(1), COMMA(2), VARIABLE(3), OP(4), TREE_VALUE_OP(4), NUM(5), FUNCTION(6), TREE_VALUE_FUNCTION(6), OPEN_PARENTH(7), C...
Fix token precedence for variable names / operators.
Fix token precedence for variable names / operators.
Java
mit
DanilaFe/abacus,DanilaFe/abacus
d426d82c45c00b347f503dcf9ef558bb6e9401ad
src/main/java/sorts/options/Index.java
src/main/java/sorts/options/Index.java
package sorts.options; import sorts.results.Column; import com.google.common.base.Preconditions; public class Index { protected final Column column; protected final Order order; public Index(Column column) { this(column, Order.ASCENDING); } public Index(Column column, Order order) { Precon...
package sorts.options; import sorts.results.Column; import com.google.common.base.Preconditions; public class Index { protected final Column column; protected final Order order; public Index(Column column) { this(column, Order.ASCENDING); } public Index(Column column, Order order) { Precon...
Add in a missing convenience method
Add in a missing convenience method
Java
apache-2.0
joshelser/cosmos,joshelser/cosmos,joshelser/cosmos
c2dd89ae852c80bcbd23988f3e62acdc8f1a8568
app/src/main/java/com/annimon/hotarufx/visual/PropertyType.java
app/src/main/java/com/annimon/hotarufx/visual/PropertyType.java
package com.annimon.hotarufx.visual; import com.annimon.hotarufx.lib.NumberValue; import com.annimon.hotarufx.lib.StringValue; import com.annimon.hotarufx.lib.Types; import com.annimon.hotarufx.lib.Value; import java.util.function.Function; import javafx.scene.paint.Color; import lombok.AccessLevel; import lombok.Gett...
package com.annimon.hotarufx.visual; import com.annimon.hotarufx.lib.NumberValue; import com.annimon.hotarufx.lib.StringValue; import com.annimon.hotarufx.lib.Types; import com.annimon.hotarufx.lib.Value; import java.util.function.Function; import javafx.scene.paint.Color; import lombok.AccessLevel; import lombok.Requ...
Add generic type to converters signature
Add generic type to converters signature
Java
apache-2.0
aNNiMON/HotaruFX
520fce9f16978e6c4a7ea80a342b3fb148e19a7c
mobile/src/main/java/com/github/triplesolitaire/GamePauseDialogFragment.java
mobile/src/main/java/com/github/triplesolitaire/GamePauseDialogFragment.java
package com.github.triplesolitaire; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.os.Bundle; /** * Dialog to show when a user pauses the game */ public class GamePauseDialogFragment extends DialogFragment { @Override public Dialog onCreateDialog...
package com.github.triplesolitaire; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.os.Build; import android.os.Bundle; /** * Dialog to show when a user pauses the game */ public class GamePauseDialogFragment extends DialogFragment { @Override pub...
Remove icon from Pause dialog on Android 5.0+ devices
Remove icon from Pause dialog on Android 5.0+ devices
Java
bsd-3-clause
ianhanniballake/TripleSolitaire
d8551fc67d760f6e2d4b1e3b86201c517064370d
codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/explorer/DatasourceExplorerConstants.java
codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/explorer/DatasourceExplorerConstants.java
/* * Copyright 2014 Codenvy, S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2014 Codenvy, S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Add constants for table category selection
Add constants for table category selection
Java
epl-1.0
codenvy/plugin-datasource,codenvy/plugin-datasource
e3e11b566b4ee0227b783bb5a361bc37742170fd
OpenTreeMap/src/org/azavea/otm/data/ModelContainer.java
OpenTreeMap/src/org/azavea/otm/data/ModelContainer.java
package org.azavea.otm.data; import org.json.JSONArray; public abstract class ModelContainer<T> { protected JSONArray data; public void setData(JSONArray array) { this.data = array; } public JSONArray getData() { return data; } public abstract T[] getAll(); }
package org.azavea.otm.data; import java.util.LinkedHashMap; import org.json.JSONArray; public abstract class ModelContainer<T> { protected JSONArray data; public void setData(JSONArray array) { this.data = array; } public JSONArray getData() { return data; } public abstract LinkedHashMap<Integer,T> ...
Change T[] to Hash for modelContainer
Change T[] to Hash for modelContainer Using a LinkedHashMap we can do lookup by key/id and also keep the list in the default ordering from which it comes through the API
Java
agpl-3.0
OpenTreeMap/otm-android,maurizi/otm-android,maurizi/otm-android,maurizi/otm-android,OpenTreeMap/otm-android,OpenTreeMap/otm-android
e62ed9fcb90808f08bb5a8e3d04e843694697ff6
src/main/java/org/jboss/loom/actions/ActionDependencySorter.java
src/main/java/org/jboss/loom/actions/ActionDependencySorter.java
package org.jboss.loom.actions; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /** * Sorts a list of actions so that dependencies go first, and depending actions go after. * * @Jira MIGR-104 * @author Ondrej Zizka, ozizka at redhat.com */ public cl...
package org.jboss.loom.actions; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /** * Sorts a list of actions so that dependencies go first, and depending actions go after. * * @Jira MIGR-104 * @author Ondrej Zizka, ozizka at redhat.com */ public cl...
Remove sorting by hashCode() - All right that was not a good idea - it breaks those from Migrators which don't set dependency yet...
Remove sorting by hashCode() - All right that was not a good idea - it breaks those from Migrators which don't set dependency yet...
Java
apache-2.0
OndraZizka/jboss-migration,OndraZizka/jboss-migration,OndraZizka/jboss-migration
32abedd6f1a8cb92126060916877f4f828becd22
app/src/main/java/br/com/alura/agenda/modelo/Aluno.java
app/src/main/java/br/com/alura/agenda/modelo/Aluno.java
package br.com.alura.agenda.modelo; import java.io.Serializable; /** * Created by alura on 12/08/15. */ public class Aluno implements Serializable { private Long id; private String nome; private String endereco; private String telefone; private String site; private Double nota; private S...
package br.com.alura.agenda.modelo; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; public class Aluno implements Serializable { @JsonProperty("idCliente") private Long id; private String nome; private String endereco; private String telefone; private Strin...
Add UUID on user update
Add UUID on user update
Java
mit
filipe1309/android-student-agenda
035cfb8d597d46a1a37ca1754e14cc506ec6e23a
src/main/java/ganymedes01/etfuturum/blocks/CoarseDirt.java
src/main/java/ganymedes01/etfuturum/blocks/CoarseDirt.java
package ganymedes01.etfuturum.blocks; import ganymedes01.etfuturum.EtFuturum; import ganymedes01.etfuturum.IConfigurable; import ganymedes01.etfuturum.core.utils.Utils; import net.minecraft.block.Block; import net.minecraft.block.material.Material; public class CoarseDirt extends Block implements IConfigurable { pu...
package ganymedes01.etfuturum.blocks; import ganymedes01.etfuturum.EtFuturum; import ganymedes01.etfuturum.IConfigurable; import ganymedes01.etfuturum.core.utils.Utils; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.world.IBlockAcc...
Fix Coarse Dirt not letting plants be placed on top of itself
Fix Coarse Dirt not letting plants be placed on top of itself
Java
unlicense
ganymedes01/Et-Futurum
dc2ab2602c5dea2f858a396a86cae4ca807da46f
app/src/main/java/com/bookcrossing/mobile/modules/ApiModule.java
app/src/main/java/com/bookcrossing/mobile/modules/ApiModule.java
package com.bookcrossing.mobile.modules; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.storage.FirebaseStorage; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** (c) 2016 Andrey Mukamolow aka fobo66 <fobo...
package com.bookcrossing.mobile.modules; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.storage.FirebaseStorage; import dagger.Module; import dagger.Provides; /** (c) 2016 Andrey Mukamolow aka fobo66 <fobo66@protonmail.com> * Created by...
Remove @Singletone annotation from API for better performance
Remove @Singletone annotation from API for better performance
Java
apache-2.0
fobo66/BookcrossingMobile,fobo66/BookcrossingMobile
74041faf3aa2411e431b27561f85bc5bb36f3b85
src/main/java/com/amee/platform/science/BaseDate.java
src/main/java/com/amee/platform/science/BaseDate.java
package com.amee.platform.science; import org.joda.time.DateTime; import java.util.Date; public abstract class BaseDate extends java.util.Date { protected String dateStr; public BaseDate(long time) { setTime(time); setDefaultDateStr(); } public BaseDate(String dateStr) { su...
package com.amee.platform.science; import org.joda.time.DateTime; import java.util.Date; public abstract class BaseDate extends java.util.Date { protected String dateStr; public BaseDate(long time) { setTime(time); setDefaultDateStr(); } public BaseDate(String dateStr) { su...
Revert "Removed unused method. PL-1321."
Revert "Removed unused method. PL-1321." This reverts commit a43684f4c0f4753d6906ca6f7e1cf9409bc24488.
Java
mit
OpenAMEE/amee.platform.api
2f0f574fa94a9e09a601d515ab2650a6ff34f10e
name.abuchen.portfolio/src/name/abuchen/portfolio/util/Isin.java
name.abuchen.portfolio/src/name/abuchen/portfolio/util/Isin.java
package name.abuchen.portfolio.util; public class Isin { private static final String CHARACTERS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //$NON-NLS-1$ public static final String PATTERN = "[A-Z]{2}[A-Z0-9]{9}\\d"; //$NON-NLS-1$ private Isin() { } public static final boolean isValid(String is...
package name.abuchen.portfolio.util; public class Isin { private static final String CHARACTERS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //$NON-NLS-1$ public static final String PATTERN = "[A-Z]{2}[A-Z0-9]{9}\\d"; //$NON-NLS-1$ private Isin() { } public static final boolean isValid(String is...
Remove unused conditon which cant hold anyway
Remove unused conditon which cant hold anyway
Java
epl-1.0
cmaoling/portfolio,cmaoling/portfolio,cmaoling/portfolio,cmaoling/portfolio
003abccc659d990033007b79be78fd2281770476
test/org/pentaho/di/run/sortedmerge/RunSortedMerge.java
test/org/pentaho/di/run/sortedmerge/RunSortedMerge.java
package org.pentaho.di.run.sortedmerge; import junit.framework.TestCase; import org.pentaho.di.core.Result; import org.pentaho.di.core.logging.LogWriter; import org.pentaho.di.run.AllRunTests; import org.pentaho.di.run.TimedTransRunner; public class RunSortedMerge extends TestCase { public void test_S...
package org.pentaho.di.run.sortedmerge; import junit.framework.TestCase; import org.pentaho.di.core.Result; import org.pentaho.di.core.logging.LogWriter; import org.pentaho.di.run.AllRunTests; import org.pentaho.di.run.TimedTransRunner; public class RunSortedMerge extends TestCase { public void test_S...
Update of sorted merge step test case
Update of sorted merge step test case git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@4016 5fb7f6ec-07c1-534a-b4ca-9155e429e800
Java
apache-2.0
pymjer/pentaho-kettle,pavel-sakun/pentaho-kettle,brosander/pentaho-kettle,airy-ict/pentaho-kettle,matrix-stone/pentaho-kettle,kurtwalker/pentaho-kettle,yshakhau/pentaho-kettle,mdamour1976/pentaho-kettle,SergeyTravin/pentaho-kettle,mkambol/pentaho-kettle,lgrill-pentaho/pentaho-kettle,sajeetharan/pentaho-kettle,gretchiem...
5422daa2584ac1e996c7c76ee4de7511fe27366e
subversion/bindings/java/jni/org/tigris/subversion/lib/StatusKind.java
subversion/bindings/java/jni/org/tigris/subversion/lib/StatusKind.java
package org.tigris.subversion.lib; /** * ==================================================================== * Copyright (c) 2000-2001 CollabNet. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are ...
package org.tigris.subversion.lib; /** * ==================================================================== * Copyright (c) 2000-2001 CollabNet. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are ...
Integrate the hashtable Unit testcases.
Integrate the hashtable Unit testcases. * tests/AllTests.java (suite): added HashtableTests
Java
apache-2.0
jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion
db208404da01ae397d3a524506df0f95c44db163
src/java/com/cloudrobotics/hello-world-client/Main.java
src/java/com/cloudrobotics/hello-world-client/Main.java
package com.cloudrobotics.hello_world_client; import cloudrobotics.hello_world.v1alpha1.K8sHelloWorldGrpc; import cloudrobotics.hello_world.v1alpha1.Service; import io.grpc.ManagedChannelBuilder; import java.util.logging.Logger; /** */ final class Main { private static final Logger logger = Logger.getLogger(Main.c...
package com.cloudrobotics.hello_world_client; import cloudrobotics.hello_world.v1alpha1.K8sHelloWorldGrpc; import cloudrobotics.hello_world.v1alpha1.Service; import io.grpc.ManagedChannelBuilder; import java.util.logging.Logger; /** */ final class Main { private static final Logger logger = Logger.getLogger(Main.c...
Add coverage the Hello World client example.
Add coverage the Hello World client example. This is now free-standing and also covers edge cases like timestamps. b/124437335 Change-Id: I9496504b638ae6af3885a20aeedf18e267aca683 GitOrigin-RevId: b7c8694f2f920371ee228bb53a6e499e3b727783
Java
apache-2.0
googlecloudrobotics/core,googlecloudrobotics/core,googlecloudrobotics/core
fc717a33319eacc352aafdedbb932db99d186184
src/main/java/refinedstorage/api/autocrafting/registry/ICraftingTaskRegistry.java
src/main/java/refinedstorage/api/autocrafting/registry/ICraftingTaskRegistry.java
package refinedstorage.api.autocrafting.registry; import javax.annotation.Nullable; /** * A registry that stores crafting task factories. * Implement this for adding custom crafting tasks. */ public interface ICraftingTaskRegistry { /** * Adds a crafting task factory to the registry. * The id is used...
package refinedstorage.api.autocrafting.registry; import javax.annotation.Nullable; /** * A registry that stores crafting task factories. * Implement this to handle the loading of custom crafting tasks. */ public interface ICraftingTaskRegistry { /** * Adds a crafting task factory to the registry. * ...
Update some docs, 1.0.1 done
Update some docs, 1.0.1 done
Java
mit
raoulvdberge/refinedstorage,way2muchnoise/refinedstorage,way2muchnoise/refinedstorage,raoulvdberge/refinedstorage
61a7df49ad5658e0f145225523ed7816cca579e3
src/main/java/com/salesforce/phoenix/schema/ColumnSortOrder.java
src/main/java/com/salesforce/phoenix/schema/ColumnSortOrder.java
package com.salesforce.phoenix.schema; public enum ColumnSortOrder { ASC, DESC; public static ColumnSortOrder defaultValue() { return ASC; } public static ColumnSortOrder fromDDLStatement(String sortOrder) { return sortOrder == null ? defaultValue() : ColumnSortOrder.valueOf(sortOrder.toUpperCase()); ...
package com.salesforce.phoenix.schema; public enum ColumnSortOrder { ASC, DESC; public static ColumnSortOrder defaultValue() { return ASC; } public static ColumnSortOrder fromDDLStatement(String sortOrder) { return sortOrder == null ? defaultValue() : ColumnSortOrder.valueOf(sortOrder.toUpperCase()); ...
Return default value when sort order is not found in system.table.
Return default value when sort order is not found in system.table.
Java
bsd-3-clause
forcedotcom/phoenix,forcedotcom/phoenix
bcd849efeda416a2a53d4907272e0d5d42c7f4c2
src/main/java/arnelid/bjorn/redo/rest/FamilyController.java
src/main/java/arnelid/bjorn/redo/rest/FamilyController.java
package arnelid.bjorn.redo.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; ...
package arnelid.bjorn.redo.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable...
Add delete mapping for family.
Add delete mapping for family.
Java
bsd-3-clause
BjornArnelid/redo
43c647e083ca645d0f2edaaf4289a1222d4906eb
src/main/java/com/darwinsys/springbootdemo/NotAServlet.java
src/main/java/com/darwinsys/springbootdemo/NotAServlet.java
package com.darwinsys.springbootdemo; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam;...
package com.darwinsys.springbootdemo; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam;...
Add doc comment for cryptic name.
Add doc comment for cryptic name.
Java
bsd-2-clause
IanDarwin/springbootdemo,IanDarwin/springbootdemo
a62be2b6891068481edb556af690cb0919dbeb4f
r01/src/main/java/edu/virginia/psyc/r01/persistence/CC.java
r01/src/main/java/edu/virginia/psyc/r01/persistence/CC.java
package edu.virginia.psyc.r01.persistence; import lombok.Data; import lombok.EqualsAndHashCode; import org.apache.commons.collections.map.HashedMap; import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData; import org.mindtrails.domain.questionnaire.MeasureField; import javax.persistence.Entity; import java...
package edu.virginia.psyc.r01.persistence; import lombok.Data; import lombok.EqualsAndHashCode; import org.apache.commons.collections.map.HashedMap; import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData; import org.mindtrails.domain.questionnaire.MeasureField; import javax.persistence.Entity; import java...
Return the scale in the order it was created.
Return the scale in the order it was created.
Java
mit
danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails
ef41f85da08267a11b61e360f0dc3e9ff813b342
src/main/java/org/fabrician/enabler/hadoop/HadoopTasktrackerMBeanServerRef.java
src/main/java/org/fabrician/enabler/hadoop/HadoopTasktrackerMBeanServerRef.java
/* * Copyright (c) 2013 TIBCO Software Inc. All Rights Reserved. * * Use is subject to the terms of the TIBCO license terms accompanying the download of this code. * In most instances, the license terms are contained in a file named license.txt. */ package org.fabrician.enabler.hadoop; public class Hado...
/* * Copyright (c) 2013 TIBCO Software Inc. All Rights Reserved. * * Use is subject to the terms of the TIBCO license terms accompanying the download of this code. * In most instances, the license terms are contained in a file named license.txt. */ package org.fabrician.enabler.hadoop; public class Hado...
Fix name of enabler flag variable for tasktracker.
Fix name of enabler flag variable for tasktracker.
Java
bsd-3-clause
fabrician/hadoop-enabler,fabrician/hadoop-enabler,fabrician/hadoop-enabler
68b9fb7334053fdeda3ea336d583b2add9d119f8
src/test/java/org/enoir/graphvizapi/test/TestException.java
src/test/java/org/enoir/graphvizapi/test/TestException.java
package org.enoir.graphvizapi.test; import org.enoir.graphvizapi.Attribute; import org.enoir.graphvizapi.Node; import org.enoir.graphvizapi.exception.AttributeNotFondException; import org.junit.Assert; import org.junit.Test; /** * Created by frank on 2014/11/27. */ public class TestException { @Test public v...
package org.enoir.graphvizapi.test; import org.enoir.graphvizapi.*; import org.enoir.graphvizapi.exception.AttributeNotFondException; import org.enoir.graphvizapi.exception.GraphException; import org.junit.Assert; import org.junit.Test; /** * Created by frank on 2014/11/27. */ public class TestException { @Test ...
Add dot command not found exception.
Add dot command not found exception.
Java
apache-2.0
eternnoir/graphvizapi
c1cac1d2bf4f14b051c926bd72fd4ed10a5a2a2d
engine/src/main/java/org/terasology/world/propagation/PropagationComparison.java
engine/src/main/java/org/terasology/world/propagation/PropagationComparison.java
/* * Copyright 2013 MovingBlocks * * 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 2013 MovingBlocks * * 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...
Update javadoc for propgation comparison enum
Update javadoc for propgation comparison enum
Java
apache-2.0
Malanius/Terasology,Nanoware/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology
738b92328abf469557f89db4900b2b719da679f7
src/com/gh4a/loader/OrganizationListLoader.java
src/com/gh4a/loader/OrganizationListLoader.java
package com.gh4a.loader; import java.io.IOException; import java.util.List; import org.eclipse.egit.github.core.User; import org.eclipse.egit.github.core.service.OrganizationService; import android.content.Context; import com.gh4a.Gh4Application; public class OrganizationListLoader extends BaseLoader<List<User>> {...
package com.gh4a.loader; import java.io.IOException; import java.util.List; import org.eclipse.egit.github.core.User; import org.eclipse.egit.github.core.service.OrganizationService; import android.content.Context; import com.gh4a.Gh4Application; public class OrganizationListLoader extends BaseLoader<List<User>> {...
Include private organization memberships for logged in user.
Include private organization memberships for logged in user. Closes #256.
Java
apache-2.0
edyesed/gh4a,slapperwan/gh4a,slapperwan/gh4a,edyesed/gh4a
3eaf1625e6a5bcbe7542a281b29a1b8ca4ae9b35
src/de.sormuras.bach/main/java/module-info.java
src/de.sormuras.bach/main/java/module-info.java
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Add textual main class "declaration"
Add textual main class "declaration"
Java
mit
sormuras/bach,sormuras/bach
c79017ea29110d63c36e0a26a553826e8001f86b
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/PrototypeFilter.java
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/PrototypeFilter.java
package uk.ac.ebi.quickgo.rest.search.query; import java.util.Arrays; import java.util.List; /** * Holds the data required to specify a filter value * * @author Tony Wardell * Date: 03/05/2016 * Time: 10:25 * Created with IntelliJ IDEA. */ public class PrototypeFilter { private static final String COMMA =...
package uk.ac.ebi.quickgo.rest.search.query; import java.util.Arrays; import java.util.List; import java.util.stream.Stream; /** * Holds the data required to specify a filter value * * @author Tony Wardell * Date: 03/05/2016 * Time: 10:25 * Created with IntelliJ IDEA. */ public class PrototypeFilter { pri...
Stop direct access to the list of args, allow them to be streamed instead.
Stop direct access to the list of args, allow them to be streamed instead.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
adde8fe4b445b5630d26ed664e87d87b1c3d63e1
cloudfoundry-client/src/test/java/org/cloudfoundry/client/ValidationResultTest.java
cloudfoundry-client/src/test/java/org/cloudfoundry/client/ValidationResultTest.java
/* * Copyright 2013-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 ap...
/* * Copyright 2013-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 ap...
Revert "Unit Test Failure Trial"
Revert "Unit Test Failure Trial" This reverts commit 7e2b425fffcb54ab68e1a462c64305fd269f7d3f.
Java
apache-2.0
Orange-OpenSource/cf-java-client,orange-cloudfoundry/cf-java-client,Orange-OpenSource/cf-java-client,cloudfoundry/cf-java-client,alexander071/cf-java-client,cloudfoundry/cf-java-client,cloudfoundry/cf-java-client,alexander071/cf-java-client,orange-cloudfoundry/cf-java-client
5363fcd39f7bfb510ca2cffe95c4619f9597a13b
src/edu/northwestern/bioinformatics/studycalendar/domain/auditing/DataAuditInfo.java
src/edu/northwestern/bioinformatics/studycalendar/domain/auditing/DataAuditInfo.java
package edu.northwestern.bioinformatics.studycalendar.domain.auditing; import java.util.Date; /** * Subclass of core-commons' DataAuditInfo that aliases the "on" property as "time". * This is so that it can be used in HQL queries ("on" is apparently a reserved word). * * @author Rhett Sutphin */ public class Dat...
package edu.northwestern.bioinformatics.studycalendar.domain.auditing; import org.hibernate.annotations.Type; import java.util.Date; import java.sql.Timestamp; /** * Subclass of core-commons' DataAuditInfo that aliases the "on" property as "time". * This is so that it can be used in HQL queries ("on" is apparently...
Add timestamp type to time property for oracle
Add timestamp type to time property for oracle
Java
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
75dd98568660e589f2745c95bfcea8ddf4455fc0
OpERP/src/main/java/devopsdistilled/operp/server/data/repo/stock/StockRepository.java
OpERP/src/main/java/devopsdistilled/operp/server/data/repo/stock/StockRepository.java
package devopsdistilled.operp.server.data.repo.stock; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import devopsdistilled.operp.server.data.entity.stock.Stock; @Repository public interface StockRepository extends JpaRepository<Stock, Long> { }
package devopsdistilled.operp.server.data.repo.stock; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import devopsdistilled.operp.server.data.entity.items.Item; import devopsdistilled.operp.server.data.entity.stock.Stock; import devopsdistilled.operp.ser...
Create functionalities to find stock with item and warehouse
Create functionalities to find stock with item and warehouse
Java
mit
njmube/OpERP,DevOpsDistilled/OpERP
534ed625dee59e082cb078003f9c31973ab016d8
src/test/java/org/chaplib/TestDefaultUserAgentGenerator.java
src/test/java/org/chaplib/TestDefaultUserAgentGenerator.java
package org.chaplib; import static org.junit.Assert.*; import org.apache.http.HttpRequest; import org.apache.http.client.methods.HttpGet; import org.junit.Before; import org.junit.Test; public class TestDefaultUserAgentGenerator { private DefaultUserAgentGenerator impl; @Before public void setUp() { ...
package org.chaplib; import static org.junit.Assert.*; import org.apache.http.HttpRequest; import org.apache.http.client.methods.HttpGet; import org.junit.Before; import org.junit.Test; public class TestDefaultUserAgentGenerator { private DefaultUserAgentGenerator impl; @Before public void setUp() { ...
Include RFC2616 quote on unit test for User-Agent.
Include RFC2616 quote on unit test for User-Agent.
Java
apache-2.0
jonm/chaplib
60d7f3e5e10f5d238f7b2b6954c2215445acfd3f
src/uk/co/sftrabbit/stackanswers/AuthenticationActivity.java
src/uk/co/sftrabbit/stackanswers/AuthenticationActivity.java
package uk.co.sftrabbit.stackanswers; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import uk.co.sftrabbit.stackanswers.app.DrawerActivity; public class AuthenticationActivity extends DrawerActivity { @Override public void onCreate(B...
package uk.co.sftrabbit.stackanswers; import android.os.Bundle; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.ProgressBar; import uk.co.sftrabbit.stackanswers.app.DrawerActivity; public class Authenti...
Update progress bar as authentication pages load
Update progress bar as authentication pages load
Java
mit
sftrabbit/StackAnswers
d07595fb3f2b59c54d840d75783ab4f5553b95de
app/src/main/java/edu/rpi/cs/yacs/core/YACSApplication.java
app/src/main/java/edu/rpi/cs/yacs/core/YACSApplication.java
package edu.rpi.cs.yacs.core; import android.app.Application; import com.crashlytics.android.Crashlytics; import com.squareup.leakcanary.LeakCanary; import edu.rpi.cs.yacs.retrofit.ServiceHelper; import io.fabric.sdk.android.Fabric; import io.realm.Realm; import io.realm.RealmConfiguration; /** * Created by Mark R...
package edu.rpi.cs.yacs.core; import android.app.Application; import com.crashlytics.android.Crashlytics; import com.squareup.leakcanary.LeakCanary; import edu.rpi.cs.yacs.enums.RecyclerViewMode; import edu.rpi.cs.yacs.retrofit.ServiceHelper; import io.fabric.sdk.android.Fabric; import io.realm.Realm; import io.real...
Create RecyclerView Getters And Setters
Create RecyclerView Getters And Setters
Java
mit
YACS-RCOS/YACSAndroid
22848b4c90e54bf03cb948ff252196dcc7f76ca8
container/runtime/src/test/java/org/wildfly/swarm/container/runtime/ParserTestCase.java
container/runtime/src/test/java/org/wildfly/swarm/container/runtime/ParserTestCase.java
package org.wildfly.swarm.container.runtime; import java.net.URL; import java.util.List; import junit.framework.Assert; import org.jboss.dmr.ModelNode; import org.junit.BeforeClass; import org.junit.Test; /** * @author Heiko Braun * @since 26/11/15 */ public class ParserTestCase { private static URL xml; ...
package org.wildfly.swarm.container.runtime; import java.net.URL; import java.util.List; import org.junit.Assert; import org.jboss.dmr.ModelNode; import org.junit.BeforeClass; import org.junit.Test; /** * @author Heiko Braun * @since 26/11/15 */ public class ParserTestCase { private static URL xml; @Bef...
Replace deprecated API usage with non-deprecated for junit.Assert.
Replace deprecated API usage with non-deprecated for junit.Assert.
Java
apache-2.0
emag/wildfly-swarm,nelsongraca/wildfly-swarm,kenfinnigan/wildfly-swarm,Ladicek/wildfly-swarm,wildfly-swarm/wildfly-swarm,gastaldi/wildfly-swarm,gastaldi/wildfly-swarm,heiko-braun/wildfly-swarm-1,christian-posta/wildfly-swarm,nelsongraca/wildfly-swarm,jamesnetherton/wildfly-swarm,juangon/wildfly-swarm,christian-posta/wi...
77ac6397ee27c02c65b4e61a17912b5f45d8ec65
app-business/src/main/java/org/ligoj/app/resource/welcome/InitializeRbacDataResource.java
app-business/src/main/java/org/ligoj/app/resource/welcome/InitializeRbacDataResource.java
package org.ligoj.app.resource.welcome; import java.util.Arrays; import java.util.List; import org.ligoj.app.api.FeaturePlugin; import org.ligoj.app.iam.model.DelegateOrg; import org.ligoj.app.model.DelegateNode; import org.ligoj.bootstrap.model.system.SystemAuthorization; import org.ligoj.bootstrap.model.system.Syst...
package org.ligoj.app.resource.welcome; import java.util.Arrays; import java.util.List; import org.ligoj.app.api.FeaturePlugin; import org.ligoj.app.iam.model.DelegateOrg; import org.ligoj.app.model.DelegateNode; import org.ligoj.bootstrap.model.system.SystemAuthorization; import org.ligoj.bootstrap.model.system.Syst...
Add plug-in name for welcome RBAC
Add plug-in name for welcome RBAC
Java
mit
ligoj/ligoj,ligoj/ligoj,ligoj/ligoj,ligoj/ligoj
35c101232225f65dbfdddf9f361d8a4d84e7f298
source/com/intellij/jsp/impl/JspElementDescriptor.java
source/com/intellij/jsp/impl/JspElementDescriptor.java
package com.intellij.jsp.impl; import com.intellij.xml.XmlElementDescriptor; import com.intellij.j2ee.j2eeDom.web.WebModuleProperties; import com.intellij.psi.xml.XmlTag; import javax.servlet.jsp.tagext.TagExtraInfo; /** * Created by IntelliJ IDEA. * User: Maxim.Mossienko * Date: Mar 11, 2005 * Time: 8:57:52 PM ...
package com.intellij.jsp.impl; import com.intellij.xml.XmlElementDescriptor; import com.intellij.psi.xml.XmlTag; import com.intellij.openapi.module.Module; import javax.servlet.jsp.tagext.TagExtraInfo; import org.jetbrains.annotations.Nullable; /** * Created by IntelliJ IDEA. * User: Maxim.Mossienko * Date: Mar ...
Resolve of the implicit variables should also work in java modules (IDEADEV-3688)
Resolve of the implicit variables should also work in java modules (IDEADEV-3688)
Java
apache-2.0
alphafoobar/intellij-community,hurricup/intellij-community,adedayo/intellij-community,pwoodworth/intellij-community,signed/intellij-community,muntasirsyed/intellij-community,ahb0327/intellij-community,semonte/intellij-community,tmpgit/intellij-community,xfournet/intellij-community,allotria/intellij-community,petteyg/in...
b368d072c6b41b31076b12b86f0422690316789a
java/uk/ltd/getahead/dwr/Container.java
java/uk/ltd/getahead/dwr/Container.java
/* * Copyright 2005 Joe Walker * * 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 2005 Joe Walker * * 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...
Make the interface clear when it comes to what happens when the container can't find the bean
Make the interface clear when it comes to what happens when the container can't find the bean git-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@389 3a8262b2-faa5-11dc-8610-ff947880b6b2
Java
apache-2.0
burris/dwr,burris/dwr