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
ec6da89080d8ff55026be38c51e1e98c5ae9a982
inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java
inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java
package name.webdizz.fault.tolerance.inventory.client.command; import name.webdizz.fault.tolerance.inventory.client.InventoryRequester; import name.webdizz.fault.tolerance.inventory.domain.Inventory; import name.webdizz.fault.tolerance.inventory.domain.Product; import name.webdizz.fault.tolerance.inventory.domain.Stor...
package name.webdizz.fault.tolerance.inventory.client.command; import name.webdizz.fault.tolerance.inventory.client.InventoryRequester; import name.webdizz.fault.tolerance.inventory.domain.Inventory; import name.webdizz.fault.tolerance.inventory.domain.Product; import name.webdizz.fault.tolerance.inventory.domain.Stor...
Set Hystrix group key to command class name
Set Hystrix group key to command class name
Java
apache-2.0
webdizz/fault-tolerance-talk
a9d351559472b751315f9da2b4a93faa3b57b137
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherFactory.java
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherFactory.java
package com.codenvy.ide.ext.datasource.client.sqllauncher; public interface SqlRequestLauncherFactory { SqlRequestLauncherView createSqlRequestLauncherView(); SqlRequestLauncherPresenter createSqlRequestLauncherPresenter(); SqlRequestLauncherAdapter createSqlRequestLauncherAdapter(); }
package com.codenvy.ide.ext.datasource.client.sqllauncher; public interface SqlRequestLauncherFactory { SqlRequestLauncherView createSqlRequestLauncherView(); SqlRequestLauncherPresenter createSqlRequestLauncherPresenter(); }
Remove launcher view factory method
Remove launcher view factory method
Java
epl-1.0
codenvy/plugin-datasource,codenvy/plugin-datasource
81d7c793585ca66dc5f726bf9013212986f66176
core/src/main/java/com/emc/ia/sdk/support/io/RepeatableInputStream.java
core/src/main/java/com/emc/ia/sdk/support/io/RepeatableInputStream.java
/* * Copyright (c) 2016 EMC Corporation. All Rights Reserved. */ package com.emc.ia.sdk.support.io; import java.io.IOException; import java.io.InputStream; import java.util.function.Supplier; import org.apache.commons.io.IOUtils; /** * Provide repeatable access to the same {@linkplain InputStream} by caching it ...
/* * Copyright (c) 2016 EMC Corporation. All Rights Reserved. */ package com.emc.ia.sdk.support.io; import java.io.IOException; import java.io.InputStream; import java.util.Objects; import java.util.function.Supplier; import org.apache.commons.io.IOUtils; /** * Provide repeatable access to the same {@linkplain I...
Add check for null parameter
Add check for null parameter
Java
mpl-2.0
kovaloid/infoarchive-sip-sdk,Enterprise-Content-Management/infoarchive-sip-sdk
f70d8c57d354438192357c3a0435a8f48183aafe
src/org/traccar/DefaultDataHandler.java
src/org/traccar/DefaultDataHandler.java
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Fix data handler first position crash
Fix data handler first position crash
Java
apache-2.0
vipien/traccar,jssenyange/traccar,vipien/traccar,tsmgeek/traccar,5of9/traccar,tananaev/traccar,orcoliver/traccar,duke2906/traccar,jon-stumpf/traccar,jon-stumpf/traccar,stalien/traccar_test,jssenyange/traccar,AnshulJain1985/Roadcast-Tracker,tsmgeek/traccar,al3x1s/traccar,joseant/traccar-1,ninioe/traccar,tananaev/traccar...
0ab371acfefbb87cb125c2d94d2732fac362c213
spring-cloud-aws-autoconfigure/src/main/java/org/springframework/cloud/aws/autoconfigure/cache/ElastiCacheAutoConfiguration.java
spring-cloud-aws-autoconfigure/src/main/java/org/springframework/cloud/aws/autoconfigure/cache/ElastiCacheAutoConfiguration.java
/* * Copyright 2013-2014 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-2014 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...
Add condition on memcached class to ensure that there is a client available before running this autoconfig class
Add condition on memcached class to ensure that there is a client available before running this autoconfig class
Java
apache-2.0
sbuettner/spring-cloud-aws,spring-cloud/spring-cloud-aws,sbuettner/spring-cloud-aws
48f9bb22fc59b5671c0ed57cbe6585ee31222cb9
agent/service-message-maven-extension/src/main/java/nu/studer/teamcity/buildscan/agent/servicemessage/ServiceMessage.java
agent/service-message-maven-extension/src/main/java/nu/studer/teamcity/buildscan/agent/servicemessage/ServiceMessage.java
package nu.studer.teamcity.buildscan.agent.servicemessage; final class ServiceMessage { private static final String SERVICE_MESSAGE_START = "##teamcity["; private static final String SERVICE_MESSAGE_END = "]"; private final String name; private final String argument; private ServiceMessage(Strin...
package nu.studer.teamcity.buildscan.agent.servicemessage; final class ServiceMessage { private static final String SERVICE_MESSAGE_START = "##teamcity["; private static final String SERVICE_MESSAGE_END = "]"; private final String name; private final String argument; private ServiceMessage(Strin...
Fix message escaping to be the same as in the init script
Fix message escaping to be the same as in the init script This adjustment is done to have the same character escaping as in the PR provided by the TeamCity folks from JetBrains, assuming their encoding code is correct and not the one that was previously used by this plugin.
Java
apache-2.0
etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin
f36d647de866dd2c78e8de80063169c49e1eb04e
src/org/beanmaker/util/BaseView.java
src/org/beanmaker/util/BaseView.java
package org.beanmaker.util; import java.util.Locale; import java.util.ResourceBundle; public class BaseView { final private String resourceBundleName; protected ResourceBundle resourceBundle; protected Locale locale; public BaseView(final String resourceBundleName) { this.resourceBundleName =...
package org.beanmaker.util; import java.util.Locale; import java.util.ResourceBundle; public class BaseView { final private String resourceBundleName; protected ResourceBundle resourceBundle; protected Locale locale; public BaseView(final String resourceBundleName) { this.resourceBundleName =...
Move resource bundle management to private non overridable function
Move resource bundle management to private non overridable function Correct initialization bug in beans. BaseView.setLocale() was called from constructor. This was a problem, since this function is frequently overloaded in subclasses and might need to access the superclass object to function properly. Bug was present...
Java
bsd-2-clause
cpythoud/beanmaker,cpythoud/beanmaker
871974c1be09b831cab6fd206f89b7a5e6bdab03
MagicAPI/src/main/java/com/elmakers/mine/bukkit/api/event/CastEvent.java
MagicAPI/src/main/java/com/elmakers/mine/bukkit/api/event/CastEvent.java
package com.elmakers.mine.bukkit.api.event; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.spell.Spell; import com.elmakers.mine.bukkit.api.spell.SpellResult...
package com.elmakers.mine.bukkit.api.event; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.spell.Spell; import com.elmakers.mine.bukkit.api.spell.SpellResult...
Add back in previous constructor to make revapi happy, but no one should really be creating these anyway
Add back in previous constructor to make revapi happy, but no one should really be creating these anyway
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
2596904080e1367a1d82fce2083a2d5b7f6e04a9
lab4/src/SecureElection/SecureElectionClient.java
lab4/src/SecureElection/SecureElectionClient.java
package SecureElection; /** * Created by Klas Eskilson on 15-11-16. */ public class SecureElectionClient { public static void main(String[] args) { } }
package SecureElection; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.InetAddress; import java.net.UnknownHostException; import java.security.KeyStore; import javax.net.ssl.*; import SecureElection.Common.Settings; /** * C...
Add SSL setup to client
Add SSL setup to client
Java
mit
klaseskilson/TNM031-labs
96722949c9768ba69b80588dde86ee0882d4fc9b
ExternalClient/src/main/java/Client.java
ExternalClient/src/main/java/Client.java
import httpserver.WebServer; import requests.CiphersuiteRequest; public class Client { public static void main(String[] args) { WebServer ws = new WebServer(); for (int i = 0; i < 10; i++) { new Thread(new CiphersuiteRequest()).start(); } } }
import httpserver.WebServer; import requests.CiphersuiteRequest; import requests.Ecrypt2LevelRequest; import requests.OpenPortRequest; import java.util.Random; public class Client { public static void main(String[] args) { WebServer ws = new WebServer(); Random r = new Random(); for (int ...
Create random requests to test/stress system.
Create random requests to test/stress system.
Java
apache-2.0
IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring
670a45657dded1598b263d7b03d3a336e0842ebf
src/main/java/com/yammer/stresstime/resources/AuthorizationResource.java
src/main/java/com/yammer/stresstime/resources/AuthorizationResource.java
package com.yammer.stresstime.resources; import com.yammer.stresstime.auth.Authorize; import com.yammer.stresstime.auth.Role; import com.yammer.stresstime.entities.User; import io.dropwizard.hibernate.UnitOfWork; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Med...
package com.yammer.stresstime.resources; import com.yammer.stresstime.auth.Authorize; import com.yammer.stresstime.auth.Role; import com.yammer.stresstime.entities.Group; import com.yammer.stresstime.entities.Membership; import com.yammer.stresstime.entities.User; import io.dropwizard.hibernate.UnitOfWork; import jav...
Add group admin information to '/current' request
Add group admin information to '/current' request
Java
mit
yammer/schedulizer,yammer/schedulizer,yammer/schedulizer,yammer/schedulizer
7c52ba28822b2c7002f3adf1fe9ed4643bb77c3c
src/test/java/net/interfax/rest/client/impl/InterFAXJerseyClientTest.java
src/test/java/net/interfax/rest/client/impl/InterFAXJerseyClientTest.java
package net.interfax.rest.client.impl; import com.github.tomakehurst.wiremock.junit.WireMockRule; import net.interfax.rest.client.InterFAXClient; import net.interfax.rest.client.domain.Response; import org.junit.Rule; import org.junit.Test; import java.io.File; public class InterFAXJerseyClientTest { @Rule ...
package net.interfax.rest.client.impl; import com.github.tomakehurst.wiremock.junit.WireMockRule; import net.interfax.rest.client.InterFAXClient; import net.interfax.rest.client.domain.Response; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import java.io.File; public class InterFAXJerseyCl...
Add status code assertion in test case
Add status code assertion in test case
Java
mit
interfax/interfax-java,interfax/interfax-java
0c44897d7aa3f34d071b38ca30ebf604f855168d
src/org/uct/cs/simplify/ply/reader/Vertex.java
src/org/uct/cs/simplify/ply/reader/Vertex.java
package org.uct.cs.simplify.ply.reader; import java.nio.ByteBuffer; import java.nio.ByteOrder; public class Vertex { public float x; public float y; public float z; public byte[] data; public Vertex(byte[] input) { this.data = input; ByteBuffer bf = ByteBuffer.wrap(input); ...
package org.uct.cs.simplify.ply.reader; import java.nio.ByteBuffer; import java.nio.ByteOrder; public class Vertex { public float x; public float y; public float z; // public int r; // public int g; // public int b; // public int a; public byte[] data; public Vertex(byte[] input) ...
Add colour stuff to vertex but commented out
Add colour stuff to vertex but commented out
Java
apache-2.0
AstromechZA/PLYMeshSplitterJava
6585f11db92ee8be68e2c5ffb661213886a07db3
src/test/java/io/luna/game/model/AreaTest.java
src/test/java/io/luna/game/model/AreaTest.java
package io.luna.game.model; import io.luna.game.model.mob.Player; import org.junit.Test; /** * A test that ensures that functions within {@link Position} are functioning correctly. * * @author lare96 <http://github.com/lare96> */ final class AreaTest { /** * Ensures the north east {@code x} coordinate i...
package io.luna.game.model; import io.luna.game.model.mob.Player; import org.junit.Test; /** * A test that ensures that functions within {@link Position} are functioning correctly. * * @author lare96 <http://github.com/lare96> */ public final class AreaTest { /** * Ensures the north east {@code x} coord...
Make functions public for unit test
Make functions public for unit test
Java
mit
lare96/luna
5a7cd83db1dd9b49bc8d0f79cd747e15fe449bf2
core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java
core/src/test/java/org/apache/commons/vfs2/provider/UriParserTestCase.java
package org.apache.commons.vfs2.provider; import junit.framework.Assert; import org.junit.Test; public class UriParserTestCase { @Test public void testColonInFileName() { Assert.assertEquals(null, UriParser.extractScheme("some/path/some:file")); } @Test public void t...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
Add missing Apache license header.
Add missing Apache license header. git-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1244680 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/commons-vfs,ecki/commons-vfs,seeburger-ag/commons-vfs,seeburger-ag/commons-vfs,mohanaraosv/commons-vfs,ecki/commons-vfs,apache/commons-vfs,mohanaraosv/commons-vfs,mohanaraosv/commons-vfs,seeburger-ag/commons-vfs
c108e687b0d85ae937b1669fb269f63376078353
jgiven-core/src/main/java/com/tngtech/jgiven/config/ConfigurationUtil.java
jgiven-core/src/main/java/com/tngtech/jgiven/config/ConfigurationUtil.java
package com.tngtech.jgiven.config; import java.util.concurrent.ExecutionException; import com.google.common.base.Throwables; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.tngtech.jgiven.annotation.JGivenConfiguration; i...
package com.tngtech.jgiven.config; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.tngtech.jgiven.annotation.JGivenConfiguration; import com.tngtech.jgiven.impl.util.ReflectionUtil; import java.util.Optional; import java.u...
Introduce optional into the configuration util to simplify the code
Introduce optional into the configuration util to simplify the code Signed-off-by: l-1sqared <927badf1468b689b17391b1b1cb5895e9b797b96@users.noreply.github.com>
Java
apache-2.0
TNG/JGiven,TNG/JGiven,TNG/JGiven,TNG/JGiven
79fc46bf80ef3538ec46587e21089cbda288f875
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/client/zms/bindings/PolicyEntity.java
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/client/zms/bindings/PolicyEntity.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.client.zms.bindings; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPro...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.client.zms.bindings; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonPro...
Read policy from resource name
Read policy from resource name
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
e2a35dce0e9c8c3c73ab8481ad7d4d764195877d
src/model/Line.java
src/model/Line.java
package model; import java.util.ArrayList; /** * Created by ano on 2016. 5. 18.. */ public class Line { private String content;//이 라인이 가지고 있는 컨텐츠 private int blockIndex; // 이 라인이 속해있는 블럭의 index. -1이면 속하는 블럭이 없다는 것 private boolean isWhitespace;//compare로 생긴 공백 줄이면 true; private static ArrayList<Block>...
package model; import java.util.ArrayList; /** * Created by ano on 2016. 5. 18.. */ public class Line { private String content;//이 라인이 가지고 있는 컨텐츠 private int blockIndex; // 이 라인이 속해있는 블럭의 index. -1이면 속하는 블럭이 없다는 것 private boolean isWhitespace;//compare로 생긴 공백 줄이면 true; private static ArrayList<Block>...
Make blockArrayList static Make setBlockArray static method
Make blockArrayList static Make setBlockArray static method
Java
mit
leesnhyun/SE2016,leesnhyun/SE2016
83870f17be31442264664103c621f34b4df0d19c
server/src/som/langserv/som/SomLexer.java
server/src/som/langserv/som/SomLexer.java
package som.langserv.som; import java.util.ArrayList; import java.util.List; import trufflesom.compiler.Lexer; public class SomLexer extends Lexer { private List<Integer> commentTokens = new ArrayList<Integer>(); protected SomLexer(final String content) { super(content); } @Override protected void s...
package som.langserv.som; import java.util.ArrayList; import java.util.List; import som.langserv.SemanticTokenType; import trufflesom.compiler.Lexer; public class SomLexer extends Lexer { private List<Integer> commentTokens = new ArrayList<Integer>(); protected SomLexer(final String content) { super(conten...
Fix token types for comments in SOM
Fix token types for comments in SOM Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Java
mit
smarr/SOMns-vscode,smarr/SOMns-vscode,smarr/SOMns-vscode
0938cb8ba120b0e27ef87819aed7f2dc578ec319
src/test/java/com/mpalourdio/springboottemplate/service/UselessBeanTest.java
src/test/java/com/mpalourdio/springboottemplate/service/UselessBeanTest.java
/* * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,...
/* * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,...
Initialize object under test in setup
Initialize object under test in setup
Java
mit
mpalourdio/SpringBootTemplate,mpalourdio/SpringBootTemplate
f006036470343b73d6ecb4913a8adb04e7cb407b
src/main/java/com/csforge/reader/Partition.java
src/main/java/com/csforge/reader/Partition.java
package com.csforge.reader; import org.apache.cassandra.db.rows.Unfiltered; import java.util.stream.Stream; /** */ public interface Partition { /** * A timestamp (typically in microseconds since the unix epoch, although this is not enforced) after which * data should be considered deleted. If set to ...
package com.csforge.reader; import org.apache.cassandra.db.rows.Row; import org.apache.cassandra.db.rows.Unfiltered; import java.util.stream.Stream; /** */ public interface Partition { /** * A timestamp (typically in microseconds since the unix epoch, although this is not enforced) after which * data...
Change staticRow() to return Row.
Change staticRow() to return Row.
Java
apache-2.0
tolbertam/sstable-tools
b5e671e5c1da8347271a112febc9af614161c206
src/com/twu/biblioteca/BibliotecaApp.java
src/com/twu/biblioteca/BibliotecaApp.java
package com.twu.biblioteca; import java.util.List; import java.util.ArrayList; public class BibliotecaApp { private static List<Book> bookList = initBookList(); public static void main(String[] args) { System.out.println("Welcome to Biblioteca!"); printBookList(); } private static vo...
package com.twu.biblioteca; import java.util.List; import java.util.ArrayList; public class BibliotecaApp { private static List<Book> bookList = initBookList(); public static void main(String[] args) { System.out.println("Welcome to Biblioteca!"); printBookList(); } private static vo...
Print book list with author and year published details
Print book list with author and year published details
Java
apache-2.0
raingxm/twu-biblioteca-emilysiow
f4f90778d0ed9dba7bc0bd3cf33da2b4d7a4fa96
modello-core/src/main/java/org/codehaus/modello/plugin/ModelloTranslator.java
modello-core/src/main/java/org/codehaus/modello/plugin/ModelloTranslator.java
package org.codehaus.modello.plugin; /* * LICENSE */ import java.io.Reader; import java.util.Properties; import org.codehaus.modello.Model; import org.codehaus.modello.ModelloException; /** * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a> * @version $Id$ */ public interface ModelloTransla...
package org.codehaus.modello.plugin; /* * LICENSE */ import java.io.Reader; import java.util.Properties; import org.codehaus.modello.Model; import org.codehaus.modello.ModelloException; /** * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a> * @version $Id$ */ public interface ModelloTransla...
Add translator method from Model
Add translator method from Model
Java
mit
codehaus-plexus/modello
4f0727692bb6087f576e4986778fbe49931ce5fe
src/main/java/io/ifar/goodies/CliConveniences.java
src/main/java/io/ifar/goodies/CliConveniences.java
package io.ifar.goodies; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import com.codahale.metrics.MetricRegistry; import io.dropwizard.jackson.Jackson; import io.dropwizard.setup.Environment; import org.slf4j.LoggerFactory; import javax.security.auth.login.Configuration; import javax.val...
package io.ifar.goodies; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import com.codahale.metrics.MetricRegistry; import io.dropwizard.Configuration; import io.dropwizard.jackson.Jackson; import io.dropwizard.setup.Environment; import org.slf4j.LoggerFactory; import javax.validation.Vali...
Clean up errant import of non-DW class.
Clean up errant import of non-DW class.
Java
bsd-2-clause
Multifarious/dw-goodies
5a05bff9674e9e171dd9389e77567b5285e0dc4b
src/test/resources/shared/execute/SideEffects.java
src/test/resources/shared/execute/SideEffects.java
/** * Tests some evaluation order / side effects with && and ||. * * @author Elvis Stansvik <elvstone@gmail.com> */ //EXT:IWE //EXT:BDJ class SideEffects { public static void main(String[] args) { IncredibleMachine m; m = new IncredibleMachine(); System.out.println(m.run()); // Should ...
/** * Tests some evaluation order / side effects with && and ||. * * @author Elvis Stansvik <elvstone@gmail.com> */ //EXT:BDJ class SideEffects { public static void main(String[] args) { IncredibleMachine m; m = new IncredibleMachine(); System.out.println(m.run()); // Should print 329....
Remove EXT:IWE from side effects test case.
Remove EXT:IWE from side effects test case. EXT:BDJ is enough.
Java
mit
liuxinglanyue/mjc,liuxinglanyue/mjc,estan/mjc,liuxinglanyue/mjc,estan/mjc,estan/mjc
2c57fee9acb0d229f5e93bd4f89678a0839a986f
src/main/java/server/game/Team.java
src/main/java/server/game/Team.java
package server.game; public enum Team { Red, Blue; }
package server.game; public enum Team { Undefined(""), Spectator("Spectator"), Red("Red"), Blue("Blue"); private String name; Team(String name) { this.name = name; } public String getName() { return name; } }
Add a string in the team enum
Add a string in the team enum
Java
unlicense
scorsi/epitech-jcoinche
b33b98b0f301ebc2c5dabef186ea04b049ebc294
library/src/test/java/MathUtilsTest.java
library/src/test/java/MathUtilsTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class MathUtilsTest { @Test void testAdd() { MathUtils math = new MathUtils(); assertEquals(5, math.add(3,2), "The add method should add two numbers"); } @Test void testDivide(){ MathUtil...
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class MathUtilsTest { MathUtils mathUtils; @BeforeEach void init(){ mathUtils = new MathUtils(); } @Test void testAdd() { assertEquals(5, mathUtils.ad...
Refactor test to use BeforeEach to initialize
Refactor test to use BeforeEach to initialize
Java
apache-2.0
googleinterns/spec-math,googleinterns/spec-math,googleinterns/spec-math,googleinterns/spec-math
b457af625a2a9a77720e426ecd4c02ad05bece0d
ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewHierarchyDumper.java
ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewHierarchyDumper.java
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
Add custom error reporter in Groups
Add custom error reporter in Groups Differential Revision: D3413351 fbshipit-source-id: 580782aac2966a07a3dbce9e9268392739e4803b
Java
bsd-3-clause
christopherdro/react-native,thotegowda/react-native,csatf/react-native,gre/react-native,skatpgusskat/react-native,peterp/react-native,exponentjs/react-native,chnfeeeeeef/react-native,javache/react-native,skatpgusskat/react-native,facebook/react-native,brentvatne/react-native,gilesvangruisen/react-native,wenpkpk/react-n...
3e13cd691fd8b153f4afb1b7b37865701fd610e3
src/main/java/com/infinityraider/infinitylib/modules/keyboard/ModuleKeyboard.java
src/main/java/com/infinityraider/infinitylib/modules/keyboard/ModuleKeyboard.java
package com.infinityraider.infinitylib.modules.keyboard; import com.google.common.collect.ImmutableList; import com.infinityraider.infinitylib.modules.Module; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import java.util.List; public class ModuleKeyboard extends Mod...
package com.infinityraider.infinitylib.modules.keyboard; import com.google.common.collect.ImmutableList; import com.infinityraider.infinitylib.modules.Module; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import java.ut...
Add method to Keyboard Module to fetch KeyBinding state
Add method to Keyboard Module to fetch KeyBinding state
Java
mit
InfinityRaider/InfinityLib
613261ba7349db4ec5ba0a35f3c1ae7441895f69
src/edu/ames/frc/robot/InputManager.java
src/edu/ames/frc/robot/InputManager.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.ames.frc.robot; /* List of buttons/toggles needed * Manual pivot toggle: 2 * Speed boost button: Active joystick push * Force shoot button: 4 * Force Realign button: 7 * Stop auto-target toggle: 10 * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.ames.frc.robot; /* List of buttons/toggles needed * Manual pivot toggle: 2 * Speed boost button: Active joystick push * Force shoot button: 4 * Force Realign button: 7 * Stop auto-target toggle: 10 * ...
Test of the Git system
Test of the Git system
Java
bsd-3-clause
amesrobotics/2013robot
191bcab4ce9ea9fe99e13c8ecd1c2c64dd141070
Wrapping/Java/Regression.java
Wrapping/Java/Regression.java
import vtk.*; public class Regression { public static void main (String []args) { vtkTesting.Initialize(args); vtkRenderWindow renWin = new vtkRenderWindow(); vtkRenderer ren1 = new vtkRenderer(); renWin.AddRenderer(ren1); vtkConeSource cone = new vtkConeSource(); cone.SetResolution(8)...
/*========================================================================= Program: Visualization Toolkit Module: Regression.java Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or ht...
Send threshold to vtkTesting, add interaction support, and return what vtktesting returns
Send threshold to vtkTesting, add interaction support, and return what vtktesting returns
Java
bsd-3-clause
demarle/VTK,johnkit/vtk-dev,ashray/VTK-EVM,gram526/VTK,arnaudgelas/VTK,naucoin/VTKSlicerWidgets,spthaolt/VTK,keithroe/vtkoptix,sankhesh/VTK,sgh/vtk,jeffbaumes/jeffbaumes-vtk,gram526/VTK,Wuteyan/VTK,arnaudgelas/VTK,daviddoria/PointGraphsPhase1,aashish24/VTK-old,jmerkow/VTK,daviddoria/PointGraphsPhase1,demarle/VTK,mspark...
8fb33876aa8dcfcf4edf28ef687b5dfb17af4a76
src/main/java/com/sakamichi46/model/Member.java
src/main/java/com/sakamichi46/model/Member.java
package com.sakamichi46.model; import java.util.Date; import lombok.Getter; import lombok.Setter; /** * * @author kikuta */ @Getter @Setter public class Member { private String name; private Date birthday; private String bloodType; private String constellation; private String profilePhotoUri; ...
package com.sakamichi46.model; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; import lombok.Getter; import lombok.Setter; /** * * @author kikuta */ @Getter @Setter public class Member { private String name; @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") ...
Modify date format of json
Modify date format of json
Java
mit
kikutaro/Sakamichi46Api,kikutaro/Sakamichi46Api
bbe287a9a0cb10d25ce71b39a7a70eb6de78bd37
src/org/yi/happy/metric/SimpleTimer.java
src/org/yi/happy/metric/SimpleTimer.java
package org.yi.happy.metric; /** * I am a simple timer. */ public class SimpleTimer { /** * create started. */ public SimpleTimer() { startTime = System.currentTimeMillis(); stopTime = startTime - 1; } /** * when the timer started. */ private long startTime; ...
package org.yi.happy.metric; /** * I am a simple timer. */ public class SimpleTimer { /** * create started. */ public SimpleTimer() { startTime = System.currentTimeMillis(); stopTime = startTime - 1; } /** * when the timer started. */ private long startTime; ...
Format simple timers when they are printed.
Format simple timers when they are printed.
Java
apache-2.0
sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive
5191407fd3d7849aa8a26a7e2258f4a20065e2f3
utils/src/main/java/io/github/duckasteroid/progress/utils/InputStreamProgress.java
utils/src/main/java/io/github/duckasteroid/progress/utils/InputStreamProgress.java
package io.github.duckasteroid.progress.utils; import io.github.duckasteroid.progress.ProgressMonitor; import java.io.IOException; import java.io.InputStream; /** * Wraps an input stream to report 1 unit of work for every byte {@link #read()}. * Clients should set the {@link ProgressMonitor#setSize(long)} prior to ...
package io.github.duckasteroid.progress.utils; import io.github.duckasteroid.progress.ProgressMonitor; import java.io.IOException; import java.io.InputStream; /** * Wraps an input stream to report 1 unit of work for every byte {@link #read()}. * Clients should set the {@link ProgressMonitor#setSize(long)} prior to ...
Throw Ex in stream if monitor cancelled
Throw Ex in stream if monitor cancelled
Java
apache-2.0
duckAsteroid/progress
0863317d969ce1de7e90cc6c55a8615040af877f
generators-core/src/main/java/io/generators/core/RandomFromCollectionGenerator.java
generators-core/src/main/java/io/generators/core/RandomFromCollectionGenerator.java
package io.generators.core; import javax.annotation.Nonnull; import java.util.Collection; import java.util.List; import java.util.Random; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.ImmutableList.copyOf; /** * Generates randomly selected element from coll...
package io.generators.core; import javax.annotation.Nonnull; import java.util.Collection; import java.util.List; import java.util.Random; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.ImmutableList.copyOf; /** * Generates randomly selected element from coll...
Remove insane double ternary operator
Remove insane double ternary operator Ternary operators are fine, but putting one inside another is hard to read and confusing.
Java
apache-2.0
generators-io-projects/generators
e2a38892beb55bf491150ee360e8551a7ab198c9
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { RaceManager(0), WorkerBoat(1), Buoy(2), FlagBuoy(3), TomatoBuoy(4), TriangleBuoy(5), StartLine(6), FinishLine(7), StartFin...
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { WorkerBoat, FlagBuoy, TomatoBuoy, TriangleBuoy, StartLine, FinishLine, StartFinishLine, RaceManager, //from here, the releva...
Revert "Updated object types in Dev"
Revert "Updated object types in Dev" This reverts commit 9dcc2cb8e65c1f558a431a8cd700ce6696a6d8f3.
Java
apache-2.0
aayaffe/SailingRaceCourseManager,aayaffe/SailingRaceCourseManager
2e01a1d1573770717e9fda9eb2bc459d4fbdb476
src/org/barbon/acash/AboutDialog.java
src/org/barbon/acash/AboutDialog.java
/* * Copyright (c) Mattia Barbon <mattia@barbon.org> * distributed under the terms of the MIT license */ package org.barbon.acash; import android.app.Dialog; import android.content.Context; import android.content.SharedPreferences; import android.text.method.LinkMovementMethod; import android.widget.TextView; ...
/* * Copyright (c) Mattia Barbon <mattia@barbon.org> * distributed under the terms of the MIT license */ package org.barbon.acash; import android.app.Dialog; import android.content.Context; import android.content.SharedPreferences; import android.text.method.LinkMovementMethod; import android.widget.TextView; ...
Add the @Override decorator to onBackPressed().
Add the @Override decorator to onBackPressed().
Java
mit
mbarbon/androidcash
5b334a5d11a53e47a299782198aa7144ee57132e
org.wikipathways.client/test/org/wikipathways/client/test/utils/ConnectionSettings.java
org.wikipathways.client/test/org/wikipathways/client/test/utils/ConnectionSettings.java
// WikiPathways Java library, // Copyright 2014-2015 WikiPathways // // 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...
// WikiPathways Java library, // Copyright 2014-2015 WikiPathways // // 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...
Make the tested service configurable
Make the tested service configurable
Java
apache-2.0
wikipathways/wikipathways-api-client-java,egonw/wikipathways-api-client-java
db9712cdc92385f6abc608d196fd82cf3dc356b2
src/main/java/org/mkonrad/fizzbuzz/FizzBuzz.java
src/main/java/org/mkonrad/fizzbuzz/FizzBuzz.java
package org.mkonrad.fizzbuzz; import java.io.PrintStream; import java.util.stream.IntStream; /** * @author Markus Konrad */ public final class FizzBuzz { private final PrintStream printStream; public FizzBuzz(PrintStream printStream) { this.printStream = printStream; } public final void run(int numberOfRou...
package org.mkonrad.fizzbuzz; import java.io.PrintStream; import java.util.stream.IntStream; /** * @author Markus Konrad */ public final class FizzBuzz { private final PrintStream printStream; public FizzBuzz(PrintStream printStream) { this.printStream = printStream; } public final void run(int numberOfRou...
Migrate implementation to Java 8
Migrate implementation to Java 8
Java
mit
mkonrad-dev/FizzBuzz
1fe7a16041680c9a88779a46c7d3ddb50dba8c5b
src/minecraft/invtweaks/forge/asm/FMLPlugin.java
src/minecraft/invtweaks/forge/asm/FMLPlugin.java
package invtweaks.forge.asm; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import java.util.Map; @IFMLLoadingPlugin.TransformerExclusions({"invtweaks.forge.asm", "invtweaks.forge.asm.compatibility"}) public class FMLPlugin implements IFMLLoadingPlugin { public static boolean runtimeDeobfEnabled = false; ...
package invtweaks.forge.asm; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import java.util.Map; @IFMLLoadingPlugin.TransformerExclusions({"invtweaks.forge.asm", "invtweaks.forge.asm.compatibility"}) @IFMLLoadingPlugin.MCVersion("") // We're using runtime debof integration, so no point in being specific about ve...
Add blank MCVersion annotation to shut up the FML complant.
Add blank MCVersion annotation to shut up the FML complant.
Java
mit
GuntherDW/inventory-tweaks-liteloader,asiekierka/inventory-tweaks,PrinceOfAmber/inventory-tweaks,PrinceOfAmber/inventory-tweaks,TerraGamingNetwork/inventory-tweaks,GuntherDW/inventory-tweaks-liteloader,Vexatos/inventory-tweaks,Kobata/inventory-tweaks,asiekierka/inventory-tweaks,mrammy/inventory-tweaks,mrammy/inventory-...
cafaa29af2cc22e9f1fa4c452a68aff49f6f42ea
CouchPotato/src/instrumentTest/java/com/f2prateek/couchpotato/tests/MainActivityTest.java
CouchPotato/src/instrumentTest/java/com/f2prateek/couchpotato/tests/MainActivityTest.java
/* * Copyright 2013 Prateek Srivastava (@f2prateek) * * 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 2013 Prateek Srivastava (@f2prateek) * * 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...
Test to verify setup activity is shown if not logged in
Test to verify setup activity is shown if not logged in
Java
apache-2.0
f2prateek/android-couchpotato
68a91954e43dd67745221160012daa292541045b
src/main/java/semantics/model/Binary.java
src/main/java/semantics/model/Binary.java
package semantics.model; import com.google.gson.JsonElement; import java.util.Arrays; import semantics.KnowBase; import semantics.Util; public abstract class Binary extends Conceptual implements Cloneable { private final Conceptual[] cs; public Binary(Conceptual[] cs) { this.cs = cs; } protected abstra...
package semantics.model; import com.google.gson.JsonElement; import java.util.Arrays; import semantics.KnowBase; import semantics.Util; public abstract class Binary extends Conceptual { private final Conceptual[] cs; public Binary(Conceptual[] cs) { this.cs = cs; } protected abstract Binary construct(C...
Remove rogue Cloneable interface implementation
Remove rogue Cloneable interface implementation
Java
apache-2.0
hartenfels/Jastics,hartenfels/Semantics4J
a14512b94971b87b959fd7d62ef3092e5612180b
modello/modello-core/src/main/java/org/codehaus/modello/plugin/ModelloTranslator.java
modello/modello-core/src/main/java/org/codehaus/modello/plugin/ModelloTranslator.java
package org.codehaus.modello.plugin; /* * LICENSE */ import java.io.Reader; import java.util.Properties; import org.codehaus.modello.Model; import org.codehaus.modello.ModelloException; /** * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a> * @version $Id$ */ public interface ModelloTransla...
package org.codehaus.modello.plugin; /* * LICENSE */ import java.io.Reader; import java.util.Properties; import org.codehaus.modello.Model; import org.codehaus.modello.ModelloException; /** * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a> * @version $Id$ */ public interface ModelloTransla...
Add translator method from Model
Add translator method from Model
Java
mit
codehaus-plexus/modello
f4d931d4920f494554ac2b32ca060cb81965cf40
app/src/main/java/com/veyndan/hermes/database/Db.java
app/src/main/java/com/veyndan/hermes/database/Db.java
package com.veyndan.hermes.database; import android.database.sqlite.SQLiteDatabase; import com.squareup.sqlbrite.BriteDatabase; import com.veyndan.hermes.home.model.Comic; import java.util.List; public class Db { public static void insert(BriteDatabase db, List<Comic> comics) { BriteDatabase.Transactio...
package com.veyndan.hermes.database; import com.squareup.sqlbrite.BriteDatabase; import com.veyndan.hermes.home.model.Comic; import java.util.List; public class Db { public static void insert(BriteDatabase db, List<Comic> comics) { BriteDatabase.Transaction transaction = db.newTransaction(); try...
Throw error on insertion conflict instead of ignoring it
Throw error on insertion conflict instead of ignoring it
Java
mit
veyndan/hermes
0f518be8c37c9093d363f56c2f1788c4d0be1076
src/main/java/net/tropicraft/core/common/dimension/layer/TropicraftAddSubBiomesLayer.java
src/main/java/net/tropicraft/core/common/dimension/layer/TropicraftAddSubBiomesLayer.java
package net.tropicraft.core.common.dimension.layer; import net.minecraft.world.gen.INoiseRandom; import net.minecraft.world.gen.layer.traits.IC0Transformer; public final class TropicraftAddSubBiomesLayer implements IC0Transformer { final int baseID; final int[] subBiomeIDs; TropicraftAddSubBiomesLayer(final int b...
package net.tropicraft.core.common.dimension.layer; import net.minecraft.world.gen.INoiseRandom; import net.minecraft.world.gen.layer.traits.IC0Transformer; public final class TropicraftAddSubBiomesLayer implements IC0Transformer { final int baseID; final int[] subBiomeIDs; TropicraftAddSubBiomesLayer(final int b...
Fix Rainforest Plains not being generated
Fix Rainforest Plains not being generated
Java
mpl-2.0
Tropicraft/Tropicraft,Tropicraft/Tropicraft,Tropicraft/Tropicraft
6213cdb36829a71322a1a8d76d9c5d71bff5065e
bootstrap-core/src/main/java/org/ligoj/bootstrap/model/system/SystemConfiguration.java
bootstrap-core/src/main/java/org/ligoj/bootstrap/model/system/SystemConfiguration.java
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ package org.ligoj.bootstrap.model.system; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.UniqueConstraint; import lombok.Getter; import lombok.Setter; /** * System configuration....
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ package org.ligoj.bootstrap.model.system; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.UniqueConstraint; import javax.validation.constraints.NotBlank; import javax.validation.constrai...
Update configuration value size to 8K
Update configuration value size to 8K
Java
mit
ligoj/bootstrap,ligoj/bootstrap,ligoj/bootstrap
a7045d78c39e571e00b9b2928f6c0a07fe183565
src/edu/agh/tunev/ui/plot/AbstractPlot.java
src/edu/agh/tunev/ui/plot/AbstractPlot.java
package edu.agh.tunev.ui.plot; import java.beans.PropertyVetoException; import javax.swing.JInternalFrame; import javax.swing.SwingUtilities; public abstract class AbstractPlot extends JInternalFrame { private static final long serialVersionUID = 1L; /** * Nazwa wykresu w UI. */ public static String PLOT_NA...
package edu.agh.tunev.ui.plot; import java.beans.PropertyVetoException; import javax.swing.JInternalFrame; import javax.swing.SwingUtilities; public abstract class AbstractPlot extends JInternalFrame { private static final long serialVersionUID = 1L; /** * Nazwa wykresu w UI. */ public static String PLOT_NA...
Move default position of plot slightly (would cover visualization)
Move default position of plot slightly (would cover visualization)
Java
apache-2.0
michalrus/agh-tunev
93c96b5ea320e032ae4f4b8c2aa4066d8bfbb847
src/test/java/guitests/UndoCommandTest.java
src/test/java/guitests/UndoCommandTest.java
package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.logic.commands.UndoCommand; import seedu.address.testutil.TestTask; import seedu.address.logic.commands.DeleteCommand; public class UndoCommandTest extends TaskManagerGuiTest { private TestTask[] expectedLi...
package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.logic.commands.ClearCommand; import seedu.address.logic.commands.DeleteCommand; import seedu.address.logic.commands.UndoCommand; import seedu.address.testutil.TestTask; import seedu.address.logic.commands.DeleteC...
Add test case for undo clear command
Add test case for undo clear command
Java
mit
CS2103JAN2017-W13-B2/main,CS2103JAN2017-W13-B2/main
61c0334c7115422c1806d8224b326284c236aae1
assignment3/src/assignment3/LinkedList.java
assignment3/src/assignment3/LinkedList.java
package assignment3; public class LinkedList { private Nodes root = null; public boolean findNode(Nodes node){ if(node==null) return false; Nodes currentNode = root; while(currentNode.getName()!= node.getName()) { currentNode = currentNode.getNext(); ...
package assignment3; public class LinkedList { private Nodes root = null; public boolean findNode(Nodes node){ if(node==null) return false; Nodes currentNode = root; while(currentNode.getName()!= node.getName()) { currentNode = currentNode.getNext(); ...
Add delete a node option
Add delete a node option
Java
epl-1.0
tonyrojsirilawan/assignment3
f0567acb9b6aa5f5abf4c424f9b900ce63638cb0
Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java
Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java
package net.sourceforge.javydreamercsw.mysql.driver; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Logger; import org.netbeans.api.db.explorer.DatabaseException; import org.netbeans.api.db.explorer.JDBCDriver; import org.netbeans.api.db.explorer.JDBCDriverManager; import org.open...
package net.sourceforge.javydreamercsw.mysql.driver; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Logger; import org.netbeans.api.db.explorer.DatabaseException; import org.netbeans.api.db.explorer.JDBCDriver; import org.netbeans.api.db.explorer.JDBCDriverManager; import org.open...
Use correct driver class as the old one is being deprecated.
Use correct driver class as the old one is being deprecated.
Java
apache-2.0
javydreamercsw/validation-manager
914aa37b2f8d08b002054d0b226c380498f630e4
plugins/repository-s3/src/test/java/org/elasticsearch/cloud/aws/SyspropCredentialsTests.java
plugins/repository-s3/src/test/java/org/elasticsearch/cloud/aws/SyspropCredentialsTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Fix another warning assertion in credentials test
Fix another warning assertion in credentials test This commit fixes a warning assertion in a credentials test now that we are stricter about warning message assertions.
Java
apache-2.0
strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc
a8004c7c8325c13fb59f35e38e3cc0010e8e52a0
src/de/fhdw/wipbank/server/model/Transaction.java
src/de/fhdw/wipbank/server/model/Transaction.java
package de.fhdw.wipbank.server.model; import java.math.BigDecimal; import java.util.Date; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import com.sun.jmx.snmp.Timestamp; @XmlRootElement public class Transaction { private int id; private Account sender; ...
package de.fhdw.wipbank.server.model; import java.math.BigDecimal; import java.util.Date; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; @XmlRootElement public class Transaction { private int id; private Account sender; private Account receiver; privat...
Revert "transactionDate : Date -> Timestamp"
Revert "transactionDate : Date -> Timestamp" This reverts commit 439a81ea91d50f4fec21ff9964698daa08a4f09a.
Java
apache-2.0
wip-bank/server
5fa4ddaa1e4912fbfbb2db7b0807875b0b30504c
src/main/java/de/diesner/ehzlogger/EhzLogger.java
src/main/java/de/diesner/ehzlogger/EhzLogger.java
package de.diesner.ehzlogger; import java.io.IOException; import java.util.List; import gnu.io.PortInUseException; import gnu.io.UnsupportedCommOperationException; import org.openmuc.jsml.structures.*; import org.openmuc.jsml.tl.SML_SerialReceiver; public class EhzLogger { public static void main(String[] args)...
package de.diesner.ehzlogger; import java.io.IOException; import java.util.List; import gnu.io.PortInUseException; import gnu.io.UnsupportedCommOperationException; import org.openmuc.jsml.structures.*; import org.openmuc.jsml.tl.SML_SerialReceiver; public class EhzLogger { public static void main(String[] args)...
Use interface in main to access SmlForwarder
Use interface in main to access SmlForwarder
Java
apache-2.0
adiesner/eHzLogger
487ee064e133f40893e2b1ca715bf1c2e4814b33
indexing/src/main/java/uk/ac/ebi/quickgo/index/annotation/coterms/Co_occurringTermItemReader.java
indexing/src/main/java/uk/ac/ebi/quickgo/index/annotation/coterms/Co_occurringTermItemReader.java
package uk.ac.ebi.quickgo.index.annotation.coterms; import java.util.Iterator; import org.springframework.batch.item.ItemReader; /** * @author Tony Wardell * Date: 07/09/2016 * Time: 15:38 * Created with IntelliJ IDEA. */ class Co_occurringTermItemReader implements ItemReader<String> { private final Annotat...
package uk.ac.ebi.quickgo.index.annotation.coterms; import java.util.Iterator; import org.springframework.batch.item.ItemReader; /** * Provide a list of all GO Terms for which co-occurrence has been determined ( which is all of them that have been * processed, since at worst a GO Term will have a statistic for co-o...
Add some javadoc, notes and use a nicer name for AnnotationCo_occurringTermsAggregator.
Add some javadoc, notes and use a nicer name for AnnotationCo_occurringTermsAggregator.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
ed98fe49bd22bbbcb9977428f95c819b47ac7895
src/main/java/Main.java
src/main/java/Main.java
public class Main { public static void main(String[] args) { } }
import org.apache.commons.cli.*; import javax.mail.AuthenticationFailedException; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import java.util.Properties; public class Main { private static String appName = "malooer"; /** * Required parameters: * -...
Establish and close connection to smtp server
Establish and close connection to smtp server
Java
mit
HalilBu/malooer
d05ff5c0ec459dc840dd97f77d79667a82b1ded5
src/com/advancedpwr/record/methods/StringBuilder.java
src/com/advancedpwr/record/methods/StringBuilder.java
/* * Copyright 2011 Matthew Avery, mavery@advancedpwr.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright 2011 Matthew Avery, mavery@advancedpwr.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Handle newlines when building strings.
Handle newlines when building strings.
Java
apache-2.0
hani/jtor,hani/jtor,hani/jtor
d63af2c4ab70fd8a4a3d4efca076963375297b69
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/action/KonashiWriteCharacteristicAction.java
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/action/KonashiWriteCharacteristicAction.java
package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiErrorType; import java.util.UUID; import info.izumin.android.bletia.BletiaErrorType; import info.izumin.android.bletia.BletiaException; import ...
package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiErrorType; import java.util.UUID; import info.izumin.android.bletia.BletiaErrorType; import info.izumin.android.bletia.BletiaException; import ...
Add null check of BGC at execute() on first
Add null check of BGC at execute() on first
Java
apache-2.0
YUKAI/konashi-android-sdk,YUKAI/konashi-android-sdk
6d90ea382658eb417f1272fc7fe4ba32db0095f2
src/main/java/com/github/peterpaul/cli/instantiator/ByServiceLoaderOrNewClassInstanceInstantiator.java
src/main/java/com/github/peterpaul/cli/instantiator/ByServiceLoaderOrNewClassInstanceInstantiator.java
package com.github.peterpaul.cli.instantiator; import com.github.peterpaul.cli.fn.ExceptionCatchingSupplier; import com.github.peterpaul.cli.fn.Supplier; public class ByServiceLoaderOrNewClassInstanceInstantiator implements Instantiator { private final ClassInstantiator classInstantiator = new ClassInstantiator()...
package com.github.peterpaul.cli.instantiator; import static com.github.peterpaul.cli.fn.ExceptionCatchingSupplier.catchingFor; public class ByServiceLoaderOrNewClassInstanceInstantiator implements Instantiator { private final ClassInstantiator classInstantiator = new ClassInstantiator(); private final Servic...
Replace anonymous instances with lambdas.
Replace anonymous instances with lambdas.
Java
mit
peterpaul/cli
a1f90ee075cda4288a335063d42284118cce1d43
src/PairingListCellRenderer.java
src/PairingListCellRenderer.java
import java.awt.Component; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.ListCellRenderer; @SuppressWarnings("unused") public class PairingListCellRenderer implements ListCellRenderer<Pairing> { @Override public Component...
import java.awt.Component; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.ListCellRenderer; public class PairingListCellRenderer implements ListCellRenderer<Pairing> { @Override public Component getListCellRendererComponent(JList<? extends Pairing> list, Pairi...
Improve output for Pairing lists
Improve output for Pairing lists
Java
mit
poser3/Prove-It
f033a95cf9f14efdba544d354020d0b5e12ed11d
opendaylight/md-sal/sal-common-util/src/main/java/org/opendaylight/controller/sal/common/util/Arguments.java
opendaylight/md-sal/sal-common-util/src/main/java/org/opendaylight/controller/sal/common/util/Arguments.java
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
Fix checkstyle if-statements must use braces sal-common-util
Fix checkstyle if-statements must use braces sal-common-util Change-Id: I518b9fa156af55c080d7e6a55067deab2c789a42 Signed-off-by: Thanh Ha <09ea4d3a79c8bee41a16519f6a431f6bc0fd8d6f@linuxfoundation.org>
Java
epl-1.0
mandeepdhami/controller,Johnson-Chou/test,mandeepdhami/controller,inocybe/odl-controller,tx1103mark/controller,inocybe/odl-controller,my76128/controller,aryantaheri/monitoring-controller,my76128/controller,mandeepdhami/controller,tx1103mark/controller,aryantaheri/monitoring-controller,522986491/controller,aryantaheri/m...
5f61f167662112aa040e554d5004f3aaee4c3c99
src/plugins/swhv-swek/sources/HEKSource/src/org/helioviewer/jhv/plugins/swek/sources/hek/HEKSourceProperties.java
src/plugins/swhv-swek/sources/HEKSource/src/org/helioviewer/jhv/plugins/swek/sources/hek/HEKSourceProperties.java
package org.helioviewer.jhv.plugins.swek.sources.hek; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.helioviewer.jhv.plugins.swek.SWEKPlugin; /** * Gives access to the HEK source properties * * @author Bram Bourgoignie (Bram.Bourgoignie@oma.be) * */ public clas...
package org.helioviewer.jhv.plugins.swek.sources.hek; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Gives access to the HEK source properties * * @author Bram Bourgoignie (Bram.Bourgoignie@oma.be) * */ public class HEKSourceProperties { private static HEKSourceP...
Load the properties from via the correct Class otherwise it is not in the class loader
Load the properties from via the correct Class otherwise it is not in the class loader git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@2010 b4e469a2-07ce-4b26-9273-4d7d95a670c7
Java
mpl-2.0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
4e3b7c13f7acaff75fcf1fdd68be6570e02ccfd9
octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/MachineAdded/MachineAddedSpecTest.java
octopus-build-trigger-server/src/test/java/com/mjrichardson/teamCity/buildTriggers/MachineAdded/MachineAddedSpecTest.java
package com.mjrichardson.teamCity.buildTriggers.MachineAdded; import org.testng.Assert; import org.testng.annotations.Test; @Test public class MachineAddedSpecTest { // public void can_create_requestor_string_when_version_not_supplied() { // MachineAddedSpec sut = new MachineAddedSpec("theurl", "theproject"...
package com.mjrichardson.teamCity.buildTriggers.MachineAdded; import org.testng.Assert; import org.testng.annotations.Test; @Test public class MachineAddedSpecTest { public void can_create_requestor_string() { Machine machine = new Machine("the-machine-id", "the-machine-name"); MachineAddedSpec su...
Remove some commented out code - not required
Remove some commented out code - not required
Java
apache-2.0
matt-richardson/teamcity-octopus-build-trigger-plugin,matt-richardson/teamcity-octopus-build-trigger-plugin
fea7d8632ea55f3beeccf8de774a89faa42a65ac
code/implementation/docker/compute/src/main/java/io/cattle/platform/docker/process/lock/DockerStoragePoolVolumeCreateLock.java
code/implementation/docker/compute/src/main/java/io/cattle/platform/docker/process/lock/DockerStoragePoolVolumeCreateLock.java
package io.cattle.platform.docker.process.lock; import io.cattle.platform.core.model.StoragePool; import io.cattle.platform.lock.definition.AbstractBlockingLockDefintion; public class DockerStoragePoolVolumeCreateLock extends AbstractBlockingLockDefintion { public DockerStoragePoolVolumeCreateLock(StoragePool st...
package io.cattle.platform.docker.process.lock; import io.cattle.platform.core.model.StoragePool; import io.cattle.platform.lock.definition.AbstractBlockingLockDefintion; public class DockerStoragePoolVolumeCreateLock extends AbstractBlockingLockDefintion { public DockerStoragePoolVolumeCreateLock(StoragePool st...
Fix bad characters in lock name
Fix bad characters in lock name rancher/rancher#1383
Java
apache-2.0
kaos/cattle,ubiquityhosting/rancher_cattle,Cerfoglg/cattle,stresler/cattle,rancherio/cattle,prachidamle/cattle,stresler/cattle,Cerfoglg/cattle,cjellick/cattle,OnePaaS/cattle,jimengliu/cattle,dx9/cattle,sonchang/cattle,cjellick/cattle,kaos/cattle,rancherio/cattle,rancherio/cattle,wlan0/cattle,gpndata/cattle,jimengliu/ca...
97942010558a4b3e242b66607c1f62742a29e00f
opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/YangStoreServiceImpl.java
opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/YangStoreServiceImpl.java
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Store yang store snapshot cache using soft reference.
Store yang store snapshot cache using soft reference. Change-Id: I9b159db83ba204b4a636f2314fd4fc2e7b6f654c Signed-off-by: Tomas Olvecky <15c0b3ba77d9541ebd8ccf1bd003ebd96c682ed7@cisco.com>
Java
epl-1.0
Sushma7785/OpenDayLight-Load-Balancer,Sushma7785/OpenDayLight-Load-Balancer,my76128/controller,inocybe/odl-controller,my76128/controller,522986491/controller,tx1103mark/controller,Johnson-Chou/test,tx1103mark/controller,my76128/controller,inocybe/odl-controller,mandeepdhami/controller,aryantaheri/controller,tx1103mark/...
c1d8eedac71576ddb5a5ec57af8b314ab1427972
src/main/java/com/playlist/SlackClient.java
src/main/java/com/playlist/SlackClient.java
package com.playlist; import net.sf.json.JSONObject; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import or...
package com.playlist; import net.sf.json.JSONObject; import org.apache.commons.lang.StringUtils; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.ap...
Refactor channel override to environment variable.
Refactor channel override to environment variable.
Java
mit
RaymondKroon/slack-spotify-playlist,bradfogle/slack-spotify-playlist
179f200cfde6dd66722cfd030224c393fb66e2da
src/test/ModulesParseTextBlockDeclarationTest.java
src/test/ModulesParseTextBlockDeclarationTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import java.lang.module.ModuleDescriptor; import java.util.Set; import org.junit.jupiter.api.Test; class ModulesParseTextBlockDeclarationTest { @Test void parseDeclaration() { var descriptor = Bach.Modules.parseDeclaration(""" module foo.ba...
import static org.junit.jupiter.api.Assertions.assertEquals; import java.lang.module.ModuleDescriptor; import java.lang.module.ModuleDescriptor.Version; import java.util.Set; import org.junit.jupiter.api.Test; class ModulesParseTextBlockDeclarationTest { @Test void parseDeclaration() { var descriptor = Bach....
Check for spaces being ignored in inline versions
Check for spaces being ignored in inline versions
Java
mit
sormuras/bach,sormuras/bach
54f8f9be005be3527a658ed73a07e45b9ba3b051
src/common/me/nallar/patched/PatchTcpReaderThread.java
src/common/me/nallar/patched/PatchTcpReaderThread.java
package me.nallar.patched; import net.minecraft.network.TcpConnection; import net.minecraft.server.ThreadMinecraftServer; public abstract class PatchTcpReaderThread extends ThreadMinecraftServer { final TcpConnection tcpConnection; public PatchTcpReaderThread(TcpConnection tcpConnection, String name) { ...
package me.nallar.patched; import net.minecraft.network.TcpConnection; import net.minecraft.server.ThreadMinecraftServer; import net.minecraft.util.AxisAlignedBB; public abstract class PatchTcpReaderThread extends ThreadMinecraftServer { final TcpConnection tcpConnection; public PatchTcpReaderThread(TcpCo...
Fix memory leak due to TcpReaderThread AABB pools never being cleared. If you are on build 740 or later it is recommended to update to the latest build
Fix memory leak due to TcpReaderThread AABB pools never being cleared. If you are on build 740 or later it is recommended to update to the latest build Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
Java
mit
nallar/TickThreading
6fe3624c2ea757e39fcbde3d852642ed1d05ec15
src/org/hcjf/layers/query/In.java
src/org/hcjf/layers/query/In.java
package org.hcjf.layers.query; import java.util.Arrays; import java.util.Collection; import java.util.Map; /** * @author javaito * @mail javaito@gmail.com */ public class In extends FieldEvaluator { public In(String fieldName, Object value) { super(fieldName, value); } @Override public bo...
package org.hcjf.layers.query; import java.util.Arrays; import java.util.Collection; import java.util.Map; /** * @author javaito * @mail javaito@gmail.com */ public class In extends FieldEvaluator { public In(String fieldName, Object value) { super(fieldName, value); } @Override public bo...
Resolve in over array values
Resolve in over array values
Java
apache-2.0
javaito/HolandaCatalinaFw,nojustiniano/HolandaCatalinaFw,nojustiniano/HolandaCatalinaFw,kevchuk/HolandaCatalinaFw,javaito/HolandaCatalinaFw,javaito/HolandaCatalinaFw
312780ca5daba94f6ee876250d929c063f1d7c2a
src/constant/PlatformId.java
src/constant/PlatformId.java
package constant; /* * Copyright 2015 Taylor Caldwell * * 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 appl...
package constant; /* * Copyright 2015 Taylor Caldwell * * 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 appl...
Add PBE support to current-game and featured-games endpoints
Add PBE support to current-game and featured-games endpoints
Java
apache-2.0
taycaldwell/riot-api-java,Haakjvork/riot-api-java,rithms/riot-api-java
bb5a2b7045d4e993f5b4c3f19fff2fc491160e92
src/FE_SRC_COMMON/com/ForgeEssentials/coremod/Data.java
src/FE_SRC_COMMON/com/ForgeEssentials/coremod/Data.java
package com.ForgeEssentials.coremod; /** * Kindly do not reference any FE classes outside the coremod package in this * class. This is a store room for all String[]s used by the coremod, 99% of * stuff is edited here and not in the actual coremod classes. */ public class Data { protected static String[] librari...
package com.ForgeEssentials.coremod; /** * Kindly do not reference any FE classes outside the coremod package in this * class. This is a store room for all String[]s used by the coremod, 99% of * stuff is edited here and not in the actual coremod classes. */ public class Data { protected static String[] librari...
Add metrics jar to downloader
Add metrics jar to downloader
Java
epl-1.0
liachmodded/ForgeEssentials,Techjar/ForgeEssentials,ForgeEssentials/ForgeEssentialsMain,CityOfLearning/ForgeEssentials,planetguy32/ForgeEssentials,aschmois/ForgeEssentialsMain
acaf776abfceb28b0aa1f171e20d6888adf50f2e
src/sqlancer/tidb/ast/TiDBSelect.java
src/sqlancer/tidb/ast/TiDBSelect.java
package sqlancer.tidb.ast; import java.util.Collections; import java.util.List; import sqlancer.ast.SelectBase; public class TiDBSelect extends SelectBase<TiDBExpression> implements TiDBExpression { private List<TiDBExpression> joinExpressions = Collections.emptyList(); public void setJoins(List<TiDBExpression> ...
package sqlancer.tidb.ast; import java.util.Collections; import java.util.List; import sqlancer.ast.SelectBase; public class TiDBSelect extends SelectBase<TiDBExpression> implements TiDBExpression { private List<TiDBExpression> joinExpressions = Collections.emptyList(); private TiDBExpression hint; public void ...
Add the forgotten setter for the hint in the SELECT class
[TiDB] Add the forgotten setter for the hint in the SELECT class
Java
mit
sqlancer/sqlancer,sqlancer/sqlancer
cef79b6c95a211e11c93bcecbdb3bd8755f957ce
src/edu/stuy/subsystems/Tusks.java
src/edu/stuy/subsystems/Tusks.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.stuy.subsystems; import edu.stuy.RobotMap; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Subsystem; /** * * @author Kevin Wang */ public class Tusks extends Subsystem { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.stuy.subsystems; import edu.stuy.RobotMap; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.command.Subsystem; /** * * @author Kevin Wang */ public class Tusks extends Subsystem { ...
Clarify tusks solenoid on slot 2
Clarify tusks solenoid on slot 2
Java
bsd-3-clause
Team694/joebot
445983b7fa227bd09feb20df65c9080f5712f743
src/main/java/nl/ovapi/rid/model/Block.java
src/main/java/nl/ovapi/rid/model/Block.java
package nl.ovapi.rid.model; import java.util.ArrayList; import lombok.Getter; import lombok.NonNull; public class Block { @Getter private ArrayList<Journey> segments; @Getter private String blockRef; public Block(String blockRef){ segments = new ArrayList<Journey>(); this.blockRef = blockRef; } public...
package nl.ovapi.rid.model; import java.util.ArrayList; import lombok.Getter; import lombok.NonNull; public class Block { @Getter private ArrayList<Journey> segments; @Getter private String blockRef; public Block(String blockRef){ segments = new ArrayList<Journey>(); this.blockRef = blockRef; } public ...
Return min/max time of blocks
Return min/max time of blocks
Java
bsd-2-clause
bliksemlabs/bliksemintegration-realtime
22326684995bc3377e4ab5d0ae3536011f796118
src/forager/events/TaskSpec.java
src/forager/events/TaskSpec.java
package forager.events; import java.io.IOException; import galileo.event.Event; import galileo.serialization.SerializationInputStream; import galileo.serialization.SerializationOutputStream; public class TaskSpec implements Event { public String[] command; public TaskSpec(String[] command) { this.c...
package forager.events; import java.io.IOException; import galileo.event.Event; import galileo.serialization.SerializationInputStream; import galileo.serialization.SerializationOutputStream; public class TaskSpec implements Event { public long taskId; public String[] command; public TaskSpec(long taskI...
Add identifier to task specifications
Add identifier to task specifications
Java
bsd-2-clause
malensek/forager,malensek/forager
7c44018dc098d4445eccc815f88f43ca420c5a3d
src/main/java/coyote/dataframe/DateType.java
src/main/java/coyote/dataframe/DateType.java
/* * Copyright (c) 2006 Stephan D. Cote' - All rights reserved. * * This program and the accompanying materials are made available under the * terms of the MIT License which accompanies this distribution, and is * available at http://creativecommons.org/licenses/MIT/ * * Contributors: * Stephan D. Cote *...
/* * Copyright (c) 2006 Stephan D. Cote' - All rights reserved. * * This program and the accompanying materials are made available under the * terms of the MIT License which accompanies this distribution, and is * available at http://creativecommons.org/licenses/MIT/ * * Contributors: * Stephan D. Cote *...
Check for empty data value
Check for empty data value
Java
mit
sdcote/dataframe,sdcote/dataframe
67955bc036a6d719ddf122c35920e3d2a46a5b23
src/net.aeten.core/net/aeten/core/Model.java
src/net.aeten.core/net/aeten/core/Model.java
package net.aeten.core; import net.aeten.core.event.EventData; import net.aeten.core.event.Handler; public interface Model<M, F extends Enum<F>> { void addObserver(Handler<EventData<M, F>> observer); void removeObserver(Handler<EventData<M, F>> observer); }
package net.aeten.core; import net.aeten.core.event.EventData; import net.aeten.core.event.Handler; public interface Model <M extends Model<M, F>, F extends Enum <F>> { void addObserver (Handler <EventData <M, F>> observer); void removeObserver (Handler <EventData <M, F>> observer); <T> void set ( F field, ...
Add getter and setter methods.
Add getter and setter methods.
Java
mit
aeten/aecore,aeten/aecore
9de7e8411825f0ae974ae9ff3bf3e08bfb000b97
reon-test/src/test/java/android/net/LocalSocket.java
reon-test/src/test/java/android/net/LocalSocket.java
package android.net; import io.reon.test.support.LocalWire; import java.io.*; public class LocalSocket { private InputStream inputStream; private OutputStream outputStream; public LocalSocket() { this(null, null); } public LocalSocket(InputStream inputStream, OutputStream outputStream) { this.inputStrea...
package android.net; import io.reon.test.support.LocalWire; import java.io.*; public class LocalSocket { private InputStream inputStream; private OutputStream outputStream; public LocalSocket() { this(null, null); } public LocalSocket(InputStream inputStream, OutputStream outputStream) { this.inputStrea...
Fix for tests breaking on keep-alive
Fix for tests breaking on keep-alive
Java
apache-2.0
reon-io/reon-sdk,reon-io/sdk
d04c2e83b12b6a546493a60f13ebf63253953787
test/org/traccar/helper/ChannelBufferToolsTest.java
test/org/traccar/helper/ChannelBufferToolsTest.java
package org.traccar.helper; import org.jboss.netty.buffer.ChannelBuffers; import static org.junit.Assert.*; import org.junit.Test; public class ChannelBufferToolsTest { @Test public void testReadHexInteger() { byte[] buf = {0x01, (byte) 0x90, 0x34}; int result = ChannelBufferTools.readHe...
package org.traccar.helper; import org.jboss.netty.buffer.ChannelBuffers; import org.junit.Assert; import org.junit.Test; public class ChannelBufferToolsTest { @Test public void testReadHexInteger() { byte[] buf = {0x01, (byte) 0x90, 0x34}; int result = ChannelBufferTools.readHexInteger( ...
Add channel buffer tools test
Add channel buffer tools test
Java
apache-2.0
tsmgeek/traccar,jssenyange/traccar,tananaev/traccar,stalien/traccar_test,al3x1s/traccar,5of9/traccar,stalien/traccar_test,renaudallard/traccar,jon-stumpf/traccar,vipien/traccar,jon-stumpf/traccar,renaudallard/traccar,ninioe/traccar,AnshulJain1985/Roadcast-Tracker,duke2906/traccar,tananaev/traccar,jssenyange/traccar,jos...
7f7d0580617436acdbe4b922c749d9f81704c5a6
src/main/java/org/jbpm/migration/ErrorCollector.java
src/main/java/org/jbpm/migration/ErrorCollector.java
package org.jbpm.migration; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; /** Convenience class for making the error handling within the parsing and validation processes a little more verbose. */ abstract class ErrorCollector<T extends Exception> { private final List...
package org.jbpm.migration; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; /** Convenience class for making the error handling within the parsing and validation processes a little more verbose. */ abstract class ErrorCollector<T extends Exception> { private final List...
Fix for ignoring BPMN validation - JBPM-4000
Fix for ignoring BPMN validation - JBPM-4000
Java
apache-2.0
droolsjbpm/jbpmmigration
491c8382c6eb36093ebff0c7f87e3564e1d5cc60
core/src/test/java/org/realityforge/arez/TestReaction.java
core/src/test/java/org/realityforge/arez/TestReaction.java
package org.realityforge.arez; import java.util.ArrayList; import javax.annotation.Nonnull; import static org.testng.Assert.*; class TestReaction implements Reaction { private final ArrayList<Observer> _observers = new ArrayList<>(); @Override public void react( @Nonnull final Observer observer ) throws ...
package org.realityforge.arez; import java.util.ArrayList; import javax.annotation.Nonnull; import static org.testng.Assert.*; class TestReaction implements Reaction { private final ArrayList<Observer> _observers = new ArrayList<>(); @Override public void react( @Nonnull final Observer observer ) throws ...
Update test reaction so it does not invoke reportObserved if observable is disposed
Update test reaction so it does not invoke reportObserved if observable is disposed
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
259f2eee5090255e4e70d6cf27ef97f4d981ccd6
ode/app/models/nodes/OntologyNode.java
ode/app/models/nodes/OntologyNode.java
package models.nodes; import play.libs.F.Promise; import constants.NodeType; public abstract class OntologyNode extends LabeledNodeWithProperties { public String name; protected OntologyNode(NodeType label) { super(label); } public Promise<Boolean> delete() { return null; } }
package models.nodes; import play.libs.F.Promise; import constants.NodeType; public abstract class OntologyNode extends LabeledNodeWithProperties { public String name; protected OntologyNode(NodeType label) { super(label); } }
Enable operations that write to the DB to be rolled back on error by wrapping them in transactions.
WIP: Enable operations that write to the DB to be rolled back on error by wrapping them in transactions. Clean up: Remove leftover `delete` method from `OntologyNode` class.
Java
agpl-3.0
itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE
0f3ef5806f2c5e49847eb52910c33e697d966e72
Assignment3/src/Main.java
Assignment3/src/Main.java
import edu.berkeley.nlp.Test; public class Main { public static void main(String[] args) { System.out.println("Hello World!"); Test<MockClass> test = new Test<MockClass>(); test.main(new String[]{ "-test", "-maxTrainLength", "40", "-maxTestLe...
import edu.berkeley.nlp.Test; public class Main { public static void main(String[] args) { System.out.println("Hello World!"); Test<MockClass> test = new Test<MockClass>(); test.main(new String[]{ "-test", "-maxTrainLength", "99", "-maxTestLe...
Use correct settings for running
Use correct settings for running
Java
mit
jogonzal-msft/UWNLPAssignment3,jogonzal/UWNLPAssignment3,jogonzal-msft/UWNLPAssignment3,jogonzal/UWNLPAssignment3
fd47945ae9a7e9bf4f2a01e1a9736a63a405b660
src/main/java/hdm/pk070/jscheme/JScheme.java
src/main/java/hdm/pk070/jscheme/JScheme.java
package hdm.pk070.jscheme; import hdm.pk070.jscheme.obj.SchemeObject; import hdm.pk070.jscheme.reader.SchemeReader; /** * Created by patrick on 19.04.16. */ public class JScheme { public static void main(String[] args) { System.out.println("Welcome to Scheme\n"); for (; ; ) { System...
package hdm.pk070.jscheme; import hdm.pk070.jscheme.obj.SchemeObject; import hdm.pk070.jscheme.reader.SchemeReader; /** * Created by patrick on 19.04.16. */ public class JScheme { public static void main(String[] args) { System.out.println("Welcome to Scheme\n"); for (; ; ) { System...
Print out what's coming back from 'read'
Print out what's coming back from 'read'
Java
mit
PaddySmalls/JScheme
d6ddfe7e7e2aa70d274c1f10310a6a34b63963c5
retrofit/src/main/java/retrofit/client/OkClient.java
retrofit/src/main/java/retrofit/client/OkClient.java
/* * Copyright (C) 2013 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2013 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Move static method to top of file.
Move static method to top of file.
Java
apache-2.0
AmauryEsparza/retrofit,viacheslavokolitiy/retrofit,mbStavola/retrofit,renatohsc/retrofit,msdgwzhy6/retrofit,sunios/retrofit,equinoxel/retrofit,loiclefloch/retrofit,ztelur/retrofit,JunyiZhou/retrofit,bestwpw/retrofit,zero21ke/retrofit,guoGavin/retrofit,Jackear/retrofit,shihabmi7/retrofit,J-Sizzle/retrofit,AmauryEsparza/...
f795075035eab9d0e2ee36330ce75fbeb5db05fc
app/src/main/java/mozilla/org/webmaker/activity/Tinker.java
app/src/main/java/mozilla/org/webmaker/activity/Tinker.java
package mozilla.org.webmaker.activity; import android.app.ActionBar; import android.content.res.Resources; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import mozilla.org.webmaker.R; import mozilla.org.webmaker.WebmakerActivit...
package mozilla.org.webmaker.activity; import android.app.ActionBar; import android.content.res.Resources; import android.graphics.drawable.ColorDrawable; import android.os.Build; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import mozilla.org.webmaker.R; import mozilla.org...
Fix possible compatibility issue on older SDK versions
Fix possible compatibility issue on older SDK versions
Java
mpl-2.0
mozilla/webmaker-android,k88hudson/webmaker-android,k88hudson/webmaker-android,gvn/webmaker-android,alicoding/webmaker-android,alicoding/webmaker-android,gvn/webmaker-android,j796160836/webmaker-android,rodmoreno/webmaker-android,adamlofting/webmaker-android,bolaram/webmaker-android,rodmoreno/webmaker-android,mozilla/w...
d2e78f98043aba4bfcae9957703b3fac044dade9
core/api/src/main/java/org/onosproject/store/Timestamp.java
core/api/src/main/java/org/onosproject/store/Timestamp.java
/* * Copyright 2014 Open Networking Laboratory * * 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 la...
/* * Copyright 2014 Open Networking Laboratory * * 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 la...
Remove unnecessary modifiers to follow the convention
Remove unnecessary modifiers to follow the convention Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d
Java
apache-2.0
rvhub/onos,oplinkoms/onos,y-higuchi/onos,rvhub/onos,oplinkoms/onos,donNewtonAlpha/onos,VinodKumarS-Huawei/ietf96yang,mengmoya/onos,CNlukai/onos-gerrit-test,gkatsikas/onos,osinstom/onos,oeeagle/onos,zsh2938/onos,planoAccess/clonedONOS,VinodKumarS-Huawei/ietf96yang,maheshraju-Huawei/actn,y-higuchi/onos,CNlukai/onos-gerri...
ee8d15d649391cdbd5b780a19a76236ef7aadb26
src/minecraft/invtweaks/api/ContainerGUI.java
src/minecraft/invtweaks/api/ContainerGUI.java
package invtweaks.api; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ContainerGUI { // Size of a chest row int rowS...
package invtweaks.api; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ContainerGUI { // Size of a chest row int rowS...
Fix comment in API files.
Fix comment in API files.
Java
mit
asiekierka/inventory-tweaks,Vexatos/inventory-tweaks,Vexatos/inventory-tweaks,TerraGamingNetwork/inventory-tweaks,14mRh4X0r/inventory-tweaks,mrammy/inventory-tweaks,PrinceOfAmber/inventory-tweaks,14mRh4X0r/inventory-tweaks,mrammy/inventory-tweaks,asiekierka/inventory-tweaks,TGNThump/inventory-tweaks,TerraGamingNetwork/...
0a2ba1b1aeafbcc9bc638dede96643f899407b5e
main/src/com/google/refine/importers/tree/ImportRecord.java
main/src/com/google/refine/importers/tree/ImportRecord.java
package com.google.refine.importers.tree; import java.util.LinkedList; import java.util.List; import com.google.refine.model.Cell; /** * A record describes a data element in a tree-structure * */ public class ImportRecord { public List<List<Cell>> rows = new LinkedList<List<Cell>>(); }
package com.google.refine.importers.tree; import java.util.ArrayList; import java.util.List; import com.google.refine.model.Cell; /** * A record describes a data element in a tree-structure * */ public class ImportRecord { public List<List<Cell>> rows = new ArrayList<List<Cell>>(); }
Switch from LinkedList to ArrayList
Switch from LinkedList to ArrayList Just a simple list. No need for extra overhead..
Java
mit
DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier,DTL-FAIRData/FAIRifier
0c98ade93d3524ed161967f99040a638d53c8826
server/src/main/java/com/breakersoft/plow/Signal.java
server/src/main/java/com/breakersoft/plow/Signal.java
package com.breakersoft.plow; public class Signal { /** * Exit signal for an aborted dispatch. */ public static final int NORMAL = 0; /** * Exit signal for an aborted dispatch. */ public static final int ABORTED_TASK = 667; /** * Exit signal for an orphaned task. */...
package com.breakersoft.plow; public class Signal { /** * Exit signal for an aborted dispatch. */ public static final int NORMAL = 0; /** * Exit signal when a node is shutdown. */ public static final int NODE_SHUTDOWN = 86; /** * Exit signal for an aborted dispatch. ...
Add signal for shutdown procs
Add signal for shutdown procs
Java
apache-2.0
Br3nda/plow,chadmv/plow,chadmv/plow,Br3nda/plow,chadmv/plow,chadmv/plow,Br3nda/plow,chadmv/plow,chadmv/plow,Br3nda/plow,Br3nda/plow,chadmv/plow
7b3569ec1764806ff90369254f06fce99e660ca6
src/main/java/info/agrueneberg/fhir/filters/CorsFilter.java
src/main/java/info/agrueneberg/fhir/filters/CorsFilter.java
package info.agrueneberg.fhir.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRes...
package info.agrueneberg.fhir.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRes...
Allow Content-Type header in CORS.
Allow Content-Type header in CORS.
Java
agpl-3.0
agrueneberg/FHIR
a00a0ed6289ea3dfd6e968a2f364daf94c7953b2
toothpick-runtime/src/main/java/toothpick/InjectorImpl.java
toothpick-runtime/src/main/java/toothpick/InjectorImpl.java
package toothpick; import toothpick.registries.memberinjector.MemberInjectorRegistryLocator; /** * Default implementation of an injector. */ public final class InjectorImpl implements Injector { /** * {@inheritDoc} * * <p> * <em><b>&#9888; Warning</b> &#9888; : This implementation needs a proper setup...
package toothpick; import toothpick.registries.memberinjector.MemberInjectorRegistryLocator; /** * Default implementation of an injector. */ public final class InjectorImpl implements Injector { /** * {@inheritDoc} * * <p> * <em><b>&#9888; Warning</b> &#9888; : This implementation needs a proper setup...
Make inject throw an exception if no injection took place.
Make inject throw an exception if no injection took place.
Java
apache-2.0
stephanenicolas/toothpick,stephanenicolas/toothpick,stephanenicolas/toothpick
32f5090deea042b9ca1acd81570bead7d305e146
src/main/java/seedu/geekeep/ui/TaskCard.java
src/main/java/seedu/geekeep/ui/TaskCard.java
package seedu.geekeep.ui; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.layout.FlowPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Region; import seedu.geekeep.model.task.ReadOnlyTask; public class TaskCard extends UiPart<Region> { private static final String F...
package seedu.geekeep.ui; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.layout.FlowPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Region; import seedu.geekeep.model.task.ReadOnlyTask; public class TaskCard extends UiPart<Region> { private static final String F...
Update display of task card
Update display of task card
Java
mit
CS2103JAN2017-W15-B4/main,CS2103JAN2017-W15-B4/main
26b91d30dff8c4034809dc5783d9ff5f44b18ede
src/main/java/de/retest/recheck/ui/descriptors/TextAttribute.java
src/main/java/de/retest/recheck/ui/descriptors/TextAttribute.java
package de.retest.recheck.ui.descriptors; import java.io.Serializable; import javax.xml.bind.annotation.XmlRootElement; import de.retest.recheck.util.StringSimilarity; @XmlRootElement public class TextAttribute extends StringAttribute { private static final long serialVersionUID = 1L; // Used by JaxB protected...
package de.retest.recheck.ui.descriptors; import java.io.Serializable; import javax.xml.bind.annotation.XmlRootElement; import de.retest.recheck.util.StringSimilarity; @XmlRootElement public class TextAttribute extends StringAttribute { private static final long serialVersionUID = 1L; // Used by JaxB protected...
Fix value should be given formatted
Fix value should be given formatted
Java
agpl-3.0
retest/recheck,retest/recheck
c4258c565dba86e07d53e897deefa4b085b6c820
sandbox/src/test/java/ru/stqa/pft/sandbox/EquationTests.java
sandbox/src/test/java/ru/stqa/pft/sandbox/EquationTests.java
package ru.stqa.pft.sandbox; import org.testng.Assert; import org.testng.annotations.Test; public class EquationTests { @Test public void test0() { Equation e = new Equation(1,1,1); // Assert.assertEquals(e.rootNumber(), 0); Assert.assertEquals(e.rootNumber(), 1); } @Test public void test1() { ...
package ru.stqa.pft.sandbox; import org.testng.Assert; import org.testng.annotations.Test; public class EquationTests { @Test public void test0() { Equation e = new Equation(1,1,1); Assert.assertEquals(e.rootNumber(), 0); } @Test public void test1() { Equation e = new Equation(1,2,1); Asse...
Revert "Испорчен тест для проверки Jenkins"
Revert "Испорчен тест для проверки Jenkins" This reverts commit f7ee8b4aa9bd893b6d00fff3f17922bd9673bc63.
Java
apache-2.0
thedsv/java_pft,thedsv/java_pft
b5ea3642439dae8aaa6a92752fbe16779f8217bc
AgreementMaker/src/am/Main.java
AgreementMaker/src/am/Main.java
package am; import am.app.Core; import am.batchMode.TrackDispatcher; import am.userInterface.UI; /** * Main class - * * This class creates an instance of UI class * * @author ADVIS Research Laboratory * @version 11/27/2004 */ public class Main { /********************************************...
/** ________________________________________ * ___/ Copyright Notice / Warranty Disclaimer \________________ * * @copyright { Copyright (c) 2010 * Advances in Information Systems Laboratory at the * University of Illinois at Chicago * All Rights Reserved. } * * @disclaimer { * This work is distrib...
Initialize the UI in the Event Dispatching Thread.
Initialize the UI in the Event Dispatching Thread.
Java
agpl-3.0
Stanwar/agreementmaker,sabarish14/agreementmaker,sabarish14/agreementmaker,Stanwar/agreementmaker,Stanwar/agreementmaker,sabarish14/agreementmaker,sabarish14/agreementmaker,Stanwar/agreementmaker
ff6bb4edb46d566835f3591adedeb42bdfd06d60
core/src/forplay/core/Platform.java
core/src/forplay/core/Platform.java
/** * Copyright 2010 The ForPlay Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/** * Copyright 2010 The ForPlay Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().
Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().
Java
apache-2.0
rachelharvey/playn,ruslansennov/playn2,playn/playn,tinkerstudent/playn,ruslansennov/playn2,thecocce/playn-1,rachelharvey/playn,longtaoge/playn,longtaoge/playn,playn/playn,thecocce/playn-1,playn/playn,tinkerstudent/playn
e4ac259e4bf34800ac888deb903f0af4cfed30f9
sorting/CountingSort.java
sorting/CountingSort.java
public class CountingSort { public static int[] countingSort(int[] unsorted) { int maxValue = max(unsorted); // Count occurrences of each value in unsorted int[] counts = new int[maxValue + 1]; for(int value : unsorted) counts[value]++; for(int i = 1; i < counts.length; i++) counts[i] += counts[i - ...
public class CountingSort { public static int[] countingSort(int[] unsorted) { int minValue = min(unsorted); int maxValue = max(unsorted); // Adjust max so that min equals zero int offset = -minValue; int adjustedMax = maxValue + offset; // Count occurrences of each value in unsorted int[] counts = new...
Allow counting sort to handle negative numbers
Allow counting sort to handle negative numbers
Java
mit
JayShenoy/Algorithms,JayShenoy/Algorithms
a3c340f5cd8b97cb5d7c194df9e87121826b43be
src/main/java/org/skife/jdbi/v2/exceptions/UnableToCreateSqlObjectException.java
src/main/java/org/skife/jdbi/v2/exceptions/UnableToCreateSqlObjectException.java
package org.skife.jdbi.v2.exceptions; public class UnableToCreateSqlObjectException extends DBIException { public UnableToCreateSqlObjectException(String message) { super(message); } }
/* * Copyright (C) 2004 - 2014 Brian McCallister * * 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 ...
Add license header to please Findbugs
Add license header to please Findbugs
Java
apache-2.0
hgschmie/jdbi,john9x/jdbi,HubSpot/jdbi,jdbi/jdbi,HubSpot/jdbi,zanebenefits/jdbi,hgschmie/jdbi,jdbi/jdbi,pennello/jdbi,john9x/jdbi,pennello/jdbi,hgschmie/jdbi,zanebenefits/jdbi,jdbi/jdbi
4a949a9daac01fe525d72d04932e63f4c71cd330
src/main/java/org/example/app/PersonCache.java
src/main/java/org/example/app/PersonCache.java
package org.example.app; import com.hazelcast.client.config.ClientConfig; import com.hazelcast.client.HazelcastClient; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.IMap; import java.util.Map; import java.util.UUID; public class PersonCache { private IMap<String, UUID> map; private H...
package org.example.app; import com.hazelcast.client.config.ClientConfig; import com.hazelcast.client.HazelcastClient; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.IMap; import java.util.Map; import java.util.UUID; public class PersonCache { private IMap<String, UUID> map; private H...
Set app group and password
Set app group and password
Java
mit
gang-tetris/test-cassandra-repository,gang-tetris/test-cassandra-repository
edd23198c4e9027945c59c34830f6ff8fdb7ad31
src/com/thaiopensource/relaxng/ValuePattern.java
src/com/thaiopensource/relaxng/ValuePattern.java
package com.thaiopensource.relaxng; import org.xml.sax.Locator; import com.thaiopensource.datatype.Datatype; class ValuePattern extends SimplePattern { String str; Datatype dt; ValuePattern(Datatype dt, String str, Locator locator) { super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator); thi...
package com.thaiopensource.relaxng; import org.xml.sax.Locator; import com.thaiopensource.datatype.Datatype; class ValuePattern extends SimplePattern { String str; Datatype dt; ValuePattern(Datatype dt, String str, Locator locator) { super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator); thi...
Fix a couple of bugs.
Fix a couple of bugs.
Java
bsd-3-clause
webhost/jing-trang,webhost/jing-trang,webhost/jing-trang